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

Go to the source code of this file.

Classes

class  SCR_PlayerProfileManagerComponentClass

Functions

Faction GetPlayerFaction (int playerID)
CareerBackendData GetPlayerProfile (int playerID)
override void OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData)
override void OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout)
void StoreProfile (int playerID, bool disconnecting=false)
bool LoadPlayerProfileFromBackend (int playerID)
void LoadConnectingPlayerProfile (int playerID)
override void EOnFrame (IEntity owner, float timeSlice)
override void OnPostInit (IEntity owner)
 Editable Mine.
override void EOnInit (IEntity owner)
void SCR_PlayerProfileManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent)

Variables

SCR_PlayerProfileManagerComponentClass s_RespawnSystemComponent = null
float m_fRefreshTime
ref map< int, ref CareerBackendDatam_mPlayerProfiles = null
ref array< intm_aPlayerIDsToLoadProfile = {}
float m_fCurrentRefreshTime = 1
ref BackendCallback m_Callback = new BackendCallback()

Function Documentation

◆ EOnFrame()

override void EOnFrame ( IEntity owner,
float timeSlice )
protected

Definition at line 169 of file SCR_PlayerProfileManagerComponent.c.

◆ GetPlayerFaction()

Faction GetPlayerFaction ( int playerID)
protected

Definition at line 28 of file SCR_PlayerProfileManagerComponent.c.

◆ GetPlayerProfile()

CareerBackendData GetPlayerProfile ( int playerID)
protected
Parameters
[in]playerID
Returns
player profile from playerID

Definition at line 36 of file SCR_PlayerProfileManagerComponent.c.

◆ LoadConnectingPlayerProfile()

void LoadConnectingPlayerProfile ( int playerID)
protected
Parameters
[in]playerID

Definition at line 151 of file SCR_PlayerProfileManagerComponent.c.

◆ LoadPlayerProfileFromBackend()

bool LoadPlayerProfileFromBackend ( int playerID)
protected
Parameters
[in]playerID
Returns

Definition at line 124 of file SCR_PlayerProfileManagerComponent.c.

◆ OnPlayerKilled()

override void OnPlayerKilled ( notnull SCR_InstigatorContextData instigatorContextData)
protected

Called after a player gets killed.

Parameters
[in]instigatorContextDataHolds the data of the victim and killer
[in]playerId
[in]playerEntity
[in]killerEntity
[in]killer

Definition at line 45 of file SCR_PlayerProfileManagerComponent.c.

◆ SCR_PlayerProfileManagerComponent()

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

Definition at line 223 of file SCR_PlayerProfileManagerComponent.c.

◆ StoreProfile()

void StoreProfile ( int playerID,
bool disconnecting = false )
protected
Parameters
[in]playerID
[in]disconnecting

Definition at line 96 of file SCR_PlayerProfileManagerComponent.c.

Variable Documentation

◆ m_aPlayerIDsToLoadProfile

ref array<int> m_aPlayerIDsToLoadProfile = {}
protected

Definition at line 23 of file SCR_PlayerProfileManagerComponent.c.

◆ m_Callback

ref BackendCallback m_Callback = new BackendCallback()
protected

Definition at line 25 of file SCR_PlayerProfileManagerComponent.c.

◆ m_fCurrentRefreshTime

float m_fCurrentRefreshTime = 1
protected

Definition at line 24 of file SCR_PlayerProfileManagerComponent.c.

◆ m_fRefreshTime

float m_fRefreshTime
protected

Definition at line 17 of file SCR_PlayerProfileManagerComponent.c.

◆ m_mPlayerProfiles

ref map<int, ref CareerBackendData> m_mPlayerProfiles = null
protected

Definition at line 22 of file SCR_PlayerProfileManagerComponent.c.

◆ s_RespawnSystemComponent

SCR_PlayerProfileManagerComponentClass s_RespawnSystemComponent = null