Exemple #1
0
        public static BufferedCommandResponse ExecuteBufferedCommand(string cmd)
        {
            var trigger = new BufferedCommandTrigger(new StringStream(cmd));

            Instance.Execute(trigger);
            return(trigger.Response);
        }
Exemple #2
0
        public static BufferedCommandResponse ExecuteBufferedCommand(string cmd)
        {
            BufferedCommandTrigger bufferedCommandTrigger = new BufferedCommandTrigger(new StringStream(cmd));

            RealmCommandHandler.Instance.Execute((CmdTrigger <RealmServerCmdArgs>)bufferedCommandTrigger);
            return(bufferedCommandTrigger.Response);
        }