26 #ifndef __CELESTIAL__H__INCL__
27 #define __CELESTIAL__H__INCL__
42 double _security = 0.0,
43 uint8 _celestialIndex = 0,
92 if (!
sItemFactory.db()->GetCelestialObject(celestialID, cData))
#define sConfig
A macro for easier access to the singleton.
virtual void EncodeDestiny(Buffer &into)
virtual bool IsWormholeSE()
AnomalySE(CelestialObjectRef self, PyServiceMgr &services, SystemManager *system)
static CelestialObjectRef Load(uint32 celestialID)
#define _log(type, fmt,...)
static uint32 CreateItemID(ItemData &data)
virtual const CelestialSE * GetCelestialSE()
CelestialObjectData(double _radius=0.0, double _security=0.0, uint8 _celestialIndex=0, uint8 _orbitIndex=0)
virtual bool IsCelestialSE()
static RefPtr< _Ty > _LoadItem(uint32 celestialID, const ItemType &type, const ItemData &data)
static CelestialObjectRef Spawn(ItemData &data)
uint8 celestialIndex() const
RefPtr< CelestialObject > CelestialObjectRef
CelestialObject(uint32 _celestialID, const ItemType &_type, const ItemData &_data)
virtual AnomalySE * GetAnomalySE()
const ItemType & type() const
Generic class for buffers.
PyTuple * MakeDamageState()
virtual WormholeSE * GetWormholeSE()
virtual PyDict * MakeSlimItem()
virtual bool IsAnomalySE()
WormholeSE(CelestialObjectRef self, PyServiceMgr &services, SystemManager *system)
CelestialSE(InventoryItemRef self, PyServiceMgr &services, SystemManager *system)
virtual void EncodeDestiny(Buffer &into)
virtual PyDict * MakeSlimItem()
virtual ~CelestialObject()
Reference-counting-based smart pointer.