private void ActMIconLong(MonsterData md) { CMD_CharacterDetailed.DataChg = md; CMD_CharacterDetailed dl = GUIMain.ShowCommonDialog(delegate(int i) { GUIMonsterIcon icon = ClassSingleton <GUIMonsterIconList> .Instance.GetIcon(md); icon.Lock = md.userMonster.IsLocked; }, "CMD_CharacterDetailed", null) as CMD_CharacterDetailed; dl.DisableEvolutionButton(); if (null != CMD_MultiRecruitPartyWait.Instance) { dl.PartsTitle.DisableCloseBtn(true); } CMD_BattleNextChoice battleNextChoice = UnityEngine.Object.FindObjectOfType <CMD_BattleNextChoice>(); if (null != battleNextChoice) { dl.PartsTitle.SetCloseAct(delegate(int i) { battleNextChoice.ClosePanel(false); CMD_PartyEdit.instance.ClosePanel(false); CMD_DeckList.instance.ClosePanel(false); dl.SetCloseAction(delegate(int x) { CMD_BattleNextChoice.GoToFarm(); }); dl.ClosePanel(true); }); } }
private void OnLongPushedMonsterIcon(MonsterData tappedMonsterData) { CMD_CharacterDetailed.DataChg = null; CMD_CharacterDetailed cmd_CharacterDetailed = GUIMain.ShowCommonDialog(null, "CMD_CharacterDetailed", null) as CMD_CharacterDetailed; cmd_CharacterDetailed.SetViewNextEvolutionMonster(tappedMonsterData.monsterM.monsterId, CMD_BaseSelect.DataChg.userMonster); cmd_CharacterDetailed.DisableEvolutionButton(); }
private void OnLongPressIcon() { if (this.deckMonsterList[this.selectItemIndex] != null) { CMD_CharacterDetailed.DataChg = (this.deckMonsterList[this.selectItemIndex] as MonsterData); CMD_CharacterDetailed cmd_CharacterDetailed = GUIMain.ShowCommonDialog(null, "CMD_CharacterDetailed", null) as CMD_CharacterDetailed; cmd_CharacterDetailed.DisableEvolutionButton(); } }
private void ActMIconLong(MonsterData md) { CMD_CharacterDetailed.DataChg = md; CMD_CharacterDetailed cmd_CharacterDetailed = GUIMain.ShowCommonDialog(delegate(int i) { GUIMonsterIcon icon = ClassSingleton <GUIMonsterIconList> .Instance.GetIcon(md); icon.Lock = md.userMonster.IsLocked; }, "CMD_CharacterDetailed", null) as CMD_CharacterDetailed; cmd_CharacterDetailed.DisableEvolutionButton(); }
private void OnLongPressItem() { MonsterUserData monster = this.parentList.GetMonster(this.index); if (monster != null) { CMD_CharacterDetailed.DataChg = (monster as MonsterData); CMD_CharacterDetailed cmd_CharacterDetailed = GUIMain.ShowCommonDialog(null, "CMD_CharacterDetailed", null) as CMD_CharacterDetailed; cmd_CharacterDetailed.DisableEvolutionButton(); } }