public override bool DeSerialize(byte[] data, Pointer p) { base.DeSerialize(data, p); Phase = BitPacker.GetSerializableWispObject(data, p) as Phase; PhaseUpdateKind = (PacketPhaseUpdate.UpdateKind)BitPacker.GetByte(data, p); return(true); }
public override void DeserializeValue(byte[] dat, Pointer p) { Name = BitPacker.GetString(dat, p); m_Value = BitPacker.GetByte(dat, p); }