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

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Override and implement this method in any inherited conditions.
 
- 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

bool ContainsMode (BaseMuzzleComponent muzzle, EWeaponFiremodeType modeType)
 
- Protected Member Functions inherited from SCR_AvailableActionCondition
bool GetReturnResult (bool desiredResult)
 Based on the state of m_bNegateCondition returns our desired result.
 

Protected Attributes

EWeaponFiremodeType m_iValue
 
bool m_bIsCurrent
 
- Protected Attributes inherited from SCR_AvailableActionCondition
bool m_bEnabled
 
bool m_bNegateCondition
 

Member Function Documentation

◆ ContainsMode()

bool SCR_WeaponFiremodeCondition.ContainsMode ( BaseMuzzleComponent  muzzle,
EWeaponFiremodeType  modeType 
)
protected

◆ IsAvailable()

override bool SCR_WeaponFiremodeCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Override and implement this method in any inherited conditions.

Use GetReturnResult prior to returning the value to take m_bNegateCondition into account

Parameters
data
Returns
availability

Implements SCR_AvailableActionCondition.

Member Data Documentation

◆ m_bIsCurrent

bool SCR_WeaponFiremodeCondition.m_bIsCurrent
protected

◆ m_iValue

EWeaponFiremodeType SCR_WeaponFiremodeCondition.m_iValue
protected

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