Exemplo n.º 1
0
 void DialogPower(DialogueMgr.BTNS btn)
 {
     if (btn == DialogueMgr.BTNS.Btn1)
     {
         if (UserMgr.UserInfo.gold < mBingoResponse.data.bingo.powerTimePrice)
         {
             DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPowerChance1"), UtilMgr.GetLocalText("StrNotEnoughGold2")
                                      , DialogueMgr.DIALOGUE_TYPE.Alert, null);
         }
         else
         {
             mPowerEvent = new CallBingoEvent(ReceivedPower);
             NetMgr.PowerMax(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId, mPowerEvent);
         }
     }
 }
Exemplo n.º 2
0
 void DialogPower(DialogueMgr.BTNS btn)
 {
     if(btn == DialogueMgr.BTNS.Btn1){
         if(UserMgr.UserInfo.gold < mBingoResponse.data.bingo.powerTimePrice){
             DialogueMgr.ShowDialogue(UtilMgr.GetLocalText("StrPowerChance1"), UtilMgr.GetLocalText("StrNotEnoughGold2")
                           , DialogueMgr.DIALOGUE_TYPE.Alert, null);
         } else{
             mPowerEvent = new CallBingoEvent(ReceivedPower);
             NetMgr.PowerMax(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId, mPowerEvent);
         }
     }
 }
Exemplo n.º 3
0
 public void BingoClick()
 {
     mCallEvent = new CallBingoEvent(ReceivedCall);
     NetMgr.CallBingo(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId
                      , mLineupResponse.data.inningNumber, mCallEvent);
 }
Exemplo n.º 4
0
 public void BingoClick()
 {
     mCallEvent = new CallBingoEvent(ReceivedCall);
     NetMgr.CallBingo(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId
                      ,mLineupResponse.data.inningNumber, mCallEvent);
 }