Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VehicleConditionManager Class Reference

Protected Member Functions

ScriptInvokerBool GetOnVehicleUsabilityChanged ()
SCR_VehicleConditionCheck GetCheck (typename type)
void AddCheck (notnull SCR_VehicleConditionCheck check)
SCR_VehicleConditionCheck GetFirstFailedCheck (Vehicle vehicle)
bool IsVehicleUsable (Vehicle vehicle)
bool GetIsUsable ()
void SetIsUsable (bool value)
void SCR_VehicleConditionManager ()

Protected Attributes

ref array< ref SCR_VehicleConditionCheck > m_aChecks
bool m_bIsUsable
ref ScriptInvokerBool m_OnVehicleUsabilityChanged

Detailed Description

Definition at line 2 of file SCR_VehicleConditionManager.c.

Constructor & Destructor Documentation

◆ SCR_VehicleConditionManager()

void SCR_VehicleConditionManager::SCR_VehicleConditionManager ( )
inlineprotected

Definition at line 93 of file SCR_VehicleConditionManager.c.

Member Function Documentation

◆ AddCheck()

void SCR_VehicleConditionManager::AddCheck ( notnull SCR_VehicleConditionCheck check)
inlineprotected

Definition at line 33 of file SCR_VehicleConditionManager.c.

◆ GetCheck()

SCR_VehicleConditionCheck SCR_VehicleConditionManager::GetCheck ( typename type )
inlineprotected

Definition at line 21 of file SCR_VehicleConditionManager.c.

◆ GetFirstFailedCheck()

SCR_VehicleConditionCheck SCR_VehicleConditionManager::GetFirstFailedCheck ( Vehicle vehicle)
inlineprotected

Definition at line 42 of file SCR_VehicleConditionManager.c.

◆ GetIsUsable()

bool SCR_VehicleConditionManager::GetIsUsable ( )
inlineprotected

Definition at line 75 of file SCR_VehicleConditionManager.c.

◆ GetOnVehicleUsabilityChanged()

ScriptInvokerBool SCR_VehicleConditionManager::GetOnVehicleUsabilityChanged ( )
inlineprotected

Definition at line 12 of file SCR_VehicleConditionManager.c.

◆ IsVehicleUsable()

bool SCR_VehicleConditionManager::IsVehicleUsable ( Vehicle vehicle)
inlineprotected

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.

Definition at line 59 of file SCR_VehicleConditionManager.c.

◆ SetIsUsable()

void SCR_VehicleConditionManager::SetIsUsable ( bool value)
inlineprotected

Definition at line 81 of file SCR_VehicleConditionManager.c.

Member Data Documentation

◆ m_aChecks

ref array<ref SCR_VehicleConditionCheck> SCR_VehicleConditionManager::m_aChecks
protected

Definition at line 5 of file SCR_VehicleConditionManager.c.

◆ m_bIsUsable

bool SCR_VehicleConditionManager::m_bIsUsable
protected

Definition at line 7 of file SCR_VehicleConditionManager.c.

◆ m_OnVehicleUsabilityChanged

ref ScriptInvokerBool SCR_VehicleConditionManager::m_OnVehicleUsabilityChanged
protected

Definition at line 9 of file SCR_VehicleConditionManager.c.


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