mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Extended "Group" and created all the subgroups to cleanup code as well as make setting "work" values easier.
This commit is contained in:
24
FFXIVClassic Map Server/actors/group/PartyGroup.cs
Normal file
24
FFXIVClassic Map Server/actors/group/PartyGroup.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using FFXIVClassic_Map_Server.actors.group.work;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FFXIVClassic_Map_Server.actors.group
|
||||
{
|
||||
class PartyGroup : Group
|
||||
{
|
||||
private PartyWork partyWork;
|
||||
|
||||
public PartyGroup(ulong id) : base(id, Group.PlayerPartyGroup, null)
|
||||
{
|
||||
partyWork = new PartyWork();
|
||||
}
|
||||
|
||||
public void setPartyOwner(uint actorId)
|
||||
{
|
||||
partyWork._globalTemp.owner = (ulong)((0xB36F92 << 8) | actorId);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user