TrinityCore
bgs::protocol::challenge::v1::ChallengeListener Class Reference

#include <challenge_service.pb.h>

+ Inheritance diagram for bgs::protocol::challenge::v1::ChallengeListener:

Public Types

typedef std::integral_constant< uint32, 0xBBDA171Fu > OriginalHash
 
typedef std::integral_constant< uint32, 0xC6D90AB8u > NameHash
 

Public Member Functions

 ChallengeListener (bool use_original_hash)
 
 ChallengeListener (ChallengeListener const &)=delete
 
 ChallengeListener (ChallengeListener &&)=delete
 
ChallengeListeneroperator= (ChallengeListener const &)=delete
 
ChallengeListeneroperator= (ChallengeListener &&)=delete
 
virtual ~ChallengeListener ()
 
void OnExternalChallenge (::bgs::protocol::challenge::v1::ChallengeExternalRequest const *request, bool client=false, bool server=false)
 
void OnExternalChallengeResult (::bgs::protocol::challenge::v1::ChallengeExternalResult const *request, bool client=false, bool server=false)
 
void CallServerMethod (uint32 token, uint32 methodId, MessageBuffer buffer) final
 
- Public Member Functions inherited from ServiceBase
 ServiceBase (uint32 serviceHash)
 
virtual ~ServiceBase ()
 
virtual void CallServerMethod (uint32 token, uint32 methodId, MessageBuffer buffer)=0
 
virtual std::string GetCallerInfo () const =0
 
void LogDisallowedMethod (uint32 methodId)
 
void LogCallClientMethod (char const *methodName, char const *inputTypeName, google::protobuf::Message const *request)
 
void LogCallServerMethod (char const *methodName, char const *inputTypeName, google::protobuf::Message const *request)
 
void LogUnimplementedServerMethod (char const *methodName, google::protobuf::Message const *request)
 
void LogInvalidMethod (uint32 methodId)
 
void LogFailedParsingRequest (char const *methodName)
 
uint32 GetServiceHash () const
 

Static Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from ServiceBase
std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> CreateServerContinuation (uint32 token, uint32 methodId, char const *methodName, google::protobuf::Descriptor const *outputDescriptor)
 
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
 
- Protected Attributes inherited from ServiceBase
uint32 service_hash_
 

Detailed Description

Definition at line 231 of file challenge_service.pb.h.

Member Typedef Documentation

◆ NameHash

typedef std::integral_constant<uint32, 0xC6D90AB8u> bgs::protocol::challenge::v1::ChallengeListener::NameHash

Definition at line 243 of file challenge_service.pb.h.

◆ OriginalHash

typedef std::integral_constant<uint32, 0xBBDA171Fu> bgs::protocol::challenge::v1::ChallengeListener::OriginalHash

Definition at line 242 of file challenge_service.pb.h.

Constructor & Destructor Documentation

◆ ChallengeListener() [1/3]

bgs::protocol::challenge::v1::ChallengeListener::ChallengeListener ( bool  use_original_hash)
explicit

◆ ChallengeListener() [2/3]

bgs::protocol::challenge::v1::ChallengeListener::ChallengeListener ( ChallengeListener const &  )
delete

◆ ChallengeListener() [3/3]

bgs::protocol::challenge::v1::ChallengeListener::ChallengeListener ( ChallengeListener &&  )
delete

◆ ~ChallengeListener()

virtual bgs::protocol::challenge::v1::ChallengeListener::~ChallengeListener ( )
virtual

Member Function Documentation

◆ CallServerMethod()

void bgs::protocol::challenge::v1::ChallengeListener::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finalvirtual

Implements ServiceBase.

◆ descriptor()

static google::protobuf::ServiceDescriptor const * bgs::protocol::challenge::v1::ChallengeListener::descriptor ( )
static

◆ OnExternalChallenge()

void bgs::protocol::challenge::v1::ChallengeListener::OnExternalChallenge ( ::bgs::protocol::challenge::v1::ChallengeExternalRequest const *  request,
bool  client = false,
bool  server = false 
)

◆ OnExternalChallengeResult()

void bgs::protocol::challenge::v1::ChallengeListener::OnExternalChallengeResult ( ::bgs::protocol::challenge::v1::ChallengeExternalResult const *  request,
bool  client = false,
bool  server = false 
)

◆ operator=() [1/2]

ChallengeListener & bgs::protocol::challenge::v1::ChallengeListener::operator= ( ChallengeListener &&  )
delete

◆ operator=() [2/2]

ChallengeListener & bgs::protocol::challenge::v1::ChallengeListener::operator= ( ChallengeListener const &  )
delete

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