public static PlayerAttack Deserialize(Stream stream)
        {
            PlayerAttack playerAttack = Pool.Get <PlayerAttack>();

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

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