Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_EntityReplacerTool Interface Reference
Inheritance diagram for SCR_EntityReplacerTool:

Protected Member Functions

void ReplaceFromSelectedEntities ()
 
void ReplaceFromAllEntities ()
 
void ReplaceFromEntities (bool allEntities=true)
 
array< IEntitySource > CreateReplacements (BaseWorld baseWorld, notnull out array< IEntitySource > toDelete)
 
override void OnMousePressEvent (float x, float y, WETMouseButtonFlag buttons)
 
int GetToReplaceIndex (ResourceName resourceName)
 
int GetReplaceWithIndex (ResourceName resourceName)
 
void ToReplaceOperation (ResourceName resourceName, bool isDeletion)
 
void ReplaceWithOperation (ResourceName resourceName, bool isDeletion)
 
void RemoveInvalidResourceNames ()
 
void GetAllEntities (BaseWorld baseWorld)
 Fills ENTITIES_TO_PARSE with found entities.
 
bool InsertEntity (IEntity entity)
 
void SelectEntities (notnull array< IEntitySource > entities)
 
array< IEntity > GetEntitiesFromSource (notnull array< IEntitySource > sources)
 

Protected Attributes

ref array< ref EntityReplacerTool_ToReplacem_aToReplace
 
ref array< ref EntityReplacerTool_ReplaceWithm_aReplaceWith
 
bool m_bReplaceInOrder
 
bool m_bActiveLayerOnly
 
int m_iMaxSelectedEntities
 

Static Protected Attributes

static const ref array< IEntitySource > ENTITIES_TO_PARSE = {}
 
static const ref RandomGenerator RANDOM_GENERATOR = new RandomGenerator()
 

Member Function Documentation

◆ CreateReplacements()

array< IEntitySource > SCR_EntityReplacerTool.CreateReplacements ( BaseWorld baseWorld,
notnull out array< IEntitySource > toDelete )
protected

◆ GetAllEntities()

void SCR_EntityReplacerTool.GetAllEntities ( BaseWorld baseWorld)
protected

Fills ENTITIES_TO_PARSE with found entities.

◆ GetEntitiesFromSource()

array< IEntity > SCR_EntityReplacerTool.GetEntitiesFromSource ( notnull array< IEntitySource > sources)
protected

◆ GetReplaceWithIndex()

int SCR_EntityReplacerTool.GetReplaceWithIndex ( ResourceName resourceName)
protected

◆ GetToReplaceIndex()

int SCR_EntityReplacerTool.GetToReplaceIndex ( ResourceName resourceName)
protected

◆ InsertEntity()

bool SCR_EntityReplacerTool.InsertEntity ( IEntity entity)
protected

◆ OnMousePressEvent()

override void SCR_EntityReplacerTool.OnMousePressEvent ( float x,
float y,
WETMouseButtonFlag buttons )
protected

◆ RemoveInvalidResourceNames()

void SCR_EntityReplacerTool.RemoveInvalidResourceNames ( )
protected

◆ ReplaceFromAllEntities()

void SCR_EntityReplacerTool.ReplaceFromAllEntities ( )
protected

◆ ReplaceFromEntities()

void SCR_EntityReplacerTool.ReplaceFromEntities ( bool allEntities = true)
protected

◆ ReplaceFromSelectedEntities()

void SCR_EntityReplacerTool.ReplaceFromSelectedEntities ( )
protected

◆ ReplaceWithOperation()

void SCR_EntityReplacerTool.ReplaceWithOperation ( ResourceName resourceName,
bool isDeletion )
protected

◆ SelectEntities()

void SCR_EntityReplacerTool.SelectEntities ( notnull array< IEntitySource > entities)
protected

◆ ToReplaceOperation()

void SCR_EntityReplacerTool.ToReplaceOperation ( ResourceName resourceName,
bool isDeletion )
protected

Member Data Documentation

◆ ENTITIES_TO_PARSE

const ref array<IEntitySource> SCR_EntityReplacerTool.ENTITIES_TO_PARSE = {}
staticprotected

◆ m_aReplaceWith

ref array<ref EntityReplacerTool_ReplaceWith> SCR_EntityReplacerTool.m_aReplaceWith
protected

◆ m_aToReplace

ref array<ref EntityReplacerTool_ToReplace> SCR_EntityReplacerTool.m_aToReplace
protected

◆ m_bActiveLayerOnly

bool SCR_EntityReplacerTool.m_bActiveLayerOnly
protected

◆ m_bReplaceInOrder

bool SCR_EntityReplacerTool.m_bReplaceInOrder
protected

◆ m_iMaxSelectedEntities

int SCR_EntityReplacerTool.m_iMaxSelectedEntities
protected

◆ RANDOM_GENERATOR

const ref RandomGenerator SCR_EntityReplacerTool.RANDOM_GENERATOR = new RandomGenerator()
staticprotected

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