Simulator::cStarRecord class

Base classes

class ISimulatorSerializable
class DefaultRefCounted
The default implementation of a reference counted class.

Public static variables

static const uint32_t TYPE

Public functions

auto GetType() const -> StarType
auto GetTechLevel() const -> TechLevel
auto GetPlanetRecord(size_t planetIndex) -> cPlanetRecord*
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual

Public variables

int mLastObservedTime
int mSavedGameVersionMajor
int mSavedGameVersionMinor
TimeStamp mSavedGameTimeStamp
Math::Vector3 mPosition
StarType mType
TechLevel mTechLevel
bool field_50
uint32_t mEmpireID
uint32_t mStarterWorldID
int mFlags
string16 mName
uint32_t mKey
ResourceKey mCitizenSpeciesKey
int field_80
vector<intrusive_ptr<cPlanetRecord>> mPlanets
vector<int> field_98
char mPlanetCount