Example #1
0
 internal Commands( World _world ) {
     world = _world;
     mapCommands = new MapCommands( world, this );
     blockCommands = new BlockCommands( world, this );
     infoCommands = new InfoCommands( world, this );
     standardCommands = new StandardCommands( world, this );
     drawCommands = new DrawCommands( world, this );
 }
Example #2
0
 internal Commands(World _world)
 {
     world            = _world;
     mapCommands      = new MapCommands(world, this);
     blockCommands    = new BlockCommands(world, this);
     infoCommands     = new InfoCommands(world, this);
     standardCommands = new StandardCommands(world, this);
     drawCommands     = new DrawCommands(world, this);
 }
Example #3
0
 // Sets up all the command hooks
 internal static void Init()
 {
     ModerationCommands.Init();
     BuildingCommands.Init();
     DrawCommands.Init();
     InfoCommands.Init();
     WorldCommands.Init();
     ZoneCommands.Init();
     MaintenanceCommands.Init();
     ChatCommands.Init();
     Logger.Log(LogType.Debug,
                "CommandManager: {0} commands registered ({1} hidden, {2} aliases)",
                Commands.Count,
                GetCommands(true).Length,
                Aliases.Count);
 }