Esempio n. 1
0
        public static PersistantPlayer DeserializeLength(Stream stream, int length)
        {
            PersistantPlayer persistantPlayer = Pool.Get <PersistantPlayer>();

            PersistantPlayer.DeserializeLength(stream, length, persistantPlayer, false);
            return(persistantPlayer);
        }
Esempio n. 2
0
 public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false)
 {
     PersistantPlayer.DeserializeLength(stream, size, this, isDelta);
 }