Ejemplo n.º 1
0
        public String run_action_list_t(AplAction action)
        {
            var s = "simc.actions" + (action.apl == "default" ? "" : "[\"" + action.apl + "\"]") +
                    " += simc.CallActionList(\"" + action.get(ActionOptionType.Name) +
                    "\"," +
                    If +
                    (action.has(ActionOptionType.Target) ? ",simc.Target" + action.get(ActionOptionType.Target) : "") +
                    ",\"" + action._condition_string.Replace("\"", "\\\"") + "\"" +
                    ");";

            return(s);
        }
Ejemplo n.º 2
0
 public String run_action_list_t(AplAction action)
 {
     var s = "simc.actions" + (action.apl == "default" ? "" : "[\"" + action.apl + "\"]") +
                               " += simc.CallActionList(\"" + action.get(ActionOptionType.Name) +
                               "\"," +
                               If+
                               (action.has(ActionOptionType.Target) ? ",simc.Target" + action.get(ActionOptionType.Target) : "") +
                               ",\"" + action._condition_string.Replace("\"", "\\\"") + "\"" +
                               ");";
     return s;
 }