TrinityCore
bgs::protocol::user_manager::v1::UserManagerListener Class Reference

#include <user_manager_service.pb.h>

+ Inheritance diagram for bgs::protocol::user_manager::v1::UserManagerListener:

Public Types

typedef std::integral_constant< uint32, 0xBC872C22u > OriginalHash
 
typedef std::integral_constant< uint32, 0xB3426BB3u > NameHash
 

Public Member Functions

 UserManagerListener (bool use_original_hash)
 
 UserManagerListener (UserManagerListener const &)=delete
 
 UserManagerListener (UserManagerListener &&)=delete
 
UserManagerListeneroperator= (UserManagerListener const &)=delete
 
UserManagerListeneroperator= (UserManagerListener &&)=delete
 
virtual ~UserManagerListener ()
 
void OnBlockedPlayerAdded (::bgs::protocol::user_manager::v1::BlockedPlayerAddedNotification const *request, bool client=false, bool server=false)
 
void OnBlockedPlayerRemoved (::bgs::protocol::user_manager::v1::BlockedPlayerRemovedNotification const *request, bool client=false, bool server=false)
 
void OnRecentPlayersAdded (::bgs::protocol::user_manager::v1::RecentPlayersAddedNotification const *request, bool client=false, bool server=false)
 
void OnRecentPlayersRemoved (::bgs::protocol::user_manager::v1::RecentPlayersRemovedNotification 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 989 of file user_manager_service.pb.h.

Member Typedef Documentation

◆ NameHash

typedef std::integral_constant<uint32, 0xB3426BB3u> bgs::protocol::user_manager::v1::UserManagerListener::NameHash

Definition at line 1001 of file user_manager_service.pb.h.

◆ OriginalHash

typedef std::integral_constant<uint32, 0xBC872C22u> bgs::protocol::user_manager::v1::UserManagerListener::OriginalHash

Definition at line 1000 of file user_manager_service.pb.h.

Constructor & Destructor Documentation

◆ UserManagerListener() [1/3]

bgs::protocol::user_manager::v1::UserManagerListener::UserManagerListener ( bool  use_original_hash)
explicit

◆ UserManagerListener() [2/3]

bgs::protocol::user_manager::v1::UserManagerListener::UserManagerListener ( UserManagerListener const &  )
delete

◆ UserManagerListener() [3/3]

bgs::protocol::user_manager::v1::UserManagerListener::UserManagerListener ( UserManagerListener &&  )
delete

◆ ~UserManagerListener()

virtual bgs::protocol::user_manager::v1::UserManagerListener::~UserManagerListener ( )
virtual

Member Function Documentation

◆ CallServerMethod()

void bgs::protocol::user_manager::v1::UserManagerListener::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finalvirtual

Implements ServiceBase.

◆ descriptor()

static google::protobuf::ServiceDescriptor const * bgs::protocol::user_manager::v1::UserManagerListener::descriptor ( )
static

◆ OnBlockedPlayerAdded()

void bgs::protocol::user_manager::v1::UserManagerListener::OnBlockedPlayerAdded ( ::bgs::protocol::user_manager::v1::BlockedPlayerAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnBlockedPlayerRemoved()

void bgs::protocol::user_manager::v1::UserManagerListener::OnBlockedPlayerRemoved ( ::bgs::protocol::user_manager::v1::BlockedPlayerRemovedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnRecentPlayersAdded()

void bgs::protocol::user_manager::v1::UserManagerListener::OnRecentPlayersAdded ( ::bgs::protocol::user_manager::v1::RecentPlayersAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnRecentPlayersRemoved()

void bgs::protocol::user_manager::v1::UserManagerListener::OnRecentPlayersRemoved ( ::bgs::protocol::user_manager::v1::RecentPlayersRemovedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ operator=() [1/2]

UserManagerListener & bgs::protocol::user_manager::v1::UserManagerListener::operator= ( UserManagerListener &&  )
delete

◆ operator=() [2/2]

UserManagerListener & bgs::protocol::user_manager::v1::UserManagerListener::operator= ( UserManagerListener const &  )
delete

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