Exemple #1
0
            public override void Process(CmdTrigger <AuthServerCmdArgs> trigger)
            {
                var cfg = CommandUtil.GetConfig(AuthServerConfiguration.Instance, trigger);

                if (cfg != null)
                {
                    CommandUtil.ListCfgValues(cfg, trigger);
                }
            }
Exemple #2
0
            public override void Process(CmdTrigger <AuthServerCmdArgs> trigger)
            {
                var cfg = CommandUtil.GetConfig(AuthServerConfiguration.Instance, trigger);

                if (cfg != null)
                {
                    cfg.Load();
                    trigger.Reply("Done.");
                }
            }
Exemple #3
0
        public override void Process(CmdTrigger <RealmServerCmdArgs> trigger)
        {
            var cfg = CommandUtil.GetConfig(RealmServerConfiguration.Instance, trigger);

            if (cfg != null)
            {
                cfg.Save(true, false);
                trigger.Reply("Done.");
            }
        }
Exemple #4
0
            public override void Process(CmdTrigger <RealmServerCmdArgs> trigger)
            {
                IConfiguration config = CommandUtil.GetConfig((IConfiguration)RealmServerConfiguration.Instance,
                                                              (ITriggerer)trigger);

                if (config == null)
                {
                    return;
                }
                CommandUtil.ListCfgValues(config, (ITriggerer)trigger);
            }
Exemple #5
0
            public override void Process(CmdTrigger <RealmServerCmdArgs> trigger)
            {
                IConfiguration config = CommandUtil.GetConfig((IConfiguration)RealmServerConfiguration.Instance,
                                                              (ITriggerer)trigger);

                if (config == null)
                {
                    return;
                }
                config.Load();
                trigger.Reply("Done.");
            }