fCraft.ModerationCommands.Init C# (CSharp) Méthode

Init() static private méthode

static private Init ( ) : void
Résultat void
        internal static void Init()
        {
            CdBan.Help += BanCommonHelp;
            CdBanIP.Help += BanCommonHelp;
            CdBanAll.Help += BanCommonHelp;
            CdUnban.Help += BanCommonHelp;
            CdUnbanIP.Help += BanCommonHelp;
            CdUnbanAll.Help += BanCommonHelp;

            CommandManager.RegisterCommand( CdBan );
            CommandManager.RegisterCommand( CdBanIP );
            CommandManager.RegisterCommand( CdBanAll );
            CommandManager.RegisterCommand( CdUnban );
            CommandManager.RegisterCommand( CdUnbanIP );
            CommandManager.RegisterCommand( CdUnbanAll );

            CommandManager.RegisterCommand( CdBanEx );

            CommandManager.RegisterCommand( CdKick );

            CommandManager.RegisterCommand( CdRank );

            CommandManager.RegisterCommand( CdHide );
            CommandManager.RegisterCommand( CdUnhide );

            CommandManager.RegisterCommand( CdSetSpawn );

            CommandManager.RegisterCommand( CdFreeze );
            CommandManager.RegisterCommand( CdUnfreeze );

            CommandManager.RegisterCommand( CdTP );
            CommandManager.RegisterCommand( CdBring );
            CommandManager.RegisterCommand( CdWorldBring );
            CommandManager.RegisterCommand( CdBringAll );

            CommandManager.RegisterCommand( CdPatrol );
            CommandManager.RegisterCommand( CdSpecPatrol );

            CommandManager.RegisterCommand( CdMute );
            CommandManager.RegisterCommand( CdUnmute );

            CommandManager.RegisterCommand( CdSpectate );
            CommandManager.RegisterCommand( CdUnspectate );

            CommandManager.RegisterCommand( CdSlap );
            CommandManager.RegisterCommand( CdTPZone );
            CommandManager.RegisterCommand( CdBasscannon );
            CommandManager.RegisterCommand( CdKill );
            CommandManager.RegisterCommand( CdTempBan );
            CommandManager.RegisterCommand( CdWarn );
            CommandManager.RegisterCommand( CdUnWarn );
            CommandManager.RegisterCommand( CdDisconnect );
            CommandManager.RegisterCommand( CdModerate );
            CommandManager.RegisterCommand( CdImpersonate );
            CommandManager.RegisterCommand( CdImmortal );
            CommandManager.RegisterCommand( CdTitle );
        }