◆ GetArsenalGameModeTypes()
SCR_EArsenalGameModeType SCR_ArsenalItem.GetArsenalGameModeTypes |
( |
| ) |
|
- Returns
- Get the valid arsenal mode types
◆ GetDisplayDataOfType()
Get display data of given type for displaying items on arsenal display.
- Parameters
-
[in] | displayType | type of display data to find |
- Returns
- Display data, can be null if not found
◆ GetItemMode()
SCR_EArsenalItemMode SCR_ArsenalItem.GetItemMode |
( |
| ) |
|
◆ GetItemResource()
Resource SCR_ArsenalItem.GetItemResource |
( |
| ) |
|
◆ GetItemResourceName()
ResourceName SCR_ArsenalItem.GetItemResourceName |
( |
| ) |
|
◆ GetItemType()
SCR_EArsenalItemType SCR_ArsenalItem.GetItemType |
( |
| ) |
|
◆ GetSupplyCost()
int SCR_ArsenalItem.GetSupplyCost |
( |
SCR_EArsenalSupplyCostType |
supplyCostType, |
|
|
bool |
addAdditionalCosts = true |
|
) |
| |
Get supply cost of arsenal item.
- Parameters
-
[in] | supplyCostType | What the supply cost is that should be obtained from the arsenal data. If the specific supply cost is not found then Default will be used instead |
[in] | addAdditionalCosts | Will add any additional cost to the item, in general these are weapon attachments. You want to turn this false if refunding an item as it should reevaluate the cost depending on the attachments |
- Returns
- Supplycost
◆ InitData()
Called by Catalog on creation.
Special init for data. To be overidden. Never called if Data is disabled
- Parameters
-
[in] | entry | Entry the data is attached to |
Implements SCR_BaseEntityCatalogData.
◆ PostInitData()
Called by Catalog after init data is called for all other entries.
To be overidden. Never called if Data is disabled
- Parameters
-
[in] | entry | Entry the data is attached to |
Implements SCR_BaseEntityCatalogData.
◆ m_aAdditionalCosts
◆ m_aArsenalAlternativeCostData
◆ m_aArsenalDisplayData
◆ m_aNonArsenalAdditionalCosts
◆ m_eArsenalGameModeTypes
SCR_EArsenalGameModeType SCR_ArsenalItem.m_eArsenalGameModeTypes |
|
protected |
◆ m_eItemMode
SCR_EArsenalItemMode SCR_ArsenalItem.m_eItemMode |
|
protected |
◆ m_eItemType
SCR_EArsenalItemType SCR_ArsenalItem.m_eItemType |
|
protected |
◆ m_EntryParent
◆ m_iSupplyCost
int SCR_ArsenalItem.m_iSupplyCost |
|
protected |
◆ m_ItemResource
ref Resource SCR_ArsenalItem.m_ItemResource |
|
protected |
◆ m_mArsenalAlternativeCostData
ref map<SCR_EArsenalSupplyCostType, int> SCR_ArsenalItem.m_mArsenalAlternativeCostData |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Components/Arsenal/SCR_ArsenalItem.c