![]() |
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_CampaignBuildingGadgetToolComponentClass |
Functions | |
| SCR_CampaignBuildingGadgetToolComponentClass SCR_GadgetComponentClass | Attribute (defvalue:"25", desc:"Max distance at which the ghost preview is shown.") |
| override void | Update (float timeSlice) |
| override void | OnToggleActive (bool state) |
| override EGadgetType | GetType () |
| override void | ModeSwitch (EGadgetMode mode, IEntity charOwner) |
| void | ToolToHand () |
| Building tool taken to hand - show preview etc. More... | |
| void | OnPossessed (int playerID, bool isPossessing, RplId mainEntityID) |
| void | ToolToInventory () |
| Building tool out of hands - show preview. More... | |
| SCR_EditorModeEntity | GetBuildingModeEntity () |
| protected void | RemovePreviews () |
| protected void | OnEditorOpened () |
| Method called when character has a shovel in hands and any editor mode is opned. More... | |
| protected void | OnEditorClosed () |
| Method called when character has a shovel in hands and any editor mode is closed. More... | |
| void | OnConsciousnessChanged (bool conscious) |
| Will be called when the consciousness of the character changes. More... | |
| void | RemoveOnConsciousnessChanged () |
| protected bool | TraceCompositionToShowPreview () |
| protected bool | EvaluatePreviewEntity (IEntity ent) |
| int | GetToolConstructionValue () |
| SCR_CharacterControllerComponent | GetCharacterControllerComponent () |
| void | RemoveEventHandlers () |
Variables | |
| protected ref array< SCR_CampaignBuildingLayoutComponent > | m_aShownPreviewOld = {} |
| protected bool | m_bToolActiveWhenEditorOpen |
| SCR_CampaignBuildingGadgetToolComponentClass SCR_GadgetComponentClass Attribute | ( | defvalue:"25" | , |
| desc:"Max distance at which the ghost preview is shown." | |||
| ) |
Definition at line 7 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected bool EvaluatePreviewEntity | ( | IEntity | ent | ) |
Definition at line 328 of file SCR_CampaignBuildingGadgetToolComponent.c.
| SCR_EditorModeEntity GetBuildingModeEntity | ( | ) |
Search for an editor mode entity (exists only when the player is in editor mode)
Definition at line 167 of file SCR_CampaignBuildingGadgetToolComponent.c.
| SCR_CharacterControllerComponent GetCharacterControllerComponent | ( | ) |
Definition at line 351 of file SCR_CampaignBuildingGadgetToolComponent.c.
| int GetToolConstructionValue | ( | ) |
Definition at line 344 of file SCR_CampaignBuildingGadgetToolComponent.c.
| override EGadgetType GetType | ( | ) |
Definition at line 52 of file SCR_CampaignBuildingGadgetToolComponent.c.
| override void ModeSwitch | ( | EGadgetMode | mode, |
| IEntity | charOwner | ||
| ) |
Triggered when an operation with gadget is performed - picked up, taken into hands, back to backpack etc.
| [in] | mode | |
| [in] | charOwner | must have a GadgetManager component |
Definition at line 68 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected void OnEditorClosed | ( | ) |
Method called when character has a shovel in hands and any editor mode is closed.
Definition at line 218 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected void OnEditorOpened | ( | ) |
Method called when character has a shovel in hands and any editor mode is opned.
Definition at line 194 of file SCR_CampaignBuildingGadgetToolComponent.c.
| void OnPossessed | ( | int | playerID, |
| bool | isPossessing, | ||
| RplId | mainEntityID | ||
| ) |
| [in] | playerID | |
| [in] | isPossessing | |
| [in] | mainEntityID |
Definition at line 115 of file SCR_CampaignBuildingGadgetToolComponent.c.
| override void OnToggleActive | ( | bool | state | ) |
Definition at line 41 of file SCR_CampaignBuildingGadgetToolComponent.c.
| void RemoveEventHandlers | ( | ) |
Definition at line 388 of file SCR_CampaignBuildingGadgetToolComponent.c.
| void RemoveOnConsciousnessChanged | ( | ) |
Definition at line 251 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected void RemovePreviews | ( | ) |
Definition at line 181 of file SCR_CampaignBuildingGadgetToolComponent.c.
| void ToolToHand | ( | ) |
Building tool taken to hand - show preview etc.
Definition at line 86 of file SCR_CampaignBuildingGadgetToolComponent.c.
| void ToolToInventory | ( | ) |
Building tool out of hands - show preview.
Definition at line 150 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected bool TraceCompositionToShowPreview | ( | ) |
Trace the possible previews
Definition at line 294 of file SCR_CampaignBuildingGadgetToolComponent.c.
| override void Update | ( | float | timeSlice | ) |
| [in] | timeSlice |
Definition at line 28 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected ref array<SCR_CampaignBuildingLayoutComponent> m_aShownPreviewOld = {} |
Definition at line 21 of file SCR_CampaignBuildingGadgetToolComponent.c.
| protected bool m_bToolActiveWhenEditorOpen |
Definition at line 23 of file SCR_CampaignBuildingGadgetToolComponent.c.