Ejemplo n.º 1
0
    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();
        }
    }
Ejemplo n.º 2
0
    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();
            }
        }
    }