public static PlayerLifeStory Deserialize(Stream stream)
        {
            PlayerLifeStory playerLifeStory = Pool.Get <PlayerLifeStory>();

            PlayerLifeStory.Deserialize(stream, playerLifeStory, false);
            return(playerLifeStory);
        }
 public static PlayerLifeStory Deserialize(byte[] buffer, PlayerLifeStory instance, bool isDelta = false)
 {
     using (MemoryStream memoryStream = new MemoryStream(buffer))
     {
         PlayerLifeStory.Deserialize(memoryStream, instance, isDelta);
     }
     return(instance);
 }
        public static PlayerLifeStory Deserialize(byte[] buffer)
        {
            PlayerLifeStory playerLifeStory = Pool.Get <PlayerLifeStory>();

            using (MemoryStream memoryStream = new MemoryStream(buffer))
            {
                PlayerLifeStory.Deserialize(memoryStream, playerLifeStory, false);
            }
            return(playerLifeStory);
        }
 public void FromProto(Stream stream, bool isDelta = false)
 {
     PlayerLifeStory.Deserialize(stream, this, isDelta);
 }