Пример #1
0
        private bool ActionSuccedded(IEnumerator <ActionResultInfo> results)
        {
            results.MoveNext();
            ActionResultInfo result = results.Current;

            return(result.GameData.IsSucceed);
        }
Пример #2
0
 private bool ActionSuccedded(IEnumerator <ActionResultInfo> results)
 {
     if (results != null && results.MoveNext())
     {
         ActionResultInfo result = results.Current;
         return(result.GameData.IsSucceed);
     }
     return(false);
 }
Пример #3
0
        private bool GetSepcResult(IEnumerator <ActionResultInfo> res)
        {
            bool canMove = res.MoveNext();

            if (canMove)
            {
                ActionResultInfo t = res.Current;
                return(t.GameData.IsSucceed);
            }
            return(false);
        }