mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Started doing multiplayer stuff.
This commit is contained in:
parent
7116c96b2f
commit
1d20f8b8b8
6 changed files with 17 additions and 5 deletions
|
@ -12,9 +12,12 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
|
|||
public const ushort OPCODE = 0x00CA;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket buildPacket(uint playerActorID, uint actorID)
|
||||
public static SubPacket buildPacket(uint playerActorID, uint actorID, byte val)
|
||||
{
|
||||
return new SubPacket(OPCODE, playerActorID, actorID, new byte[8]);
|
||||
byte[] data = new byte[PACKET_SIZE-0x20];
|
||||
data[0] = val; //Why?
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, actorID, data);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue