|
EvEmu
0.8.4
11 September 2021
|
#include "DungeonMgr.h"


Public Member Functions | |
| ~DungeonDataMgr () | |
| uint32 | GetDungeonID () |
Public Member Functions inherited from Singleton< DungeonDataMgr > | |
| Singleton () | |
| Primary constructor. More... | |
Public Attributes | |
| ActiveDungeonDef | activeDungeons |
| DunEntryDef | entrys |
| DunRoomsDef | rooms |
| DunGroupsDef | groups |
Protected Types | |
| typedef std::map< uint32, Dungeon::Template > | DunTemplateDef |
| typedef std::unordered_multimap < uint32, Dungeon::ActiveData > | ActiveDungeonDef |
| typedef std::unordered_multimap < uint32, Dungeon::RoomData > | DunRoomsDef |
| typedef std::unordered_multimap < uint32, Dungeon::EntryData > | DunEntryDef |
| typedef std::unordered_multimap < uint32, Dungeon::GroupData > | DunGroupsDef |
Protected Attributes | |
| DunTemplateDef | templates |
Private Attributes | |
| uint32 | m_dungeonID |
DungeonMgr.cpp | |
Dungeon management system for EVEmu : Allan
| |
| DungeonDataMgr () | |
| int | Initialize () |
| void | AddDungeon (Dungeon::ActiveData &dungeon) |
| void | GetDungeons (std::vector< Dungeon::ActiveData > &dunList) |
| bool | GetTemplate (uint32 templateID, Dungeon::Template &dTemplate) |
| const char * | GetDungeonType (int8 typeID) |
| void | Populate () |
Additional Inherited Members | |
Static Public Member Functions inherited from Singleton< DungeonDataMgr > | |
| static DungeonDataMgr & | get () |
Static Protected Attributes inherited from Singleton< DungeonDataMgr > | |
| static std::shared_ptr < DungeonDataMgr > | mInstance |
Definition at line 37 of file DungeonMgr.h.
|
protected |
Definition at line 58 of file DungeonMgr.h.
|
protected |
Definition at line 60 of file DungeonMgr.h.
|
protected |
Definition at line 61 of file DungeonMgr.h.
|
protected |
Definition at line 59 of file DungeonMgr.h.
|
protected |
Definition at line 57 of file DungeonMgr.h.
| DungeonDataMgr::DungeonDataMgr | ( | ) |
|
inline |
Definition at line 42 of file DungeonMgr.h.
| void DungeonDataMgr::AddDungeon | ( | Dungeon::ActiveData & | dungeon | ) |
Definition at line 120 of file DungeonMgr.cpp.
References _log, activeDungeons, Dungeon::ActiveData::dunItemID, Dungeon::ActiveData::dunTemplateID, and Dungeon::ActiveData::systemID.
|
inline |
| void DungeonDataMgr::GetDungeons | ( | std::vector< Dungeon::ActiveData > & | dunList | ) |
| const char * DungeonDataMgr::GetDungeonType | ( | int8 | typeID | ) |
Definition at line 143 of file DungeonMgr.cpp.
References Dungeon::Type::Anomaly, Dungeon::Type::Escalation, Dungeon::Type::Gravimetric, Dungeon::Type::Ladar, Dungeon::Type::Magnetometric, Dungeon::Type::Mission, Dungeon::Type::Radar, Dungeon::Type::Rated, Dungeon::Type::Unrated, and Dungeon::Type::Wormhole.
| bool DungeonDataMgr::GetTemplate | ( | uint32 | templateID, |
| Dungeon::Template & | dTemplate | ||
| ) |
| int DungeonDataMgr::Initialize | ( | ) |
Definition at line 28 of file DungeonMgr.cpp.
References ManagerDB::ClearDungeons(), Populate(), and sLog.

|
private |
Definition at line 38 of file DungeonMgr.cpp.
References Dungeon::Template::dunEntryID, Dungeon::RoomData::dunGroupID, Dungeon::Template::dunName, Dungeon::Template::dunRoomID, Dungeon::Template::dunSpawnClass, entrys, ManagerDB::GetDunEntryData(), ManagerDB::GetDunGroupData(), ManagerDB::GetDunRoomData(), ManagerDB::GetDunTemplates(), DBResultRow::GetInt(), DBQueryResult::GetRow(), DBResultRow::GetText(), GetTimeMSeconds(), groups, Dungeon::GroupData::radius, rooms, SafeDelete(), sLog, templates, Dungeon::GroupData::typeCatID, Dungeon::GroupData::typeGrpID, Dungeon::GroupData::typeID, Dungeon::GroupData::typeName, Dungeon::RoomData::x, Dungeon::GroupData::x, Dungeon::EntryData::x, Dungeon::RoomData::y, Dungeon::GroupData::y, Dungeon::EntryData::y, Dungeon::RoomData::z, Dungeon::GroupData::z, and Dungeon::EntryData::z.
Referenced by Initialize().


| ActiveDungeonDef DungeonDataMgr::activeDungeons |
Definition at line 66 of file DungeonMgr.h.
Referenced by AddDungeon(), and GetDungeons().
| DunEntryDef DungeonDataMgr::entrys |
Definition at line 67 of file DungeonMgr.h.
Referenced by Populate().
| DunGroupsDef DungeonDataMgr::groups |
Definition at line 69 of file DungeonMgr.h.
Referenced by Populate().
|
private |
Definition at line 74 of file DungeonMgr.h.
Referenced by DungeonDataMgr(), and GetDungeonID().
| DunRoomsDef DungeonDataMgr::rooms |
Definition at line 68 of file DungeonMgr.h.
Referenced by Populate().
|
protected |
Definition at line 63 of file DungeonMgr.h.
Referenced by GetTemplate(), and Populate().