Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_MuzzleTypeCondition Interface Reference

Returns true if current muzzle's type matches specified type. More...

Inheritance diagram for SCR_MuzzleTypeCondition:
[legend]

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Returns true when current muzzle's type matches specified type Returns opposite if m_bNegateCondition is enabled, but only if there is current muzzle at all.
 
- 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 Attributes

EMuzzleType m_eMuzzleType
 
- Protected Attributes inherited from SCR_AvailableActionCondition
bool m_bEnabled
 
bool m_bNegateCondition
 

Additional Inherited Members

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

Detailed Description

Returns true if current muzzle's type matches specified type.

Member Function Documentation

◆ IsAvailable()

override bool SCR_MuzzleTypeCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Returns true when current muzzle's type matches specified type Returns opposite if m_bNegateCondition is enabled, but only if there is current muzzle at all.

Implements SCR_AvailableActionCondition.

Member Data Documentation

◆ m_eMuzzleType

EMuzzleType SCR_MuzzleTypeCondition.m_eMuzzleType
protected

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