![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| 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. | |
| void | OnPossessed (int playerID, bool isPossessing, RplId mainEntityID) |
| void | ToolToInventory () |
| Building tool out of hands - show preview. | |
| SCR_EditorModeEntity | GetBuildingModeEntity () |
| void | RemovePreviews () |
| void | OnEditorOpened () |
| Method called when character has a shovel in hands and any editor mode is opned. | |
| void | OnEditorClosed () |
| Method called when character has a shovel in hands and any editor mode is closed. | |
| void | OnConsciousnessChanged (bool conscious) |
| Will be called when the consciousness of the character changes. | |
| void | RemoveOnConsciousnessChanged () |
| bool | TraceCompositionToShowPreview () |
| bool | EvaluatePreviewEntity (IEntity ent) |
| int | GetToolConstructionValue () |
| SCR_CharacterControllerComponent | GetCharacterControllerComponent () |
| void | RemoveEventHandlers () |
| bool | GetCanEnterPlacementMode () |
| bool | HasMoreItemsToPlace () |
| bool | HasMoreVariants () |
| bool | GetIsPlacementModeEnabled () |
| SCR_MultiPartDeployableItemComponent | GetCurrentlyHandledComponent () |
| int | FindDeployableItems (IEntity ignoredItem=null, bool skipUniqueCountCheck=false) |
| void | ActivateAction () |
| Action listener callback. | |
| void | ModeClear (EGadgetMode mode) |
| void | SetPlacementMode (bool newState) |
| void | CycleItems (float value=0.0, EActionTrigger reason=0, string actionName=string.Empty) |
| void | CycleVariants (float value=0.0, EActionTrigger reason=0, string actionName=string.Empty) |
| float | GetMaxAllowedTilt () |
| bool | ValidateSurface (notnull SCR_ItemPlacementComponent caller, out ENotification cantPlaceReason, IEntity surfaceEnt, vector worldPosition, vector surfaceNorm, int nodeIndex, int colliderIndex, SurfaceProperties surfaceProps, string surfaceMaterial, string colliderName) |
| bool | ValidateSpace (notnull SCR_ItemPlacementComponent caller, inout vector transform[4], out ENotification cantPlaceReason) |
| void | OverridePreviewTransform (notnull SCR_ItemPlacementComponent caller, inout vector transform[4]) |
| void | OnItemPlacementStart (notnull SCR_ItemPlacementComponent caller) |
| void | OnAfterItemPlaced (notnull SCR_ItemPlacementComponent caller, notnull IEntity item, bool success, bool equipNext) |
| bool | SelectNextVariant () |
| void | SelectNextPlaceableItem (notnull SCR_ItemPlacementComponent placementComp) |
| void | EnablePreview (bool enabled, notnull SCR_ItemPlacementComponent placementComp) |
Variables | |
| ref array< SCR_CampaignBuildingLayoutComponent > | m_aShownPreviewOld = {} |
| bool | m_bToolActiveWhenEditorOpen |
| ref array< IEntity > | m_aFoundDeployables |
| SCR_MultiPartDeployableItemComponent | m_CurrentlyHandledComponent |
| int | m_iCurrentVariant = -1 |
| bool | m_bPlacementModeEnabled |
| bool | m_bCanEnterPlacementMode |
| bool | m_bHasMoreItemsToPlace |
| bool | m_bHasMoreVariantsToChoose |
|
protected |
Action listener callback.
Definition at line 503 of file SCR_CampaignBuildingGadgetToolComponent.c.
| SCR_CampaignBuildingGadgetToolComponentClass SCR_GadgetComponentClass Attribute | ( | defvalue:"25" | , |
| desc:"Max distance at which the ghost preview is shown." | ) |
Definition at line 1 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Callback method used to cycle between all unique deployable items
| [in] | value | |
| [in] | reason | |
| [in] | actionName |
Definition at line 574 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Callback method used to cycle between all available variants for currently used deployable
| [in] | value | |
| [in] | reason | |
| [in] | actionName |
Definition at line 593 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | enabled | |
| [in] | placementComp |
Definition at line 931 of file SCR_CampaignBuildingGadgetToolComponent.c.
Definition at line 342 of file SCR_CampaignBuildingGadgetToolComponent.c.
Searches the inventory for compatible deployable items
| [in] | ignoredItem | |
| [in] | skipUniqueCountCheck | true if game should not try validate if player can cycle between available deployable items |
Definition at line 458 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Search for an editor mode entity (exists only when the player is in editor mode)
Definition at line 181 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 420 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 365 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 448 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 441 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 616 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 358 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 60 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 427 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 434 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 509 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
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 76 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | caller | |
| [in] | item | |
| [in] | succes | |
| [in] | equipNext |
Definition at line 714 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Method called when character has a shovel in hands and any editor mode is closed.
Definition at line 232 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Method called when character has a shovel in hands and any editor mode is opned.
Definition at line 208 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | caller |
Definition at line 703 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | playerID | |
| [in] | isPossessing | |
| [in] | mainEntityID |
Definition at line 129 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 49 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Method used to override the position and rotation of the preview
| [in] | caller | |
| [in,out] | transform | pointer containing rotation and position at which item preivew will be shown, and from which the space validation will be done |
Definition at line 692 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 402 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 265 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 195 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | placementComp |
Definition at line 837 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 777 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | newState |
Definition at line 519 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Building tool taken to hand - show preview etc.
Definition at line 100 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Building tool out of hands - show preview.
Definition at line 164 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Trace the possible previews
Definition at line 308 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
| [in] | timeSlice |
Definition at line 36 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Method used to check if there is enough space for currently handled deployable variant
| [in] | caller | |
| [in,out] | transform | of the position for which validation should be performed. This position has already applied offset of 1% of its up vector (1cm) |
| [out] | cantPlaceReason |
Definition at line 667 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Method used to execute custom validation of the surface entity
| [in] | caller | |
| [out] | cantPlaceReason | |
| [in] | surfaceEnt | entity on which the item is going to be deployed |
| [in] | worldPosition | position in world space |
| [in] | surfaceNorm | normal of the face on which the item is going to be deployed |
| [in] | nodeIndex | bone id to which is attached the collider on which the item is going to be deployed |
| [in] | colliderIndex | collider id on which the item is going to be deployed |
| [in] | surfaceProps | properties of the surface on which the item is going to be deployed |
| [in] | surfaceMaterial | name of the material of the surface on which the item is going to be deployed |
| [in] | colliderName | name of the collider on which the item is going to be deployed |
Definition at line 645 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 25 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 21 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 29 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 30 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 31 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 28 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 23 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 26 of file SCR_CampaignBuildingGadgetToolComponent.c.
|
protected |
Definition at line 27 of file SCR_CampaignBuildingGadgetToolComponent.c.