Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
Sector::System Class Reference

#include <Sector.h>

Public Member Functions

 System (Sector *sector, int x, int y, int z, Uint32 si)
 
const std::string & GetName () const
 
const std::vector< std::string > & GetOtherNames () const
 
const vector3fGetPosition () const
 
vector3f GetFullPosition () const
 
unsigned GetNumStars () const
 
SystemBody::BodyType GetStarType (unsigned i) const
 
Uint32 GetSeed () const
 
const CustomSystemGetCustomSystem () const
 
const FactionGetFaction () const
 
fixed GetPopulation () const
 
void SetPopulation (fixed pop)
 
StarSystem::ExplorationState GetExplored () const
 
double GetExploredTime () const
 
bool IsExplored () const
 
void SetExplored (StarSystem::ExplorationState e, double time)
 
bool IsSameSystem (const SystemPath &b) const
 
bool InSameSector (const SystemPath &b) const
 
SystemPath GetPath () const
 

Static Public Member Functions

static float DistanceBetween (const System *a, const System *b)
 

Public Attributes

const int sx
 
const int sy
 
const int sz
 
const Uint32 idx
 

Friends

class Sector
 
class SectorCustomSystemsGenerator
 
class SectorRandomSystemsGenerator
 
class SectorPersistenceGenerator
 

Constructor & Destructor Documentation

◆ System()

Sector::System::System ( Sector sector,
int  x,
int  y,
int  z,
Uint32  si 
)
inline

Member Function Documentation

◆ DistanceBetween()

float Sector::System::DistanceBetween ( const System a,
const System b 
)
static
Here is the call graph for this function:

◆ GetCustomSystem()

const CustomSystem * Sector::System::GetCustomSystem ( ) const
inline

◆ GetExplored()

StarSystem::ExplorationState Sector::System::GetExplored ( ) const
inline

◆ GetExploredTime()

double Sector::System::GetExploredTime ( ) const
inline

◆ GetFaction()

const Faction * Sector::System::GetFaction ( ) const
inline

◆ GetFullPosition()

vector3f Sector::System::GetFullPosition ( ) const
inline

◆ GetName()

const std::string & Sector::System::GetName ( ) const
inline

◆ GetNumStars()

unsigned Sector::System::GetNumStars ( ) const
inline

◆ GetOtherNames()

const std::vector< std::string > & Sector::System::GetOtherNames ( ) const
inline

◆ GetPath()

SystemPath Sector::System::GetPath ( ) const
inline

◆ GetPopulation()

fixed Sector::System::GetPopulation ( ) const
inline

◆ GetPosition()

const vector3f & Sector::System::GetPosition ( ) const
inline

◆ GetSeed()

Uint32 Sector::System::GetSeed ( ) const
inline

◆ GetStarType()

SystemBody::BodyType Sector::System::GetStarType ( unsigned  i) const
inline

◆ InSameSector()

bool Sector::System::InSameSector ( const SystemPath b) const
inline

◆ IsExplored()

bool Sector::System::IsExplored ( ) const
inline

◆ IsSameSystem()

bool Sector::System::IsSameSystem ( const SystemPath b) const
inline

◆ SetExplored()

void Sector::System::SetExplored ( StarSystem::ExplorationState  e,
double  time 
)

◆ SetPopulation()

void Sector::System::SetPopulation ( fixed  pop)
inline

Friends And Related Symbol Documentation

◆ Sector

friend class Sector
friend

◆ SectorCustomSystemsGenerator

friend class SectorCustomSystemsGenerator
friend

◆ SectorPersistenceGenerator

friend class SectorPersistenceGenerator
friend

◆ SectorRandomSystemsGenerator

friend class SectorRandomSystemsGenerator
friend

Member Data Documentation

◆ idx

const Uint32 Sector::System::idx

◆ sx

const int Sector::System::sx

◆ sy

const int Sector::System::sy

◆ sz

const int Sector::System::sz

The documentation for this class was generated from the following files: