TrinityCore
bgs::protocol::authentication::v1::AuthenticationListener Class Reference

#include <authentication_service.pb.h>

+ Inheritance diagram for bgs::protocol::authentication::v1::AuthenticationListener:

Public Types

typedef std::integral_constant< uint32, 0x71240E35u > OriginalHash
 
typedef std::integral_constant< uint32, 0x4DA86228u > NameHash
 

Public Member Functions

 AuthenticationListener (bool use_original_hash)
 
 AuthenticationListener (AuthenticationListener const &)=delete
 
 AuthenticationListener (AuthenticationListener &&)=delete
 
AuthenticationListeneroperator= (AuthenticationListener const &)=delete
 
AuthenticationListeneroperator= (AuthenticationListener &&)=delete
 
virtual ~AuthenticationListener ()
 
void OnServerStateChange (::bgs::protocol::authentication::v1::ServerStateChangeRequest const *request, bool client=false, bool server=false)
 
void OnLogonComplete (::bgs::protocol::authentication::v1::LogonResult const *request, bool client=false, bool server=false)
 
void OnLogonUpdate (::bgs::protocol::authentication::v1::LogonUpdateRequest const *request, bool client=false, bool server=false)
 
void OnVersionInfoUpdated (::bgs::protocol::authentication::v1::VersionInfoNotification const *request, bool client=false, bool server=false)
 
void OnLogonQueueUpdate (::bgs::protocol::authentication::v1::LogonQueueUpdateRequest const *request, bool client=false, bool server=false)
 
void OnLogonQueueEnd (::bgs::protocol::NoData 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 1098 of file authentication_service.pb.h.

Member Typedef Documentation

◆ NameHash

Definition at line 1110 of file authentication_service.pb.h.

◆ OriginalHash

Definition at line 1109 of file authentication_service.pb.h.

Constructor & Destructor Documentation

◆ AuthenticationListener() [1/3]

bgs::protocol::authentication::v1::AuthenticationListener::AuthenticationListener ( bool  use_original_hash)
explicit

◆ AuthenticationListener() [2/3]

bgs::protocol::authentication::v1::AuthenticationListener::AuthenticationListener ( AuthenticationListener const &  )
delete

◆ AuthenticationListener() [3/3]

bgs::protocol::authentication::v1::AuthenticationListener::AuthenticationListener ( AuthenticationListener &&  )
delete

◆ ~AuthenticationListener()

virtual bgs::protocol::authentication::v1::AuthenticationListener::~AuthenticationListener ( )
virtual

Member Function Documentation

◆ CallServerMethod()

void bgs::protocol::authentication::v1::AuthenticationListener::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finalvirtual

Implements ServiceBase.

◆ descriptor()

static google::protobuf::ServiceDescriptor const * bgs::protocol::authentication::v1::AuthenticationListener::descriptor ( )
static

◆ OnLogonComplete()

void bgs::protocol::authentication::v1::AuthenticationListener::OnLogonComplete ( ::bgs::protocol::authentication::v1::LogonResult const *  request,
bool  client = false,
bool  server = false 
)

◆ OnLogonQueueEnd()

void bgs::protocol::authentication::v1::AuthenticationListener::OnLogonQueueEnd ( ::bgs::protocol::NoData const *  request,
bool  client = false,
bool  server = false 
)

◆ OnLogonQueueUpdate()

void bgs::protocol::authentication::v1::AuthenticationListener::OnLogonQueueUpdate ( ::bgs::protocol::authentication::v1::LogonQueueUpdateRequest const *  request,
bool  client = false,
bool  server = false 
)

◆ OnLogonUpdate()

void bgs::protocol::authentication::v1::AuthenticationListener::OnLogonUpdate ( ::bgs::protocol::authentication::v1::LogonUpdateRequest const *  request,
bool  client = false,
bool  server = false 
)

◆ OnServerStateChange()

void bgs::protocol::authentication::v1::AuthenticationListener::OnServerStateChange ( ::bgs::protocol::authentication::v1::ServerStateChangeRequest const *  request,
bool  client = false,
bool  server = false 
)

◆ OnVersionInfoUpdated()

void bgs::protocol::authentication::v1::AuthenticationListener::OnVersionInfoUpdated ( ::bgs::protocol::authentication::v1::VersionInfoNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ operator=() [1/2]

AuthenticationListener & bgs::protocol::authentication::v1::AuthenticationListener::operator= ( AuthenticationListener &&  )
delete

◆ operator=() [2/2]

AuthenticationListener & bgs::protocol::authentication::v1::AuthenticationListener::operator= ( AuthenticationListener const &  )
delete

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