11 static proto native
void Dialog(
string caption,
string text);
14 static proto native
int RunCmd(
string command,
bool wait =
false);
15 static proto
void GetCwd(out
string currentDir);
25 proto native external
bool Save();
26 proto native external
bool Close();
47 proto native
bool BeginTerrainAction(
string historyPointName =
"",
string historyPointIcon =
"");
49 proto native
bool BeginEntityAction(
string historyPointName =
"",
string historyPointIcon =
"");
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
Super root of all classes in Enforce script.
proto external bool GetCurrentFile(out string filename)
proto external bool GetCurrentFile(out string filename)
proto native external int GetCurrentLine()
proto native external bool SetOpenedResource(string filename)
proto native external bool Save()
proto native external int GetNumContainers()
proto native external bool Close()
proto native external BaseContainer GetContainer(int index=0)
proto external bool GetCmdLine(string name, out string value)
static proto native bool CloseModule(string type)
static proto native void Dialog(string caption, string text)
static proto native int RunCmd(string command, bool wait=false)
static proto void GetCwd(out string currentDir)
static proto native WBModuleDef GetModule(string type)
static proto bool SearchResources(string filter, func callback)
static proto native bool OpenModule(string type)
static proto int ScriptDialog(string caption, string text, Class data)
static proto bool GetAbsolutePath(string relativePath, out string absPath)
ref array< string > m_WBModules
void WorkbenchPluginAttribute(string name, string description="", string shortcut="", string icon="", array< string > wbModules=null)
proto native IEntity SourceToEntity(IEntitySource entSrc)
proto native IEntitySource FindEntityByName(string name)
proto native void RemoveFromEntitySelection(IEntity ent)
proto native IEntity GetSelectedEntity(int n=0)
proto native external void SetEntitySelection(IEntity ent)
proto native bool IsDoingEditAction()
proto native bool UndoOrRedoIsRestoring()
proto native external IEntity CreateEntity(string className, string name, int layerId, vector coords, vector angles)
proto native external void AddToEntitySelection(IEntity ent)
proto native external bool DeleteEntity(IEntity ent)
proto native bool BeginTerrainAction(string historyPointName="", string historyPointIcon="")
proto native int GetSelectedEntitiesCount()
proto native bool DeleteEntities(out array< IEntity > ents)
proto native external bool ModifyEntityKey(IEntity ent, string key, string value)
proto native void ClearEntitySelection()
proto native void SetPropertySelection(string id)
proto native bool IsModifyingData()
proto native bool BeginEntityAction(string historyPointName="", string historyPointIcon="")
proto native external IEntity CreateClonedEntity(IEntity ent, string name)
proto native IEntity GetEntityUnderCursor()
proto native external bool TraceWorldPos(int x, int y, int traceFlags, out vector traceStart, out vector traceEnd, out vector traceDir)
proto native void EndTerrainAction(string historyPointName="")
proto native bool EndEntityAction(string historyPointName="")
proto native external bool ModifyEntityTemplateKey(IEntitySource tmpl, string key, string value)
proto native IEntitySource EntityToSource(IEntity ent)
proto native external WorldEditorAPI GetAPI()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.