EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SolarSystemData Class Reference

#include "SolarSystem.h"

Collaboration diagram for SolarSystemData:

Public Member Functions

 SolarSystemData (const GPoint &_minPos=GPoint(0, 0, 0), const GPoint &_maxPos=GPoint(0, 0, 0), double _luminosity=0.0, bool _border=false, bool _fringe=false, bool _corridor=false, bool _hub=false, bool _international=false, bool _regional=false, bool _constellation=false, double _security=0.0, uint32 _factionID=0, double _radius=0.0, uint32 _sunTypeID=0, const char *_securityClass="")
 

Public Attributes

GPoint minPosition
 
GPoint maxPosition
 
double luminosity
 
bool border:1
 
bool fringe:1
 
bool corridor:1
 
bool hub:1
 
bool international:1
 
bool regional:1
 
bool constellation:1
 
double security
 
uint32 factionID
 
double radius
 
uint32 sunTypeID
 
std::string securityClass
 

Detailed Description

Data container for solarsystem data.

Definition at line 36 of file SolarSystem.h.

Constructor & Destructor Documentation

SolarSystemData::SolarSystemData ( const GPoint _minPos = GPoint(0, 0, 0),
const GPoint _maxPos = GPoint(0, 0, 0),
double  _luminosity = 0.0,
bool  _border = false,
bool  _fringe = false,
bool  _corridor = false,
bool  _hub = false,
bool  _international = false,
bool  _regional = false,
bool  _constellation = false,
double  _security = 0.0,
uint32  _factionID = 0,
double  _radius = 0.0,
uint32  _sunTypeID = 0,
const char *  _securityClass = "" 
)
Note
NOTE:: this class is ONLY for the inventory item and associated references..... need to update this...
Todo:
update this to remove redundant SolarSystemData and move to POD SystemData and load with sDataMgr

Definition at line 49 of file SolarSystem.cpp.

65 : minPosition(_minPos),
66  maxPosition(_maxPos),
67  luminosity(_luminosity),
68  border(_border),
69  fringe(_fringe),
70  corridor(_corridor),
71  hub(_hub),
72  international(_international),
73  regional(_regional),
74  constellation(_constellation),
75  security(_security),
76  factionID(_factionID),
77  radius(_radius),
78  sunTypeID(_sunTypeID),
79  securityClass(_securityClass)
80 {
81 }
double luminosity
Definition: SolarSystem.h:59
GPoint maxPosition
Definition: SolarSystem.h:58
GPoint minPosition
Definition: SolarSystem.h:57
uint32 factionID
Definition: SolarSystem.h:71
std::string securityClass
Definition: SolarSystem.h:74
uint32 sunTypeID
Definition: SolarSystem.h:73

Member Data Documentation

bool SolarSystemData::border

Definition at line 62 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

bool SolarSystemData::constellation

Definition at line 68 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

bool SolarSystemData::corridor

Definition at line 64 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

uint32 SolarSystemData::factionID

Definition at line 71 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

bool SolarSystemData::fringe

Definition at line 63 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

bool SolarSystemData::hub

Definition at line 65 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

bool SolarSystemData::international

Definition at line 66 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

double SolarSystemData::luminosity

Definition at line 59 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

GPoint SolarSystemData::maxPosition

Definition at line 58 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

GPoint SolarSystemData::minPosition

Definition at line 57 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

double SolarSystemData::radius

Definition at line 72 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

bool SolarSystemData::regional

Definition at line 67 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

double SolarSystemData::security

Definition at line 70 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

std::string SolarSystemData::securityClass

Definition at line 74 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().

uint32 SolarSystemData::sunTypeID

Definition at line 73 of file SolarSystem.h.

Referenced by InventoryDB::GetSolarSystem().


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