void ReceivedBingo() { if (mBingoEvent.Response == null) { return; } mBingoResponse = mBingoEvent.Response; mMsgCount = mBingoResponse.data.bingo.msgCount; InitBingoBoard(); if (IsNotReady) { return; } InitBingoBtn(); if (IsEnded) { DisableResetBtn(); } else { InitResetBtn(); } if (BoardOnly) { BoardOnly = false; return; } mLineupEvent = new GetCurrentLineupEvent(ReceivedLineup); NetMgr.GetCurrentLineup(UserMgr.eventJoined.gameId, UserMgr.eventJoined.inning, mBingoResponse.data.bingo.bingoId, mLineupEvent); }
public void ReloadLineup(SocketMsgInfo info) { // UserMgr.eventJoined.inningState = "ING"; // UserMgr.eventJoined.status = "InProgress"; // // if(info.data.changeBingo > 0){ // Init (); // return; // } // IsReload = true; // int inning = mLineupResponse.data.inningNumber; int inning = 0; UserMgr.eventJoined.inningState = info.data.inningState; mLineupEvent = new GetCurrentLineupEvent(ReceivedLineup); NetMgr.GetCurrentLineup(UserMgr.eventJoined.gameId, inning, mBingoId, mLineupEvent); }
void ReceivedBingo() { if(mBingoEvent.Response == null) return; mBingoResponse = mBingoEvent.Response; mMsgCount = mBingoResponse.data.bingo.msgCount; InitBingoBoard(); if(IsNotReady) return; InitBingoBtn(); if(IsEnded){ DisableResetBtn(); } else{ InitResetBtn(); } if(BoardOnly){ BoardOnly = false; return; } mLineupEvent = new GetCurrentLineupEvent(ReceivedLineup); NetMgr.GetCurrentLineup(UserMgr.eventJoined.gameId, UserMgr.eventJoined.inning, mBingoResponse.data.bingo.bingoId, mLineupEvent); }
public void ReloadLineup(SocketMsgInfo info) { // UserMgr.eventJoined.inningState = "ING"; // UserMgr.eventJoined.status = "InProgress"; // // if(info.data.changeBingo > 0){ // Init (); // return; // } // IsReload = true; // int inning = mLineupResponse.data.inningNumber; int inning = 0; UserMgr.eventJoined.inningState = info.data.inningState; mLineupEvent = new GetCurrentLineupEvent(ReceivedLineup); NetMgr.GetCurrentLineup(UserMgr.eventJoined.gameId, inning, mBingoId, mLineupEvent); }