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


Public Member Functions | |
| PyTuple * | GetStationExtraInfo () |
| PyObject * | GetPseudoSecurities () |
Public Member Functions inherited from Singleton< MapData > | |
| Singleton () | |
| Primary constructor. More... | |
Private Attributes | |
| PyTuple * | m_stationExtraInfo |
| PyObject * | m_pseudoSecurities |
| std::multimap< uint32, uint32 > | m_regionJumps |
| std::multimap< uint32, uint32 > | m_constJumps |
| std::multimap< uint32, uint32 > | m_systemJumps |
MapData.cpp | |
a group of methods and functions to get map info. this is mostly used for getting random points in system, system jumps, and misc mission destination info
| |
| MapData () | |
| ~MapData () | |
| int | Initialize () |
| void | Clear () |
| void | Close () |
| void | GetInfo () |
| void | GetMissionDestination (Agent *pAgent, uint8 misionType, MissionOffer &offer) |
| void | Populate () |
Additional Inherited Members | |
Static Public Member Functions inherited from Singleton< MapData > | |
| static MapData & | get () |
Static Protected Attributes inherited from Singleton< MapData > | |
| static std::shared_ptr< MapData > | mInstance |
| MapData::MapData | ( | ) |
Definition at line 20 of file MapData.cpp.
References m_constJumps, m_regionJumps, and m_systemJumps.
| MapData::~MapData | ( | ) |
Definition at line 29 of file MapData.cpp.
| void MapData::Clear | ( | ) |
Definition at line 46 of file MapData.cpp.
References m_constJumps, m_regionJumps, and m_systemJumps.
| void MapData::Close | ( | ) |
Definition at line 33 of file MapData.cpp.
References m_pseudoSecurities, m_stationExtraInfo, and PySafeDecRef.
| void MapData::GetInfo | ( | ) |
Definition at line 53 of file MapData.cpp.
| void MapData::GetMissionDestination | ( | Agent * | pAgent, |
| uint8 | misionType, | ||
| MissionOffer & | offer | ||
| ) |
Definition at line 95 of file MapData.cpp.
References _log, Mission::Type::Anomic, Mission::Type::Arc, Mission::Type::Burner, StationData::corporationID, Mission::Type::Cosmos, Mission::Type::Courier, Mission::Type::Data, MissionOffer::destinationID, MissionOffer::destinationOwnerID, MissionOffer::destinationSystemID, MissionOffer::destinationTypeID, MissionOffer::dungeonLocationID, MissionOffer::dungeonSolarSystemID, Mission::Type::Encounter, Agent::GetLevel(), Agent::GetStationID(), Agent::GetSystemID(), IsEven(), m_systemJumps, MakeRandomInt(), Corp::ActivityType::Mining, Agents::Range::NearestCareerHub, Agents::Range::NearestEnemyCombatZone, Agents::Range::NeighboringConstellation, Agents::Range::NeighboringConstellationSameRegion, Agents::Range::NeighboringSystem, Agents::Range::NeighboringSystemSameConstellation, MissionOffer::range, Agents::Type::Research, Agents::Range::SameConstellation, Agents::Range::SameOrNeighboringConstellation, Agents::Range::SameOrNeighboringConstellationSameRegion, Agents::Range::SameOrNeighboringSystem, Agents::Range::SameOrNeighboringSystemSameConstellation, Agents::Range::SameSystem, sDataMgr, ship, stDataMgr, Mission::Type::Storyline, StationData::systemID, Mission::Type::Trade, Agents::Type::Tutorial, and StationData::typeID.

|
inline |
|
inline |
| int MapData::Initialize | ( | ) |
Definition at line 39 of file MapData.cpp.
References Populate(), and sLog.

|
protected |
Definition at line 59 of file MapData.cpp.
References Map::Jumptype::Constellation, DBResultRow::GetInt(), MapDB::GetPseudoSecurities(), DBQueryResult::GetRow(), MapDB::GetStationExtraInfo(), MapDB::GetStationOpServices(), MapDB::GetStationServiceInfo(), MapDB::GetSystemJumps(), GetTimeMSeconds(), PyTuple::items, m_constJumps, m_pseudoSecurities, m_regionJumps, m_stationExtraInfo, m_systemJumps, Map::Jumptype::Region, SafeDelete(), and sLog.
Referenced by Initialize().


Definition at line 48 of file MapData.h.
Referenced by Clear(), MapData(), and Populate().
|
private |
Definition at line 45 of file MapData.h.
Referenced by Close(), GetPseudoSecurities(), and Populate().
Definition at line 47 of file MapData.h.
Referenced by Clear(), MapData(), and Populate().
|
private |
Definition at line 44 of file MapData.h.
Referenced by Close(), GetStationExtraInfo(), and Populate().
Definition at line 49 of file MapData.h.
Referenced by Clear(), GetMissionDestination(), MapData(), and Populate().