◆ GetMaxResourceValue()
int SCR_ResourceContainerItemData.GetMaxResourceValue |
( |
| ) |
|
Get max resource value of container Data obtained from prefab, -1 if no max resource value found.
- Returns
- max Resource value
◆ GetResourceContainer()
◆ 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.
◆ SetMaxResourceValue()
void SCR_ResourceContainerItemData.SetMaxResourceValue |
( |
int |
maxResourceValue | ) |
|
|
protected |
◆ m_eResourceType
EResourceType SCR_ResourceContainerItemData.m_eResourceType |
|
protected |
◆ m_iMaxResourceValue
int SCR_ResourceContainerItemData.m_iMaxResourceValue = -1 |
|
protected |
The documentation for this interface was generated from the following file:
- Game/EntityCatalog/EntityCatalogEntryData/SCR_ResourceContainerItemData.c