protected void HubLobby(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.LOBBY, msg.Arguments); } }
protected void HubOnChangeBetting(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.ON_CHANGE_BETTING, msg.Arguments); } }
protected void HubBetInfo(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.BET_INFO, msg.Arguments); } }
protected void HubPlayerBet(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.PLAYER_BET, msg.Arguments); } }
protected void HubBankerSellGate(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.BANKER_SELL_GATE, msg.Arguments); } }
protected void HubUserBuyGate(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.USER_BUY_GATE, msg.Arguments); } }
protected void SuccessOTP(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.UPDATE_PHONE_SUCCESS, msg.Arguments); } }
protected void HubUpdateMoney(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.UPDATE_MONEY_LOBBY, msg.Arguments); } }
protected void HubResultSpin(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.RESULT_SPIN_MINIPOKER, msg.Arguments); } }
protected void HubKickUser(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.KICK_USER, msg.Arguments); } }
protected void HubLstMsg(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.LST_MSG, msg.Arguments); } }
protected void HubBetSuccess(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.BET_SUCCESS, msg.Arguments); } }
protected void HubSessionInfo(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.SESSION_INFO, msg.Arguments); } }
protected void HubBonusGameResult(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.FINISH_BONUS_GAME, msg.Arguments); } }
protected void HubSitting(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.SITTING, msg.Arguments); } }
protected void HubText(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.TEXT, msg.Arguments); } }
protected void HubUpdateBetting(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.UPDATE_BETTING, msg.Arguments); } }
protected void HubErrorCode(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.ERROR_CODE, msg.Arguments); } }
protected void HubChangeState(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.CHANGE_STATE, msg.Arguments); } }
protected void HubResultBet(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.RESULT_HILO_SET_BET, msg.Arguments); } }
void OnGetAccountInfoDone(Hub hub, ClientMessage originalMessage, ResultMessage result) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.RESULT_ACCOUNT_INFO_HILO_DONE, null); } }
protected void HubUpdateJackpot(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.JACKPOT_HILO, msg.Arguments); } }
protected void HubGetAccountInfoHiLo(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.RESULT_ACCOUNT_INFO_HILO, msg.Arguments); } }
protected void HubJoinRoom(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.JOIN_ROOM, msg.Arguments); } }
protected void HubLuckyGameResult(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.LUCKY_GAME_RESULT, msg.Arguments); } }
protected void HubSpinResult(Hub hub, MethodCallMessage msg) { if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.SPIN_RESULT, msg.Arguments); } }
protected void HubStopHub(Hub hub, MethodCallMessage msg) { //_hub.Stop(); if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.STOP_HUB, msg.Arguments); } }
protected void HubUpdateJackpot(Hub hub, MethodCallMessage msg) { VKDebug.Log(msg.Arguments[0].ToString()); jackpots = LitJson.JsonMapper.ToObject <Dictionary <string, double> >(msg.Arguments[0].ToString()); if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.UPDATE_JACKPOT, msg.Arguments); } }
protected void HubMessageError(Hub hub, MethodCallMessage msg) { UILayerController.Instance.HideLoading(); if (msg.Arguments.Length > 1) { LPopup.OpenPopup("Thông báo", msg.Arguments[1].ToString()); } if (OnSRSHubEvent != null) { OnSRSHubEvent.Invoke(SRSConst.MESSAGE, msg.Arguments); } }