TrinityCore
bgs::protocol::account::v1::AccountListener Class Reference

#include <account_service.pb.h>

+ Inheritance diagram for bgs::protocol::account::v1::AccountListener:

Public Types

typedef std::integral_constant< uint32, 0x54DFDA17u > OriginalHash
 
typedef std::integral_constant< uint32, 0x7807483Cu > NameHash
 

Public Member Functions

 AccountListener (bool use_original_hash)
 
 AccountListener (AccountListener const &)=delete
 
 AccountListener (AccountListener &&)=delete
 
AccountListeneroperator= (AccountListener const &)=delete
 
AccountListeneroperator= (AccountListener &&)=delete
 
virtual ~AccountListener ()
 
void OnAccountStateUpdated (::bgs::protocol::account::v1::AccountStateNotification const *request, bool client=false, bool server=false)
 
void OnGameAccountStateUpdated (::bgs::protocol::account::v1::GameAccountStateNotification const *request, bool client=false, bool server=false)
 
void OnGameAccountsUpdated (::bgs::protocol::account::v1::GameAccountNotification const *request, bool client=false, bool server=false)
 
void OnGameSessionUpdated (::bgs::protocol::account::v1::GameAccountSessionNotification 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 2446 of file account_service.pb.h.

Member Typedef Documentation

◆ NameHash

typedef std::integral_constant<uint32, 0x7807483Cu> bgs::protocol::account::v1::AccountListener::NameHash

Definition at line 2458 of file account_service.pb.h.

◆ OriginalHash

typedef std::integral_constant<uint32, 0x54DFDA17u> bgs::protocol::account::v1::AccountListener::OriginalHash

Definition at line 2457 of file account_service.pb.h.

Constructor & Destructor Documentation

◆ AccountListener() [1/3]

bgs::protocol::account::v1::AccountListener::AccountListener ( bool  use_original_hash)
explicit

◆ AccountListener() [2/3]

bgs::protocol::account::v1::AccountListener::AccountListener ( AccountListener const &  )
delete

◆ AccountListener() [3/3]

bgs::protocol::account::v1::AccountListener::AccountListener ( AccountListener &&  )
delete

◆ ~AccountListener()

virtual bgs::protocol::account::v1::AccountListener::~AccountListener ( )
virtual

Member Function Documentation

◆ CallServerMethod()

void bgs::protocol::account::v1::AccountListener::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finalvirtual

Implements ServiceBase.

◆ descriptor()

static google::protobuf::ServiceDescriptor const * bgs::protocol::account::v1::AccountListener::descriptor ( )
static

◆ OnAccountStateUpdated()

void bgs::protocol::account::v1::AccountListener::OnAccountStateUpdated ( ::bgs::protocol::account::v1::AccountStateNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnGameAccountStateUpdated()

void bgs::protocol::account::v1::AccountListener::OnGameAccountStateUpdated ( ::bgs::protocol::account::v1::GameAccountStateNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnGameAccountsUpdated()

void bgs::protocol::account::v1::AccountListener::OnGameAccountsUpdated ( ::bgs::protocol::account::v1::GameAccountNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnGameSessionUpdated()

void bgs::protocol::account::v1::AccountListener::OnGameSessionUpdated ( ::bgs::protocol::account::v1::GameAccountSessionNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ operator=() [1/2]

AccountListener & bgs::protocol::account::v1::AccountListener::operator= ( AccountListener &&  )
delete

◆ operator=() [2/2]

AccountListener & bgs::protocol::account::v1::AccountListener::operator= ( AccountListener const &  )
delete

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