Example #1
0
 /// <summary>
 /// 注册一个控制台的GM指令
 /// 方法同 GameServerService.RegisterConsoleCommand 一致
 /// 只不过多放一个地方,方便调用而已
 /// </summary>
 /// <param name="commandName"></param>
 /// <param name="fun"></param>
 public static void RegisterConsoleCommand(string commandName, GameServerService.CommandCallbackDelegate fun)
 {
     GameServerService.RegisterConsoleCommand(commandName, fun);
 }