Arma Reforger Script API
Loading...
Searching...
No Matches
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, float value01)
 
void PrepareWallGroups (notnull array< ref WallLengthGroup > groups, bool forward, string middleObj)
 Goes through walls and prepares a data structure that is used during wall generation.
 
void SCR_WallGroupContainer (notnull array< ref WallLengthGroup > items, bool forward, string middleObj)
 

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 = {}
 

Detailed Description

Data container that holds the individual wall asset related information.

Constructor & Destructor Documentation

◆ SCR_WallGroupContainer()

void SCR_WallGroupContainer.SCR_WallGroupContainer ( notnull array< ref WallLengthGroup > items,
bool forward,
string middleObj )

Member Function Documentation

◆ GetRandomWall()

SCR_WallPair SCR_WallGroupContainer.GetRandomWall ( float biggestSmallerThan,
float value01 )
Parameters
[in]biggestSmallerThanvalue under which the biggest wall must be (exclusive, using <)
Returns
a random wall of the max wanted size or null if not found

◆ IsEmpty()

bool SCR_WallGroupContainer.IsEmpty ( )
Returns
true if empty, false otherwise

◆ PrepareWallGroups()

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

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

Parameters
[in]groups
[in]forward
[in]middleObj

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

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