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

#include <resource_service.pb.h>

Public Types

typedef std::integral_constant
< uint32, 0xECBE75BAu > 
OriginalHash
 
typedef std::integral_constant
< uint32, 0x4B104C53u > 
NameHash
 

Public Member Functions

 ResourcesService (bool use_original_hash)
 
virtual ~ResourcesService ()
 
void GetContentHandle (::bgs::protocol::resources::v1::ContentHandleRequest const *request, std::function< void(::bgs::protocol::ContentHandle 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 HandleGetContentHandle (::bgs::protocol::resources::v1::ContentHandleRequest const *request,::bgs::protocol::ContentHandle *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 (ResourcesService)
 

Private Attributes

uint32 service_hash_
 

Member Typedef Documentation

typedef std::integral_constant<uint32, 0x4B104C53u> bgs::protocol::resources::v1::ResourcesService::NameHash
typedef std::integral_constant<uint32, 0xECBE75BAu> bgs::protocol::resources::v1::ResourcesService::OriginalHash

Constructor & Destructor Documentation

bgs::protocol::resources::v1::ResourcesService::ResourcesService ( bool  use_original_hash)
explicit
virtual bgs::protocol::resources::v1::ResourcesService::~ResourcesService ( )
virtual

Member Function Documentation

void bgs::protocol::resources::v1::ResourcesService::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finaloverridevirtual

Implements ServiceBase.

static google::protobuf::ServiceDescriptor const* bgs::protocol::resources::v1::ResourcesService::descriptor ( )
static
void bgs::protocol::resources::v1::ResourcesService::GetContentHandle ( ::bgs::protocol::resources::v1::ContentHandleRequest const request,
std::function< void(::bgs::protocol::ContentHandle const *)>  responseCallback 
)
bgs::protocol::resources::v1::ResourcesService::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ResourcesService  )
private
virtual uint32 bgs::protocol::resources::v1::ResourcesService::HandleGetContentHandle ( ::bgs::protocol::resources::v1::ContentHandleRequest const request,
::bgs::protocol::ContentHandle response 
)
protectedvirtual

Member Data Documentation

uint32 bgs::protocol::resources::v1::ResourcesService::service_hash_
private

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