DayZ 1.24
Loading...
Searching...
No Matches
WorldEditorAPI Class Reference

Private Member Functions

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

Detailed Description

Definition at line 45 of file workbenchApi.c.

Constructor & Destructor Documentation

◆ WorldEditorAPI()

void WorldEditorAPI::WorldEditorAPI ( )
inlineprivate

Definition at line 78 of file workbenchApi.c.

78{}

◆ ~WorldEditorAPI()

void WorldEditorAPI::~WorldEditorAPI ( )
inlineprivate

Definition at line 79 of file workbenchApi.c.

79{}

Member Function Documentation

◆ AddToEntitySelection()

proto native external void WorldEditorAPI::AddToEntitySelection ( IEntity ent)
private

◆ BeginEntityAction()

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

◆ BeginTerrainAction()

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

◆ ClearEntitySelection()

proto native void WorldEditorAPI::ClearEntitySelection ( )
private

◆ CreateClonedEntity()

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

◆ CreateEntity()

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

◆ DeleteEntities()

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

◆ DeleteEntity()

proto native external bool WorldEditorAPI::DeleteEntity ( IEntity ent)
private

◆ EndEntityAction()

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

◆ EndTerrainAction()

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

◆ EntityToSource()

proto native IEntitySource WorldEditorAPI::EntityToSource ( IEntity ent)
private

◆ FindEntityByName()

proto native IEntitySource WorldEditorAPI::FindEntityByName ( string name)
private

◆ GetEntityUnderCursor()

proto native IEntity WorldEditorAPI::GetEntityUnderCursor ( )
private

◆ GetSelectedEntitiesCount()

proto native int WorldEditorAPI::GetSelectedEntitiesCount ( )
private

◆ GetSelectedEntity()

proto native IEntity WorldEditorAPI::GetSelectedEntity ( int n = 0)
private

◆ IsDoingEditAction()

proto native bool WorldEditorAPI::IsDoingEditAction ( )
private

◆ IsModifyingData()

proto native bool WorldEditorAPI::IsModifyingData ( )
private

◆ ModifyEntityKey()

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

◆ ModifyEntityTemplateKey()

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

◆ RemoveFromEntitySelection()

proto native void WorldEditorAPI::RemoveFromEntitySelection ( IEntity ent)
private

◆ SetEntitySelection()

proto native external void WorldEditorAPI::SetEntitySelection ( IEntity ent)
private

◆ SetPropertySelection()

proto native void WorldEditorAPI::SetPropertySelection ( string id)
private

◆ SourceToEntity()

proto native IEntity WorldEditorAPI::SourceToEntity ( IEntitySource entSrc)
private

◆ TraceWorldPos()

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

◆ UndoOrRedoIsRestoring()

proto native bool WorldEditorAPI::UndoOrRedoIsRestoring ( )
private

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