TrinityCore
|
#include <club_listener.pb.h>
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 | |
ClubListener & | operator= (ClubListener const &)=delete |
ClubListener & | operator= (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_ |
Definition at line 46 of file club_listener.pb.h.
typedef std::integral_constant<uint32, 0x40BE3344u> bgs::protocol::club::v1::ClubListener::NameHash |
Definition at line 58 of file club_listener.pb.h.
typedef std::integral_constant<uint32, 0x80909D73u> bgs::protocol::club::v1::ClubListener::OriginalHash |
Definition at line 57 of file club_listener.pb.h.
|
explicit |
|
delete |
|
delete |
|
virtual |
|
finalvirtual |
Implements ServiceBase.
|
static |
void bgs::protocol::club::v1::ClubListener::OnInvitationAdded | ( | ::bgs::protocol::club::v1::InvitationAddedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnInvitationRemoved | ( | ::bgs::protocol::club::v1::InvitationRemovedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnMemberAdded | ( | ::bgs::protocol::club::v1::MemberAddedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnMemberRemoved | ( | ::bgs::protocol::club::v1::MemberRemovedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnMemberRoleChanged | ( | ::bgs::protocol::club::v1::MemberRoleChangedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnMemberStateChanged | ( | ::bgs::protocol::club::v1::MemberStateChangedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnSettingsChanged | ( | ::bgs::protocol::club::v1::SettingsChangedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStateChanged | ( | ::bgs::protocol::club::v1::StateChangedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamAdded | ( | ::bgs::protocol::club::v1::StreamAddedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamAdvanceViewTime | ( | ::bgs::protocol::club::v1::StreamAdvanceViewTimeNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamMessageAdded | ( | ::bgs::protocol::club::v1::StreamMessageAddedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamMessageUpdated | ( | ::bgs::protocol::club::v1::StreamMessageUpdatedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamRemoved | ( | ::bgs::protocol::club::v1::StreamRemovedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamStateChanged | ( | ::bgs::protocol::club::v1::StreamStateChangedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamTypingIndicator | ( | ::bgs::protocol::club::v1::StreamTypingIndicatorNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnStreamUnreadIndicator | ( | ::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnSubscribe | ( | ::bgs::protocol::club::v1::SubscribeNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnSubscriberStateChanged | ( | ::bgs::protocol::club::v1::SubscriberStateChangedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnSuggestionAdded | ( | ::bgs::protocol::club::v1::SuggestionAddedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnSuggestionRemoved | ( | ::bgs::protocol::club::v1::SuggestionRemovedNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
void bgs::protocol::club::v1::ClubListener::OnUnsubscribe | ( | ::bgs::protocol::club::v1::UnsubscribeNotification const * | request, |
bool | client = false , |
||
bool | server = false |
||
) |
|
delete |
|
delete |