TrinityCore
club_listener.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_listener.proto
3
4#ifndef PROTOBUF_club_5flistener_2eproto__INCLUDED
5#define PROTOBUF_club_5flistener_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/repeated_field.h>
24#include <google/protobuf/extension_set.h>
26#include "ServiceBase.h"
27#include "MessageBuffer.h"
28#include <functional>
29#include <type_traits>
30// @@protoc_insertion_point(includes)
31
32namespace bgs {
33namespace protocol {
34namespace club {
35namespace v1 {
36
37// Internal implementation detail -- do not call these.
41
42// ===================================================================
43
44// ===================================================================
45
47{
48 public:
49
50 explicit ClubListener(bool use_original_hash);
51 ClubListener(ClubListener const&) = delete;
55 virtual ~ClubListener();
56
57 typedef std::integral_constant<uint32, 0x80909D73u> OriginalHash;
58 typedef std::integral_constant<uint32, 0x40BE3344u> NameHash;
59
60 static google::protobuf::ServiceDescriptor const* descriptor();
61
62 // client methods --------------------------------------------------
63 void OnSubscribe(::bgs::protocol::club::v1::SubscribeNotification const* request, bool client = false, bool server = false);
64 void OnUnsubscribe(::bgs::protocol::club::v1::UnsubscribeNotification const* request, bool client = false, bool server = false);
65 void OnStateChanged(::bgs::protocol::club::v1::StateChangedNotification const* request, bool client = false, bool server = false);
66 void OnSettingsChanged(::bgs::protocol::club::v1::SettingsChangedNotification const* request, bool client = false, bool server = false);
67 void OnMemberAdded(::bgs::protocol::club::v1::MemberAddedNotification const* request, bool client = false, bool server = false);
68 void OnMemberRemoved(::bgs::protocol::club::v1::MemberRemovedNotification const* request, bool client = false, bool server = false);
69 void OnMemberStateChanged(::bgs::protocol::club::v1::MemberStateChangedNotification const* request, bool client = false, bool server = false);
70 void OnSubscriberStateChanged(::bgs::protocol::club::v1::SubscriberStateChangedNotification const* request, bool client = false, bool server = false);
71 void OnMemberRoleChanged(::bgs::protocol::club::v1::MemberRoleChangedNotification const* request, bool client = false, bool server = false);
72 void OnInvitationAdded(::bgs::protocol::club::v1::InvitationAddedNotification const* request, bool client = false, bool server = false);
73 void OnInvitationRemoved(::bgs::protocol::club::v1::InvitationRemovedNotification const* request, bool client = false, bool server = false);
74 void OnSuggestionAdded(::bgs::protocol::club::v1::SuggestionAddedNotification const* request, bool client = false, bool server = false);
75 void OnSuggestionRemoved(::bgs::protocol::club::v1::SuggestionRemovedNotification const* request, bool client = false, bool server = false);
76 void OnStreamAdded(::bgs::protocol::club::v1::StreamAddedNotification const* request, bool client = false, bool server = false);
77 void OnStreamRemoved(::bgs::protocol::club::v1::StreamRemovedNotification const* request, bool client = false, bool server = false);
78 void OnStreamStateChanged(::bgs::protocol::club::v1::StreamStateChangedNotification const* request, bool client = false, bool server = false);
79 void OnStreamMessageAdded(::bgs::protocol::club::v1::StreamMessageAddedNotification const* request, bool client = false, bool server = false);
80 void OnStreamMessageUpdated(::bgs::protocol::club::v1::StreamMessageUpdatedNotification const* request, bool client = false, bool server = false);
81 void OnStreamTypingIndicator(::bgs::protocol::club::v1::StreamTypingIndicatorNotification const* request, bool client = false, bool server = false);
82 void OnStreamUnreadIndicator(::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const* request, bool client = false, bool server = false);
83 void OnStreamAdvanceViewTime(::bgs::protocol::club::v1::StreamAdvanceViewTimeNotification const* request, bool client = false, bool server = false);
84
85 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
86};
87
88// ===================================================================
89
90// ===================================================================
91// @@protoc_insertion_point(namespace_scope)
92
93} // namespace v1
94} // namespace club
95} // namespace protocol
96} // namespace bgs
97
98#ifndef SWIG
99namespace google {
100namespace protobuf {
101} // namespace google
102} // namespace protobuf
103#endif // SWIG
104
105// @@protoc_insertion_point(global_scope)
106
107#endif // PROTOBUF_club_5flistener_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint32_t uint32
Definition: Define.h:142
void OnSubscribe(::bgs::protocol::club::v1::SubscribeNotification const *request, bool client=false, bool server=false)
void OnStreamStateChanged(::bgs::protocol::club::v1::StreamStateChangedNotification const *request, bool client=false, bool server=false)
static google::protobuf::ServiceDescriptor const * descriptor()
void OnUnsubscribe(::bgs::protocol::club::v1::UnsubscribeNotification const *request, bool client=false, bool server=false)
void OnInvitationRemoved(::bgs::protocol::club::v1::InvitationRemovedNotification const *request, bool client=false, bool server=false)
void OnMemberStateChanged(::bgs::protocol::club::v1::MemberStateChangedNotification const *request, bool client=false, bool server=false)
void OnMemberRoleChanged(::bgs::protocol::club::v1::MemberRoleChangedNotification const *request, bool client=false, bool server=false)
std::integral_constant< uint32, 0x80909D73u > OriginalHash
void OnSuggestionRemoved(::bgs::protocol::club::v1::SuggestionRemovedNotification const *request, bool client=false, bool server=false)
void OnMemberRemoved(::bgs::protocol::club::v1::MemberRemovedNotification const *request, bool client=false, bool server=false)
ClubListener & operator=(ClubListener const &)=delete
ClubListener(ClubListener const &)=delete
ClubListener(ClubListener &&)=delete
void OnSettingsChanged(::bgs::protocol::club::v1::SettingsChangedNotification const *request, bool client=false, bool server=false)
void OnSuggestionAdded(::bgs::protocol::club::v1::SuggestionAddedNotification const *request, bool client=false, bool server=false)
void OnStreamMessageAdded(::bgs::protocol::club::v1::StreamMessageAddedNotification const *request, bool client=false, bool server=false)
void OnStreamTypingIndicator(::bgs::protocol::club::v1::StreamTypingIndicatorNotification const *request, bool client=false, bool server=false)
ClubListener & operator=(ClubListener &&)=delete
void OnInvitationAdded(::bgs::protocol::club::v1::InvitationAddedNotification const *request, bool client=false, bool server=false)
void OnStateChanged(::bgs::protocol::club::v1::StateChangedNotification const *request, bool client=false, bool server=false)
void OnStreamUnreadIndicator(::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const *request, bool client=false, bool server=false)
void OnStreamMessageUpdated(::bgs::protocol::club::v1::StreamMessageUpdatedNotification 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
ClubListener(bool use_original_hash)
void OnStreamRemoved(::bgs::protocol::club::v1::StreamRemovedNotification const *request, bool client=false, bool server=false)
std::integral_constant< uint32, 0x40BE3344u > NameHash
void OnStreamAdded(::bgs::protocol::club::v1::StreamAddedNotification const *request, bool client=false, bool server=false)
void OnMemberAdded(::bgs::protocol::club::v1::MemberAddedNotification const *request, bool client=false, bool server=false)
void OnSubscriberStateChanged(::bgs::protocol::club::v1::SubscriberStateChangedNotification const *request, bool client=false, bool server=false)
void TC_PROTO_API protobuf_AddDesc_club_5flistener_2eproto()
void protobuf_AssignDesc_club_5flistener_2eproto()
void protobuf_ShutdownFile_club_5flistener_2eproto()
Definition: Session.h:36