TrinityCore
bgs::protocol::club::v1::ClubListener Class Reference

#include <club_listener.pb.h>

+ Inheritance diagram for bgs::protocol::club::v1::ClubListener:

Public Types

typedef std::integral_constant< uint32, 0x80909D73u > OriginalHash
 
typedef std::integral_constant< uint32, 0x40BE3344u > NameHash
 

Public Member Functions

 ClubListener (bool use_original_hash)
 
 ClubListener (ClubListener const &)=delete
 
 ClubListener (ClubListener &&)=delete
 
ClubListeneroperator= (ClubListener const &)=delete
 
ClubListeneroperator= (ClubListener &&)=delete
 
virtual ~ClubListener ()
 
void OnSubscribe (::bgs::protocol::club::v1::SubscribeNotification const *request, bool client=false, bool server=false)
 
void OnUnsubscribe (::bgs::protocol::club::v1::UnsubscribeNotification const *request, bool client=false, bool server=false)
 
void OnStateChanged (::bgs::protocol::club::v1::StateChangedNotification const *request, bool client=false, bool server=false)
 
void OnSettingsChanged (::bgs::protocol::club::v1::SettingsChangedNotification const *request, bool client=false, bool server=false)
 
void OnMemberAdded (::bgs::protocol::club::v1::MemberAddedNotification const *request, bool client=false, bool server=false)
 
void OnMemberRemoved (::bgs::protocol::club::v1::MemberRemovedNotification const *request, bool client=false, bool server=false)
 
void OnMemberStateChanged (::bgs::protocol::club::v1::MemberStateChangedNotification const *request, bool client=false, bool server=false)
 
void OnSubscriberStateChanged (::bgs::protocol::club::v1::SubscriberStateChangedNotification const *request, bool client=false, bool server=false)
 
void OnMemberRoleChanged (::bgs::protocol::club::v1::MemberRoleChangedNotification const *request, bool client=false, bool server=false)
 
void OnInvitationAdded (::bgs::protocol::club::v1::InvitationAddedNotification const *request, bool client=false, bool server=false)
 
void OnInvitationRemoved (::bgs::protocol::club::v1::InvitationRemovedNotification const *request, bool client=false, bool server=false)
 
void OnSuggestionAdded (::bgs::protocol::club::v1::SuggestionAddedNotification const *request, bool client=false, bool server=false)
 
void OnSuggestionRemoved (::bgs::protocol::club::v1::SuggestionRemovedNotification const *request, bool client=false, bool server=false)
 
void OnStreamAdded (::bgs::protocol::club::v1::StreamAddedNotification const *request, bool client=false, bool server=false)
 
void OnStreamRemoved (::bgs::protocol::club::v1::StreamRemovedNotification const *request, bool client=false, bool server=false)
 
void OnStreamStateChanged (::bgs::protocol::club::v1::StreamStateChangedNotification const *request, bool client=false, bool server=false)
 
void OnStreamMessageAdded (::bgs::protocol::club::v1::StreamMessageAddedNotification const *request, bool client=false, bool server=false)
 
void OnStreamMessageUpdated (::bgs::protocol::club::v1::StreamMessageUpdatedNotification const *request, bool client=false, bool server=false)
 
void OnStreamTypingIndicator (::bgs::protocol::club::v1::StreamTypingIndicatorNotification const *request, bool client=false, bool server=false)
 
void OnStreamUnreadIndicator (::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const *request, bool client=false, bool server=false)
 
