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.WriteByte((byte)GamePacketID.Batch); throw new NotImplementedException(); }
internal override void WritePacket(ByteWriter writer) { writer.WriteByte((byte)this.ID); WriteBody(writer); }