![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| IEntity | GetHeldGadget () |
| bool | GetIsGadgetADS () |
| SCR_GadgetComponent | GetHeldGadgetComponent () |
| void | SetGadgetMode (IEntity gadget, EGadgetMode targetMode, bool doFocus=false) |
| void | RemoveHeldGadget () |
| Remove gadget held in hand. | |
| void | OnActivateHeldGadget () |
| Activate held gadget. | |
| void | ToggleHeldGadget (bool state) |
| array< SCR_GadgetComponent > | GetGadgetsByType (EGadgetType type) |
| IEntity | GetGadgetByType (EGadgetType type) |
| IEntity | GetQuickslotGadgetByType (EGadgetType type) |
| bool | IsGadgetOwned (SCR_GadgetComponent gadgetComp) |
| bool | CanChangeGadgetMode (IEntity gadget, SCR_GadgetComponent gadgetComp, EGadgetMode targetMode) |
| void | UpdateHeldGadget (IEntity gadget) |
| void | HandleInput (IEntity gadget, float inputVal) |
| void | ClearToggleState () |
| Clear toggle state for cases where it needs to be done without waiting for animation. | |
| void | OnItemAdded (IEntity item, BaseInventoryStorageComponent storageOwner) |
| void | OnItemRemoved (IEntity item, BaseInventoryStorageComponent storageOwner) |
| void | OnPlayerDeath (SCR_CharacterControllerComponent charController, IEntity instigatorEntity, notnull Instigator instigator) |
| void | OnControlledByPlayer (IEntity owner, bool controlled) |
| void | OnGadgetStateChanged (IEntity gadget, bool isInHand, bool isOnGround) |
| void | OnGadgetFocusStateChanged (IEntity gadget, bool isFocused) |
| void | OnEditorOpened () |
| SCR_EditorManagerEntity event //TODO we shouldnt need this, probably needs to be dependent on camera instead. | |
| void | OnGadgetInput (float value, EActionTrigger reason) |
| void | ActionFlashlightToggle (float value, EActionTrigger reason) |
| void | OnPauseMenu () |
| Input action callback. | |
| void | OnGadgetADS () |
| Input action callback. | |
| void | OnGadgetADSHold (float value, EActionTrigger reason) |
| void | SetGadgetADS (bool gadgetADS) |
| void | CancelADSInput () |
| Cancel weapon and turret ADS input state. | |
| void | RegisterInitialGadgets (IEntity character) |
| void | RegisterVONEntries () |
| Register radio gadgets into the VON system as entries. | |
| void | UnregisterVONEntries () |
| void | RegisterInputs () |
| Register input actions. | |
| void | UnregisterInputs () |
| Register input actions. | |
| EGadgetType | GetGadgetInputAction () |
| void | InitComponent (IEntity owner) |
| void | AskToggleGadget (SCR_GadgetComponent gadgetComp, bool state) |
| void | RPC_AskToggleGadget (RplId id, bool state) |
| void | RPC_DoToggleGadget (RplId id, bool state) |
| void | ConnectToGadgetsManagerSystem () |
| void | DisconnectFromGadgetsManagerSystem () |
| override void | OnDelete (IEntity owner) |
| void | Update (float timeSlice) |
| override void | OnPostInit (IEntity owner) |
| override void | EOnInit (IEntity owner) |
Static Protected Member Functions | |
| static ScriptInvoker | GetOnGadgetInitDoneInvoker () |
| static SCR_GadgetManagerComponent | GetGadgetManager (IEntity entity) |
| static bool | ValidController (IEntity owner) |
| static void | SetGadgetModeStashed (SCR_GadgetComponent gadgetComp, EGadgetMode targetMode) |
Protected Attributes | |
| bool | m_bIsGadgetADS |
| IEntity | m_HeldGadget |
| SCR_GadgetComponent | m_HeldGadgetComponent |
| SCR_GadgetComponent | m_HiddenGadgetComponent |
| InputManager | m_InputManager |
| SCR_InventoryStorageManagerComponent | m_InventoryStorageMgr |
| SCR_CharacterControllerComponent | m_Controller |
| SCR_VONController | m_VONController |
| ref SCR_GadgetInvokersInitState | m_pInvokersState = new SCR_GadgetInvokersInitState(this) |
| ref array< ref array< SCR_GadgetComponent > > | m_aInventoryGadgetTypes = {} |
| ref map< EGadgetType, int > | m_aGadgetArrayMap = new map<EGadgetType, int>() |
| SCR_GadgetComponent | m_LastHeldGadgetComponent |
Static Protected Attributes | |
| static ref ScriptInvoker< IEntity, SCR_GadgetManagerComponent > | s_OnGadgetInitDone = new ScriptInvoker() |
Definition at line 139 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Explicit flashlight toggle action
| [in] | value | |
| [in] | reason |
Definition at line 800 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Ask method for toggle synchronization called from individual gadgets
| [in] | gadgetComp | is gadget component |
| [in] | state | is desired toggle state, true: active |
Definition at line 1111 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Cancel weapon and turret ADS input state.
Definition at line 866 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Rules for gadget mode change
| [in] | gadget | is the subject |
| [in] | gadgetComp | is the subjects gadget component |
| [in] | targetMode | is the wanted mode |
Definition at line 421 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Clear toggle state for cases where it needs to be done without waiting for animation.
Definition at line 530 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Definition at line 1153 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Definition at line 1168 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Definition at line 1243 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Get first owned gadget by type
| [in] | type | is the type of gadget being searched |
Definition at line 348 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Convert invoked input to gadget type
Definition at line 1048 of file SCR_GadgetManagerComponent.c.
|
inlinestaticprotected |
Get gadget manager of entity
Definition at line 177 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Get all owned gadgets by type
| [in] | type | is the type of gadget being searched |
Definition at line 330 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Get held (currently in hand) gadget
Definition at line 191 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Get held (currently in hand) gadget component
Definition at line 212 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Get is player in gadget ADS
Definition at line 204 of file SCR_GadgetManagerComponent.c.
|
inlinestaticprotected |
Definition at line 169 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Get first owned gadget assigned in quickslot by type
| [in] | type | is the type of gadget being searched |
Definition at line 369 of file SCR_GadgetManagerComponent.c.
Additonal pre SetGadgetMode logic for local player, modfying the behavior based on input used & current held gadget state
| [in] | gadget | is the subject |
| [in] | inputVal | determines type of input we want to execute, click/hold version |
Definition at line 503 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Initialise component
| [in] | owner | the owner entity |
Definition at line 1071 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Check whether gadget is owned by this entity
| [in] | gadgetComp |
Definition at line 401 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Activate held gadget.
Definition at line 307 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
SCR_CharacterControllerComponent event
| [in] | owner | |
| [in] | controlled |
Definition at line 666 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Definition at line 1179 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
SCR_EditorManagerEntity event //TODO we shouldnt need this, probably needs to be dependent on camera instead.
Definition at line 766 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Input action callback.
Definition at line 825 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Input action callback
| [in] | value | |
| [in] | reason |
Definition at line 834 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
CharacterControllerComponent event, used only for local character
| [in] | gadget | |
| [in] | isFocused |
Definition at line 740 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Input action callback
| [in] | value | |
| [in] | reason |
Definition at line 779 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
CharacterControllerComponent event
| [in] | gadget | |
| [in] | isInHand | |
| [in] | isOnGround |
Definition at line 695 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
SCR_InventoryStorageManagerComponent, called on every add to slot, not only to inventory
| [in] | item | |
| [in] | storageOwner |
Definition at line 548 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
SCR_InventoryStorageManagerComponent, called on every remove from slot, not only from inventory
| [in] | item | |
| [in] | storageOwner |
Definition at line 606 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Input action callback.
Definition at line 817 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
SCR_CharacterControllerComponent event
| [in] | charController | |
| [in] | instigatorEntity | |
| [in] | instigator |
Definition at line 650 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Definition at line 1237 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Gather initial gadgets
| [in] | character | is the query target |
Definition at line 895 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Register input actions.
Definition at line 1002 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Register radio gadgets into the VON system as entries.
Definition at line 940 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Remove gadget held in hand.
Definition at line 297 of file SCR_GadgetManagerComponent.c.
Ask RPC to server for gadget toggle
| [in] | id | is unique Rpl id of the gadget |
| [in] | state | is desired toggle state, true: active |
Definition at line 1124 of file SCR_GadgetManagerComponent.c.
Do RPC to clients for gadget toggle
| [in] | id | is unique Rpl id of the gadget |
| [in] | state | is desired toggle state, true: active |
Definition at line 1141 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
API for setting raised gadget mode
| [in] | gadgetADS |
Definition at line 842 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Set mode of a gadget When changing mode FROM EGadgetMode.IN_HAND to inventory, target should be EGadgetMode.IN_STORAGE -> it will do EGadgetMode.IN_SLOT automatically if it is slotted
| [in] | gadget | is the subject |
| [in] | targetMode | is the mode being switched into |
| [in] | doFocus | determines whether the gadget will becomes focused straight away |
Definition at line 235 of file SCR_GadgetManagerComponent.c.
|
inlinestaticprotected |
Static method for setting gadgets to ground/storage modes for containers such as vehicles which do not have gadget manager
| [in] | gadgetComp | is the subject component |
| [in] | targetMode | is the mode being switched into |
Definition at line 287 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Toggle held gadget on/off
| [in] | state | true = ON / false = OFF |
Definition at line 318 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Register input actions.
Definition at line 1025 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Definition at line 977 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Runs only on local client
| [in] | timeSlice |
Definition at line 1190 of file SCR_GadgetManagerComponent.c.
|
inlineprotected |
Update currently held(in hand) gadget
| [in] | gadget | is the subject |
Definition at line 451 of file SCR_GadgetManagerComponent.c.
Definition at line 221 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 158 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 157 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 147 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 153 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 148 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 149 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 150 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 151 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 152 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 161 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 155 of file SCR_GadgetManagerComponent.c.
|
protected |
Definition at line 154 of file SCR_GadgetManagerComponent.c.
|
staticprotected |
Definition at line 145 of file SCR_GadgetManagerComponent.c.