protected internal virtual string execute(string[] args)
        {
            string result = "";

            if (args.Length > 0)
            {
                CommandInterface commandInterface = (CommandInterface)this.commandList.get(args[0]);
                if (commandInterface != null)
                {
                    result = commandInterface.execute(this, args);
                }
                else
                {
                    result = "ERR  CMD_NOT_FOUND";
                }
                this.totalCommands++;
            }
            return(result);
        }
Ejemplo n.º 2
0
 public void gameLoad()
 {
     Debug.Log("in )conc invoker.gameload");
     load.execute();
 }
Ejemplo n.º 3
0
 public void gameQuit()
 {
     Debug.Log("in )conc invoker.quit");
     quit.execute();
 }