public static PlayerInventory DeserializeLength(Stream stream, int length) { PlayerInventory playerInventory = Pool.Get <PlayerInventory>(); PlayerInventory.DeserializeLength(stream, length, playerInventory, false); return(playerInventory); }
public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false) { PlayerInventory.DeserializeLength(stream, size, this, isDelta); }