TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::game_utilities::v1::GameUtilitiesService Class Reference

#include <game_utilities_service.pb.h>

Public Types

typedef std::integral_constant
< uint32, 0x3FC1274Du > 
OriginalHash
 
typedef std::integral_constant
< uint32, 0x51923A28u > 
NameHash
 

Public Member Functions

 GameUtilitiesService (bool use_original_hash)
 
virtual ~GameUtilitiesService ()
 
void ProcessClientRequest (::bgs::protocol::game_utilities::v1::ClientRequest const *request, std::function< void(::bgs::protocol::game_utilities::v1::ClientResponse const *)> responseCallback)
 
void PresenceChannelCreated (::bgs::protocol::game_utilities::v1::PresenceChannelCreatedRequest const *request, std::function< void(::bgs::protocol::NoData const *)> responseCallback)
 
void GetPlayerVariables (::bgs::protocol::game_utilities::v1::GetPlayerVariablesRequest const *request, std::function< void(::bgs::protocol::game_utilities::v1::GetPlayerVariablesResponse const *)> responseCallback)
 
void ProcessServerRequest (::bgs::protocol::game_utilities::v1::ServerRequest const *request, std::function< void(::bgs::protocol::game_utilities::v1::ServerResponse const *)> responseCallback)
 
void OnGameAccountOnline (::bgs::protocol::game_utilities::v1::GameAccountOnlineNotification const *request)
 
void OnGameAccountOffline (::bgs::protocol::game_utilities::v1::GameAccountOfflineNotification const *request)
 
void GetAchievementsFile (::bgs::protocol::game_utilities::v1::GetAchievementsFileRequest const *request, std::function< void(::bgs::protocol::game_utilities::v1::GetAchievementsFileResponse const *)> responseCallback)
 
void GetAllValuesForAttribute (::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeRequest const *request, std::function< void(::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeResponse const *)> responseCallback)
 
void CallServerMethod (uint32 token, uint32 methodId, MessageBuffer buffer) overridefinal
 
- Public Member Functions inherited from ServiceBase
virtual ~ServiceBase ()
 

Static Public Member Functions

static
google::protobuf::ServiceDescriptor
const
descriptor ()
 

Protected Member Functions

virtual uint32 HandleProcessClientRequest (::bgs::protocol::game_utilities::v1::ClientRequest const *request,::bgs::protocol::game_utilities::v1::ClientResponse *response)
 
virtual uint32 HandlePresenceChannelCreated (::bgs::protocol::game_utilities::v1::PresenceChannelCreatedRequest const *request,::bgs::protocol::NoData *response)
 
virtual uint32 HandleGetPlayerVariables (::bgs::protocol::game_utilities::v1::GetPlayerVariablesRequest const *request,::bgs::protocol::game_utilities::v1::GetPlayerVariablesResponse *response)
 
virtual uint32 HandleProcessServerRequest (::bgs::protocol::game_utilities::v1::ServerRequest const *request,::bgs::protocol::game_utilities::v1::ServerResponse *response)
 
virtual uint32 HandleOnGameAccountOnline (::bgs::protocol::game_utilities::v1::GameAccountOnlineNotification const *request)
 
virtual uint32 HandleOnGameAccountOffline (::bgs::protocol::game_utilities::v1::GameAccountOfflineNotification const *request)
 
virtual uint32 HandleGetAchievementsFile (::bgs::protocol::game_utilities::v1::GetAchievementsFileRequest const *request,::bgs::protocol::game_utilities::v1::GetAchievementsFileResponse *response)
 
virtual uint32 HandleGetAllValuesForAttribute (::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeRequest const *request,::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeResponse *response)
 
- Protected Member Functions inherited from ServiceBase
virtual void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> callback)=0
 
virtual void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request)=0
 
virtual void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, uint32 status)=0
 
virtual void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response)=0
 
virtual std::string GetCallerInfo () const =0
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (GameUtilitiesService)
 

Private Attributes

uint32 service_hash_
 

Member Typedef Documentation

typedef std::integral_constant<uint32, 0x51923A28u> bgs::protocol::game_utilities::v1::GameUtilitiesService::NameHash
typedef std::integral_constant<uint32, 0x3FC1274Du> bgs::protocol::game_utilities::v1::GameUtilitiesService::OriginalHash

