12 #ifndef EVEMU_SYSTEM_BELTMGR_H_
13 #define EVEMU_SYSTEM_BELTMGR_H_
15 #include <unordered_map>
54 void GetList(
uint32 beltID, std::vector< AsteroidSE* >& list);
62 void SpawnBelt(
uint16 bubbleID, std::unordered_multimap<float, uint16>& roidTypes,
int type = 0,
bool anomaly =
false);
64 void GetIceDist(
uint8 quarter,
float secStatus, std::unordered_multimap<float, uint16>& roidDist);
81 std::map<uint32, InventoryItemRef>
m_belts;
87 #endif // EVEMU_SYSTEM_BELTMGR_H_
std::map< uint32, bool > m_active
bool Load(uint16 bubbleID)
void Init(uint32 regionID)
void GetList(uint32 beltID, std::vector< AsteroidSE * > &list)
bool Create(CosmicSignature &sig, std::unordered_multimap< float, uint16 > &roidTypes)
bool IsActive(uint16 bubbleID)
std::map< uint32, InventoryItemRef > m_belts
PyServiceMgr & m_services
std::unordered_multimap< uint32, AsteroidSE * > m_asteroids
bool IsSpawned(uint16 bubbleID)
BeltMgr(SystemManager *mgr, PyServiceMgr &svc)
void SpawnBelt(uint16 bubbleID, std::unordered_multimap< float, uint16 > &roidTypes, int type=0, bool anomaly=false)
void ClearBelt(uint16 bubbleID)
void RemoveAsteroid(uint32 beltID, AsteroidSE *pASE)
void SetActive(uint16 bubbleID, bool active=true)
void SpawnAsteroid(uint32 beltID, uint32 typeID, double radius, const GPoint &position, bool ice=false)
std::map< uint32, bool > m_spawned
void RegisterBelt(InventoryItemRef itemRef)
uint32 GetAsteroidType(double p, const std::unordered_multimap< float, uint16 > &roids)
void GetIceDist(uint8 quarter, float secStatus, std::unordered_multimap< float, uint16 > &roidDist)
void CheckSpawn(uint16 bubbleID)