Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_CampaignClientData Interface Reference

Used for storing client data to be reapplied for reconnecting clients. More...

Public Member Functions

void SetID (string ID)
 Setter for client ID.
 
string GetID ()
 Getter for client ID.
 
void SetXP (int XP)
 Setter for XP.
 
int GetXP ()
 Getter for XP.
 
void SetFactionIndex (int faction)
 Setter for player's faction.
 
int GetFactionIndex ()
 Getter for player's faction.
 
void SetRespawnPenalty (float penalty)
 
float GetRespawnPenalty ()
 
void SetLastSuicideTimestamp (float timestamp)
 
float GetLastSuicideTimestamp ()
 
void SetLastPenaltyDeductionTimestamp (float timestamp)
 
float GetLastPenaltyDeductionTimestamp ()
 
void SetNextFastTravelTimestamp (WorldTimestamp timestamp)
 
WorldTimestamp GetNextFastTravelTimestamp ()
 

Protected Attributes

string m_sID
 
int m_iXP
 
int m_iFaction = -1
 
float m_fLastSuicideTimestamp
 
float m_fRespawnPenalty
 
float m_fLastPenaltyDeductionTimestamp
 
WorldTimestamp m_fNextTravelAvailableAt
 

Detailed Description

Used for storing client data to be reapplied for reconnecting clients.

Member Function Documentation

◆ GetFactionIndex()

int SCR_CampaignClientData.GetFactionIndex ( )

Getter for player's faction.

◆ GetID()

string SCR_CampaignClientData.GetID ( )

Getter for client ID.

◆ GetLastPenaltyDeductionTimestamp()

float SCR_CampaignClientData.GetLastPenaltyDeductionTimestamp ( )

◆ GetLastSuicideTimestamp()

float SCR_CampaignClientData.GetLastSuicideTimestamp ( )

◆ GetNextFastTravelTimestamp()

WorldTimestamp SCR_CampaignClientData.GetNextFastTravelTimestamp ( )

◆ GetRespawnPenalty()

float SCR_CampaignClientData.GetRespawnPenalty ( )

◆ GetXP()

int SCR_CampaignClientData.GetXP ( )

Getter for XP.

◆ SetFactionIndex()

void SCR_CampaignClientData.SetFactionIndex ( int  faction)

Setter for player's faction.

◆ SetID()

void SCR_CampaignClientData.SetID ( string  ID)

Setter for client ID.

◆ SetLastPenaltyDeductionTimestamp()

void SCR_CampaignClientData.SetLastPenaltyDeductionTimestamp ( float  timestamp)

◆ SetLastSuicideTimestamp()

void SCR_CampaignClientData.SetLastSuicideTimestamp ( float  timestamp)

◆ SetNextFastTravelTimestamp()

void SCR_CampaignClientData.SetNextFastTravelTimestamp ( WorldTimestamp  timestamp)

◆ SetRespawnPenalty()

void SCR_CampaignClientData.SetRespawnPenalty ( float  penalty)

◆ SetXP()

void SCR_CampaignClientData.SetXP ( int  XP)

Setter for XP.

Member Data Documentation

◆ m_fLastPenaltyDeductionTimestamp

float SCR_CampaignClientData.m_fLastPenaltyDeductionTimestamp
protected

◆ m_fLastSuicideTimestamp

float SCR_CampaignClientData.m_fLastSuicideTimestamp
protected

◆ m_fNextTravelAvailableAt

WorldTimestamp SCR_CampaignClientData.m_fNextTravelAvailableAt
protected

◆ m_fRespawnPenalty

float SCR_CampaignClientData.m_fRespawnPenalty
protected

◆ m_iFaction

int SCR_CampaignClientData.m_iFaction = -1
protected

◆ m_iXP

int SCR_CampaignClientData.m_iXP
protected

◆ m_sID

string SCR_CampaignClientData.m_sID
protected

The documentation for this interface was generated from the following file: