Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public override void DeserializeValue(byte[] dat, Pointer p)
 {
     Name    = BitPacker.GetString(dat, p);
     m_Value = BitPacker.GetByte(dat, p);
 }