Arma Reforger Script API
|
Base Used for items and attachments which should not be shown in the arsenal but should have a cost to them so any weapon in arsenal with that attachment will get a supply cost increase as well as being able to sell the item in the arsenal. More...
Public Member Functions | |
int | GetSupplyCost (SCR_EArsenalSupplyCostType supplyCostType) |
Get supply cost of item. | |
override void | InitData (notnull SCR_EntityCatalogEntry entry) |
Called by Catalog on creation. | |
Public Member Functions inherited from SCR_BaseEntityCatalogData | |
bool | IsEnabled () |
If is Enabled. | |
void | InitData (notnull SCR_EntityCatalogEntry entry) |
Called by Catalog on creation. | |
void | PostInitData (notnull SCR_EntityCatalogEntry entry) |
Called by Catalog after init data is called for all other entries. | |
Protected Attributes | |
int | m_iSupplyCost |
ref array< ref SCR_ArsenalAlternativeCostData > | m_aArsenalAlternativeCostData |
ref map< SCR_EArsenalSupplyCostType, int > | m_mArsenalAlternativeCostData |
Protected Attributes inherited from SCR_BaseEntityCatalogData | |
bool | m_bEnabled |
Base Used for items and attachments which should not be shown in the arsenal but should have a cost to them so any weapon in arsenal with that attachment will get a supply cost increase as well as being able to sell the item in the arsenal.
int SCR_NonArsenalItemCostCatalogData.GetSupplyCost | ( | SCR_EArsenalSupplyCostType | supplyCostType | ) |
Get supply cost of item.
[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 |
override void SCR_NonArsenalItemCostCatalogData.InitData | ( | notnull SCR_EntityCatalogEntry | entry | ) |
Called by Catalog on creation.
Special init for data. To be overidden. Never called if Data is disabled
[in] | entry | Entry the data is attached to |
Implements SCR_BaseEntityCatalogData.
|
protected |
|
protected |
|
protected |