public override void Process(CmdTrigger <AuthServerCmdArgs> trigger) { var cfg = CommandUtil.GetConfig(AuthServerConfiguration.Instance, trigger); if (cfg != null) { CommandUtil.GetCfgValue(cfg, trigger); } }
public override void Process(CmdTrigger <RealmServerCmdArgs> trigger) { IConfiguration config = CommandUtil.GetConfig((IConfiguration)RealmServerConfiguration.Instance, (ITriggerer)trigger); if (config == null) { return; } CommandUtil.GetCfgValue(config, (ITriggerer)trigger); }