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

Public Member Functions

override void InitData (notnull SCR_EntityCatalogEntry entry)
 Called by Catalog on creation.
 
- Public Member Functions inherited from SCR_EntityCatalogSpawnerData
void SetEnabled (bool enable)
 Set the enabled state of the entity in the spawner Changing this in runtime will allow/disallow certain entities to spawn for factions.
 
int GetEntityCount ()
 
LocalizedString GetOverwriteName ()
 Get Localized overwrite name Empty if no name is overwritten.
 
bool CanSpawnInSlot (SCR_EEntitySpawnerSlotType slotSize)
 Check if entity can be spawned in slot of given size.
 
SCR_EEntitySpawnerSlotType GetValidSlotSizes ()
 Get flags of valid slot sizes.
 
bool HasRequiredRank (SCR_ECharacterRank rank)
 Check if entity can be spawned by player with specific rank Will check if given rank is equal or greater then minimum required rank.
 
SCR_ECharacterRank GetMinimumRequiredRank ()
 Get the minimum required rank.
 
int GetSupplyCost ()
 Get supply cost of spawning Entity.
 
ResourceName GetRandomDefaultOrVariantPrefab ()
 Get random variant or default prefab.
 
int GetVariantDataList (notnull out array< SCR_SpawnerVariantData > variantData)
 Get list of all variant data.
 
int GetVariantPrefabList (notnull out array< ResourceName > variantPrefabs)
 Get list of all variant prefabs.
 
SCR_SpawnerVariantData GetVariantDataOfType (ESpawnerVariantType variantType)
 Get specific variant data of type if it exists.
 
ResourceName GetVariantPrefabOfType (ESpawnerVariantType variantType)
 Get specific variant Prefab of type if it exists.
 
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

SCR_ECharacterRank m_eMinimumRequiredRankOverride
 
int m_iSupplyCostOverride
 
- Protected Attributes inherited from SCR_EntityCatalogSpawnerData
ref SCR_UIInfo m_UiInfo
 
SCR_EEntitySpawnerSlotType m_eSlotTypes
 
int m_iEntityCount
 
ref array< ref SCR_SpawnerVariantDatam_aVariantData
 
ResourceName m_sDefaultPrefab
 
SCR_ECharacterRank m_eMinimumRequiredRank
 
int m_iSupplyCost
 
- Protected Attributes inherited from SCR_BaseEntityCatalogData
bool m_bEnabled
 

Member Function Documentation

◆ InitData()

override void SCR_EntityCatalogSpawnerOverrideData.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

Implements SCR_EntityCatalogSpawnerData.

Member Data Documentation

◆ m_eMinimumRequiredRankOverride

SCR_ECharacterRank SCR_EntityCatalogSpawnerOverrideData.m_eMinimumRequiredRankOverride
protected

◆ m_iSupplyCostOverride

int SCR_EntityCatalogSpawnerOverrideData.m_iSupplyCostOverride
protected

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