void OnStreamAdvanceViewTime (::bgs::protocol::club::v1::StreamAdvanceViewTimeNotification 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 46 of file club_listener.pb.h.

Member Typedef Documentation

◆ NameHash

typedef std::integral_constant<uint32, 0x40BE3344u> bgs::protocol::club::v1::ClubListener::NameHash

Definition at line 58 of file club_listener.pb.h.

◆ OriginalHash

typedef std::integral_constant<uint32, 0x80909D73u> bgs::protocol::club::v1::ClubListener::OriginalHash

Definition at line 57 of file club_listener.pb.h.

Constructor & Destructor Documentation

◆ ClubListener() [1/3]

bgs::protocol::club::v1::ClubListener::ClubListener ( bool  use_original_hash)
explicit

◆ ClubListener() [2/3]

bgs::protocol::club::v1::ClubListener::ClubListener ( ClubListener const &  )
delete

◆ ClubListener() [3/3]

bgs::protocol::club::v1::ClubListener::ClubListener ( ClubListener &&  )
delete

◆ ~ClubListener()

virtual bgs::protocol::club::v1::ClubListener::~ClubListener ( )
virtual

Member Function Documentation

◆ CallServerMethod()

void bgs::protocol::club::v1::ClubListener::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finalvirtual

Implements ServiceBase.

◆ descriptor()

static google::protobuf::ServiceDescriptor const * bgs::protocol::club::v1::ClubListener::descriptor ( )
static

◆ OnInvitationAdded()

void bgs::protocol::club::v1::ClubListener::OnInvitationAdded ( ::bgs::protocol::club::v1::InvitationAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnInvitationRemoved()

void bgs::protocol::club::v1::ClubListener::OnInvitationRemoved ( ::bgs::protocol::club::v1::InvitationRemovedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnMemberAdded()

void bgs::protocol::club::v1::ClubListener::OnMemberAdded ( ::bgs::protocol::club::v1::MemberAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnMemberRemoved()

void bgs::protocol::club::v1::ClubListener::OnMemberRemoved ( ::bgs::protocol::club::v1::MemberRemovedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnMemberRoleChanged()

void bgs::protocol::club::v1::ClubListener::OnMemberRoleChanged ( ::bgs::protocol::club::v1::MemberRoleChangedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnMemberStateChanged()

void bgs::protocol::club::v1::ClubListener::OnMemberStateChanged ( ::bgs::protocol::club::v1::MemberStateChangedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnSettingsChanged()

void bgs::protocol::club::v1::ClubListener::OnSettingsChanged ( ::bgs::protocol::club::v1::SettingsChangedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStateChanged()

void bgs::protocol::club::v1::ClubListener::OnStateChanged ( ::bgs::protocol::club::v1::StateChangedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamAdded()

void bgs::protocol::club::v1::ClubListener::OnStreamAdded ( ::bgs::protocol::club::v1::StreamAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamAdvanceViewTime()

void bgs::protocol::club::v1::ClubListener::OnStreamAdvanceViewTime ( ::bgs::protocol::club::v1::StreamAdvanceViewTimeNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamMessageAdded()

void bgs::protocol::club::v1::ClubListener::OnStreamMessageAdded ( ::bgs::protocol::club::v1::StreamMessageAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamMessageUpdated()

void bgs::protocol::club::v1::ClubListener::OnStreamMessageUpdated ( ::bgs::protocol::club::v1::StreamMessageUpdatedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamRemoved()

void bgs::protocol::club::v1::ClubListener::OnStreamRemoved ( ::bgs::protocol::club::v1::StreamRemovedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamStateChanged()

void bgs::protocol::club::v1::ClubListener::OnStreamStateChanged ( ::bgs::protocol::club::v1::StreamStateChangedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamTypingIndicator()

void bgs::protocol::club::v1::ClubListener::OnStreamTypingIndicator ( ::bgs::protocol::club::v1::StreamTypingIndicatorNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnStreamUnreadIndicator()

void bgs::protocol::club::v1::ClubListener::OnStreamUnreadIndicator ( ::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnSubscribe()

void bgs::protocol::club::v1::ClubListener::OnSubscribe ( ::bgs::protocol::club::v1::SubscribeNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnSubscriberStateChanged()

void bgs::protocol::club::v1::ClubListener::OnSubscriberStateChanged ( ::bgs::protocol::club::v1::SubscriberStateChangedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnSuggestionAdded()

void bgs::protocol::club::v1::ClubListener::OnSuggestionAdded ( ::bgs::protocol::club::v1::SuggestionAddedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnSuggestionRemoved()

void bgs::protocol::club::v1::ClubListener::OnSuggestionRemoved ( ::bgs::protocol::club::v1::SuggestionRemovedNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ OnUnsubscribe()

void bgs::protocol::club::v1::ClubListener::OnUnsubscribe ( ::bgs::protocol::club::v1::UnsubscribeNotification const *  request,
bool  client = false,
bool  server = false 
)

◆ operator=() [1/2]

ClubListener & bgs::protocol::club::v1::ClubListener::operator= ( ClubListener &&  )
delete

◆ operator=() [2/2]

ClubListener & bgs::protocol::club::v1::ClubListener::operator= ( ClubListener const &  )
delete

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