using MoleMole.Config; using UnityEngine.EventSystems; using UnityEngine.UI; using proto; namespace MoleMole { public class SearchFriendDialogContext : BaseDialogContext { public SearchFriendDialogContext() { config = new ContextPattern { contextName = "SearchFriendDialogContext", viewPrefabPath = "UI/Menus/Dialog/SearchFriendDialog" }; } public override bool OnPacket(NetPacketV1 pkt) { ushort cmdId = pkt.getCmdId(); if (cmdId == 73) { GetPlayerDetailDataRsp data = pkt.getData(); OnSearchFriendDetailInfoRsp(data); } return false; } protected override void BindViewCallbacks() { BindViewCallback(base.view.transform.Find("Dialog/Content/OKBtn").GetComponent