EvEmu
0.8.4
11 September 2021
|
#include "SearchDB.h"
Public Member Functions | |
PyRep * | Query (std::string string, std::vector< int > *searchID, uint32 charID) |
PyRep * | QuickQuery (std::string string, std::vector< int > *searchID, uint32 charID, bool hideNPC=false, bool onlyAltName=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 50 of file SearchDB.h.
search runs thru these types...even inventory (type 10) searchResultAgent = 1 searchResultCharacter = 2 searchResultCorporation = 3 searchResultAlliance = 4 searchResultFaction = 5 searchResultConstellation = 6 searchResultSolarSystem = 7 searchResultRegion = 8 searchResultStation = 9 searchResultInventoryType = 10 searchResultAllOwners = [1, 2, 3, 4, 5] searchResultAllLocations = [6, 7, 8, 9] searchMaxResults = 500 searchMinWildcardLength = 3
Definition at line 47 of file SearchDB.cpp.
References DBResultToIntIntDict(), DBQueryResult::GetRowCount(), sDatabase, and PyDict::SetItem().
PyRep * SearchDB::QuickQuery | ( | std::string | string, |
std::vector< int > * | searchID, | ||
uint32 | charID, | ||
bool | hideNPC = false , |
||
bool | onlyAltName = false |
||
) |
Definition at line 150 of file SearchDB.cpp.
References PyList::AddItem(), DBQueryResult::GetRow(), DBResultRow::GetUInt(), and sDatabase.