public void InvokeMapChange(string mapName, XmlGroup map) { lock (_mainQueue.SyncRoot) _mainQueue.Enqueue(new Action(() => { if (Language == ScriptingEngineLanguage.compiled) { _compiledScript.API.invokeMapChange(mapName, map); } })); }
public XmlGroup getSubgroup(string groupName) { var node = _mapDocument.SelectSingleNode(groupName); if (node == null) { return(null); } var XmlGroup = new XmlGroup(); XmlGroup.Load(node); return(XmlGroup); }