Constructor & Destructor Documentation

bgs::protocol::game_utilities::v1::GameUtilitiesService::GameUtilitiesService ( bool  use_original_hash)
explicit
virtual bgs::protocol::game_utilities::v1::GameUtilitiesService::~GameUtilitiesService ( )
virtual

Member Function Documentation

void bgs::protocol::game_utilities::v1::GameUtilitiesService::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finaloverridevirtual

Implements ServiceBase.

static google::protobuf::ServiceDescriptor const* bgs::protocol::game_utilities::v1::GameUtilitiesService::descriptor ( )
static
void bgs::protocol::game_utilities::v1::GameUtilitiesService::GetAchievementsFile ( ::bgs::protocol::game_utilities::v1::GetAchievementsFileRequest const request,
std::function< void(::bgs::protocol::game_utilities::v1::GetAchievementsFileResponse const *)>  responseCallback 
)
void bgs::protocol::game_utilities::v1::GameUtilitiesService::GetAllValuesForAttribute ( ::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeRequest const request,
std::function< void(::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeResponse const *)>  responseCallback 
)
void bgs::protocol::game_utilities::v1::GameUtilitiesService::GetPlayerVariables ( ::bgs::protocol::game_utilities::v1::GetPlayerVariablesRequest const request,
std::function< void(::bgs::protocol::game_utilities::v1::GetPlayerVariablesResponse const *)>  responseCallback 
)
bgs::protocol::game_utilities::v1::GameUtilitiesService::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( GameUtilitiesService  )
private
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleGetAchievementsFile ( ::bgs::protocol::game_utilities::v1::GetAchievementsFileRequest const request,
::bgs::protocol::game_utilities::v1::GetAchievementsFileResponse response 
)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleGetAllValuesForAttribute ( ::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeRequest const request,
::bgs::protocol::game_utilities::v1::GetAllValuesForAttributeResponse response 
)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleGetPlayerVariables ( ::bgs::protocol::game_utilities::v1::GetPlayerVariablesRequest const request,
::bgs::protocol::game_utilities::v1::GetPlayerVariablesResponse response 
)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleOnGameAccountOffline ( ::bgs::protocol::game_utilities::v1::GameAccountOfflineNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleOnGameAccountOnline ( ::bgs::protocol::game_utilities::v1::GameAccountOnlineNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandlePresenceChannelCreated ( ::bgs::protocol::game_utilities::v1::PresenceChannelCreatedRequest const request,
::bgs::protocol::NoData response 
)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleProcessClientRequest ( ::bgs::protocol::game_utilities::v1::ClientRequest const request,
::bgs::protocol::game_utilities::v1::ClientResponse response 
)
protectedvirtual
virtual uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::HandleProcessServerRequest ( ::bgs::protocol::game_utilities::v1::ServerRequest const request,
::bgs::protocol::game_utilities::v1::ServerResponse response 
)
protectedvirtual
void bgs::protocol::game_utilities::v1::GameUtilitiesService::OnGameAccountOffline ( ::bgs::protocol::game_utilities::v1::GameAccountOfflineNotification const request)
void bgs::protocol::game_utilities::v1::GameUtilitiesService::OnGameAccountOnline ( ::bgs::protocol::game_utilities::v1::GameAccountOnlineNotification const request)
void bgs::protocol::game_utilities::v1::GameUtilitiesService::PresenceChannelCreated ( ::bgs::protocol::game_utilities::v1::PresenceChannelCreatedRequest const request,
std::function< void(::bgs::protocol::NoData const *)>  responseCallback 
)
void bgs::protocol::game_utilities::v1::GameUtilitiesService::ProcessClientRequest ( ::bgs::protocol::game_utilities::v1::ClientRequest const request,
std::function< void(::bgs::protocol::game_utilities::v1::ClientResponse const *)>  responseCallback 
)
void bgs::protocol::game_utilities::v1::GameUtilitiesService::ProcessServerRequest ( ::bgs::protocol::game_utilities::v1::ServerRequest const request,
std::function< void(::bgs::protocol::game_utilities::v1::ServerResponse const *)>  responseCallback 
)

Member Data Documentation

uint32 bgs::protocol::game_utilities::v1::GameUtilitiesService::service_hash_
private

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