Example #1
0
        private async Task <bool> CheckConditionAsync()
        {
            var packet = await packetWriter.UpdateInfoAsync();

            if (packet == null)
            {
                return(false);
            }
            if (infoModel.Silver > 20000 || infoModel.Gold > 20)
            {
                return(true);
            }
            return(false);
        }