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

Returns true if ammo of current vehicle weapon matches the condition. More...

Inheritance diagram for SCR_VehicleWeaponAmmoCondition:
[legend]

Public Member Functions

override bool IsAvailable (SCR_AvailableActionsConditionData data)
 Returns true when currently controled vehicle weapon in vehicle has met the specified ammo condition.
 
- 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.
 

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.
 
- Protected Attributes inherited from SCR_AvailableActionCondition
bool m_bEnabled
 
bool m_bNegateCondition
 

Detailed Description

Returns true if ammo of current vehicle weapon matches the condition.

Member Function Documentation

◆ IsAvailable()

override bool SCR_VehicleWeaponAmmoCondition.IsAvailable ( SCR_AvailableActionsConditionData  data)

Returns true when currently controled vehicle weapon in vehicle has met the specified ammo condition.

Implements SCR_AvailableActionCondition.


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