using System.Collections.Generic; using MoleMole.Config; using UnityEngine; using UnityEngine.UI; namespace MoleMole { public class MonsterShowPageContext : BasePageContext { private const string MONSTER_SKILL_PREFAB_PATH = "UI/Menus/Widget/Map/MonsterSkillRow"; private List _monsterIDList; private Dictionary _monsterDataDict; private Dictionary _monsterGameObjectDict; private int _currentMonsterIndex; public MonsterShowPageContext(List monsterIDList) { config = new ContextPattern { contextName = "MonsterShowPageContext", viewPrefabPath = "UI/Menus/Page/Map/MonsterShowPage" }; _monsterIDList = monsterIDList; } public override bool OnNotify(Notify ntf) { return false; } public override bool OnPacket(NetPacketV1 pkt) { return false; } protected override void BindViewCallbacks() { BindViewCallback(base.view.transform.Find("FuncBtn/LastPage").GetComponent