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

Go to the source code of this file.

Classes

class  SCR_TaskFinishHistoryManagerComponentClass

Functions

array< ref SCR_TaskFinishEntryGetAll ()
array< ref SCR_TaskFinishEntryGetByTaskID (string taskID)
array< ref SCR_TaskFinishEntryGetByPlayerID (int playerID)
array< ref SCR_TaskFinishEntryGetByFinalState (SCR_ETaskState state)
map< string, intGetAggregatedByPlayerID (int playerID)
map< int, ref map< string, int > > GetAggregatedByTypeAndPlayer ()
void OnTaskStateChanged (SCR_Task task, SCR_ETaskState newState)
bool IsFinishedState (SCR_ETaskState state)
void RecordIfFinished (SCR_Task task, SCR_ETaskState newState)
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
void SCR_TaskFinishHistoryManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
void ~SCR_TaskFinishHistoryManagerComponent ()

Variables

SCR_TaskFinishHistoryManagerComponentClass m_aFinished = {}

Function Documentation

◆ GetAggregatedByPlayerID()

map< string, int > GetAggregatedByPlayerID ( int playerID)
protected
Parameters
[in]playerID
Returns
aggregated counts of task types finished by player with input playerID or returns null if no finished tasks recorded

Definition at line 86 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ GetAggregatedByTypeAndPlayer()

map< int, ref map< string, int > > GetAggregatedByTypeAndPlayer ( )
protected
Returns
aggregated counts of finished task types which are grouped by playerIDs or returns null if no finished tasks recroded

Definition at line 107 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ GetAll()

array< ref SCR_TaskFinishEntry > GetAll ( )
protected
Returns
list of all finished task entries

Definition at line 19 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ GetByFinalState()

array< ref SCR_TaskFinishEntry > GetByFinalState ( SCR_ETaskState state)
protected
Parameters
[in]finalstate
Returns
list of finished task entries with final state same as input

Definition at line 71 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ GetByPlayerID()

array< ref SCR_TaskFinishEntry > GetByPlayerID ( int playerID)
protected
Parameters
[in]playerID
Returns
list of finished task entries with player with input playerID as assignee

Definition at line 48 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ GetByTaskID()

array< ref SCR_TaskFinishEntry > GetByTaskID ( string taskID)
protected
Parameters
[in]taskID
Returns
list of finished task entries with the same taskID as input

Definition at line 33 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ IsFinishedState()

bool IsFinishedState ( SCR_ETaskState state)
protected

Definition at line 151 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 179 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ OnTaskStateChanged()

void OnTaskStateChanged ( SCR_Task task,
SCR_ETaskState newState )
protected

Definition at line 137 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ RecordIfFinished()

void RecordIfFinished ( SCR_Task task,
SCR_ETaskState newState )
protected

Definition at line 157 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 201 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter writer)
protected

Definition at line 187 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ SCR_TaskFinishHistoryManagerComponent()

void SCR_TaskFinishHistoryManagerComponent ( IEntityComponentSource src,
IEntity ent,
IEntity parent )
protected
Parameters
[in]src
[in]ent
[in]parent

Definition at line 220 of file SCR_TaskFinishHistoryManagerComponent.c.

◆ ~SCR_TaskFinishHistoryManagerComponent()

Variable Documentation

◆ m_aFinished