public CharacterDataPacket(byte[] data) { CharactorDataSerializer serializer = new CharactorDataSerializer(); serializer.SetDeserializedData(data); serializer.Deserialize(ref m_packet); }
public byte[] GetData() { CharactorDataSerializer serializer = new CharactorDataSerializer(); serializer.Serialize(m_packet); return(serializer.GetSerializedData()); }