예제 #1
0
        public override bool Invoke(IGameCommandReference command)
        {
            if (command == null)
            {
                return(false);
            }

            var txt = command.Name;

            if (command.Arguments != null && command.Arguments.Length > 0)
            {
                txt += $"({string.Join(",", command.Arguments)})";
            }

            return(this.InvokeCommand(txt));
        }
예제 #2
0
 public abstract bool Invoke(IGameCommandReference command);