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); } } }
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); } } }
public void BingoClick() { mCallEvent = new CallBingoEvent(ReceivedCall); NetMgr.CallBingo(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId , mLineupResponse.data.inningNumber, mCallEvent); }
public void BingoClick() { mCallEvent = new CallBingoEvent(ReceivedCall); NetMgr.CallBingo(UserMgr.eventJoined.gameId, mBingoResponse.data.bingo.bingoId ,mLineupResponse.data.inningNumber, mCallEvent); }