EvEmu
0.8.4
11 September 2021
|
#include "CertificateMgrDB.h"
Public Member Functions | |
PyRep * | GetMyCertificates (uint32 characterID) |
PyRep * | GetCertificateCategories () |
PyRep * | GetAllShipCertificateRecommendations () |
PyRep * | GetCertificateClasses () |
bool | LoadCertificates (uint32 characterID, CertMap &into) |
bool | SaveCertificates (uint32 characterID, const CertMap &from) |
void | AddCertificate (uint32 charID, CharCerts cert) |
void | UpdateCertificate (uint32 charID, uint32 certificateID, bool pub=false) |
![]() | |
uint32 | GetStationOwner (uint32 stationID) |
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) |
![]() | |
void | ProcessStringChange (const char *key, const std::string &oldValue, std::string newValue, PyDict *notif, std::vector< std::string > &dbQ) |
void | ProcessRealChange (const char *key, double oldValue, double newValue, PyDict *notif, std::vector< std::string > &dbQ) |
void | ProcessIntChange (const char *key, uint32 oldValue, uint32 newValue, PyDict *notif, std::vector< std::string > &dbQ) |
void | ProcessLongChange (const char *key, int64 oldValue, int64 newValue, PyDict *notif, std::vector< std::string > &dbQ) |
![]() | |
static uint32 | CreateNewAccount (const char *login, const char *pass, const char *passHash, int64 role) |
Definition at line 33 of file CertificateMgrDB.h.
Definition at line 74 of file CertificateMgrDB.cpp.
References _log, DBerror::c_str(), CharCerts::certificateID, CharCerts::grantDate, sDatabase, and CharCerts::visibilityFlags.
Referenced by Character::GrantCertificate().
PyRep * CertificateMgrDB::GetAllShipCertificateRecommendations | ( | ) |
Definition at line 53 of file CertificateMgrDB.cpp.
References DBerror::c_str(), codelog, DBResultToRowset(), DBQueryResult::error, PyStatic, and sDatabase.
PyRep * CertificateMgrDB::GetCertificateCategories | ( | ) |
Definition at line 43 of file CertificateMgrDB.cpp.
References DBerror::c_str(), codelog, DBResultToIndexRowset(), DBQueryResult::error, PyStatic, and sDatabase.
PyRep * CertificateMgrDB::GetCertificateClasses | ( | ) |
Definition at line 63 of file CertificateMgrDB.cpp.
References DBerror::c_str(), codelog, DBResultToIntRowDict(), DBQueryResult::error, PyStatic, and sDatabase.
Definition at line 92 of file CertificateMgrDB.cpp.
References _log, DBerror::c_str(), CharCerts::certificateID, DBQueryResult::error, DBResultRow::GetBool(), DBResultRow::GetInt64(), DBQueryResult::GetRow(), DBResultRow::GetUInt(), CharCerts::grantDate, sDatabase, and CharCerts::visibilityFlags.
Referenced by Character::_Load().
Definition at line 112 of file CertificateMgrDB.cpp.
References _log, DBerror::c_str(), and sDatabase.
Referenced by Character::SaveCertificates().
Definition at line 83 of file CertificateMgrDB.cpp.
References _log, DBerror::c_str(), and sDatabase.
Referenced by Character::UpdateCertificate().