Beispiel #1
0
    private void ShowLevelUpSoldier()
    {
        Main_UI_LevelUpAlarmSoldier main_UI_LevelUpAlarmSoldier = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.MAIN_UI_LEVELUP_ALARM_SOLDIER) as Main_UI_LevelUpAlarmSoldier;

        if (main_UI_LevelUpAlarmSoldier == null)
        {
            main_UI_LevelUpAlarmSoldier = (NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MAIN_UI_LEVELUP_ALARM_SOLDIER) as Main_UI_LevelUpAlarmSoldier);
        }
        if (main_UI_LevelUpAlarmSoldier != null && this.m_kSolInfo != null)
        {
            main_UI_LevelUpAlarmSoldier.SetInfo(this.m_kSolInfo);
            main_UI_LevelUpAlarmSoldier.Show();
        }
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            bookmarkDlg.UpdateBookmarkInfo(BookmarkDlg.TYPE.HERO);
        }
        HeroCollect_DLG heroCollect_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.HEROCOLLECT_DLG) as HeroCollect_DLG;

        if (heroCollect_DLG != null)
        {
            heroCollect_DLG.Update_Notice();
        }
        TsAudioManager.Container.RequestAudioClip("UI_SFX", "MERCENARY", "LEVEL_UP", new PostProcPerItem(NrAudioClipDownloaded.OnEventAudioClipDownloadedImmedatePlay));
    }
    public void Leave()
    {
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            bookmarkDlg.UpdateBookmarkInfo(BookmarkDlg.TYPE.NEWGUILD);
        }
        GuildCollect_DLG guildCollect_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GUILDCOLLECT_DLG) as GuildCollect_DLG;

        if (guildCollect_DLG != null)
        {
            guildCollect_DLG.Set_GuildButtons();
            guildCollect_DLG.Update_Notice();
        }
    }
    public void SetCanGoldenEggReward(bool bIsGetReward)
    {
        this.m_bCanGetGoldenEggReward = bIsGetReward;
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            bookmarkDlg.UpdateBookmarkInfo(BookmarkDlg.TYPE.NEWGUILD);
        }
        GuildCollect_DLG guildCollect_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GUILDCOLLECT_DLG) as GuildCollect_DLG;

        if (guildCollect_DLG != null)
        {
            guildCollect_DLG.Update_Notice();
        }
    }
    private void ClickHideBookmark(IUIObject obj)
    {
        if (this.m_HideBookmark.IsChecked())
        {
            PlayerPrefs.SetInt(NrPrefsKey.HIDE_BOOKMARK, 1);
        }
        else
        {
            PlayerPrefs.SetInt(NrPrefsKey.HIDE_BOOKMARK, 0);
        }
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            bookmarkDlg.CheckHideBookmark();
        }
    }
    public void RePosition()
    {
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            float num;
            if (bookmarkDlg.IsHide())
            {
                num = 0f;
            }
            else
            {
                num = bookmarkDlg.GetSizeX();
            }
            base.SetLocation(GUICamera.width - num - base.GetSizeX(), 0f);
        }
    }
    public void AddJoin()
    {
        if (NrTSingleton <ContentsLimitManager> .Instance.IsMineApply((short)NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo.GetLevel()))
        {
            BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

            if (bookmarkDlg != null)
            {
                bookmarkDlg.UpdateBookmarkInfo(BookmarkDlg.TYPE.NEWGUILD);
            }
            GuildCollect_DLG guildCollect_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GUILDCOLLECT_DLG) as GuildCollect_DLG;

            if (guildCollect_DLG != null)
            {
                guildCollect_DLG.Set_GuildButtons();
                guildCollect_DLG.Update_Notice();
            }
        }
    }
    public void RemoveApplicant(long lPersonID)
    {
        this.m_NewGuild.RemoveApplicant(lPersonID);
        this.SetReadyApplicantCount(this.m_NewGuild.GetApplicantCount());
        if (this.IsApplicantMemberNum(NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo.m_PersonID))
        {
            BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

            if (bookmarkDlg != null)
            {
                bookmarkDlg.UpdateBookmarkInfo(BookmarkDlg.TYPE.NEWGUILD);
            }
            GuildCollect_DLG guildCollect_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GUILDCOLLECT_DLG) as GuildCollect_DLG;

            if (guildCollect_DLG != null)
            {
                guildCollect_DLG.Update_Notice();
            }
        }
    }
Beispiel #8
0
    private void RePosition()
    {
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            if (bookmarkDlg.IsHide())
            {
                this.bookmarkUIWidth = 0f;
            }
            else
            {
                this.bookmarkUIWidth = bookmarkDlg.GetSizeX();
            }
            base.SetLocation(GUICamera.width - this.bookmarkUIWidth - base.GetSizeX(), GUICamera.height - base.GetSizeY());
        }
        else
        {
            base.SetLocation(GUICamera.width - base.GetSizeX(), GUICamera.height - base.GetSizeY());
        }
    }
