public static string GetVar(string name) { if (GlobalBus.ContainsVar(name)) { return(GlobalBus.vars[name]); } else { return(null); } }
public static void SetVar(string name, string value) { GlobalBus.vars[name] = value; GlobalBus.Message(null, "VarSet." + name, value); }