using System.Collections; using System.Collections.Generic; using UnityEngine; namespace XFramework.NetOuter { //注册网络消息事件 主线程调用解析 public interface INetMsgHandler:IClose { //添加网络消息监听 void AddListener(string eventName, INetExcute tcpExcute, bool isOnce = false); //移除网络消息监听 void RemovListener(string eventName); //由主线程循环调用的消息处理入口 void ExtractingMsg(); } }