PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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)
 
private void WorldEditorAPI ()
 
private void ~WorldEditorAPI ()
 

Constructor & Destructor Documentation

◆ WorldEditorAPI()

private void WorldEditorAPI ( )
inlineprivate

◆ ~WorldEditorAPI()

private void ~WorldEditorAPI ( )
inlineprivate

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

◆ CreateEntity()

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

◆ 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

◆ 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

◆ UndoOrRedoIsRestoring()

proto native bool UndoOrRedoIsRestoring ( )
private

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