public bool Execute(string[] paramsList) { if (CenterServerMgr.Successed) { Console.WriteLine("系统正在运行中,不能重复初始化节流缓冲池!\r\n"); return(false); } BufferMgr.Setup(CSConfigMgr.Configuration.ServerCountMax * 3); Console.WriteLine("字节流缓冲池初始化完成!\r\n"); return(true); }
public bool Execute(string[] paramsList) { BufferMgr.Setup(GameServerConfig.Configuration.BuffSize, GameServerConfig.Configuration.BuffPoolSize); return(true); }