EvEmu
0.8.4
11 September 2021
|
#include "ObjCacheDB.h"
Public Member Functions | |
ObjCacheDB () | |
PyRep * | GetCachableObject (const std::string &type) |
![]() | |
uint32 | GetStationOwner (uint32 stationID) |
Protected Types | |
typedef PyRep *(ObjCacheDB::* | genFunc )() |
Protected Attributes | |
std::map< std::string, genFunc > | m_generators |
Additional Inherited Members | |
![]() | |
static bool | GetAccountInformation (CryptoChallengePacket &ccp, AccountData &aData, std::string &failMsg) |
static bool | UpdateAccountHash (const char *username, std::string &hash) |
static bool | IncrementLoginCount (uint32 accountID) |
static void | UpdatePassword (uint32 accountID, const char *pass) |
static void | SaveKillOrLoss (CharKillData &data) |
static bool | GetConstant (const char *name, uint32 &into) |
static void | SetServerOnlineStatus (bool online=false) |
static void | SetCharacterOnlineStatus (uint32 char_id, bool online=false) |
static void | SetAccountOnlineStatus (uint32 accountID, bool online=false) |
static void | SetAccountBanStatus (uint32 accountID, bool banned=false) |
static void | SaveServerStats (double threads, float rss, float vm, float user, float kernel, uint32 items, uint32 bubbles) |
static uint32 | SetClientSeed () |
static PyRep * | LookupChars (const char *match, bool exact=false) |
static PyRep * | LookupOwners (const char *match, bool exact=false) |
static PyRep * | LookupCorporations (const std::string &) |
static PyRep * | LookupFactions (const std::string &) |
static PyRep * | LookupCorporationTickers (const std::string &) |
static PyRep * | LookupStations (const std::string &) |
static PyRep * | LookupKnownLocationsByGroup (const std::string &, uint32) |
static PyRep * | PrimeOwners (std::vector< int32 > &itemIDs) |
static bool | ValidateAccountName (CryptoChallengePacket &ccp, std::string &failMsg) |
static void | GetCorpHangarNames (uint32 corpID, std::map< uint8, std::string > &hangarNames) |
![]() | |
static uint32 | CreateNewAccount (const char *login, const char *pass, const char *passHash, int64 role) |
Definition at line 34 of file ObjCacheDB.h.
|
protected |
Definition at line 43 of file ObjCacheDB.h.
ObjCacheDB::ObjCacheDB | ( | ) |
Definition at line 31 of file ObjCacheDB.cpp.
References Generate_a_accessories(), Generate_a_backgrounds(), Generate_a_beards(), Generate_a_costumes(), Generate_a_decos(), Generate_a_eyebrows(), Generate_a_eyes(), Generate_a_hairs(), Generate_a_lights(), Generate_a_lipsticks(), Generate_a_makeups(), Generate_a_skins(), Generate_AllianceShortnames(), Generate_BillTypes(), Generate_bl_accessories(), Generate_bl_backgrounds(), Generate_bl_beards(), Generate_bl_costumes(), Generate_bl_decos(), Generate_bl_eyebrows(), Generate_bl_eyes(), Generate_bl_hairs(), Generate_bl_lights(), Generate_bl_lipsticks(), Generate_bl_makeups(), Generate_bl_skins(), Generate_BloodlineNames(), Generate_c_chrAncestries(), Generate_c_chrAttributes(), Generate_c_chrBloodlines(), Generate_c_chrRaces(), Generate_c_chrSchools(), Generate_cacheLocations(), Generate_cacheOwners(), Generate_certificateRelationships(), Generate_certificates(), Generate_CharNewExtraCareers(), Generate_CharNewExtraCareerSkills(), Generate_CharNewExtraRaceSkills(), Generate_CharNewExtraSpecialities(), Generate_CharNewExtraSpecialitySkills(), Generate_chrAttributes(), Generate_chrBloodlines(), Generate_chrRaces(), Generate_dgmAttribs(), Generate_dgmEffects(), Generate_dgmExpressions(), Generate_dgmTypeAttribs(), Generate_dgmTypeEffects(), Generate_eveBulkDataUnits(), Generate_eveGraphics(), Generate_eveStaticLocations(), Generate_eveStaticOwners(), Generate_eveUnits(), Generate_Icons(), Generate_invBlueprintTypes(), Generate_invCategories(), Generate_invContrabandTypes(), Generate_invFlags(), Generate_invGroups(), Generate_invMetaGroups(), Generate_invMetaTypes(), Generate_invShipTypes(), Generate_Invtypematerials(), Generate_invTypeReactions(), Generate_invTypes(), Generate_Locationscenes(), Generate_locationWormholeClasses(), Generate_mapCelestialDescriptions(), Generate_OverviewDefaultGroups(), Generate_OverviewDefaults(), Generate_Ownericons(), Generate_PaperdollColorNames(), Generate_PaperdollColorRestrictions(), Generate_PaperdollColors(), Generate_PaperdollModifierLocations(), Generate_PaperdollResources(), Generate_PaperdollSculptingLocations(), Generate_ramActivities(), Generate_ramALTypeCategory(), Generate_ramALTypeGroup(), Generate_ramALTypes(), Generate_ramCompletedStatuses(), Generate_ramTypeRequirements(), Generate_Schematics(), Generate_Schematicspinmap(), Generate_Schematicstypemap(), Generate_Sounds(), Generate_tickerNames(), and m_generators.
|
protected |
|
protected |
Definition at line 1153 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1141 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1201 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1177 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1117 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1093 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1105 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1129 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1165 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1225 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1189 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1213 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 422 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 410 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 949 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1045 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 985 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1081 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1057 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1069 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 997 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1033 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 961 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1009 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 1021 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 973 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 326 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 912 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 937 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 888 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 900 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 924 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 683 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 701 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 659 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 647 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 158 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 182 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 194 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 147 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 170 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 840 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToPackedRowList(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 780 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToPackedRowList(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 828 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToPackedRowList(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 497 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 482 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 510 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 458 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 470 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 804 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 744 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 864 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 816 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 792 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToPackedRowList(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 206 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 732 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 434 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 876 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 852 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToPackedRowList(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 635 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 523 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 768 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 671 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 230 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 446 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 756 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 314 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 720 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 611 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 278 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 302 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 218 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 362 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 350 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 338 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 386 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 398 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 374 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 535 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 561 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 547 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 575 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 587 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 599 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 266 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 290 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 254 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 242 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
|
protected |
Definition at line 623 of file ObjCacheDB.cpp.
References _log, DBerror::c_str(), DBResultToCRowset(), DBQueryResult::error, and sDatabase.
Referenced by ObjCacheDB().
PyRep * ObjCacheDB::GetCachableObject | ( | const std::string & | type | ) |
Definition at line 132 of file ObjCacheDB.cpp.
References _log, and m_generators.
Referenced by ObjCacheService::_LoadCachableObject().
|
protected |
Definition at line 44 of file ObjCacheDB.h.
Referenced by GetCachableObject(), and ObjCacheDB().