House.House.Load C# (CSharp) Метод

Load() публичный Метод

public Load ( ) : void
Результат void
        public override void Load()
        {
            Name = "House";
            Description = "A plugin to allow players to define safe areas";
            Author = "amarriner";
            Version = "0.3.6.3";
            TDSMBuild = 33;

            plugin = this;

            this.registerHook(Hooks.PLAYER_TILECHANGE);
            this.registerHook(Hooks.PLAYER_CHEST);
            this.registerHook(Hooks.PLAYER_EDITSIGN);
            this.registerHook(Hooks.DOOR_STATECHANGE);
            this.registerHook(Hooks.TIME_CHANGED);
            this.registerHook(Hooks.PLAYER_FLOWLIQUID);

            AddCommand("h")
                .WithAccessLevel(AccessLevel.PLAYER)
                .WithDescription("House Commands, type /house ? for help")
                .WithHelpText("/house <command> <parameter> <parameter>")
                .Calls(Commands.Commands.house);

            AddCommand("house")
                .WithAccessLevel(AccessLevel.PLAYER)
                .WithDescription("House Commands, type /house ? for help")
                .WithHelpText("/house <command> <parameter> <parameter>")
                .Calls(Commands.Commands.house);
        }