| 
    Arma Reforger Script API
    
   | 
 
Holds an array of effects that are executed using a weighted randomization. More...
  
Public Member Functions | |
| override void | Init (SCR_ArsenalRefundEffectComponentClass arsenalRefundEffectClass) | 
| Init of effect before adding them to the order array in SCR_ArsenalRefundEffectComponentClass.   | |
| override bool | IsValid (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) | 
| Returns if effect is valid always called before ExecuteRefundEffect_S.   | |
| override bool | ExecuteRefundEffect (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) | 
| Execute refund effect (Called on server only)   | |
Protected Member Functions | |
| 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) | 
  Protected Member Functions inherited from SCR_BaseArsenalRefundEffect | |
| bool | UsedFriendlyArsenal (notnull IEntity item, notnull PlayerController playerController, SCR_ArsenalComponent arsenal) | 
| Check if item was refunded at a friendly arsenal.   | |
Protected Attributes | |
| ref array< ref SCR_BaseWeightedArsenalRefundEffectEntry > | m_aWeightedEffectEntries | 
  Protected Attributes inherited from SCR_BaseArsenalRefundEffect | |
| SCR_EArsenalTypes | m_eHandInArsenalTypes | 
Additional Inherited Members | |
  Public Attributes inherited from SCR_BaseArsenalRefundEffect | |
| bool | m_bEnabled | 
| int | m_iPriority | 
Holds an array of effects that are executed using a weighted randomization.
| override bool SCR_WeightedListArsenalRefundEffect.ExecuteRefundEffect | ( | notnull IEntity | item, | 
| notnull PlayerController | playerController, | ||
| SCR_ArsenalComponent | arsenal ) | 
Execute refund effect (Called on server only)
| [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) | 
Implements SCR_BaseArsenalRefundEffect.
      
  | 
  protected | 
      
  | 
  protected | 
| override void SCR_WeightedListArsenalRefundEffect.Init | ( | SCR_ArsenalRefundEffectComponentClass | arsenalRefundEffectClass | ) | 
Init of effect before adding them to the order array in SCR_ArsenalRefundEffectComponentClass.
| [in] | arsenalRefundEffectClass | Class it is attached to | 
Implements SCR_BaseArsenalRefundEffect.
| override bool SCR_WeightedListArsenalRefundEffect.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_BaseArsenalRefundEffect.
Implemented in SCR_ValuableIntelArsenalRefundEffect.
      
  | 
  protected |