Simulator::cTribeArchetype struct

Represents a type of tribe, with its configuration stored in folder TribeArchetypes.

Public static functions

static auto GetTribeArchetype(uint32_t archetype) -> cTribeArchetype*
Returns the archetype that corresponds to the given ID, which is equal to the archetype ArcheType property.

Public variables

int mInitialPopulation
int mInitialFood
int mMaxPopulation
int mToolPrefs
int mNumToolPrefs
uint32_t mCreatureArchetype
ID of a file in folder herdtypes~ (0x02F98B67)
float field_54
float field_58
Property 0x80A52AC0
float field_5C
Property 0xD5291551
float field_60
Property 0x58A47B38
float field_64
Property 0x27DF57BE
float field_68
Property 0xAC245F82
float field_6C
Property 0x2DF9A743
float field_70
Property 0xF74C0EB9
float field_74
Property 0xA3102906
float field_78
Property 0x2B793112
float field_7C
float field_80
float field_84
float field_88
int field_8C
Property 0x982C7059
float field_90
Property 0xE0BE991F
float field_94
Property 0x1570506E
Math::Vector2 field_98
Property 0xD164F429
eastl::vector<int> field_A0
Property 0xA9A2D5E0
PropertyListPtr mpPropList

Function documentation

static cTribeArchetype* Simulator::cTribeArchetype::GetTribeArchetype(uint32_t archetype)

Returns the archetype that corresponds to the given ID, which is equal to the archetype ArcheType property.

Parameters
archetype

Archetypes are stored in the TribeArchetypes folder. This function only considers valids archetype values less or equal to 30; otherwise, it returns a default archetype.