|
Arma Reforger Script API
|
Public Member Functions | |
| ResourceName | GetMapPrefabResource () |
| Get 2D map prefab resource name. | |
| void | UpdateTime () |
| void | SetMapMode () |
| Activate in a map UI mode. | |
| override void | ModeSwitch (EGadgetMode mode, IEntity charOwner) |
| Set gadget mode. | |
| override void | ModeClear (EGadgetMode mode) |
| Clear gadget mode. | |
| override void | ActivateGadgetUpdate () |
| Activate gadget frame update. | |
| override void | DeactivateGadgetUpdate () |
| Deactivate gadget frame flag. | |
| override EGadgetType | GetType () |
| Get gadget type. | |
| override bool | CanBeRaised () |
| Gadget has a raised animation version. | |
| override bool | IsUsingADSControls () |
| Gadget uses ADS controls from gadget raisable context. | |
| override void | OnPostInit (IEntity owner) |
| override void | Update (float timeSlice) |
Public Member Functions inherited from SCR_GadgetComponent | |
| EGadgetAnimVariable | GetAnimVariable () |
| float | GetWeaponNoFireTime () |
| bool | IsToggledOn () |
| Is gadget toggled on/off. | |
| void | OnToggleActive (bool state) |
| Event called from SCR_GadgetManagerComponent through RPC request. | |
| void | OnParentSlotChanged (InventoryStorageSlot oldSlot, InventoryStorageSlot newSlot) |
| InventoryItemComponent event. | |
| void | OnModeChanged (EGadgetMode mode, IEntity charOwner) |
| Gadget mode change event. | |
| void | OnSlotOccludedStateChanged (bool occluded) |
| Method called when slot to which item is attached to changed its occlusion state. | |
| void | UpdateVisibility (EGadgetMode mode) |
| Set visibility when show/hide hand animation starts/finishes. | |
| void | ToggleActive (bool state, SCR_EUseContext context) |
| Synchronise gadget state. | |
| void | ActivateAction () |
| Action listener callback. | |
| void | ToggleFocused (bool enable) |
| Toggle gadget focus state. | |
| ChimeraCharacter | GetCharacterOwner () |
| Get IEntity in possession of this Gadget. | |
| EGadgetMode | GetMode () |
| Get gadget mode. | |
| bool | CanBeHeld () |
| Can be held in hand. | |
| SCR_EUseContext | GetUseMask () |
| Provides value that contains mask of contexts from which this gadget can be toggled. | |
| bool | IsVisibleEquipped () |
| Visible when attached to character gear, further condition may determine visibility, such as if the equipment slot is obstructed by something else. | |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
| override void | OnDelete (IEntity owner) |
Protected Member Functions | |
| void | UpdateWristwatchState () |
| Update state of wristwatch -> active/inactive. | |
Protected Member Functions inherited from SCR_GadgetComponent | |
| void | ConnectToGadgetsSystem () |
| Starts on frame update event. | |
| void | DisconnectFromGadgetsSystem () |
Protected Member Functions inherited from ScriptGameComponent | |
| bool | OnTicksOnRemoteProxy () |
Protected Attributes | |
| int | m_iSeconds |
| int | m_iMinutes |
| int | m_iHours |
| int | m_iDay |
| SCR_WristwatchComponentClass | m_PrefabData |
| SignalsManagerComponent | m_SignalManager |
| TimeAndWeatherManagerEntity | m_TimeMgr |
Protected Attributes inherited from SCR_GadgetComponent | |
| EGadgetAnimVariable | m_eAnimVariable |
| SCR_EUseContext | m_eUseMask |
| vector | m_vEquipmentSlotOffset |
| float | m_fWeaponNoFireTime |
| bool | m_bCanBeHeld |
| bool | m_bActivated = false |
| EGadgetMode | m_iMode = EGadgetMode.ON_GROUND |
| ChimeraCharacter | m_CharacterOwner |
Additional Inherited Members | |
Public Attributes inherited from SCR_GadgetComponent | |
| bool | m_bFocused |
| override void SCR_WristwatchComponent.ActivateGadgetUpdate | ( | ) |
Activate gadget frame update.
Implements SCR_GadgetComponent.
| override bool SCR_WristwatchComponent.CanBeRaised | ( | ) |
Gadget has a raised animation version.
Implements SCR_GadgetComponent.
| override void SCR_WristwatchComponent.DeactivateGadgetUpdate | ( | ) |
Deactivate gadget frame flag.
Implements SCR_GadgetComponent.
| ResourceName SCR_WristwatchComponent.GetMapPrefabResource | ( | ) |
Get 2D map prefab resource name.
| override EGadgetType SCR_WristwatchComponent.GetType | ( | ) |
| override bool SCR_WristwatchComponent.IsUsingADSControls | ( | ) |
Gadget uses ADS controls from gadget raisable context.
Implements SCR_GadgetComponent.
| override void SCR_WristwatchComponent.ModeClear | ( | EGadgetMode | mode | ) |
| override void SCR_WristwatchComponent.ModeSwitch | ( | EGadgetMode | mode, |
| IEntity | charOwner ) |
Set gadget mode.
| [in] | mode | is the target mode being switched to |
| [in] | charOwner |
Implements SCR_GadgetComponent.
| override void SCR_WristwatchComponent.OnPostInit | ( | IEntity | owner | ) |
Implements SCR_GadgetComponent.
| void SCR_WristwatchComponent.SetMapMode | ( | ) |
Activate in a map UI mode.
| override void SCR_WristwatchComponent.Update | ( | float | timeSlice | ) |
| [in] | timeSlice |
Implements SCR_GadgetComponent.
| void SCR_WristwatchComponent.UpdateTime | ( | ) |
|
protected |
Update state of wristwatch -> active/inactive.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |