Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SuppliesTransferWaypoint.c File Reference

Go to the source code of this file.

Classes

class  SCR_SuppliesTransferWaypointClass
class  SCR_SuppliesTransferWaypoint

Typedefs

typedef func ScriptInvokerAITransferSuppliesMethod
typedef ScriptInvokerBase< ScriptInvokerAITransferSuppliesMethodScriptInvokerAITransferSupplies

Functions

SCR_SuppliesTransferWaypointClass SCR_AIWaypointClass ScriptInvokerAITransferSuppliesMethod (EResourcePlayerInteractionType interactionType, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue, SCR_AIGroupUtilityComponent utility)
void InitSupplyTransfer (notnull SCR_AIGroupUtilityComponent utility, SCR_SuppliesTransferWaypoint wp, EResourceGeneratorID generatorId, EResourceGeneratorID consumerId, bool isLoad)
SCR_CampaignMilitaryBaseComponent FindBase (vector position)
IEntity GetVehicleFromGroupLeader (notnull SCR_AIGroupUtilityComponent utility)
void GetResourceValues (out float currentResource, out float maxResource, out float transferAmount)

Variables

SCR_SuppliesTransferWaypoint RESOURCE_TYPE = EResourceType.SUPPLIES
SCR_ResourceComponent m_ResourceComponent
SCR_ResourceGenerator m_ResourceGenerator
SCR_ResourceConsumer m_ResourceConsumer
float m_fMaxStoredResource
float m_fCurrentResource
float m_fCurrentTransferValue
float m_fTransferAmount
SCR_CampaignMilitaryBaseComponent m_Base

Typedef Documentation

◆ ScriptInvokerAITransferSupplies

◆ ScriptInvokerAITransferSuppliesMethod

Function Documentation

◆ FindBase()

SCR_CampaignMilitaryBaseComponent FindBase ( vector position)
protected

Definition at line 113 of file SCR_SuppliesTransferWaypoint.c.

◆ GetResourceValues()

void GetResourceValues ( out float currentResource,
out float maxResource,
out float transferAmount )
protected

Definition at line 163 of file SCR_SuppliesTransferWaypoint.c.

◆ GetVehicleFromGroupLeader()

IEntity GetVehicleFromGroupLeader ( notnull SCR_AIGroupUtilityComponent utility)
protected

Definition at line 140 of file SCR_SuppliesTransferWaypoint.c.

◆ InitSupplyTransfer()

void InitSupplyTransfer ( notnull SCR_AIGroupUtilityComponent utility,
SCR_SuppliesTransferWaypoint wp,
EResourceGeneratorID generatorId,
EResourceGeneratorID consumerId,
bool isLoad )
protected

Definition at line 69 of file SCR_SuppliesTransferWaypoint.c.

◆ ScriptInvokerAITransferSuppliesMethod()

SCR_SuppliesTransferWaypointClass SCR_AIWaypointClass ScriptInvokerAITransferSuppliesMethod ( EResourcePlayerInteractionType interactionType,
SCR_ResourceComponent resourceComponentFrom,
SCR_ResourceComponent resourceComponentTo,
EResourceType resourceType,
float resourceValue,
SCR_AIGroupUtilityComponent utility )

Variable Documentation

◆ m_Base

Definition at line 64 of file SCR_SuppliesTransferWaypoint.c.

◆ m_fCurrentResource

float m_fCurrentResource
protected

Definition at line 60 of file SCR_SuppliesTransferWaypoint.c.

◆ m_fCurrentTransferValue

float m_fCurrentTransferValue
protected

Definition at line 61 of file SCR_SuppliesTransferWaypoint.c.

◆ m_fMaxStoredResource

float m_fMaxStoredResource
protected

Definition at line 59 of file SCR_SuppliesTransferWaypoint.c.

◆ m_fTransferAmount

float m_fTransferAmount
protected

Definition at line 62 of file SCR_SuppliesTransferWaypoint.c.

◆ m_ResourceComponent

SCR_ResourceComponent m_ResourceComponent
protected

Definition at line 55 of file SCR_SuppliesTransferWaypoint.c.

◆ m_ResourceConsumer

SCR_ResourceConsumer m_ResourceConsumer
protected

Definition at line 57 of file SCR_SuppliesTransferWaypoint.c.

◆ m_ResourceGenerator

SCR_ResourceGenerator m_ResourceGenerator
protected

Definition at line 56 of file SCR_SuppliesTransferWaypoint.c.

◆ RESOURCE_TYPE