Exemplo n.º 1
0
 /// <summary>
 /// Initializes the command system provider
 /// </summary>
 private void Initialize()
 {
     registeredCommands = new Dictionary<string, CommandCallback>();
     commandHandler = new ChatCommandHandler(ChatCommandCallback, registeredCommands.ContainsKey);
     consolePlayer = new HurtworldConsolePlayer();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes the command system
 /// </summary>
 public HurtworldCommandSystem()
 {
     registeredCommands = new Dictionary <string, CommandCallback>();
     commandHandler     = new CommandHandler(ChatCommandCallback, registeredCommands.ContainsKey);
     consolePlayer      = new HurtworldConsolePlayer();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes the command system provider
 /// </summary>
 private void Initialize()
 {
     registeredCommands = new Dictionary <string, CommandCallback>();
     commandHandler     = new ChatCommandHandler(ChatCommandCallback, registeredCommands.ContainsKey);
     consolePlayer      = new HurtworldConsolePlayer();
 }