mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Figured out all main actor states and implemented the stuff properly. Implemented the chocobo/goobbue appearance stuff. Formatted CharaWork a bit.
This commit is contained in:
parent
b04310ef32
commit
7aeb33d884
6 changed files with 96 additions and 20 deletions
|
@ -42,7 +42,8 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
|||
public uint currentTarget = 0xC0000000;
|
||||
public uint currentLockedTarget = 0xC0000000;
|
||||
|
||||
public uint currentState = SetActorStatePacket.STATE_PASSIVE;
|
||||
public uint currentMainState = SetActorStatePacket.MAIN_STATE_PASSIVE;
|
||||
public uint currentSubState = SetActorStatePacket.SUB_STATE_PLAYER;
|
||||
|
||||
public CharaWork charaWork = new CharaWork();
|
||||
public PlayerWork playerWork = new PlayerWork();
|
||||
|
@ -59,7 +60,7 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
|||
|
||||
public SubPacket createStatePacket(uint playerActorID)
|
||||
{
|
||||
return SetActorStatePacket.buildPacket(actorId, playerActorID, currentState);
|
||||
return SetActorStatePacket.buildPacket(actorId, playerActorID, currentMainState, currentSubState);
|
||||
}
|
||||
|
||||
public BasePacket createActorSpawnPackets(uint playerActorID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue