Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
SCR_CampaignPlayerStruct Interface Reference
Inheritance diagram for SCR_CampaignPlayerStruct:
[legend]

Public Member Functions

string GetID ()
 
int GetFactionIndex ()
 
int GetXP ()
 
void SetID (string ID)
 
void SetFactionIndex (int index)
 
void SetXP (int xp)
 
void SCR_CampaignPlayerStruct ()
 
- Public Member Functions inherited from SCR_JsonApiStruct
bool Serialize ()
 Write world data into the struct.
 
bool Deserialize ()
 Read data from the struct and apply them in the world.
 
void ClearCache ()
 Clear struct's data.
 
void Log ()
 Log struct's data.
 

Static Public Member Functions

static string GetPlayerIdentity (int playerId)
 

Static Public Attributes

static const string LOCAL_PLAYER_IDENTITY_ID = "identitySP"
 

Protected Attributes

string m_sID
 
int m_iF = -1
 
int m_iXP
 

Constructor & Destructor Documentation

◆ SCR_CampaignPlayerStruct()

void SCR_CampaignPlayerStruct.SCR_CampaignPlayerStruct ( )

Member Function Documentation

◆ GetFactionIndex()

int SCR_CampaignPlayerStruct.GetFactionIndex ( )

◆ GetID()

string SCR_CampaignPlayerStruct.GetID ( )

◆ GetPlayerIdentity()

static string SCR_CampaignPlayerStruct.GetPlayerIdentity ( int  playerId)
static

◆ GetXP()

int SCR_CampaignPlayerStruct.GetXP ( )

◆ SetFactionIndex()

void SCR_CampaignPlayerStruct.SetFactionIndex ( int  index)

◆ SetID()

void SCR_CampaignPlayerStruct.SetID ( string  ID)

◆ SetXP()

void SCR_CampaignPlayerStruct.SetXP ( int  xp)

Member Data Documentation

◆ LOCAL_PLAYER_IDENTITY_ID

const string SCR_CampaignPlayerStruct.LOCAL_PLAYER_IDENTITY_ID = "identitySP"
static

◆ m_iF

int SCR_CampaignPlayerStruct.m_iF = -1
protected

◆ m_iXP

int SCR_CampaignPlayerStruct.m_iXP
protected

◆ m_sID

string SCR_CampaignPlayerStruct.m_sID
protected

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