![]() |
TrinityCore
|
#include <Session.h>
Classes | |
| struct | AccountInfo |
| struct | GameAccountInfo |
| struct | LastPlayedCharacterInfo |
Protected Member Functions | |
| void | HandshakeHandler (boost::system::error_code const &error) |
| void | ReadHandler () override |
| bool | ReadHeaderLengthHandler () |
| bool | ReadHeaderHandler () |
| bool | ReadDataHandler () |
Protected Member Functions inherited from Socket< Session, SslSocket< SslContext > > | |
| virtual void | OnClose () |
| bool | AsyncProcessQueue () |
| void | SetNoDelay (bool enable) |
| SslSocket< SslContext > & | underlying_stream () |
Private Types | |
| typedef Socket< Session, SslSocket< SslContext > > | BattlenetSocket |
| typedef uint32(Session::* | ClientRequestHandler )(std::unordered_map< std::string, Variant const * > const &, game_utilities::v1::ClientResponse *) |
Private Member Functions | |
| void | AsyncWrite (MessageBuffer *packet) |
| void | AsyncHandshake () |
| void | CheckIpCallback (PreparedQueryResult result) |
| uint32 | GetRealmListTicket (std::unordered_map< std::string, Variant const * > const ¶ms, game_utilities::v1::ClientResponse *response) |
| uint32 | GetLastCharPlayed (std::unordered_map< std::string, Variant const * > const ¶ms, game_utilities::v1::ClientResponse *response) |
| uint32 | GetRealmList (std::unordered_map< std::string, Variant const * > const ¶ms, game_utilities::v1::ClientResponse *response) |
| uint32 | JoinRealm (std::unordered_map< std::string, Variant const * > const ¶ms, game_utilities::v1::ClientResponse *response) |
Private Attributes | |
| MessageBuffer | _headerLengthBuffer |
| MessageBuffer | _headerBuffer |
| MessageBuffer | _packetBuffer |
| std::unique_ptr< AccountInfo > | _accountInfo |
| GameAccountInfo * | _gameAccountInfo |
| std::string | _locale |
| std::string | _os |
| uint32 | _build |
| std::string | _ipCountry |
| std::array< uint8, 32 > | _clientSecret |
| bool | _authed |
| PreparedQueryResultFuture | _queryFuture |
| std::function< void(PreparedQueryResult)> | _queryCallback |
| std::unordered_map< uint32, std::function< void(MessageBuffer)> > | _responseCallbacks |
| uint32 | _requestToken |
Static Private Attributes | |
| static std::unordered_map < std::string, ClientRequestHandler > const | ClientRequestHandlers |
|
private |
|
private |
|
explicit |
Here is the call graph for this function:
|
private |
Here is the call graph for this function:
|
private |
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| std::string Battlenet::Session::GetClientInfo | ( | ) | const |
Here is the caller graph for this function:
|
inline |
|
private |
Here is the call graph for this function:
|
private |
Here is the call graph for this function:
|
private |
Here is the call graph for this function:| uint32 Battlenet::Session::HandleGetAccountState | ( | account::v1::GetAccountStateRequest const * | request, |
| account::v1::GetAccountStateResponse * | response | ||
| ) |
Here is the call graph for this function:| uint32 Battlenet::Session::HandleGetAllValuesForAttribute | ( | game_utilities::v1::GetAllValuesForAttributeRequest const * | request, |
| game_utilities::v1::GetAllValuesForAttributeResponse * | response | ||
| ) |
Here is the call graph for this function:| uint32 Battlenet::Session::HandleGetGameAccountState | ( | account::v1::GetGameAccountStateRequest const * | request, |
| account::v1::GetGameAccountStateResponse * | response | ||
| ) |
Here is the call graph for this function:| uint32 Battlenet::Session::HandleLogon | ( | authentication::v1::LogonRequest const * | logonRequest | ) |
Here is the call graph for this function:| uint32 Battlenet::Session::HandleProcessClientRequest | ( | game_utilities::v1::ClientRequest const * | request, |
| game_utilities::v1::ClientResponse * | response | ||
| ) |
Here is the call graph for this function:| uint32 Battlenet::Session::HandleVerifyWebCredentials | ( | authentication::v1::VerifyWebCredentialsRequest const * | verifyWebCredentialsRequest | ) |
Here is the call graph for this function:
|
protected |
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
|
protected |
Here is the call graph for this function:
|
overrideprotectedvirtual |
Implements Socket< Session, SslSocket< SslContext > >.
Here is the call graph for this function:
|
protected |
Here is the call graph for this function:
|
protected |
Here is the call graph for this function:
|
inline |
| void Battlenet::Session::SendRequest | ( | uint32 | serviceHash, |
| uint32 | methodId, | ||
| pb::Message const * | request | ||
| ) |
Here is the call graph for this function:| void Battlenet::Session::SendResponse | ( | uint32 | token, |
| pb::Message const * | response | ||
| ) |
Here is the call graph for this function:
Here is the call graph for this function:
|
overridevirtual |
Implements Socket< Session, SslSocket< SslContext > >.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Socket< Session, SslSocket< SslContext > >.
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
1.8.8