コード例 #1
0
ファイル: ContentCommands.cs プロジェクト: NecroSharper/WCell
            public override void Process(CmdTrigger <RealmServerCmdArgs> trigger)
            {
                trigger.Reply("Checking Content-Definitions...");
                var count = ContentMgr.Check(trigger.Reply);

                trigger.Reply("Done - Found {0} error(s).", count);
            }
コード例 #2
0
            public override void Process(CmdTrigger <RealmServerCmdArgs> trigger)
            {
                trigger.Reply("Checking Content-Definitions...");
                int num = ContentMgr.Check(new Action <string>(trigger.Reply));

                trigger.Reply("Done - Found {0} error(s).", (object)num);
            }