Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
WorldEditorAPI Class Reference

Private Member Functions

void WorldEditorAPI ()
void ~WorldEditorAPI ()
proto native external void AddToEntitySelection (IEntity ent)
proto native bool BeginEntityAction (string historyPointName="", string historyPointIcon="")
proto native bool BeginTerrainAction (string historyPointName="", string historyPointIcon="")
proto native void ClearEntitySelection ()
proto native external IEntity CreateClonedEntity (IEntity ent, string name)
proto native external IEntity CreateEntity (string className, string name, int layerId, vector coords, vector angles)
proto native bool DeleteEntities (out array< IEntity > ents)
proto native external bool DeleteEntity (IEntity ent)
proto native bool EndEntityAction (string historyPointName="")
proto native void EndTerrainAction (string historyPointName="")
proto native IEntitySource EntityToSource (IEntity ent)
proto native IEntitySource FindEntityByName (string name)
proto native IEntity GetEntityUnderCursor ()
proto native int GetSelectedEntitiesCount ()
proto native IEntity GetSelectedEntity (int n=0)
proto native bool IsDoingEditAction ()
proto native bool IsModifyingData ()
proto native external bool ModifyEntityKey (IEntity ent, string key, string value)
proto native external bool ModifyEntityTemplateKey (IEntitySource tmpl, string key, string value)
proto native void RemoveFromEntitySelection (IEntity ent)
proto native external void SetEntitySelection (IEntity ent)
proto native void SetPropertySelection (string id)
proto native IEntity SourceToEntity (IEntitySource entSrc)
proto native external bool TraceWorldPos (int x, int y, int traceFlags, out vector traceStart, out vector traceEnd, out vector traceDir)
proto native bool UndoOrRedoIsRestoring ()

Detailed Description

Definition at line 45 of file workbenchapi.c.

Constructor & Destructor Documentation

◆ WorldEditorAPI()

void WorldEditorAPI ( )
inlineprivate

Definition at line 78 of file workbenchapi.c.

◆ ~WorldEditorAPI()

void ~WorldEditorAPI ( )
inlineprivate

Definition at line 79 of file workbenchapi.c.

Member Function Documentation

◆ AddToEntitySelection()

proto native external void AddToEntitySelection ( IEntity ent)
private

◆ BeginEntityAction()

proto native bool BeginEntityAction ( string historyPointName = "",
string historyPointIcon = "" )
private

◆ BeginTerrainAction()

proto native bool BeginTerrainAction ( string historyPointName = "",
string historyPointIcon = "" )
private

◆ ClearEntitySelection()

proto native void ClearEntitySelection ( )
private

◆ CreateClonedEntity()

proto native external IEntity CreateClonedEntity ( IEntity ent,
string name )
private

References name.

◆ CreateEntity()

proto native external IEntity CreateEntity ( string className,
string name,
int layerId,
vector coords,
vector angles )
private

References name.

◆ DeleteEntities()

proto native bool DeleteEntities ( out array< IEntity > ents)
private

◆ DeleteEntity()

proto native external bool DeleteEntity ( IEntity ent)
private

◆ EndEntityAction()

proto native bool EndEntityAction ( string historyPointName = "")
private

◆ EndTerrainAction()

proto native void EndTerrainAction ( string historyPointName = "")
private

◆ EntityToSource()

proto native IEntitySource EntityToSource ( IEntity ent)
private

◆ FindEntityByName()

proto native IEntitySource FindEntityByName ( string name)
private

References name.

◆ GetEntityUnderCursor()

proto native IEntity GetEntityUnderCursor ( )
private

◆ GetSelectedEntitiesCount()

proto native int GetSelectedEntitiesCount ( )
private

◆ GetSelectedEntity()

proto native IEntity GetSelectedEntity ( int n = 0)
private

◆ IsDoingEditAction()

proto native bool IsDoingEditAction ( )
private

◆ IsModifyingData()

proto native bool IsModifyingData ( )
private

◆ ModifyEntityKey()

proto native external bool ModifyEntityKey ( IEntity ent,
string key,
string value )
private

◆ ModifyEntityTemplateKey()

proto native external bool ModifyEntityTemplateKey ( IEntitySource tmpl,
string key,
string value )
private

◆ RemoveFromEntitySelection()

proto native void RemoveFromEntitySelection ( IEntity ent)
private

◆ SetEntitySelection()

proto native external void SetEntitySelection ( IEntity ent)
private

◆ SetPropertySelection()

proto native void SetPropertySelection ( string id)
private

◆ SourceToEntity()

proto native IEntity SourceToEntity ( IEntitySource entSrc)
private

◆ TraceWorldPos()

proto native external bool TraceWorldPos ( int x,
int y,
int traceFlags,
out vector traceStart,
out vector traceEnd,
out vector traceDir )
private

References x, and y.

◆ UndoOrRedoIsRestoring()

proto native bool UndoOrRedoIsRestoring ( )
private

The documentation for this class was generated from the following file: