EvEmu
0.8.4
11 September 2021
|
??? More...
#include "APICharacterManager.h"
Public Member Functions | |
APICharacterManager (const PyServiceMgr &services) | |
std::tr1::shared_ptr< std::string > | ProcessCall (const APICommandCall *pAPICommandCall) |
![]() | |
APIServiceManager (const PyServiceMgr &services) | |
PyServiceMgr & | services () |
std::tr1::shared_ptr< std::string > | BuildErrorXMLResponse (std::string errorCode, std::string errorMessage) |
Protected Member Functions | |
std::tr1::shared_ptr< std::string > | _CharacterSheet (const APICommandCall *pAPICommandCall) |
std::tr1::shared_ptr< std::string > | _SkillQueue (const APICommandCall *pAPICommandCall) |
std::tr1::shared_ptr< std::string > | _SkillInTraining (const APICommandCall *pAPICommandCall) |
![]() | |
bool | _AuthenticateUserNamePassword (std::string userName, std::string password) |
bool | _AuthenticateFullAPIQuery (std::string userID, std::string apiKey) |
bool | _AuthenticateLimitedAPIQuery (std::string userID, std::string apiKey) |
void | _BuildXMLHeader () |
void | _CloseXMLHeader (uint32 cacheStyle) |
void | _BuildXMLRowSet (std::string name, std::string key, const std::vector< std::string > *columns) |
void | _CloseXMLRowSet () |
void | _BuildXMLRow (const std::vector< std::string > *columns) |
void | _BuildXMLTag (std::string name) |
void | _BuildXMLTag (std::string name, const std::vector< std::pair< std::string, std::string > > *params) |
void | _BuildXMLTag (std::string name, const std::vector< std::pair< std::string, std::string > > *params, std::string value) |
void | _CloseXMLTag () |
void | _BuildSingleXMLTag (std::string name, std::string param) |
void | _BuildErrorXMLTag (std::string code, std::string param) |
std::tr1::shared_ptr< std::string > | _GetXMLDocumentString () |
Protected Attributes | |
APICharacterDB | m_charDB |
![]() | |
APIServiceDB | m_db |
PyServiceMgr | m_services |
TiXmlDocument | _XmlDoc |
TiXmlElement * | _pXmlDocOuterTag |
std::string | _CurrentRowSetColumnString |
std::stack< TiXmlElement * > * | _pXmlElementStack |
APICharacterManager::APICharacterManager | ( | const PyServiceMgr & | services | ) |
Definition at line 31 of file APICharacterManager.cpp.
|
protected |
Definition at line 65 of file APICharacterManager.cpp.
References APIServiceManager::_BuildSingleXMLTag(), APIServiceManager::_BuildXMLHeader(), APIServiceManager::_BuildXMLRow(), APIServiceManager::_BuildXMLRowSet(), APIServiceManager::_BuildXMLTag(), APIServiceManager::_CloseXMLHeader(), APIServiceManager::_CloseXMLRowSet(), APIServiceManager::_CloseXMLTag(), APIServiceManager::_GetXMLDocumentString(), AttrCharisma, AttrIntelligence, AttrMemory, AttrPerception, AttrWillpower, APIServiceManager::BuildErrorXMLResponse(), APICharacterDB::GetCharacterAttributes(), APICharacterDB::GetCharacterInfo(), APICharacterDB::GetCharacterSkillsTrained(), itoa(), EVEAPI::CacheStyles::Long, m_charDB, sLog, strtoull, and Win32TimeToString().
Referenced by ProcessCall().
|
protected |
Definition at line 356 of file APICharacterManager.cpp.
References APIServiceManager::_BuildSingleXMLTag(), APIServiceManager::_BuildXMLHeader(), APIServiceManager::_BuildXMLTag(), APIServiceManager::_CloseXMLHeader(), APIServiceManager::_CloseXMLTag(), APIServiceManager::_GetXMLDocumentString(), AttrCharisma, AttrIntelligence, AttrMemory, AttrPerception, AttrWillpower, APIServiceManager::BuildErrorXMLResponse(), EvilNumber::get_int(), APICharacterDB::GetCharacterAttributes(), APICharacterDB::GetCharacterSkillQueue(), itoa(), m_charDB, EVEAPI::CacheStyles::Modified, sLog, and Win32TimeToString().
Referenced by ProcessCall().
|
protected |
Definition at line 230 of file APICharacterManager.cpp.
References APIServiceManager::_BuildXMLHeader(), APIServiceManager::_BuildXMLRow(), APIServiceManager::_BuildXMLRowSet(), APIServiceManager::_BuildXMLTag(), APIServiceManager::_CloseXMLHeader(), APIServiceManager::_CloseXMLRowSet(), APIServiceManager::_CloseXMLTag(), APIServiceManager::_GetXMLDocumentString(), AttrCharisma, AttrIntelligence, AttrMemory, AttrPerception, AttrWillpower, APIServiceManager::BuildErrorXMLResponse(), EvilNumber::get_int(), APICharacterDB::GetCharacterAttributes(), APICharacterDB::GetCharacterSkillQueue(), itoa(), m_charDB, EVEAPI::CacheStyles::Modified, sLog, and Win32TimeToString().
Referenced by ProcessCall().
|
virtual |
Reimplemented from APIServiceManager.
Definition at line 36 of file APICharacterManager.cpp.
References _CharacterSheet(), _SkillInTraining(), _SkillQueue(), APIServiceManager::BuildErrorXMLResponse(), and sLog.
|
protected |
Definition at line 55 of file APICharacterManager.h.
Referenced by _CharacterSheet(), _SkillInTraining(), and _SkillQueue().