![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| ScriptInvokerResourceOnPlayerInteraction | GetOnPlayerInteraction () |
| ScriptInvokerResourceOnPlayerInteraction | GetOnBeforePlayerInteraction () |
| SCR_ResourceActor | TryGetGenerationActor (notnull SCR_ResourceComponent resourceComponent, EResourceType resourceType, out float currentResourceValue, out float maxResourceValue) |
| SCR_ResourceActor | TryGetConsumptionActor (notnull SCR_ResourceComponent resourceComponent, EResourceType resourceType, out float currentResourceValue, out float maxResourceValue) |
| bool | CheckResourceConsumptionAvailability (notnull SCR_ResourceActor actor, float resourceValue) |
| bool | CheckResourceGenerationAvailability (notnull SCR_ResourceActor actor, float resourceValue) |
| bool | TryPerformResourceConsumption (notnull SCR_ResourceActor actor, float resourceValue, bool ignoreOnEmptyBehavior=false) |
| bool | TryPerformResourceGeneration (notnull SCR_ResourceActor actor, float resourceValue) |
| void | RequestSubscription (RplId resourceComponentRplId, typename interactorType, EResourceType resourceType, EResourceGeneratorID resourceIdentifier) |
| void | RequestUnsubscription (RplId resourceComponentRplId, typename interactorType, EResourceType resourceType, EResourceGeneratorID resourceIdentifier) |
| void | RpcAsk_RequestSubscription (RplId resourceComponentRplId, string interactorType, EResourceType resourceType, EResourceGeneratorID resourceIdentifier) |
| void | RpcAsk_RequestUnsubscription (RplId resourceComponentRplId, string interactorType, EResourceType resourceType, EResourceGeneratorID resourceIdentifier) |
| void | RpcAsk_OnPlayerInteraction (EResourcePlayerInteractionType interactionType, RplId rplIdResourceComponentFrom, RplId rplIdResourceComponentTo, EResourceType resourceType, float resourceValue) |
| void | RpcAsk_ArsenalRequestItem_ (RplId resourceComponentRplId, RplId storageComponentRplId, ResourceName resourceNameItem, EResourceType resourceType) |
| void | RpcAsk_ArsenalRequestItem (RplId resourceComponentRplId, RplId storageComponentRplId, ResourceName resourceNameItem, EResourceType resourceType) |
| void | RpcAsk_ArsenalRefundItem_ (RplId resourceComponentRplId, RplId inventoryItemRplId, EResourceType resourceType) |
| void | RpcAsk_ArsenalRefundItem (RplId resourceComponentRplId, RplId inventoryItemRplId, EResourceType resourceType) |
| void | RpcAsk_MergeContainerWithContainer (RplId rplIdFrom, RplId rplIdTo, EResourceType resourceType) |
| void | RpcAsk_MergeContainerWithContainerPartial_ (RplId rplIdFrom, RplId rplIdTo, EResourceType resourceType, float requestedResources) |
| void | RpcAsk_MergeContainerWithContainerPartial (RplId rplIdFrom, RplId rplIdTo, EResourceType resourceType, float requestedResources) |
| void | RpcAsk_CreatePhysicalContainerWithContainer_ (RplId resourceComponentRplId, RplId inventoryManagerRplId, RplId storageComponentRplId, EResourceType resourceType, float requestedResources) |
| void | RpcAsk_CreatePhysicalContainerWithContainer (RplId resourceComponentRplId, RplId inventoryManagerRplId, RplId storageComponentRplId, EResourceType resourceType, float requestedResources) |
| void | OnPlayerInteraction (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue, bool shouldBroadcast=true) |
| void | OnBeforePlayerInteraction (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue) |
| void | OnDelete (IEntity owner) |
Static Protected Member Functions | |
| static OnArsenalItemRequestedInvoker | GetOnArsenalItemRequested () |
| static void | FindSuitablePosition (inout vector position, float maxHorizontalOffset, float maxVerticalOffset) |
| static bool | TraceFilter (notnull IEntity e, vector start=vector.Zero, vector dir=vector.Zero) |
Protected Attributes | |
| ref ScriptInvokerResourceOnPlayerInteraction | m_OnPlayerInteractionInvoker |
| ref ScriptInvokerResourceOnPlayerInteraction | m_OnBeforePlayerInteractionInvoker |
| const float | VERTICAL_SPAWN_OFFSET = 10 |
| const float | HORIZONTAL_SPAWN_OFFSET = 2.5 |
| const int | MAX_REFUNDING_DISTANCE_SQ = 900 |
| 30m to compensate for some large entities like Mi-8 which with arsenal truck can result in transaction across about 27m | |
Static Protected Attributes | |
| static ref OnArsenalItemRequestedInvoker | s_OnArsenalItemRequested |
Definition at line 24 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Checks if it's possible to comnsume resourceValue resources from the specified actor.
| [in] | actor | Actor to consume from. |
| [in] | resourceValue | The resource value to consume. |
Definition at line 140 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Checks if it's possible to generate resourceValue resources from the specified actor.
| [in] | actor | Actor to generate to. |
| [in] | resourceValue | The resource value to generate. |
Definition at line 159 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlinestaticprotected |
Method used for finding a position at which supplies can be spawned
| [in,out] | position | around which we want to search |
| [in] | maxHorizontalOffset | determines how far the position can be on the X and Z axis |
| [in] | maxVerticalOffset | determines how much higher search will be starting |
Definition at line 963 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlinestaticprotected |
Definition at line 56 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Definition at line 47 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Definition at line 37 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | interactionType | |
| [in] | resourceComponentFrom | |
| [in] | resourceComponentTo | |
| [in] | resourceType | |
| [in] | resourceValue |
Definition at line 1054 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Called when Entity is being to be destroyed (deleted) or component to be deleted (see Game::DeleteScriptComponent).
| [in] | owner | Entity which owns the component |
Definition at line 1062 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | interactionType | |
| [in] | resourceComponentFrom | |
| [in] | resourceComponentTo | |
| [in] | resourceType | |
| [in] | resourceValue | |
| [in] | shouldBroadcast |
Definition at line 1024 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | |
| [in] | interactorType | |
| [in] | resourceType | |
| [in] | resourceIdentifier |
Definition at line 231 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | |
| [in] | interactorType | |
| [in] | resourceType | |
| [in] | resourceIdentifier |
Definition at line 242 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | RplId of the resource component of the arsenal which is going to be refunding the item |
| [in] | inventoryItemRplId | RplId of the inventory item component of the item that is being refunded |
| [in] | resourceType |
Definition at line 681 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | RplId of the resource component of the arsenal which is going to be refunding the item |
| [in] | inventoryItemRplId | RplId of the inventory item component of the item that is being refunded |
| [in] | resourceType |
Definition at line 559 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | RplId of the resource component of the arsenal which is going to be refunding the item |
| [in] | storageComponentRplId | RplId of the storage component inside of which item palced after it is spawned |
| [in] | resourceNameItem | Prefab that should be spawned |
| [in] | resourceType |
Definition at line 549 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | RplId of the resource component of the arsenal which is going to be refunding the item |
| [in] | storageComponentRplId | RplId of the storage component inside of which item palced after it is spawned |
| [in] | resourceNameItem | Prefab that should be spawned |
| [in] | resourceType |
Definition at line 391 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Definition at line 1012 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | |
| [in] | inventoryManagerRplId | |
| [in] | storageComponentRplId | |
| [in] | resourceType | |
| [in] | requestedResources |
Definition at line 801 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | rplIdFrom | |
| [in] | rplIdTo | |
| [in] | resourceType |
Definition at line 692 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | rplIdFrom | |
| [in] | rplIdTo | |
| [in] | resourceType | |
| [in] | requestedResources |
Definition at line 787 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | rplIdFrom | |
| [in] | rplIdTo | |
| [in] | resourceType | |
| [in] | requestedResources |
Definition at line 740 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | interactionType | |
| [in] | rplIdResourceComponentFrom | |
| [in] | rplIdResourceComponentTo | |
| [in] | resourceType | |
| [in] | resourceValue |
Definition at line 365 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | |
| [in] | interactorType | |
| [in] | resourceType | |
| [in] | resourceIdentifier |
Definition at line 254 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | resourceComponentRplId | |
| [in] | interactorType | |
| [in] | resourceType | |
| [in] | resourceIdentifier |
Definition at line 309 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlinestaticprotected |
Method used to filter entities found by the trace
| [in] | e | |
| [in] | start | |
| [in] | dir |
Definition at line 991 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Definition at line 101 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
Definition at line 65 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | actor | from which we want to try to consume resources from |
| [in] | resourceValue | amount of resources that should be consumed |
| [in] | ignoreOnEmptyBehavior |
Definition at line 179 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
inlineprotected |
| [in] | actor | to which we want to try to add resources |
| [in] | resourceValue | amount of resources that should be added |
Definition at line 210 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
protected |
Definition at line 31 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
protected |
Definition at line 27 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
protected |
Definition at line 26 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
protected |
30m to compensate for some large entities like Mi-8 which with arsenal truck can result in transaction across about 27m
Definition at line 33 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
staticprotected |
Definition at line 28 of file SCR_ResourcePlayerControllerInventoryComponent.c.
|
protected |
Definition at line 30 of file SCR_ResourcePlayerControllerInventoryComponent.c.