예제 #1
0
        private bool ActionSuccedded(IEnumerator <ActionResultInfo> results)
        {
            results.MoveNext();
            ActionResultInfo result = results.Current;

            return(result.GameData.IsSucceed);
        }
예제 #2
0
파일: GameBridge.cs 프로젝트: shoferb/OYAOB
 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);
        }