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