fCraft.FunCommands.Init C# (CSharp) Method

Init() static private method

static private Init ( ) : void
return void
        internal static void Init()
        {
            CommandManager.RegisterCommand( CdRandomMaze );
            CommandManager.RegisterCommand( CdMazeCuboid );
            CommandManager.RegisterCommand( CdFirework );
            CommandManager.RegisterCommand( CdLife );
            CommandManager.RegisterCommand( CdPossess );
            CommandManager.RegisterCommand( CdUnpossess );
        }

Usage Example

Example #1
0
 // Sets up all the command hooks
 public static void Init()
 {
     DevCommands.Init();
     ModerationCommands.Init();
     BuildingCommands.Init();
     InfoCommands.Init();
     WorldCommands.Init();
     ZoneCommands.Init();
     MaintenanceCommands.Init();
     ChatCommands.Init();
     FunCommands.Init();
     MathCommands.Init();
     Logger.Log(LogType.Debug,
                "CommandManager: {0} commands registered ({1} hidden, {2} aliases)",
                Commands.Count,
                GetCommands(true).Length,
                Aliases.Count);
 }