public override void DeserializeValue(byte[] dat, Pointer p) { int num = BitPacker.GetInt(dat, p); m_Value = new short[num]; for (int i = 0; i < num; i++) { Name = BitPacker.GetString(dat, p); m_Value[i] = BitPacker.GetShort(dat, p); } }
public override void DeserializeValue(byte[] dat, Pointer p) { Name = BitPacker.GetString(dat, p); m_Value = BitPacker.GetShort(dat, p); }