Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_ResourceGridCell Interface Reference
Inheritance diagram for SCR_ResourceGridCell:
[legend]

Public Member Functions

int GetGridUpdateId ()
 
int GetIndex ()
 
int GetX ()
 
int GetZ ()
 
int Get (int axis)
 
array< SCR_ResourceComponentGetResourceDynamicItems ()
 
array< SCR_ResourceComponentGetResourceStaticItems ()
 
void SetGridUpdateId (int gridUpdateId)
 
int RegisterDynamicItem (notnull SCR_ResourceComponent item, int gridUpdateId)
 
bool UnregisterDynamicItem (notnull SCR_ResourceComponent item, int gridUpdateId)
 
int RegisterStaticItem (notnull SCR_ResourceComponent item, int gridUpdateId)
 
bool UnregisterStaticItem (notnull SCR_ResourceComponent item, int gridUpdateId)
 
void MoveStaticItem (notnull SCR_ResourceComponent item, int gridUpdateId)
 
void MoveDynamicItem (notnull SCR_ResourceComponent item, int gridUpdateId)
 
void PromoteResourceItemToDynamic (notnull SCR_ResourceComponent item)
 
void PromoteResourceItemToStatic (notnull SCR_ResourceComponent item)
 
void SCR_ResourceGridCell (int index)
 

Protected Attributes

int m_iIndex
 
int m_iGridUpdateId = int.MIN
 
ref array< SCR_ResourceComponentm_aStaticItems = {}
 
ref array< SCR_ResourceComponentm_aDynamicItems = {}
 

Constructor & Destructor Documentation

◆ SCR_ResourceGridCell()

void SCR_ResourceGridCell.SCR_ResourceGridCell ( int  index)

Member Function Documentation

◆ Get()

int SCR_ResourceGridCell.Get ( int  axis)

◆ GetGridUpdateId()

int SCR_ResourceGridCell.GetGridUpdateId ( )

◆ GetIndex()

int SCR_ResourceGridCell.GetIndex ( )

◆ GetResourceDynamicItems()

array< SCR_ResourceComponent > SCR_ResourceGridCell.GetResourceDynamicItems ( )

Sanitization.

◆ GetResourceStaticItems()

array< SCR_ResourceComponent > SCR_ResourceGridCell.GetResourceStaticItems ( )

Sanitization.

◆ GetX()

int SCR_ResourceGridCell.GetX ( )

◆ GetZ()

int SCR_ResourceGridCell.GetZ ( )

◆ MoveDynamicItem()

void SCR_ResourceGridCell.MoveDynamicItem ( notnull SCR_ResourceComponent  item,
int  gridUpdateId 
)

◆ MoveStaticItem()

void SCR_ResourceGridCell.MoveStaticItem ( notnull SCR_ResourceComponent  item,
int  gridUpdateId 
)

◆ PromoteResourceItemToDynamic()

void SCR_ResourceGridCell.PromoteResourceItemToDynamic ( notnull SCR_ResourceComponent  item)

◆ PromoteResourceItemToStatic()

void SCR_ResourceGridCell.PromoteResourceItemToStatic ( notnull SCR_ResourceComponent  item)

◆ RegisterDynamicItem()

int SCR_ResourceGridCell.RegisterDynamicItem ( notnull SCR_ResourceComponent  item,
int  gridUpdateId 
)

◆ RegisterStaticItem()

int SCR_ResourceGridCell.RegisterStaticItem ( notnull SCR_ResourceComponent  item,
int  gridUpdateId 
)

◆ SetGridUpdateId()

void SCR_ResourceGridCell.SetGridUpdateId ( int  gridUpdateId)

◆ UnregisterDynamicItem()

bool SCR_ResourceGridCell.UnregisterDynamicItem ( notnull SCR_ResourceComponent  item,
int  gridUpdateId 
)

◆ UnregisterStaticItem()

bool SCR_ResourceGridCell.UnregisterStaticItem ( notnull SCR_ResourceComponent  item,
int  gridUpdateId 
)

Member Data Documentation

◆ m_aDynamicItems

ref array<SCR_ResourceComponent> SCR_ResourceGridCell.m_aDynamicItems = {}
protected

◆ m_aStaticItems

ref array<SCR_ResourceComponent> SCR_ResourceGridCell.m_aStaticItems = {}
protected

◆ m_iGridUpdateId

int SCR_ResourceGridCell.m_iGridUpdateId = int.MIN
protected

◆ m_iIndex

int SCR_ResourceGridCell.m_iIndex
protected

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