Beispiel #9
0
    public void SetReload()
    {
        BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

        if (bookmarkDlg != null)
        {
            bookmarkDlg.SetBookmarkInfo();
        }
        MainMenuDlg mainMenuDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.MAINMENU_DLG) as MainMenuDlg;

        if (mainMenuDlg != null)
        {
            mainMenuDlg.ShowHideButton();
        }
        MyCharInfoDlg myCharInfoDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.MYCHARINFO_DLG) as MyCharInfoDlg;

        if (myCharInfoDlg != null)
        {
            myCharInfoDlg.SetCurrentNoticeUpdate();
        }
    }
Beispiel #10
0
    public void ChangeScene()
    {
        if (Scene.CurScene == Scene.Type.WORLD)
        {
            if (NrTSingleton <NkQuestManager> .Instance.IsCompletedFirstQuest())
            {
                BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

                if (bookmarkDlg == null)
                {
                    bookmarkDlg = (NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.BOOKMARK_DLG) as BookmarkDlg);
                }
                else
                {
                    bookmarkDlg.SetBookmarkInfo();
                }
                if (bookmarkDlg != null)
                {
                    bookmarkDlg.Show();
                    bookmarkDlg.CheckHideBookmark();
                }
                this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MENUICON_DLG);

                if (this.m_kForm != null)
                {
                    this.m_kForm.Show();
                }
                NoticeIconDlg noticeIconDlg = (NoticeIconDlg)NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MAIN_UI_ICON);

                if (noticeIconDlg != null)
                {
                    noticeIconDlg.ShowTempNotice();
                    noticeIconDlg.Show();
                }
                this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MYCHARINFO_DLG);

                if (this.m_kForm != null)
                {
                    this.m_kForm.Show();
                }
                if (NrTSingleton <NkClientLogic> .Instance.GetAuthPlatformType() == 6)
                {
                    this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.GOOGLEPLAY_DLG);

                    if (this.m_kForm != null)
                    {
                        this.m_kForm.Show();
                    }
                }
                else if (StageLoginMobile.m_bConnectGameCenter)
                {
                    this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.GOOGLEPLAY_DLG);

                    if (this.m_kForm != null)
                    {
                        this.m_kForm.Show();
                    }
                }
                this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.CHAT_MAIN_DLG);

                if (this.m_kForm != null)
                {
                    this.m_kForm.Show();
                }
                if (NrTSingleton <MapManager> .Instance.GetMapNameAndOST() != string.Empty)
                {
                    ChatNoticeDlg chatNoticeDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.CHAT_NOTICE_DLG) as ChatNoticeDlg;

                    if (chatNoticeDlg != null)
                    {
                        chatNoticeDlg.AddText(NrTSingleton <MapManager> .Instance.GetMapNameAndOST());
                    }
                }
                NrTSingleton <WhisperManager> .Instance.ShowWhisperDlg();

                if (TsPlatform.IsMobile)
                {
                    this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.JOYSTICK_DLG);

                    if (this.m_kForm != null)
                    {
                        this.m_kForm.Show();
                    }
                }
                NrMyCharInfo kMyCharInfo = NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo;
                if (kMyCharInfo.ColosseumMatching)
                {
                    this.m_kForm = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.COLOSSEUMNOTICE_DLG);

                    if (this.m_kForm != null)
                    {
                        this.m_kForm.Show();
                    }
                }
                RightMenuQuestUI rightMenuQuestUI = (RightMenuQuestUI)NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MAIN_QUEST);

                if (rightMenuQuestUI != null)
                {
                    rightMenuQuestUI.QuestUpdate();
                    rightMenuQuestUI.Show();
                }
                NrTSingleton <NkQuestManager> .Instance.ShowMsg();

                if (StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_ATTACK_MAKEUP || StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_DEFENCE_MAKEUP || StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_ATTACK_INFIBATTLE_MAKEUP || StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_DEFENSE_INFIBATTLE_MAKEUP)
                {
                    if (!NrTSingleton <FormsManager> .Instance.IsShow(G_ID.PLUNDERMAIN_DLG))
                    {
                        PlunderMainDlg plunderMainDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.PLUNDERMAIN_DLG) as PlunderMainDlg;

                        if (plunderMainDlg != null)
                        {
                            plunderMainDlg.Show();
                        }
                    }
                }
                else if (StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_PVP_MAKEUP || StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_PVP_MAKEUP2)
                {
                    if (!NrTSingleton <FormsManager> .Instance.IsShow(G_ID.COLOSSEUMMAIN_DLG))
                    {
                        ColosseumDlg colosseumDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.COLOSSEUMMAIN_DLG) as ColosseumDlg;

                        if (colosseumDlg != null)
                        {
                            colosseumDlg.Show();
                        }
                    }
                }
                else if (StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_GUILDBOSS_MAKEUP)
                {
                    BabelGuildBossDlg babelGuildBossDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.BABEL_GUILDBOSS_MAIN_DLG) as BabelGuildBossDlg;

                    if (babelGuildBossDlg != null)
                    {
                        babelGuildBossDlg.ShowList();
                    }
                }
                else if (StageWorld.BATCH_MODE != eSOLDIER_BATCH_MODE.MODE_EXPEDITION_MAKEUP)
                {
                    if (StageWorld.BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_MYTHRAID)
                    {
                        NrTSingleton <MythRaidManager> .Instance.Init();

                        NrTSingleton <MythRaidManager> .Instance.ShowLobbyDlg();

                        NrTSingleton <MythRaidManager> .Instance.MythRaidBGMOn();
                    }
                }
                StageWorld.BATCH_MODE = eSOLDIER_BATCH_MODE.MODE_MAX;
                if (StageWorld.MINEMSG_TYPE == eMINE_MESSAGE.eMINE_MESSAGE_GO_MILITARY_SUCCESS)
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("328"), SYSTEM_MESSAGE_TYPE.NORMAL_MESSAGE);
                }
                else if (StageWorld.MINEMSG_TYPE == eMINE_MESSAGE.eMINE_MESSAGE_GO_MILITARY_FAIL01)
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("330"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
                }
                else if (StageWorld.MINEMSG_TYPE == eMINE_MESSAGE.eMINE_MESSAGE_GO_MILITARY_FAIL03)
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("330"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
                }
                else if (StageWorld.MINEMSG_TYPE == eMINE_MESSAGE.eMINE_MESSAGE_GO_MILITARY_FAIL02)
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("327"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
                }
                else if (StageWorld.MINEMSG_TYPE == eMINE_MESSAGE.eMINE_MESSAGE_GO_MILITARY_FAIL04)
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("429"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
                }
                if (StageWorld.PLUNDERMSG_TYPE == ePLUNDER_MESSAGE.ePLUNDER_MESSAGE_MATCH_FAIL)
                {
                    Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("120"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
                    PlunderMainDlg plunderMainDlg2 = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.PLUNDERMAIN_DLG) as PlunderMainDlg;

                    if (plunderMainDlg2 != null)
                    {
                        plunderMainDlg2.Show();
                    }
                }
                StageWorld.PLUNDERMSG_TYPE = ePLUNDER_MESSAGE.ePLUNDER_MESSAGE_DEFAULT;
                StageWorld.MINEMSG_TYPE    = eMINE_MESSAGE.eMINE_MESSAGE_DEFAULT;
                if (StageWorld.BATTLEROOM_TYPE == eBATTLE_ROOMTYPE.eBATTLE_ROOMTYPE_PREVIEW)
                {
                    if (NrTSingleton <NkClientLogic> .Instance.GidPrivewHero == 166)
                    {
                        NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.SOLGUIDE_DLG);
                    }
                    else if (NrTSingleton <NkClientLogic> .Instance.GidPrivewHero == 82)
                    {
                        NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.SOLMILITARYGROUP_DLG);
                    }
                    else if (NrTSingleton <NkClientLogic> .Instance.GidPrivewHero == 324)
                    {
                        if (!NrTSingleton <FormsManager> .Instance.IsForm(G_ID.ITEMMALL_DLG))
                        {
                            ItemMallDlg itemMallDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.ITEMMALL_DLG) as ItemMallDlg;

                            if (itemMallDlg != null)
                            {
                                itemMallDlg.SetShowMode(ItemMallDlg.eMODE.eMODE_NORMAL);
                                itemMallDlg.SetShowType(eITEMMALL_TYPE.BUY_HERO);
                            }
                        }
                    }
                    else if (NrTSingleton <NkClientLogic> .Instance.GidPrivewHero == 418)
                    {
                        if (NrTSingleton <ContentsLimitManager> .Instance.IsTimeShop())
                        {
                            NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.TIMESHOP_DLG);
                        }
                    }
                    else if (NrTSingleton <NkClientLogic> .Instance.GidPrivewHero == 433)
                    {
                        NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.HEROCOLLECT_DLG);

                        NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.MYTH_EVOLUTION_MAIN_DLG);
                    }
                }
            }
        }
        else if (Scene.CurScene == Scene.Type.BATTLE || Scene.CurScene == Scene.Type.SOLDIER_BATCH)
        {
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GAMEGUIDE_DLG);

            if (this.m_kForm != null)
            {
                NrTSingleton <FormsManager> .Instance.CloseForm(G_ID.GAMEGUIDE_DLG);
            }
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG);

            if (this.m_kForm != null)
            {
                this.m_kForm.Hide();
            }
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.DLG_CHARINFO);

            if (this.m_kForm != null)
            {
                this.m_kForm.Hide();
            }
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.MYCHARINFO_DLG);

            if (this.m_kForm != null)
            {
                this.m_kForm.Hide();
            }
            if (NrTSingleton <NkClientLogic> .Instance.GetAuthPlatformType() == 6)
            {
                this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GOOGLEPLAY_DLG);

                if (this.m_kForm != null)
                {
                    this.m_kForm.Hide();
                }
            }
            else if (StageLoginMobile.m_bConnectGameCenter)
            {
                this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.GOOGLEPLAY_DLG);

                if (this.m_kForm != null)
                {
                    this.m_kForm.Hide();
                }
            }
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.MAIN_QUEST);

            if (this.m_kForm != null)
            {
                this.m_kForm.Hide();
            }
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.MENUICON_DLG);

            if (this.m_kForm != null)
            {
                this.m_kForm.Hide();
            }
            NoticeIconDlg noticeIconDlg2 = (NoticeIconDlg)NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.MAIN_UI_ICON);

            if (noticeIconDlg2 != null)
            {
                noticeIconDlg2.ShowTempNotice();
                noticeIconDlg2.Show();
            }
            this.m_kForm = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.CHAT_MAIN_DLG);

            if (this.m_kForm != null)
            {
                this.m_kForm.Hide();
            }
        }
        CustomQuality.GetInstance().ChangeCameraClipPlane(TsQualityManager.Instance.CurrLevel);
    }
