private void OnQuery_DETAIL() { Debug.LogWarning((object)"OnQuery_DETAIL"); selectIndex = (int)GameSection.GetEventData(); ItemDetailSkillSimpleDialog.InitParam eventData = new ItemDetailSkillSimpleDialog.InitParam(CreateDetailEventData(selectIndex), initData); GameSection.SetEventData(eventData); }
protected void OnQuery_DETAIL() { int num = (int)GameSection.GetEventData(); if (num >= 0 && IsEnableShowDetailByLongTap()) { SaveCurrentScrollPosition(); if (tab == TAB_MODE.EQUIP) { GameSection.ChangeEvent("DETAIL_EQUIP", new object[2] { ItemDetailEquip.CURRENT_SECTION.SMITH_SELL, inventories[(int)tab].datas[num] }); } else if (tab == TAB_MODE.SKILL) { ItemDetailSkillSimpleDialog.InitParam event_data = new ItemDetailSkillSimpleDialog.InitParam(new object[2] { ItemDetailEquip.CURRENT_SECTION.SMITH_SELL, inventories[(int)tab].datas[num] }, null); GameSection.ChangeEvent("DETAIL_SKILL", event_data); } } }