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