TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Battlenet::Services::Account Class Reference

#include <AccountService.h>

Public Member Functions

 Account (Session *session)
 
uint32 HandleGetAccountState (account::v1::GetAccountStateRequest const *request, account::v1::GetAccountStateResponse *response) override
 
uint32 HandleGetGameAccountState (account::v1::GetGameAccountStateRequest const *request, account::v1::GetGameAccountStateResponse *response) override
 
- Public Member Functions inherited from Battlenet::Service< account::v1::AccountService >
 Service (Session *session)
 

Private Types

typedef Service
< account::v1::AccountService
AccountService
 

Additional Inherited Members

- Protected Member Functions inherited from Battlenet::Service< account::v1::AccountService >
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> callback) override
 
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request) override
 
void SendResponse (uint32, uint32, uint32 token, uint32 status) override
 
void SendResponse (uint32, uint32, uint32 token, google::protobuf::Message const *response) override
 
std::string GetCallerInfo () const override
 
- Protected Attributes inherited from Battlenet::Service< account::v1::AccountService >
Session_session
 

Member Typedef Documentation

Constructor & Destructor Documentation

Battlenet::Services::Account::Account ( Session session)
21  : AccountService(session)
22 {
23 }
Service< account::v1::AccountService > AccountService
Definition: AccountService.h:33

Member Function Documentation

uint32 Battlenet::Services::Account::HandleGetAccountState ( account::v1::GetAccountStateRequest const request,
account::v1::GetAccountStateResponse response 
)
override
26 {
27  return _session->HandleGetAccountState(request, response);
28 }
uint32 HandleGetAccountState(account::v1::GetAccountStateRequest const *request, account::v1::GetAccountStateResponse *response)
Definition: Session.cpp:319
Session * _session
Definition: Service.h:41
uint32 Battlenet::Services::Account::HandleGetGameAccountState ( account::v1::GetGameAccountStateRequest const request,
account::v1::GetGameAccountStateResponse response 
)
override
31 {
32  return _session->HandleGetGameAccountState(request, response);
33 }
uint32 HandleGetGameAccountState(account::v1::GetGameAccountStateRequest const *request, account::v1::GetGameAccountStateResponse *response)
Definition: Session.cpp:336
Session * _session
Definition: Service.h:41

The documentation for this class was generated from the following files: