protected override void DeserializeImpl(IIncomingMessageStream messageStream)
        {
            PartialUpdate = messageStream.ReadBoolean();

            if (!PartialUpdate)
            {
                InventorySize = messageStream.ReadByte();
            }

            InventoryId      = messageStream.ReadInt64();
            InventoryType    = (InventoryType)messageStream.ReadInt16();
            InventoryContent = ReadInventoryContent(messageStream, InventoryId);
        }
Exemple #2
0
 protected override void DeserializeImpl(IIncomingMessageStream messageStream)
 {
     EntityId = messageStream.ReadEntityId();
     Success  = messageStream.ReadBoolean();
 }