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

Go to the source code of this file.

Classes

class  SCR_ReinforceRequestedTaskEntityClass

Functions

void AddXPReward ()
override void SetTaskState (SCR_ETaskState state)
void StartCheckingArea ()
void StopCheckingArea ()
void PeriodicalCheck ()
void CheckReinforcementArea ()
void OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData)
void OnTaskAssigneeAdded (SCR_Task task, SCR_TaskExecutor executor, int requesterID)
void OnTaskAssigneeRemoved (SCR_Task task, SCR_TaskExecutor executor, int requesterID)
void OnDataLoaded ()
override bool RplLoad (ScriptBitReader reader)
override void EOnInit (IEntity owner)
void ~SCR_ReinforceRequestedTaskEntity ()

Variables

SCR_ReinforceRequestedTaskEntityClass PERIODICAL_CHECK_INTERVAL = 2000
float m_fAreaRadius
time since activation when the task fail
float m_fFailTime
ref array< intm_aArrivedPlayers = {}
ref array< intm_aDeadPlayers = {}
 array of playerIDs
WorldTimestamp m_TaskActivatedTimestamp
 array of playerIDs
float m_fAreaRadiusSq
RplComponent m_RplComponent
SCR_GroupsManagerComponent m_GroupsManager
bool m_bWasAnyPlayerInArea
bool m_bIsAreaCheckRunning
bool m_bWasLocalPlayerInArea

Function Documentation

◆ AddXPReward()

void AddXPReward ( )
protected

Definition at line 26 of file SCR_ReinforceRequestedTaskEntity.c.

◆ CheckReinforcementArea()

void CheckReinforcementArea ( )
protected

Definition at line 149 of file SCR_ReinforceRequestedTaskEntity.c.

◆ OnControllableDestroyed()

void OnControllableDestroyed ( notnull SCR_InstigatorContextData instigatorContextData)
protected

When a controllable entity is destroyed, this event is raised.

Parameters
[in]instigatorContextDataHolds the data of the victim and killer

Definition at line 168 of file SCR_ReinforceRequestedTaskEntity.c.

◆ OnDataLoaded()

void OnDataLoaded ( )
protected

Definition at line 208 of file SCR_ReinforceRequestedTaskEntity.c.

◆ OnTaskAssigneeAdded()

void OnTaskAssigneeAdded ( SCR_Task task,
SCR_TaskExecutor executor,
int requesterID )
protected

Definition at line 190 of file SCR_ReinforceRequestedTaskEntity.c.

◆ OnTaskAssigneeRemoved()

void OnTaskAssigneeRemoved ( SCR_Task task,
SCR_TaskExecutor executor,
int requesterID )
protected

Definition at line 199 of file SCR_ReinforceRequestedTaskEntity.c.

◆ PeriodicalCheck()

void PeriodicalCheck ( )
protected

Definition at line 76 of file SCR_ReinforceRequestedTaskEntity.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 214 of file SCR_ReinforceRequestedTaskEntity.c.

◆ SetTaskState()

override void SetTaskState ( SCR_ETaskState state)
protected

Definition at line 44 of file SCR_ReinforceRequestedTaskEntity.c.

◆ StartCheckingArea()

void StartCheckingArea ( )
protected

Definition at line 53 of file SCR_ReinforceRequestedTaskEntity.c.

◆ StopCheckingArea()

void StopCheckingArea ( )
protected

Definition at line 66 of file SCR_ReinforceRequestedTaskEntity.c.

◆ ~SCR_ReinforceRequestedTaskEntity()

void ~SCR_ReinforceRequestedTaskEntity ( )
protected

Definition at line 253 of file SCR_ReinforceRequestedTaskEntity.c.

Variable Documentation

◆ fail

time since activation when the task fail
protected

Definition at line 12 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_aArrivedPlayers

ref array<int> m_aArrivedPlayers = {}
protected

Definition at line 15 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_aDeadPlayers

ref array<int> m_aDeadPlayers = {}
protected

array of playerIDs

Definition at line 16 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_bIsAreaCheckRunning

bool m_bIsAreaCheckRunning
protected

Definition at line 22 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_bWasAnyPlayerInArea

bool m_bWasAnyPlayerInArea
protected

Definition at line 21 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_bWasLocalPlayerInArea

bool m_bWasLocalPlayerInArea
protected

Definition at line 23 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_fAreaRadius

float m_fAreaRadius
protected

Definition at line 10 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_fAreaRadiusSq

float m_fAreaRadiusSq
protected

Definition at line 18 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_fFailTime

float m_fFailTime
protected

Definition at line 13 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_GroupsManager

SCR_GroupsManagerComponent m_GroupsManager
protected

Definition at line 20 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_RplComponent

RplComponent m_RplComponent
protected

Definition at line 19 of file SCR_ReinforceRequestedTaskEntity.c.

◆ m_TaskActivatedTimestamp

WorldTimestamp m_TaskActivatedTimestamp
protected

array of playerIDs

Definition at line 17 of file SCR_ReinforceRequestedTaskEntity.c.

◆ PERIODICAL_CHECK_INTERVAL

SCR_ReinforceRequestedTaskEntityClass PERIODICAL_CHECK_INTERVAL = 2000