public static ProjectileShoot Deserialize(Stream stream)
        {
            ProjectileShoot projectileShoot = Pool.Get <ProjectileShoot>();

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

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