Ejemplo n.º 1
0
    //===================================================================================
    //
    // Method
    //
    //===================================================================================
    public void Init(GuildModify Parent)
    {
        m_Parent = Parent;

        m_TitleLabel.text         = StringTableManager.GetData(6595); // 6595 길드 마크 변경.
        m_ConfirmButtonLabel.text = StringTableManager.GetData(2);    // 2 확인.
        m_CancleButtonLabel.text  = StringTableManager.GetData(3);    // 3 취소.

        m_iGuildMarkChangeCountDia = (int)CDATA_FIXED_CONSTANTS.Get(DATA_FIXED_CONSTANTS._enConstant.Guild_MarkChange_Count_Dia).Value;

        // 6289	다이아 {0}개를 소비하여 \n길드 마크를 변경하시겠습니까?
        m_PopupTextLabel.text = string.Format(StringTableManager.GetData(6289), m_iGuildMarkChangeCountDia);
    }
Ejemplo n.º 2
0
    public void Init(GuildModify GuildModify)
    {
        m_GuildModify = GuildModify;

        CreateEmblemItems();

        // // 6266 길드 마크 변경.
        m_GuildEmblemTitleLabel.text = StringTableManager.GetData(6595);
        m_CancleButtonLabel.text     = StringTableManager.GetData(3);   // 3 취소.
        m_ConfrimButtonLabel.text    = StringTableManager.GetData(2);

        if (m_EmblemConfrimButton != null)
        {
            UIEventListener.Get(m_EmblemConfrimButton).onClick = OnCinfrimToGuildModify;
        }
    }
Ejemplo n.º 3
0
    //===================================================================================
    //
    // Event
    //
    //===================================================================================
    /// <summary>
    /// 길드관리 버튼.
    /// </summary>
    /// <param name="go"></param>
    public void OnGuildModify(GameObject go)
    {
        if (go != null)
        {
            SoundManager.Instance.PlayFX(enSoundFXUI.BUTTON_MEDIUM);
        }

        if (_guildModifyWindow == null)
        {
            _guildModifyWindow = UIResourceMgr.CreatePrefab <GuildModify>(BUNDLELIST.PREFABS_UI_GUILD, transform, "GuildModify");
            _guildModifyWindow.Init(this, m_GuildDetailInfo);
            UIControlManager.instance.AddWindow(enUIType.GUILDMODIFY, _guildModifyWindow);
        }

        _guildModifyWindow.OpenUI();
    }