public static PlayerProjectileUpdate Deserialize(Stream stream)
        {
            PlayerProjectileUpdate playerProjectileUpdate = Pool.Get <PlayerProjectileUpdate>();

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

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