Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_VehicleConditionManager Interface Reference

Public Member Functions

ScriptInvokerBool GetOnVehicleUsabilityChanged ()
 
SCR_VehicleConditionCheck GetCheck (TypeName type)
 
void AddCheck (notnull SCR_VehicleConditionCheck check)
 
SCR_VehicleConditionCheck GetFirstFailedCheck (Vehicle vehicle)
 
bool IsVehicleUsable (Vehicle vehicle)
 Checks if a vehicle is usable by iterating through condition checks.
 
bool GetIsUsable ()
 
void SCR_VehicleConditionManager ()
 

Protected Member Functions

void SetIsUsable (bool value)
 

Protected Attributes

ref array< ref SCR_VehicleConditionCheckm_aChecks
 
bool m_bIsUsable
 
ref ScriptInvokerBool m_OnVehicleUsabilityChanged
 

Constructor & Destructor Documentation

◆ SCR_VehicleConditionManager()

void SCR_VehicleConditionManager.SCR_VehicleConditionManager ( )

Member Function Documentation

◆ AddCheck()

void SCR_VehicleConditionManager.AddCheck ( notnull SCR_VehicleConditionCheck check)

◆ GetCheck()

SCR_VehicleConditionCheck SCR_VehicleConditionManager.GetCheck ( TypeName type)

◆ GetFirstFailedCheck()

SCR_VehicleConditionCheck SCR_VehicleConditionManager.GetFirstFailedCheck ( Vehicle vehicle)

◆ GetIsUsable()

bool SCR_VehicleConditionManager.GetIsUsable ( )

◆ GetOnVehicleUsabilityChanged()

ScriptInvokerBool SCR_VehicleConditionManager.GetOnVehicleUsabilityChanged ( )

◆ IsVehicleUsable()

bool SCR_VehicleConditionManager.IsVehicleUsable ( Vehicle vehicle)

Checks if a vehicle is usable by iterating through condition checks.

Parameters
[in]vehiclethat the method checks usability for.
Returns
Usability of the group after checking all conditions.

◆ SetIsUsable()

void SCR_VehicleConditionManager.SetIsUsable ( bool value)
protected

Member Data Documentation

◆ m_aChecks

ref array<ref SCR_VehicleConditionCheck> SCR_VehicleConditionManager.m_aChecks
protected

◆ m_bIsUsable

bool SCR_VehicleConditionManager.m_bIsUsable
protected

◆ m_OnVehicleUsabilityChanged

ref ScriptInvokerBool SCR_VehicleConditionManager.m_OnVehicleUsabilityChanged
protected

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