Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_BaseEntityCatalogData Interface Reference

Base Class for Entity catalog data. More...

Inheritance diagram for SCR_BaseEntityCatalogData:
[legend]

Public Member Functions

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

bool m_bEnabled
 

Detailed Description

Base Class for Entity catalog data.

Inherent from this to create your own Entity catalog data

Member Function Documentation

◆ InitData()

void SCR_BaseEntityCatalogData.InitData ( notnull SCR_EntityCatalogEntry  entry)

Called by Catalog on creation.

Special init for data. To be overidden. Never called if Data is disabled

Parameters
[in]entryEntry the data is attached to

Implemented in SCR_ArsenalItem, SCR_EntityCatalogSpawnerData, SCR_EntityCatalogSpawnerOverrideData, SCR_NonArsenalItemCostCatalogData, and SCR_ResourceContainerItemData.

◆ IsEnabled()

bool SCR_BaseEntityCatalogData.IsEnabled ( )

If is Enabled.

Returns
If enabled or disabled

◆ PostInitData()

void SCR_BaseEntityCatalogData.PostInitData ( notnull SCR_EntityCatalogEntry  entry)

Called by Catalog after init data is called for all other entries.

To be overidden. Never called if Data is disabled

Parameters
[in]entryEntry the data is attached to

Implemented in SCR_ArsenalItem.

Member Data Documentation

◆ m_bEnabled

bool SCR_BaseEntityCatalogData.m_bEnabled
protected

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