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

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Return true if currently controlled vehicle turret has illumination for sights.
 
- Public Member Functions inherited from SCR_AvailableActionCondition
bool IsEnabled ()
 Getter for an enabled flag, disabled conditions are skipped, not evaluated at all.
 
bool IsAvailable (SCR_AvailableActionsConditionData data)
 Override and implement this method in any inherited conditions.
 

Protected Member Functions

SCR_2DOpticsComponent CurrentWeaponSights (SCR_AvailableActionsConditionData data)
 
SCR_2DOpticsComponent CurrentTurretSight (SCR_AvailableActionsConditionData data)
 
- Protected Member Functions inherited from SCR_AvailableActionCondition
bool GetReturnResult (bool desiredResult)
 Based on the state of m_bNegateCondition returns our desired result.
 

Protected Attributes

bool m_bCheckTurret
 
- Protected Attributes inherited from SCR_AvailableActionCondition
bool m_bEnabled
 
bool m_bNegateCondition
 

Member Function Documentation

◆ CurrentTurretSight()

SCR_2DOpticsComponent SCR_SightsHasIlluminationCondition.CurrentTurretSight ( SCR_AvailableActionsConditionData  data)
protected

◆ CurrentWeaponSights()

SCR_2DOpticsComponent SCR_SightsHasIlluminationCondition.CurrentWeaponSights ( SCR_AvailableActionsConditionData  data)
protected

◆ IsAvailable()

override bool SCR_SightsHasIlluminationCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Return true if currently controlled vehicle turret has illumination for sights.

Implements SCR_AvailableActionCondition.

Member Data Documentation

◆ m_bCheckTurret

bool SCR_SightsHasIlluminationCondition.m_bCheckTurret
protected

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