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

Go to the source code of this file.

Classes

class  SCR_RearmRequestedTaskEntityClass

Functions

void AddXPReward ()
void RegisterVehicle (IEntity vehicle)
void UnregisterVehicle (IEntity vehicle)
void PeriodicalCheck ()
void OnArsenalItemRequested (SCR_ResourceComponent resourceComponent, ResourceName resourceName, IEntity requesterEntity, BaseInventoryStorageComponent inventoryStorageComponent, EResourceType resourceType, int resourceValue)
void OnSupportStationExecuted (SCR_BaseSupportStationComponent supportStation, ESupportStationType supportStationType, IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action)
void RegisterSpentSupplies (IEntity vehicle, int playerId, int supplyCost)
void OnTaskStateChanged (SCR_Task task, SCR_ETaskState newState)
override void EOnInit (IEntity owner)
void ~SCR_RearmRequestedTaskEntity ()

Variables

SCR_RearmRequestedTaskEntityClass PERIODICAL_CHECK_INTERVAL = 2000
float m_fAreaRadius
it takes to finish a task when arsenal truck is in the zone
float m_fFinishTime
float m_fAreaRadiusSq
int m_iSpentSupplies
SCR_GroupsManagerComponent m_GroupsManagerComponent
RplComponent m_RplComponent
ref map< IEntity, WorldTimestampm_mArsenalTrucksInZone = new map<IEntity, WorldTimestamp>()
 map for tracking arsenal trucks which got in the zone, <vehicle, serverTimeStamp>

Function Documentation

◆ AddXPReward()

void AddXPReward ( )
protected

Definition at line 24 of file SCR_RearmRequestedTaskEntity.c.

◆ OnArsenalItemRequested()

void OnArsenalItemRequested ( SCR_ResourceComponent resourceComponent,
ResourceName resourceName,
IEntity requesterEntity,
BaseInventoryStorageComponent inventoryStorageComponent,
EResourceType resourceType,
int resourceValue )
protected

Definition at line 157 of file SCR_RearmRequestedTaskEntity.c.

◆ OnSupportStationExecuted()

void OnSupportStationExecuted ( SCR_BaseSupportStationComponent supportStation,
ESupportStationType supportStationType,
IEntity actionOwner,
IEntity actionUser,
SCR_BaseUseSupportStationAction action )
protected

Definition at line 184 of file SCR_RearmRequestedTaskEntity.c.

◆ OnTaskStateChanged()

void OnTaskStateChanged ( SCR_Task task,
SCR_ETaskState newState )
protected

Definition at line 238 of file SCR_RearmRequestedTaskEntity.c.

◆ PeriodicalCheck()

void PeriodicalCheck ( )
protected

Definition at line 67 of file SCR_RearmRequestedTaskEntity.c.

◆ RegisterSpentSupplies()

void RegisterSpentSupplies ( IEntity vehicle,
int playerId,
int supplyCost )
protected

Definition at line 199 of file SCR_RearmRequestedTaskEntity.c.

◆ RegisterVehicle()

void RegisterVehicle ( IEntity vehicle)
protected

Definition at line 42 of file SCR_RearmRequestedTaskEntity.c.

◆ UnregisterVehicle()

void UnregisterVehicle ( IEntity vehicle)
protected

Definition at line 57 of file SCR_RearmRequestedTaskEntity.c.

◆ ~SCR_RearmRequestedTaskEntity()

void ~SCR_RearmRequestedTaskEntity ( )
protected

Definition at line 281 of file SCR_RearmRequestedTaskEntity.c.

Variable Documentation

◆ m_fAreaRadius

float m_fAreaRadius
protected

Definition at line 10 of file SCR_RearmRequestedTaskEntity.c.

◆ m_fAreaRadiusSq

float m_fAreaRadiusSq
protected

Definition at line 15 of file SCR_RearmRequestedTaskEntity.c.

◆ m_fFinishTime

float m_fFinishTime
protected

Definition at line 13 of file SCR_RearmRequestedTaskEntity.c.

◆ m_GroupsManagerComponent

SCR_GroupsManagerComponent m_GroupsManagerComponent
protected

Definition at line 17 of file SCR_RearmRequestedTaskEntity.c.

◆ m_iSpentSupplies

int m_iSpentSupplies
protected

Definition at line 16 of file SCR_RearmRequestedTaskEntity.c.

◆ m_mArsenalTrucksInZone

ref map<IEntity, WorldTimestamp> m_mArsenalTrucksInZone = new map<IEntity, WorldTimestamp>()
protected

map for tracking arsenal trucks which got in the zone, <vehicle, serverTimeStamp>

Definition at line 21 of file SCR_RearmRequestedTaskEntity.c.

◆ m_RplComponent

RplComponent m_RplComponent
protected

Definition at line 18 of file SCR_RearmRequestedTaskEntity.c.

◆ PERIODICAL_CHECK_INTERVAL

SCR_RearmRequestedTaskEntityClass PERIODICAL_CHECK_INTERVAL = 2000

◆ zone

it takes to finish a task when arsenal truck is in the zone
protected

Definition at line 12 of file SCR_RearmRequestedTaskEntity.c.