mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
Added chat packet and state change packet. Fixed file spelling error for RemoveActorPacket and deleted UnknownLoginPacket. Was empty.
This commit is contained in:
parent
0f80fa12dc
commit
af2262c4b1
4 changed files with 87 additions and 1 deletions
|
@ -0,0 +1,27 @@
|
|||
using FFXIVClassic_Lobby_Server.packets;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FFXIVClassic_Map_Server.packets.send.actor
|
||||
{
|
||||
class SetActorStatePacket
|
||||
{
|
||||
public const ushort OPCODE = 0x0134;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public const int STATE_NONE = 0x0000;
|
||||
public const int STATE_DEAD = 0x0303;
|
||||
public const int STATE_PASSIVE = 0xBF00;
|
||||
public const int STATE_ACTIVE = 0xBF02;
|
||||
|
||||
public static SubPacket buildPacket(uint playerActorID, uint targetID, uint state)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, targetID, data);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue