Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SystemBodyData Class Reference

#include <SystemBody.h>

Inheritance diagram for SystemBodyData:
Inheritance graph
[legend]
Collaboration diagram for SystemBodyData:
Collaboration graph
[legend]

Public Member Functions

 SystemBodyData ()
 
void SaveToJson (Json &out)
 
void LoadFromJson (const Json &obj)
 

Public Attributes

std::string m_name
 
SystemBodyType::BodyType m_type = SystemBodyType::TYPE_GRAVPOINT
 
Uint32 m_seed
 
fixed m_radius
 
fixed m_aspectRatio
 
fixed m_mass
 
fixed m_rotationPeriod
 
fixed m_rotationalPhaseAtStart
 
fixed m_humanActivity
 
fixed m_semiMajorAxis
 
fixed m_eccentricity
 
fixed m_orbitalOffset
 
fixed m_orbitalPhaseAtStart
 
fixed m_axialTilt
 
fixed m_inclination
 
fixed m_argOfPeriapsis
 
int m_averageTemp
 
fixed m_metallicity
 
fixed m_volcanicity
 
fixed m_volatileLiquid
 
fixed m_volatileIces
 
fixed m_volatileGas
 
fixed m_atmosOxidizing
 
fixed m_life
 
fixed m_population
 
fixed m_agricultural
 
RingStyle m_rings
 
Color m_atmosColor
 
std::string m_heightMapFilename
 
unsigned int m_heightMapFractal
 
std::string m_spaceStationType
 

Detailed Description

Base class containing only static data parameters for SystemBody

All "runtime" data parameters are generated in SystemBody.cpp or StarSystemGenerator.cpp

Constructor & Destructor Documentation

◆ SystemBodyData()

SystemBodyData::SystemBodyData ( )

Member Function Documentation

◆ LoadFromJson()

void SystemBodyData::LoadFromJson ( const Json obj)
Here is the call graph for this function:

◆ SaveToJson()

void SystemBodyData::SaveToJson ( Json out)
Here is the call graph for this function:

Member Data Documentation

◆ m_agricultural

fixed SystemBodyData::m_agricultural

◆ m_argOfPeriapsis

fixed SystemBodyData::m_argOfPeriapsis

◆ m_aspectRatio

fixed SystemBodyData::m_aspectRatio

◆ m_atmosColor

Color SystemBodyData::m_atmosColor

◆ m_atmosOxidizing

fixed SystemBodyData::m_atmosOxidizing

◆ m_averageTemp

int SystemBodyData::m_averageTemp

◆ m_axialTilt

fixed SystemBodyData::m_axialTilt

◆ m_eccentricity

fixed SystemBodyData::m_eccentricity

◆ m_heightMapFilename

std::string SystemBodyData::m_heightMapFilename

◆ m_heightMapFractal

unsigned int SystemBodyData::m_heightMapFractal

◆ m_humanActivity

fixed SystemBodyData::m_humanActivity

◆ m_inclination

fixed SystemBodyData::m_inclination

◆ m_life

fixed SystemBodyData::m_life

◆ m_mass

fixed SystemBodyData::m_mass

◆ m_metallicity

fixed SystemBodyData::m_metallicity

◆ m_name

std::string SystemBodyData::m_name

◆ m_orbitalOffset

fixed SystemBodyData::m_orbitalOffset

◆ m_orbitalPhaseAtStart

fixed SystemBodyData::m_orbitalPhaseAtStart

◆ m_population

fixed SystemBodyData::m_population

◆ m_radius

fixed SystemBodyData::m_radius

◆ m_rings

RingStyle SystemBodyData::m_rings

◆ m_rotationalPhaseAtStart

fixed SystemBodyData::m_rotationalPhaseAtStart

◆ m_rotationPeriod

fixed SystemBodyData::m_rotationPeriod

◆ m_seed

Uint32 SystemBodyData::m_seed

◆ m_semiMajorAxis

fixed SystemBodyData::m_semiMajorAxis

◆ m_spaceStationType

std::string SystemBodyData::m_spaceStationType

◆ m_type

◆ m_volatileGas

fixed SystemBodyData::m_volatileGas

◆ m_volatileIces

fixed SystemBodyData::m_volatileIces

◆ m_volatileLiquid

fixed SystemBodyData::m_volatileLiquid

◆ m_volcanicity

fixed SystemBodyData::m_volcanicity

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