예제 #1
0
 internal override void WritePacket(ByteWriter writer)
 {
     writer.WriteByte(this.Action);
     writer.WritePad(3);
     writer.WriteUInt32(this.ClientID);
     writer.WriteUInt64(this.PlayerID);
     writer.WriteUInt64(this.EncryptedPlayerID);
 }
예제 #2
0
        internal override void WritePacket(ByteWriter writer)
        {
            var id = (ushort)(this.ID);

            if (id > 0xFF)
            {
                writer.WriteByte(0xFE);
            }
            else
            {
                writer.WriteByte((byte)id);
            }
            writer.WriteUInt32(this.SenderNetID);
            if (id > 0xFF)
            {
                writer.WriteUInt16(id);
            }

            WriteBody(writer);
        }
예제 #3
0
 internal override void WritePacket(ByteWriter writer)
 {
     writer.WriteUInt32(this.ClientID);
     writer.WriteUInt32(this.ChatType);
     writer.WriteSizedStringWithZero(this.Message);
 }