Пример #1
0
        private void Unload()
        {
            foreach (var player in BasePlayer.activePlayerList)
            {
                InterfaceClose(player);
            }

            _ins    = null;
            _config = null;
        }
Пример #2
0
        private void Init()
        {
            _ins = this;

            permission.RegisterPermission(PermissionRecacheUI, this);

            foreach (var command in _config.Commands)
            {
                AddCovalenceCommand(command, nameof(CommandInfoMenu));
            }

            AddCovalenceCommand(CommandRecacheUI, nameof(CommandInfoMenuRecacheUI));
        }