Beispiel #11
0
    public void ShowLevelUpAlarm2()
    {
        NrCharUser nrCharUser = NrTSingleton <NkCharManager> .Instance.GetChar(1) as NrCharUser;

        if (nrCharUser != null)
        {
            NrMyCharInfo kMyCharInfo = NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo;
            if (kMyCharInfo != null)
            {
                int level = kMyCharInfo.GetLevel();
                for (int i = this.startLevel + 1; i <= level; i++)
                {
                    if (this.dic_levelupInfo.ContainsKey(i))
                    {
                        LevelupInfoDLG levelupInfoDLG = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.LEVELUP_GUIDE_DLG) as LevelupInfoDLG;

                        levelupInfoDLG.Show(this.dic_levelupInfo[i]);
                    }
                }
                this.startLevel = kMyCharInfo.GetLevel();
                BookmarkDlg bookmarkDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.BOOKMARK_DLG) as BookmarkDlg;

                if (bookmarkDlg != null)
                {
                    bookmarkDlg.UpdateBookmarkInfo(BookmarkDlg.TYPE.HERO);
                }
                HeroCollect_DLG heroCollect_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.HEROCOLLECT_DLG) as HeroCollect_DLG;

                if (heroCollect_DLG != null)
                {
                    heroCollect_DLG.Update_Notice();
                }
                Tapjoy.SetUserLevel(kMyCharInfo.GetLevel());
                string comment = string.Format("levelup{0}", kMyCharInfo.GetLevel());
                NrTSingleton <FiveRocksEventManager> .Instance.Placement(comment);

                eSERVICE_AREA currentServiceArea = NrTSingleton <NrGlobalReference> .Instance.GetCurrentServiceArea();

                if (currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KORGOOGLE || currentServiceArea == eSERVICE_AREA.SERVICE_ANDROID_KORQA)
                {
                    NrTSingleton <AdWords> .Instance.LevelUp(kMyCharInfo.GetLevel());
                }
                DateTime dateTime  = DateTime.Now.ToLocalTime();
                DateTime arg_158_0 = dateTime;
                DateTime dateTime2 = new DateTime(1970, 1, 1, 0, 0, 0, 0);
                int      num       = (int)(arg_158_0 - dateTime2.ToLocalTime()).TotalSeconds;
                Dictionary <string, string> dictionary = new Dictionary <string, string>();
                dictionary.Add("ts", num.ToString());
                dictionary.Add("level", kMyCharInfo.GetLevel().ToString());
                dictionary.Add("account_id", kMyCharInfo.m_SN.ToString());
                GameObject pkGoOminiata = StageSystemCheck.pkGoOminiata;
                if (pkGoOminiata)
                {
                    OmniataComponent component = pkGoOminiata.GetComponent <OmniataComponent>();
                    if (component)
                    {
                        component.Track("om_level", dictionary);
                    }
                }
                if (NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo.GetLevel() >= 10 && PlayerPrefs.GetInt(NrPrefsKey.PLAYER_PLAYLOCKDEVICEID_SEND, 0) == 0)
                {
                    TsPlatform.Operator.GetPlayLockID();
                }
            }
            NrTSingleton <NkClientLogic> .Instance.ShowChangeGuestIDUI();
        }
    }