Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
SCR_WallGroupContainer Interface Reference

Data container that holds the individual wall asset related information. More...

Public Member Functions

bool IsEmpty ()
 
SCR_WallPair GetRandomWall (float biggestSmallerThan=-1)
 
void PrepareWallGroups (notnull array< ref WallLengthGroup > groups, bool forward, string middleObj, WorldEditorAPI api)
 Goes through walls and prepares a data structure that's used during wall generation.
 
void SCR_WallGroupContainer (WorldEditorAPI api, array< ref WallLengthGroup > items, bool forward, string middleObj, WallGeneratorEntity ent)
 

Public Attributes

bool m_bGenerated
 
float m_fMiddleObjectLength
 
float m_fSmallestWall = float.MAX
 

Protected Attributes

ref array< float > m_aLengths = {}
 
ref array< ref SCR_WallGroupm_aWallGroups = {}
 
WallGeneratorEntity m_WallGenerator
 

Detailed Description

Data container that holds the individual wall asset related information.

Constructor & Destructor Documentation

◆ SCR_WallGroupContainer()

void SCR_WallGroupContainer.SCR_WallGroupContainer ( WorldEditorAPI  api,
array< ref WallLengthGroup items,
bool  forward,
string  middleObj,
WallGeneratorEntity  ent 
)

Member Function Documentation

◆ GetRandomWall()

SCR_WallPair SCR_WallGroupContainer.GetRandomWall ( float  biggestSmallerThan = -1)

◆ IsEmpty()

bool SCR_WallGroupContainer.IsEmpty ( )

◆ PrepareWallGroups()

void SCR_WallGroupContainer.PrepareWallGroups ( notnull array< ref WallLengthGroup groups,
bool  forward,
string  middleObj,
WorldEditorAPI  api 
)

Goes through walls and prepares a data structure that's used during wall generation.

Member Data Documentation

◆ m_aLengths

ref array<float> SCR_WallGroupContainer.m_aLengths = {}
protected

◆ m_aWallGroups

ref array<ref SCR_WallGroup> SCR_WallGroupContainer.m_aWallGroups = {}
protected

◆ m_bGenerated

bool SCR_WallGroupContainer.m_bGenerated

◆ m_fMiddleObjectLength

float SCR_WallGroupContainer.m_fMiddleObjectLength

◆ m_fSmallestWall

float SCR_WallGroupContainer.m_fSmallestWall = float.MAX

◆ m_WallGenerator

WallGeneratorEntity SCR_WallGroupContainer.m_WallGenerator
protected

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