mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Implement the actor initial position packet and set state packet.
This commit is contained in:
parent
af2262c4b1
commit
327dfc656b
5 changed files with 40 additions and 10 deletions
|
@ -19,9 +19,11 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
|
|||
|
||||
public static SubPacket buildPacket(uint playerActorID, uint targetID, uint state)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
ulong combined = 0;
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, targetID, data);
|
||||
combined |= state;
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, targetID, BitConverter.GetBytes(combined));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue