Example #1
0
        public static PlayerInventory DeserializeLength(Stream stream, int length)
        {
            PlayerInventory playerInventory = Pool.Get <PlayerInventory>();

            PlayerInventory.DeserializeLength(stream, length, playerInventory, false);
            return(playerInventory);
        }
Example #2
0
 public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false)
 {
     PlayerInventory.DeserializeLength(stream, size, this, isDelta);
 }