// Token: 0x0601218A RID: 74122 RVA: 0x004A9EDC File Offset: 0x004A80DC private void NoticeUIController_OnNoticeClick(NoticeText currentNoticeText) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_NoticeUIController_OnNoticeClickNoticeText_hotfix != null) { this.m_NoticeUIController_OnNoticeClickNoticeText_hotfix.call(new object[] { this, currentNoticeText }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (!NoticeUITask.m_isEnableClick) { return; } if (CommonUIController.Instance.IsAnyDisableInput() || CommonUIController.Instance.IsFading()) { return; } ChatUITask.StartChatUITaskToEnterAppointChannel(currentNoticeText.channel, this.m_currIntent, string.Empty); }
// Token: 0x0600D09E RID: 53406 RVA: 0x00392A4C File Offset: 0x00390C4C private void InviteNotifyUIController_OnAccept() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InviteNotifyUIController_OnAccept_hotfix != null) { this.m_InviteNotifyUIController_OnAccept_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (CommonUIController.Instance.IsAnyDisableInput() || CommonUIController.Instance.IsFading()) { return; } ProjectLPlayerContext playerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext; if (this.m_inviteInfo.TeamRoomInviteInfo != null) { TeamRoomInviteInfo inviteInfo = this.m_inviteInfo.TeamRoomInviteInfo; TeamRoomJoinNetTask teamRoomJoinNetTask = new TeamRoomJoinNetTask(inviteInfo.RoomId, (GameFunctionType)inviteInfo.GameFunctionTypeId, inviteInfo.LocationId, inviteInfo.SessionId); teamRoomJoinNetTask.EventOnStop += delegate(Task task) { playerContext.RemoveTeamRoomAInviteInfo(inviteInfo.SessionId, inviteInfo.RoomId); TeamRoomJoinNetTask teamRoomJoinNetTask2 = task as TeamRoomJoinNetTask; if (teamRoomJoinNetTask2.Result == 0) { ChatUITask.PauseUITask(); this.StartTeamRoomInfoUITask(); this.CloseAndPause(); } else { if (this.NextInviteInfo()) { this.UpdateView(); } else { this.CloseAndPause(); } if (teamRoomJoinNetTask2.Result == -3007) { CommonUIController.Instance.ShowMessage(StringTableId.StringTableId_Team_LocationLock, 2f, null, true); } else if (teamRoomJoinNetTask2.Result == -3018 || teamRoomJoinNetTask2.Result == -3006 || teamRoomJoinNetTask2.Result == -3016 || teamRoomJoinNetTask2.Result == -3003) { CommonUIController.Instance.ShowMessage(StringTableId.StringTableId_Team_NoTeamRoom, 2f, null, true); } else { WorldUITask.HandleAttackFailResult(teamRoomJoinNetTask2.Result, this.m_currIntent); } } }; teamRoomJoinNetTask.Start(null); } else if (this.m_inviteInfo.PVPInviteInfo != null) { PVPInviteInfo inviteInfo = this.m_inviteInfo.PVPInviteInfo; BattlePracticeAcceptNetTask battlePracticeAcceptNetTask = new BattlePracticeAcceptNetTask(inviteInfo.Inviter.UserId); battlePracticeAcceptNetTask.EventOnStop += delegate(Task task) { playerContext.RemovePVPInviteInfo(inviteInfo.Inviter.UserId); BattlePracticeAcceptNetTask battlePracticeAcceptNetTask2 = task as BattlePracticeAcceptNetTask; if (battlePracticeAcceptNetTask2.Result != 0) { CommonUIController.Instance.ShowErrorMessage(battlePracticeAcceptNetTask2.Result, 2f, null, true); } if (this.NextInviteInfo()) { this.UpdateView(); } else { this.CloseAndPause(); } }; battlePracticeAcceptNetTask.Start(null); } }