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); }
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); }
internal override void WritePacket(ByteWriter writer) { writer.WriteUInt32(this.ClientID); writer.WriteUInt32(this.ChatType); writer.WriteSizedStringWithZero(this.Message); }