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

Public Member Functions

override bool IsLoadoutAvailable (int playerId)
 
override bool IsLoadoutAvailableClient ()
 
override void OnLoadoutSpawned (GenericEntity pOwner, int playerId)
 
- Public Member Functions inherited from SCR_FactionPlayerLoadout
FactionKey GetFactionKey ()
 
override void OnLoadoutSpawned (GenericEntity pOwner, int playerId)
 
- Public Member Functions inherited from SCR_PlayerLoadout
override ResourceName GetLoadoutResource ()
 
override ResourceName GetLoadoutImageResource ()
 
override string GetLoadoutName ()
 
ResourceName GetLoadoutResource ()
 
string GetLoadoutName ()
 
ResourceName GetLoadoutImageResource ()
 
bool IsLoadoutAvailable (int playerId)
 
bool IsLoadoutAvailableClient ()
 
void OnLoadoutSpawned (GenericEntity pOwner, int playerId)
 

Static Public Member Functions

static float GetLoadoutSuppliesCost (string playerUID)
 
static float GetLoadoutSuppliesCost (int playerID)
 

Static Public Attributes

static const string ARSENALLOADOUT_FACTIONKEY_NONE = "none"
 
static const string ARSENALLOADOUT_KEY = "arsenalLoadout"
 
static const string ARSENALLOADOUT_FACTION_KEY = "faction"
 

Additional Inherited Members

- Public Attributes inherited from SCR_FactionPlayerLoadout
string m_sAffiliatedFaction
 
- Public Attributes inherited from SCR_PlayerLoadout
string m_sLoadoutName
 
ResourceName m_sLoadoutResource
 
ResourceName m_sLoadoutImage
 

Member Function Documentation

◆ GetLoadoutSuppliesCost() [1/2]

static float SCR_PlayerArsenalLoadout.GetLoadoutSuppliesCost ( int  playerID)
static
Parameters
[in]playerId
Returns
the cost of the provided id player's loadout or 0 on error or player not found

◆ GetLoadoutSuppliesCost() [2/2]

static float SCR_PlayerArsenalLoadout.GetLoadoutSuppliesCost ( string  playerUID)
static
Parameters
[in]playerUID
Returns
the cost of the provided id player's loadout or 0 on error or player not found

◆ IsLoadoutAvailable()

override bool SCR_PlayerArsenalLoadout.IsLoadoutAvailable ( int  playerId)
Parameters
[in]playerId
Returns

Implements SCR_BasePlayerLoadout.

◆ IsLoadoutAvailableClient()

override bool SCR_PlayerArsenalLoadout.IsLoadoutAvailableClient ( )
Returns

Implements SCR_BasePlayerLoadout.

◆ OnLoadoutSpawned()

override void SCR_PlayerArsenalLoadout.OnLoadoutSpawned ( GenericEntity  pOwner,
int  playerId 
)
Parameters
[in]pOwner
[in]playerId

Implements SCR_FactionPlayerLoadout.

Member Data Documentation

◆ ARSENALLOADOUT_FACTION_KEY

const string SCR_PlayerArsenalLoadout.ARSENALLOADOUT_FACTION_KEY = "faction"
static

◆ ARSENALLOADOUT_FACTIONKEY_NONE

const string SCR_PlayerArsenalLoadout.ARSENALLOADOUT_FACTIONKEY_NONE = "none"
static

◆ ARSENALLOADOUT_KEY

const string SCR_PlayerArsenalLoadout.ARSENALLOADOUT_KEY = "arsenalLoadout"
static

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