123456789101112131415 |
- using NetCore;
- using NetCore.Protocol.MemoryPack;
- using NetServerCore.Attribute;
- namespace NetServer.InternalServer.Logic;
- [LogicEnrollAtt((int)InternalSendType.RemoveServer, 1)]
- public class RemoveServerLogic : InternalLogicBasic
- {
- public override void Logic(InternalMemoryRequst internalMemoryRequst, IConnection iConnection)
- {
- ServerType serverType = internalMemoryRequst.ServerType;
- ServerLinkMnager.Instance.RemoveServerConnection(serverType, iConnection.ConnectionId);
- }
- }
|