Simulator::cHerd class

Base classes

class cGameData
Base class for most Simulator objects.

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

auto SetEnabled(bool enabled) -> void
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto Cast(uint32_t typeID) const -> void* pure virtual

Public variables

Vector3 mInitialPosition
eastl::vector<cCreatureAnimalPtr> mHerd
eastl::vector<cEggPtr> mEggs
eastl::vector<Vector3> mFeedingGrounds
bool mbCheckedForForests
int mCurrentFeedingGrounds
Index to mFeedingGrounds, maybe? Default is -1.
bool mOwnedByAvatar
bool mbShouldEvolve
int mArchetype
int mArchetypeGroup
int mScheduleIndex
float mDNAEvolutionThreshold
ResourceKey mOwnerSpeciesKey
cSpeciesProfile* mpSpeciesProfile
eastl::fixed_vector<ResourceKey, 4> mEvolvedSpeciesProfileKeys
int mGeneration
int mTargetHerdSize
int mInitialShortfall
bool mbEggStatusChanged
int mNumGuards
int field_104
float mTerritoryRadius
int mNumGuardLocations
int mNumGuardsPerLocation
Vector2 mGuardMinMaxRadius
int mRespawnRate
int mActivateBrainLevel
int mDeactivateBrainLevel
bool field_128
int mEggIndex
cGonzagoTimer field_130
float mScaleMultiplier
float mHitpointOverride
float mDamageMultiplier
CreaturePersonality mCreaturePersonality
cNestPtr mpNest
cCreatureAnimalPtr mpHerdMom
int _padding_168
bool mbExtinction
bool mbBestFriends
bool mbTransientHerd
cCreatureAnimalPtr mpEggLayer
bool mbEggsInNest
cGonzagoTimer field_1A0
cGonzagoTimer mChangeFeedingGroundsTimer
eastl::vector<int> mValidLocations
eastl::vector<int> field_1F4
bool mbCheckedForWateringHole
Vector3 mWateringHolePosition
bool mbEnabled