| | |
| | | btnSetting.SetListener(() => { UIManager.Instance.OpenWindow<SystemSetWin>(); }); |
| | | btnAnnouncement.SetListener(() => { GameNotice.OpenGameNoticeForce(); }); |
| | | btnSwitchServer.SetListener(() => { GameNetSystem.Instance.LoginOut(); }); |
| | | btnRedemptionCode.SetListener(() => { UIManager.Instance.OpenWindow<ExchangeCodeWin>(); }); |
| | | btnRedemptionCode.SetListener(() => |
| | | { |
| | | if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Mail, true)) |
| | | return; |
| | | UIManager.Instance.OpenWindow<ExchangeCodeWin>(); |
| | | }); |
| | | btnCopy.SetListener(() => |
| | | { |
| | | UIHelper.CopyToClipboard(PlayerDatas.Instance.baseData.PlayerID.ToString()); |
| | |
| | | btnChangeName.SetListener(() => { UIManager.Instance.OpenWindow<RenameWin>(); }); |
| | | btnText1.SetListener(() => |
| | | { |
| | | GameAgeWarnWin.data = 1; |
| | | UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | // GameAgeWarnWin.data = 1; |
| | | // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yhxy").content); |
| | | }); |
| | | btnText2.SetListener(() => |
| | | { |
| | | GameAgeWarnWin.data = 2; |
| | | UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | // GameAgeWarnWin.data = 2; |
| | | // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yszc").content); |
| | | }); |
| | | avatarCell.redpoint.redpointId = MainRedDot.PhantasmPavilionRepoint; |
| | | avatarCell.button.SetListener(() => |
| | | avatarCell.SetListener(() => |
| | | { |
| | | UIManager.Instance.OpenWindow<PhantasmPavilionWin>(); |
| | | }); |