#include <StarManager.h>
◆ Get()
◆ GetEmpire()
cEmpire* Simulator::cStarManager::GetEmpire |
( |
uint32_t |
politicalID | ) |
|
Returns the empire that has the given political ID, or nullptr if no empire uses it.
- Parameters
-
◆ GetEmpireForStar()
Returns the empire that controls this star record, creating it if necessary.
If no empire controls this star record or the one that controls it does not yet exist, it will be created and added to the empire map.
- Parameters
-
◆ GetEmpires()
EmpiresMap& Simulator::cStarManager::GetEmpires |
( |
| ) |
|
◆ GetGrobEmpireID()
uint32_t Simulator::cStarManager::GetGrobEmpireID |
( |
| ) |
|
|
inline |
◆ GetPlanetRecord()
◆ GetSol()
cStarRecord * Simulator::cStarManager::GetSol |
( |
| ) |
const |
|
inline |
◆ GetStarRecord()
Returns the star record assigned to the specified id.
There are three possibilities:
- If id == 0, the galaxy center is returned ?
- If id == -1, nullptr is returned.
- Otherwise, the id is divided in sector index (& 0xFFFFF000) and star index (& 0x00000FFF) and the star record is returned.
◆ NextPoliticalID()
uint32_t Simulator::cStarManager::NextPoliticalID |
( |
bool |
| ) |
|
Generates a new political ID.
◆ RecordToPlanet()
void Simulator::cStarManager::RecordToPlanet |
( |
cPlanetRecord * |
record, |
|
|
intrusive_ptr< cPlanet > & |
dst |
|
) |
| |
◆ _padding_7C
char Simulator::cStarManager::_padding_7C[0x24] |
|
protected |
◆ field_104
vector<intrusive_ptr<Object> > Simulator::cStarManager::field_104 |
|
protected |
◆ field_118
vector<intrusive_ptr<Object> > Simulator::cStarManager::field_118 |
|
protected |
◆ field_12C
map<uint32_t, intrusive_ptr<Object> > Simulator::cStarManager::field_12C |
|
protected |
◆ field_14C
intrusive_ptr<cStarRecord> Simulator::cStarManager::field_14C |
|
protected |
◆ field_16C
vector<int> Simulator::cStarManager::field_16C |
|
protected |
◆ field_180
int Simulator::cStarManager::field_180 |
|
protected |
◆ field_184
map<int, int> Simulator::cStarManager::field_184 |
|
protected |
◆ field_1A0
intrusive_ptr<Object> Simulator::cStarManager::field_1A0 |
|
protected |
◆ field_1A4
intrusive_ptr<Object> Simulator::cStarManager::field_1A4 |
|
protected |
◆ field_1A8
int Simulator::cStarManager::field_1A8 |
|
protected |
◆ field_1AC
int Simulator::cStarManager::field_1AC |
|
protected |
◆ field_1B0
int Simulator::cStarManager::field_1B0 |
|
protected |
◆ field_1B4
int Simulator::cStarManager::field_1B4 |
|
protected |
◆ field_1B8
int Simulator::cStarManager::field_1B8 |
|
protected |
◆ field_1BC
float Simulator::cStarManager::field_1BC |
|
protected |
◆ field_1C0
float Simulator::cStarManager::field_1C0 |
|
protected |
◆ field_1C4
int Simulator::cStarManager::field_1C4 |
|
protected |
◆ field_1C8
int Simulator::cStarManager::field_1C8 |
|
protected |
◆ field_1CC
int Simulator::cStarManager::field_1CC |
|
protected |
◆ field_1D0
int Simulator::cStarManager::field_1D0 |
|
protected |
◆ field_1D4
int Simulator::cStarManager::field_1D4 |
|
protected |
◆ field_1DC
intrusive_ptr<cStarRecord> Simulator::cStarManager::field_1DC |
|
protected |
◆ field_20
map<int, int> Simulator::cStarManager::field_20 |
|
protected |
◆ field_208
vector<int> Simulator::cStarManager::field_208 |
|
protected |
◆ field_21C
bool Simulator::cStarManager::field_21C |
|
protected |
◆ field_220
intrusive_ptr<Object> Simulator::cStarManager::field_220 |
|
protected |
◆ field_224
intrusive_ptr<Object> Simulator::cStarManager::field_224 |
|
protected |
◆ field_228
intrusive_ptr<Object> Simulator::cStarManager::field_228 |
|
protected |
◆ field_3C
vector<int> Simulator::cStarManager::field_3C |
|
protected |
◆ field_50
vector<int> Simulator::cStarManager::field_50 |
|
protected |
◆ field_64
bool Simulator::cStarManager::field_64 |
|
protected |
◆ field_68
int Simulator::cStarManager::field_68 |
|
protected |
◆ field_6C
string16 Simulator::cStarManager::field_6C |
|
protected |
◆ field_A0
vector<int> Simulator::cStarManager::field_A0 |
|
protected |
◆ field_B4
int Simulator::cStarManager::field_B4 |
|
protected |
◆ field_B8
int Simulator::cStarManager::field_B8 |
|
protected |
◆ field_BC
int Simulator::cStarManager::field_BC |
|
protected |
◆ field_C0
int Simulator::cStarManager::field_C0 |
|
protected |
◆ field_C4
int Simulator::cStarManager::field_C4 |
|
protected |
◆ field_DC
vector<intrusive_ptr<Object> > Simulator::cStarManager::field_DC |
|
protected |
◆ field_F0
vector<intrusive_ptr<Object> > Simulator::cStarManager::field_F0 |
|
protected |
◆ mEmpiresMap
◆ mGrobEmpireID
uint32_t Simulator::cStarManager::mGrobEmpireID |
|
protected |
◆ mpRelationshipManager
◆ mpSol
intrusive_ptr<cStarRecord> Simulator::cStarManager::mpSol |
|
protected |
◆ mStarRecords
vector<vector<intrusive_ptr<cStarRecord> > > Simulator::cStarManager::mStarRecords |
|
protected |
◆ mTradeRouteMgr
The documentation for this class was generated from the following file: