Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_ConsumableItemComponentClass |
Functions | |
SCR_ConsumableItemComponentClass SCR_GadgetComponentClass | Attribute ("", UIWidgets.Object, category:"Consumable")] protected ref SCR_ConsumableEffectBase m_ConsumableEffect |
void | ApplyItemEffect (IEntity target, ItemUseParameters animParams, IEntity item, bool deleteItem=true) |
protected void | OnUseBegan (IEntity item, ItemUseParameters animParams) |
OnItemUseBegan event from SCR_CharacterControllerComponent. More... | |
protected void | OnApplyToCharacter (IEntity item, bool successful, ItemUseParameters animParams) |
OnItemUseComplete event from SCR_CharacterControllerComponent. More... | |
protected void | SetHealedGroup (EBandagingAnimationBodyParts group, bool healed) |
void | SetAlternativeModel (bool useAlternative) |
override bool | IsVisibleEquipped () |
override void | ModeSwitch (EGadgetMode mode, IEntity charOwner) |
override void | ModeClear (EGadgetMode mode) |
override void | ActivateAction () |
protected void | ClearInvokers (int targetGroup=-1) |
SCR_EConsumableType | GetConsumableType () |
SCR_ConsumableEffectBase | GetConsumableEffect () |
override EGadgetType | GetType () |
override bool | CanBeToggled () |
void | SetTargetCharacter (IEntity target) |
IEntity | GetTargetCharacter () |
Variables | |
protected bool | m_bAlternativeModelOnAction |
protected bool | m_bVisibleEquipped |
protected SCR_CharacterControllerComponent | m_CharController |
protected IEntity | m_TargetCharacter |
Target character is the target set when it's not m_CharacterOwner. More... | |
protected int | m_iStoredHealedGroup |
override void ActivateAction | ( | ) |
Definition at line 188 of file SCR_ConsumableItemComponent.c.
void ApplyItemEffect | ( | IEntity | target, |
ItemUseParameters | animParams, | ||
IEntity | item, | ||
bool | deleteItem = true |
||
) |
Apply consumable effect
[in] | target | is the target entity |
[in] | animParams | |
[in] | item | |
[in] | deleteItem |
Definition at line 31 of file SCR_ConsumableItemComponent.c.
SCR_ConsumableItemComponentClass SCR_GadgetComponentClass Attribute | ( | "" | , |
UIWidgets. | Object, | ||
category:"Consumable" | |||
) |
override bool CanBeToggled | ( | ) |
Definition at line 239 of file SCR_ConsumableItemComponent.c.
protected void ClearInvokers | ( | int | targetGroup = -1 | ) |
Definition at line 197 of file SCR_ConsumableItemComponent.c.
SCR_ConsumableEffectBase GetConsumableEffect | ( | ) |
Get consumable effect
Definition at line 227 of file SCR_ConsumableItemComponent.c.
SCR_EConsumableType GetConsumableType | ( | ) |
Get consumable type
Definition at line 216 of file SCR_ConsumableItemComponent.c.
IEntity GetTargetCharacter | ( | ) |
Definition at line 253 of file SCR_ConsumableItemComponent.c.
override EGadgetType GetType | ( | ) |
Definition at line 233 of file SCR_ConsumableItemComponent.c.
override bool IsVisibleEquipped | ( | ) |
Definition at line 156 of file SCR_ConsumableItemComponent.c.
override void ModeClear | ( | EGadgetMode | mode | ) |
Definition at line 175 of file SCR_ConsumableItemComponent.c.
override void ModeSwitch | ( | EGadgetMode | mode, |
IEntity | charOwner | ||
) |
Definition at line 162 of file SCR_ConsumableItemComponent.c.
protected void OnApplyToCharacter | ( | IEntity | item, |
bool | successful, | ||
ItemUseParameters | animParams | ||
) |
OnItemUseComplete event from SCR_CharacterControllerComponent.
Definition at line 59 of file SCR_ConsumableItemComponent.c.
protected void OnUseBegan | ( | IEntity | item, |
ItemUseParameters | animParams | ||
) |
OnItemUseBegan event from SCR_CharacterControllerComponent.
Definition at line 46 of file SCR_ConsumableItemComponent.c.
void SetAlternativeModel | ( | bool | useAlternative | ) |
Switch item model
[in] | useAlternative | determines whether alternative or base model is used |
Definition at line 119 of file SCR_ConsumableItemComponent.c.
protected void SetHealedGroup | ( | EBandagingAnimationBodyParts | group, |
bool | healed | ||
) |
Definition at line 91 of file SCR_ConsumableItemComponent.c.
void SetTargetCharacter | ( | IEntity | target | ) |
[in] | target |
Definition at line 246 of file SCR_ConsumableItemComponent.c.
protected bool m_bAlternativeModelOnAction |
Definition at line 13 of file SCR_ConsumableItemComponent.c.
protected bool m_bVisibleEquipped |
Definition at line 16 of file SCR_ConsumableItemComponent.c.
protected SCR_CharacterControllerComponent m_CharController |
Definition at line 18 of file SCR_ConsumableItemComponent.c.
protected int m_iStoredHealedGroup |
Definition at line 23 of file SCR_ConsumableItemComponent.c.
protected IEntity m_TargetCharacter |
Target character is the target set when it's not m_CharacterOwner.
Definition at line 21 of file SCR_ConsumableItemComponent.c.