protected override void DeserializeImpl(IIncomingMessageStream messageStream)
 {
     SourceInventoryId = messageStream.ReadInt64();
     SourceSlot        = messageStream.ReadByte();
     TargetInventoryId = messageStream.ReadInt64();
     TargetSlot        = messageStream.ReadByte();
 }
        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);
        }
 protected override void DeserializeImpl(IIncomingMessageStream messageStream)
 {
     InventoryId = messageStream.ReadInt64();
 }