using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.IO; using Sog; using Sog.IO; using SimpleHttpServer; using LitJson; using ProtoCSStruct; namespace PlayerOp { public class GmCmdSvc : BaseReloadableService { public override int GetServiceType() { return PlayerOpServiceType.GmCmdSvc; } //销毁的时候清空指令注册 public override void Dispose() { GmCommandMgr.Instance.ClearAll(); } //构造的时候注册所有指令 public GmCmdSvc() { RegisterAllGmCmd(); } private void RegisterAllGmCmd() { } } }