TrinityCore
Loading...
Searching...
No Matches
Battlenet::Services::V2::Account Class Reference

#include <AccountService.h>

+ Inheritance diagram for Battlenet::Services::V2::Account:

Public Member Functions

 Account (Session *session)
 
uint32 HandleGetAccountInfo (account::v2::client::GetAccountInfoRequest const *request, account::v2::client::GetAccountInfoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleGetRestriction (account::v2::client::GetRestrictionRequest const *request, account::v2::client::GetRestrictionResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleGetGameAccountInfo (account::v2::client::GetGameAccountInfoRequest const *request, account::v2::client::GetGameAccountInfoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
uint32 HandleGetGameAccountRestriction (account::v2::client::GetGameAccountRestrictionRequest const *request, account::v2::client::GetGameAccountRestrictionResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) override
 
- Public Member Functions inherited from Battlenet::Service< account::v2::client::AccountService >
 Service (Session *session)
 

Private Types

typedef Service< account::v2::client::AccountService > AccountService
 

Additional Inherited Members

- Protected Member Functions inherited from Battlenet::Service< account::v2::client::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 serviceHash, uint32 methodId, uint32 token, uint32 status) override
 
void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response) override
 
std::string GetCallerInfo () const override
 
- Protected Member Functions inherited from Battlenet::ServiceBaseCaller
 ServiceBaseCaller (Session *session)
 
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> &&callback)
 
void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request)
 
void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, uint32 status)
 
void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response)
 
std::string GetCallerInfo () const
 
- Protected Attributes inherited from Battlenet::ServiceBaseCaller
Session * _session
 

Detailed Description

Definition at line 43 of file AccountService.h.

Member Typedef Documentation

◆ AccountService

typedef Service<account::v2::client::AccountService> Battlenet::Services::V2::Account::AccountService
private

Definition at line 45 of file AccountService.h.

Constructor & Destructor Documentation

◆ Account()

Battlenet::Services::V2::Account::Account ( Session *  session)

Definition at line 82 of file AccountService.cpp.

Member Function Documentation

◆ HandleGetAccountInfo()

uint32 Battlenet::Services::V2::Account::HandleGetAccountInfo ( account::v2::client::GetAccountInfoRequest const *  request,
account::v2::client::GetAccountInfoResponse *  response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

◆ HandleGetGameAccountInfo()

uint32 Battlenet::Services::V2::Account::HandleGetGameAccountInfo ( account::v2::client::GetGameAccountInfoRequest const *  request,
account::v2::client::GetGameAccountInfoResponse *  response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

◆ HandleGetGameAccountRestriction()

uint32 Battlenet::Services::V2::Account::HandleGetGameAccountRestriction ( account::v2::client::GetGameAccountRestrictionRequest const *  request,
account::v2::client::GetGameAccountRestrictionResponse *  response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

◆ HandleGetRestriction()

uint32 Battlenet::Services::V2::Account::HandleGetRestriction ( account::v2::client::GetRestrictionRequest const *  request,
account::v2::client::GetRestrictionResponse *  response,
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &  continuation 
)
override

Definition at line 98 of file AccountService.cpp.

References ERROR_OK.


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