Arma Reforger Script API
|
Public Member Functions | |
override bool | IsValid (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) |
Returns if effect is valid always called before ExecuteRefundEffect_S. | |
![]() | |
override void | Init (SCR_ArsenalRefundEffectComponentClass arsenalRefundEffectClass) |
Init of effect before adding them to the order array in SCR_ArsenalRefundEffectComponentClass. | |
override bool | ExecuteRefundEffect (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) |
Execute refund effect (Called on server only) | |
Additional Inherited Members | |
![]() | |
bool | m_bEnabled |
int | m_iPriority |
![]() | |
bool | HasValidEntries (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) |
int | GetValidEntries (notnull inout array< SCR_BaseWeightedArsenalRefundEffectEntry > validEntries, notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) |
![]() | |
bool | UsedFriendlyArsenal (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) |
Check if item was refunded at a friendly arsenal. | |
![]() | |
ref array< ref SCR_BaseWeightedArsenalRefundEffectEntry > | m_aWeightedEffectEntries |
![]() | |
SCR_EArsenalTypes | m_eHandInArsenalTypes |
override bool SCR_ValuableIntelArsenalRefundEffect.IsValid | ( | notnull IEntity | item, |
notnull PlayerController | playerController, | ||
SCR_ArsenalComponent | arsenal ) |
Returns if effect is valid always called before ExecuteRefundEffect_S.
[in] | item | Item that is being refunded |
[in] | playerController | Player controller of player that refunds the item |
[in] | arsenal | Arsenal the item was refunded at (Can potentially be null) |
Check if handed in at arsenal and if the arsenal type is supported
Implements SCR_WeightedListArsenalRefundEffect.