コード例 #1
0
ファイル: GameRoomTests.cs プロジェクト: shoferb/OYAOB
        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
ファイル: GameRoomTests.cs プロジェクト: shoferb/OYAOB
        private bool GetSepcResult(IEnumerator <ActionResultInfo> res)
        {
            bool canMove = res.MoveNext();

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