using System.Collections.Concurrent; using System.Reflection; using MemoryPack; using NetCore; using NetCore.Protocol.MemoryPack; using NetServerCore.NetLink; using NetServerCore.Tool; namespace NetServer.InternalServer; public class InternalLogicManager : LogicManagerBaisc { public override void Logic(object data, IConnection iConnection) { InternalMemoryRequst internalMemoryRequst = data as InternalMemoryRequst; // InternalMemoryRequst internalMemoryRequst = data as InternalMemoryRequst; InternalSendType internalSendType = internalMemoryRequst.SendType; LogicBaisc logicBaisc = GetLogicBaisc((int)internalSendType); logicBaisc.Logic(internalMemoryRequst, iConnection); } public void AddConnection(IConnection iConnection) { } public void RemoveConnection(IConnection iConnection) { } }