Arma Reforger Script API
|
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 |
Used for storing client data to be reapplied for reconnecting clients.
int SCR_CampaignClientData.GetFactionIndex | ( | ) |
Getter for player's faction.
string SCR_CampaignClientData.GetID | ( | ) |
Getter for client ID.
float SCR_CampaignClientData.GetLastPenaltyDeductionTimestamp | ( | ) |
float SCR_CampaignClientData.GetLastSuicideTimestamp | ( | ) |
WorldTimestamp SCR_CampaignClientData.GetNextFastTravelTimestamp | ( | ) |
float SCR_CampaignClientData.GetRespawnPenalty | ( | ) |
int SCR_CampaignClientData.GetXP | ( | ) |
Getter for XP.
void SCR_CampaignClientData.SetFactionIndex | ( | int | faction | ) |
Setter for player's faction.
void SCR_CampaignClientData.SetID | ( | string | ID | ) |
Setter for client ID.
void SCR_CampaignClientData.SetLastPenaltyDeductionTimestamp | ( | float | timestamp | ) |
void SCR_CampaignClientData.SetLastSuicideTimestamp | ( | float | timestamp | ) |
void SCR_CampaignClientData.SetNextFastTravelTimestamp | ( | WorldTimestamp | timestamp | ) |
void SCR_CampaignClientData.SetRespawnPenalty | ( | float | penalty | ) |
void SCR_CampaignClientData.SetXP | ( | int | XP | ) |
Setter for XP.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |