コード例 #1
0
    private void OnQuery_YES()
    {
        GuildRequestItem selectedItem = MonoBehaviourSingleton <GuildRequestManager> .I.GetSelectedItem();

        if (GameSection.CheckCrystal(selectedItem.crystalNum, 0, true))
        {
            GameSection.StayEvent();
            MonoBehaviourSingleton <GuildRequestManager> .I.SendGuildRequestExtend(delegate(bool questCompleteData)
            {
                GameSection.ResumeEvent(true, null);
                GameSection.SetEventData(questCompleteData);
            });
        }
    }
コード例 #2
0
    private void OnQuery_GuildRequestEmploy_YES()
    {
        GuildRequestItem selectedItem = MonoBehaviourSingleton <GuildRequestManager> .I.GetSelectedItem();

        if (GameSection.CheckCrystal(selectedItem.crystalNum, 0, true))
        {
            string eventData = StringTable.Get(STRING_CATEGORY.GUILD_REQUEST, 2u);
            GameSection.SetEventData(eventData);
            GameSection.StayEvent();
            MonoBehaviourSingleton <GuildRequestManager> .I.SendGuildRequestExtend(delegate(bool isSuccess)
            {
                GameSection.ResumeEvent(isSuccess, null);
            });
        }
    }