protected void OnQuery_ItemDetailJumpQuestConfirm_YES() { string name = (!MonoBehaviourSingleton <LoungeMatchingManager> .I.IsInLounge()) ? "MAIN_MENU_HOME" : "MAIN_MENU_LOUNGE"; EventData[] autoEvents = new EventData[4] { new EventData(name, null), new EventData("GACHA_QUEST_COUNTER", null), new EventData("TO_GACHA_QUEST_COUNTER", null), new EventData("SELECT_ORDER", data.GetTableID()) }; MonoBehaviourSingleton <GameSceneManager> .I.SetAutoEvents(autoEvents); }
private void OnQuery_OK() { List <string> list = new List <string>(); List <int> list2 = new List <int>(); list.Add(itemData.GetUniqID().ToString()); list2.Add(sellNum); GameSection.StayEvent(); MonoBehaviourSingleton <ItemExchangeManager> .I.SendSellQuest(list, list2, delegate(bool is_success, SellQuestItemReward reward, List <uint> empty_quest_item_list) { empty_quest_item_list.ForEach(delegate(uint empty_data) { if (itemData.GetTableID() == empty_data) { GameSection.ChangeStayEvent("CLOSE_DETAIL", null); } }); GameSection.ResumeEvent(is_success, null); }); }