Simulator::cEmpire class

Base classes

class ISimulatorSerializableRefCounted
class cIdentityColorable
A Simulator class inherited by all those classes that can have an identity color, such as empires, tribes, etc.

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

auto GetHomeStarRecord() -> cStarRecord*
void SetSpeciesProfile(cSpeciesProfile* pSpecies)
auto IsAtWar(cEmpire* pOther) -> bool
void DeclareWar(cEmpire* pOther)
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto Cast() const -> void* pure virtual

Public variables

string16 mEmpireName
int mCurrentGameMode
int mFlags
int mTrait
Archetypes mArchetype
vector<intrusive_ptr<cEmpire>> mEnemies
vector<intrusive_ptr<cEmpire>> mAllies
int mPoliticalID
vector<intrusive_ptr<cStarRecord>> mStars
vector<intrusive_ptr<cStarRecord>> mNextStarTowardsHome
StarID mHomeStar
PlanetID mHomePlanet
ResourceKey mUFOKey
ResourceKey mCaptainKey
int mEmpireMoney
char mTravelDistance
int field_D8
float field_DC
float field_E0
float field_E4
float field_E8
float field_EC
vector<int> field_F0
ICityMusicPtr mpCityMusic
cCultureSet mCultureSet
cGonzagoTimer field_128
list<uint32_t> mAdventureList