TrinityCore
club_role.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_role.proto
3
4#ifndef PROTOBUF_club_5frole_2eproto__INCLUDED
5#define PROTOBUF_club_5frole_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/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
27#include "role_types.pb.h"
28#include "Define.h" // for TC_PROTO_API
29// @@protoc_insertion_point(includes)
30
31namespace bgs {
32namespace protocol {
33namespace club {
34namespace v1 {
35
36// Internal implementation detail -- do not call these.
40
42class ClubRole;
43class ClubRoleSet;
44
45// ===================================================================
46
47class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message {
48 public:
51
53
55 CopyFrom(from);
56 return *this;
57 }
58
59 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
60 return _unknown_fields_;
61 }
62
63 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
64 return &_unknown_fields_;
65 }
66
67 static const ::google::protobuf::Descriptor* descriptor();
69
70 void Swap(ClubPrivilegeSet* other);
71
72 // implements Message ----------------------------------------------
73
75 int GetCachedSize() const { return _cached_size_; }
76 private:
77 void SharedCtor();
78 void SharedDtor();
79 void SetCachedSize(int size) const;
80 public:
81 ::google::protobuf::Metadata GetMetadata() const;
82
83 // nested types ----------------------------------------------------
84
85 // accessors -------------------------------------------------------
86
87 // optional bool can_destroy = 1;
88 inline bool has_can_destroy() const;
89 inline void clear_can_destroy();
90 static const int kCanDestroyFieldNumber = 1;
91 inline bool can_destroy() const;
92 inline void set_can_destroy(bool value);
93
94 // optional bool can_set_attribute = 10;
95 inline bool has_can_set_attribute() const;
96 inline void clear_can_set_attribute();
97 static const int kCanSetAttributeFieldNumber = 10;
98 inline bool can_set_attribute() const;
99 inline void set_can_set_attribute(bool value);
100
101 // optional bool can_set_name = 11;
102 inline bool has_can_set_name() const;
103 inline void clear_can_set_name();
104 static const int kCanSetNameFieldNumber = 11;
105 inline bool can_set_name() const;
106 inline void set_can_set_name(bool value);
107
108 // optional bool can_set_description = 12;
109 inline bool has_can_set_description() const;
110 inline void clear_can_set_description();
111 static const int kCanSetDescriptionFieldNumber = 12;
112 inline bool can_set_description() const;
113 inline void set_can_set_description(bool value);
114
115 // optional bool can_set_avatar = 13;
116 inline bool has_can_set_avatar() const;
117 inline void clear_can_set_avatar();
118 static const int kCanSetAvatarFieldNumber = 13;
119 inline bool can_set_avatar() const;
120 inline void set_can_set_avatar(bool value);
121
122 // optional bool can_set_broadcast = 14;
123 inline bool has_can_set_broadcast() const;
124 inline void clear_can_set_broadcast();
125 static const int kCanSetBroadcastFieldNumber = 14;
126 inline bool can_set_broadcast() const;
127 inline void set_can_set_broadcast(bool value);
128
129 // optional bool can_set_privacy_level = 15;
130 inline bool has_can_set_privacy_level() const;
131 inline void clear_can_set_privacy_level();
132 static const int kCanSetPrivacyLevelFieldNumber = 15;
133 inline bool can_set_privacy_level() const;
134 inline void set_can_set_privacy_level(bool value);
135
136 // optional bool can_add_member = 29;
137 inline bool has_can_add_member() const;
138 inline void clear_can_add_member();
139 static const int kCanAddMemberFieldNumber = 29;
140 inline bool can_add_member() const;
141 inline void set_can_add_member(bool value);
142
143 // optional bool can_kick_member = 30;
144 inline bool has_can_kick_member() const;
145 inline void clear_can_kick_member();
146 static const int kCanKickMemberFieldNumber = 30;
147 inline bool can_kick_member() const;
148 inline void set_can_kick_member(bool value);
149
150 // optional bool can_set_own_member_attribute = 31;
151 inline bool has_can_set_own_member_attribute() const;
152 inline void clear_can_set_own_member_attribute();
153 static const int kCanSetOwnMemberAttributeFieldNumber = 31;
154 inline bool can_set_own_member_attribute() const;
155 inline void set_can_set_own_member_attribute(bool value);
156
157 // optional bool can_set_other_member_attribute = 32;
158 inline bool has_can_set_other_member_attribute() const;
159 inline void clear_can_set_other_member_attribute();
160 static const int kCanSetOtherMemberAttributeFieldNumber = 32;
161 inline bool can_set_other_member_attribute() const;
162 inline void set_can_set_other_member_attribute(bool value);
163
164 // optional bool can_set_own_voice_state = 33;
165 inline bool has_can_set_own_voice_state() const;
166 inline void clear_can_set_own_voice_state();
167 static const int kCanSetOwnVoiceStateFieldNumber = 33;
168 inline bool can_set_own_voice_state() const;
169 inline void set_can_set_own_voice_state(bool value);
170
171 // optional bool can_set_own_presence_level = 34;
172 inline bool has_can_set_own_presence_level() const;
173 inline void clear_can_set_own_presence_level();
174 static const int kCanSetOwnPresenceLevelFieldNumber = 34;
175 inline bool can_set_own_presence_level() const;
176 inline void set_can_set_own_presence_level(bool value);
177
178 // optional bool can_set_own_whisper_level = 35;
179 inline bool has_can_set_own_whisper_level() const;
180 inline void clear_can_set_own_whisper_level();
181 static const int kCanSetOwnWhisperLevelFieldNumber = 35;
182 inline bool can_set_own_whisper_level() const;
183 inline void set_can_set_own_whisper_level(bool value);
184
185 // optional bool can_set_own_member_note = 36;
186 inline bool has_can_set_own_member_note() const;
187 inline void clear_can_set_own_member_note();
188 static const int kCanSetOwnMemberNoteFieldNumber = 36;
189 inline bool can_set_own_member_note() const;
190 inline void set_can_set_own_member_note(bool value);
191
192 // optional bool can_set_other_member_note = 37;
193 inline bool has_can_set_other_member_note() const;
194 inline void clear_can_set_other_member_note();
195 static const int kCanSetOtherMemberNoteFieldNumber = 37;
196 inline bool can_set_other_member_note() const;
197 inline void set_can_set_other_member_note(bool value);
198
199 // optional bool can_use_voice = 50;
200 inline bool has_can_use_voice() const;
201 inline void clear_can_use_voice();
202 static const int kCanUseVoiceFieldNumber = 50;
203 inline bool can_use_voice() const;
204 inline void set_can_use_voice(bool value);
205
206 // optional bool can_voice_mute_member_for_all = 51;
207 inline bool has_can_voice_mute_member_for_all() const;
208 inline void clear_can_voice_mute_member_for_all();
209 static const int kCanVoiceMuteMemberForAllFieldNumber = 51;
210 inline bool can_voice_mute_member_for_all() const;
211 inline void set_can_voice_mute_member_for_all(bool value);
212
213 // optional bool can_get_invitation = 70;
214 inline bool has_can_get_invitation() const;
215 inline void clear_can_get_invitation();
216 static const int kCanGetInvitationFieldNumber = 70;
217 inline bool can_get_invitation() const;
218 inline void set_can_get_invitation(bool value);
219
220 // optional bool can_send_invitation = 71;
221 inline bool has_can_send_invitation() const;
222 inline void clear_can_send_invitation();
223 static const int kCanSendInvitationFieldNumber = 71;
224 inline bool can_send_invitation() const;
225 inline void set_can_send_invitation(bool value);
226
227 // optional bool can_send_guest_invitation = 72;
228 inline bool has_can_send_guest_invitation() const;
229 inline void clear_can_send_guest_invitation();
230 static const int kCanSendGuestInvitationFieldNumber = 72;
231 inline bool can_send_guest_invitation() const;
232 inline void set_can_send_guest_invitation(bool value);
233
234 // optional bool can_revoke_own_invitation = 73;
235 inline bool has_can_revoke_own_invitation() const;
236 inline void clear_can_revoke_own_invitation();
237 static const int kCanRevokeOwnInvitationFieldNumber = 73;
238 inline bool can_revoke_own_invitation() const;
239 inline void set_can_revoke_own_invitation(bool value);
240
241 // optional bool can_revoke_other_invitation = 74;
242 inline bool has_can_revoke_other_invitation() const;
243 inline void clear_can_revoke_other_invitation();
244 static const int kCanRevokeOtherInvitationFieldNumber = 74;
245 inline bool can_revoke_other_invitation() const;
246 inline void set_can_revoke_other_invitation(bool value);
247
248 // optional bool can_get_suggestion = 90;
249 inline bool has_can_get_suggestion() const;
250 inline void clear_can_get_suggestion();
251 static const int kCanGetSuggestionFieldNumber = 90;
252 inline bool can_get_suggestion() const;
253 inline void set_can_get_suggestion(bool value);
254
255 // optional bool can_suggest_member = 91;
256 inline bool has_can_suggest_member() const;
257 inline void clear_can_suggest_member();
258 static const int kCanSuggestMemberFieldNumber = 91;
259 inline bool can_suggest_member() const;
260 inline void set_can_suggest_member(bool value);
261
262 // optional bool can_approve_member = 92;
263 inline bool has_can_approve_member() const;
264 inline void clear_can_approve_member();
265 static const int kCanApproveMemberFieldNumber = 92;
266 inline bool can_approve_member() const;
267 inline void set_can_approve_member(bool value);
268
269 // optional bool can_get_ticket = 110;
270 inline bool has_can_get_ticket() const;
271 inline void clear_can_get_ticket();
272 static const int kCanGetTicketFieldNumber = 110;
273 inline bool can_get_ticket() const;
274 inline void set_can_get_ticket(bool value);
275
276 // optional bool can_create_ticket = 111;
277 inline bool has_can_create_ticket() const;
278 inline void clear_can_create_ticket();
279 static const int kCanCreateTicketFieldNumber = 111;
280 inline bool can_create_ticket() const;
281 inline void set_can_create_ticket(bool value);
282
283 // optional bool can_destroy_ticket = 112;
284 inline bool has_can_destroy_ticket() const;
285 inline void clear_can_destroy_ticket();
286 static const int kCanDestroyTicketFieldNumber = 112;
287 inline bool can_destroy_ticket() const;
288 inline void set_can_destroy_ticket(bool value);
289
290 // optional bool can_get_ban = 130;
291 inline bool has_can_get_ban() const;
292 inline void clear_can_get_ban();
293 static const int kCanGetBanFieldNumber = 130;
294 inline bool can_get_ban() const;
295 inline void set_can_get_ban(bool value);
296
297 // optional bool can_add_ban = 131;
298 inline bool has_can_add_ban() const;
299 inline void clear_can_add_ban();
300 static const int kCanAddBanFieldNumber = 131;
301 inline bool can_add_ban() const;
302 inline void set_can_add_ban(bool value);
303
304 // optional bool can_remove_ban = 132;
305 inline bool has_can_remove_ban() const;
306 inline void clear_can_remove_ban();
307 static const int kCanRemoveBanFieldNumber = 132;
308 inline bool can_remove_ban() const;
309 inline void set_can_remove_ban(bool value);
310
311 // optional bool can_create_stream = 140;
312 inline bool has_can_create_stream() const;
313 inline void clear_can_create_stream();
314 static const int kCanCreateStreamFieldNumber = 140;
315 inline bool can_create_stream() const;
316 inline void set_can_create_stream(bool value);
317
318 // optional bool can_destroy_stream = 141;
319 inline bool has_can_destroy_stream() const;
320 inline void clear_can_destroy_stream();
321 static const int kCanDestroyStreamFieldNumber = 141;
322 inline bool can_destroy_stream() const;
323 inline void set_can_destroy_stream(bool value);
324
325 // optional bool can_set_stream_position = 142;
326 inline bool has_can_set_stream_position() const;
327 inline void clear_can_set_stream_position();
328 static const int kCanSetStreamPositionFieldNumber = 142;
329 inline bool can_set_stream_position() const;
330 inline void set_can_set_stream_position(bool value);
331
332 // optional bool can_set_stream_attribute = 143;
333 inline bool has_can_set_stream_attribute() const;
334 inline void clear_can_set_stream_attribute();
335 static const int kCanSetStreamAttributeFieldNumber = 143;
336 inline bool can_set_stream_attribute() const;
337 inline void set_can_set_stream_attribute(bool value);
338
339 // optional bool can_set_stream_name = 144;
340 inline bool has_can_set_stream_name() const;
341 inline void clear_can_set_stream_name();
342 static const int kCanSetStreamNameFieldNumber = 144;
343 inline bool can_set_stream_name() const;
344 inline void set_can_set_stream_name(bool value);
345
346 // optional bool can_set_stream_subject = 145;
347 inline bool has_can_set_stream_subject() const;
348 inline void clear_can_set_stream_subject();
349 static const int kCanSetStreamSubjectFieldNumber = 145;
350 inline bool can_set_stream_subject() const;
351 inline void set_can_set_stream_subject(bool value);
352
353 // optional bool can_set_stream_access = 146;
354 inline bool has_can_set_stream_access() const;
355 inline void clear_can_set_stream_access();
356 static const int kCanSetStreamAccessFieldNumber = 146;
357 inline bool can_set_stream_access() const;
358 inline void set_can_set_stream_access(bool value);
359
360 // optional bool can_set_stream_voice_level = 147;
361 inline bool has_can_set_stream_voice_level() const;
362 inline void clear_can_set_stream_voice_level();
363 static const int kCanSetStreamVoiceLevelFieldNumber = 147;
364 inline bool can_set_stream_voice_level() const;
365 inline void set_can_set_stream_voice_level(bool value);
366
367 // optional bool can_create_message = 180;
368 inline bool has_can_create_message() const;
369 inline void clear_can_create_message();
370 static const int kCanCreateMessageFieldNumber = 180;
371 inline bool can_create_message() const;
372 inline void set_can_create_message(bool value);
373
374 // optional bool can_destroy_own_message = 181;
375 inline bool has_can_destroy_own_message() const;
376 inline void clear_can_destroy_own_message();
377 static const int kCanDestroyOwnMessageFieldNumber = 181;
378 inline bool can_destroy_own_message() const;
379 inline void set_can_destroy_own_message(bool value);
380
381 // optional bool can_destroy_other_message = 182;
382 inline bool has_can_destroy_other_message() const;
383 inline void clear_can_destroy_other_message();
384 static const int kCanDestroyOtherMessageFieldNumber = 182;
385 inline bool can_destroy_other_message() const;
386 inline void set_can_destroy_other_message(bool value);
387
388 // optional bool can_edit_own_message = 183;
389 inline bool has_can_edit_own_message() const;
390 inline void clear_can_edit_own_message();
391 static const int kCanEditOwnMessageFieldNumber = 183;
392 inline bool can_edit_own_message() const;
393 inline void set_can_edit_own_message(bool value);
394
395 // optional bool can_pin_message = 184;
396 inline bool has_can_pin_message() const;
397 inline void clear_can_pin_message();
398 static const int kCanPinMessageFieldNumber = 184;
399 inline bool can_pin_message() const;
400 inline void set_can_pin_message(bool value);
401
402 // optional bool can_mention_all = 185;
403 inline bool has_can_mention_all() const;
404 inline void clear_can_mention_all();
405 static const int kCanMentionAllFieldNumber = 185;
406 inline bool can_mention_all() const;
407 inline void set_can_mention_all(bool value);
408
409 // optional bool can_mention_here = 186;
410 inline bool has_can_mention_here() const;
411 inline void clear_can_mention_here();
412 static const int kCanMentionHereFieldNumber = 186;
413 inline bool can_mention_here() const;
414 inline void set_can_mention_here(bool value);
415
416 // optional bool can_mention_member = 187;
417 inline bool has_can_mention_member() const;
418 inline void clear_can_mention_member();
419 static const int kCanMentionMemberFieldNumber = 187;
420 inline bool can_mention_member() const;
421 inline void set_can_mention_member(bool value);
422
423 // optional bool can_mention_role = 188;
424 inline bool has_can_mention_role() const;
425 inline void clear_can_mention_role();
426 static const int kCanMentionRoleFieldNumber = 188;
427 inline bool can_mention_role() const;
428 inline void set_can_mention_role(bool value);
429
430 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubPrivilegeSet)
431 private:
432 inline void set_has_can_destroy();
433 inline void clear_has_can_destroy();
434 inline void set_has_can_set_attribute();
435 inline void clear_has_can_set_attribute();
436 inline void set_has_can_set_name();
437 inline void clear_has_can_set_name();
438 inline void set_has_can_set_description();
439 inline void clear_has_can_set_description();
440 inline void set_has_can_set_avatar();
441 inline void clear_has_can_set_avatar();
442 inline void set_has_can_set_broadcast();
443 inline void clear_has_can_set_broadcast();
444 inline void set_has_can_set_privacy_level();
445 inline void clear_has_can_set_privacy_level();
446 inline void set_has_can_add_member();
447 inline void clear_has_can_add_member();
448 inline void set_has_can_kick_member();
449 inline void clear_has_can_kick_member();
450 inline void set_has_can_set_own_member_attribute();
451 inline void clear_has_can_set_own_member_attribute();
452 inline void set_has_can_set_other_member_attribute();
453 inline void clear_has_can_set_other_member_attribute();
454 inline void set_has_can_set_own_voice_state();
455 inline void clear_has_can_set_own_voice_state();
456 inline void set_has_can_set_own_presence_level();
457 inline void clear_has_can_set_own_presence_level();
458 inline void set_has_can_set_own_whisper_level();
459 inline void clear_has_can_set_own_whisper_level();
460 inline void set_has_can_set_own_member_note();
461 inline void clear_has_can_set_own_member_note();
462 inline void set_has_can_set_other_member_note();
463 inline void clear_has_can_set_other_member_note();
464 inline void set_has_can_use_voice();
465 inline void clear_has_can_use_voice();
466 inline void set_has_can_voice_mute_member_for_all();
467 inline void clear_has_can_voice_mute_member_for_all();
468 inline void set_has_can_get_invitation();
469 inline void clear_has_can_get_invitation();
470 inline void set_has_can_send_invitation();
471 inline void clear_has_can_send_invitation();
472 inline void set_has_can_send_guest_invitation();
473 inline void clear_has_can_send_guest_invitation();
474 inline void set_has_can_revoke_own_invitation();
475 inline void clear_has_can_revoke_own_invitation();
476 inline void set_has_can_revoke_other_invitation();
477 inline void clear_has_can_revoke_other_invitation();
478 inline void set_has_can_get_suggestion();
479 inline void clear_has_can_get_suggestion();
480 inline void set_has_can_suggest_member();
481 inline void clear_has_can_suggest_member();
482 inline void set_has_can_approve_member();
483 inline void clear_has_can_approve_member();
484 inline void set_has_can_get_ticket();
485 inline void clear_has_can_get_ticket();
486 inline void set_has_can_create_ticket();
487 inline void clear_has_can_create_ticket();
488 inline void set_has_can_destroy_ticket();
489 inline void clear_has_can_destroy_ticket();
490 inline void set_has_can_get_ban();
491 inline void clear_has_can_get_ban();
492 inline void set_has_can_add_ban();
493 inline void clear_has_can_add_ban();
494 inline void set_has_can_remove_ban();
495 inline void clear_has_can_remove_ban();
496 inline void set_has_can_create_stream();
497 inline void clear_has_can_create_stream();
498 inline void set_has_can_destroy_stream();
499 inline void clear_has_can_destroy_stream();
500 inline void set_has_can_set_stream_position();
501 inline void clear_has_can_set_stream_position();
502 inline void set_has_can_set_stream_attribute();
503 inline void clear_has_can_set_stream_attribute();
504 inline void set_has_can_set_stream_name();
505 inline void clear_has_can_set_stream_name();
506 inline void set_has_can_set_stream_subject();
507 inline void clear_has_can_set_stream_subject();
508 inline void set_has_can_set_stream_access();
509 inline void clear_has_can_set_stream_access();
510 inline void set_has_can_set_stream_voice_level();
511 inline void clear_has_can_set_stream_voice_level();
512 inline void set_has_can_create_message();
513 inline void clear_has_can_create_message();
514 inline void set_has_can_destroy_own_message();
515 inline void clear_has_can_destroy_own_message();
516 inline void set_has_can_destroy_other_message();
517 inline void clear_has_can_destroy_other_message();
518 inline void set_has_can_edit_own_message();
519 inline void clear_has_can_edit_own_message();
520 inline void set_has_can_pin_message();
521 inline void clear_has_can_pin_message();
522 inline void set_has_can_mention_all();
523 inline void clear_has_can_mention_all();
524 inline void set_has_can_mention_here();
525 inline void clear_has_can_mention_here();
526 inline void set_has_can_mention_member();
527 inline void clear_has_can_mention_member();
528 inline void set_has_can_mention_role();
529 inline void clear_has_can_mention_role();
530
531 ::google::protobuf::UnknownFieldSet _unknown_fields_;
532
583 mutable int _cached_size_;
587
590};
591// -------------------------------------------------------------------
592
593class TC_PROTO_API ClubRole : public ::google::protobuf::Message {
594 public:
596 virtual ~ClubRole();
597
598 ClubRole(const ClubRole& from);
599
600 inline ClubRole& operator=(const ClubRole& from) {
601 CopyFrom(from);
602 return *this;
603 }
604
605 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
606 return _unknown_fields_;
607 }
608
609 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
610 return &_unknown_fields_;
611 }
612
613 static const ::google::protobuf::Descriptor* descriptor();
614 static const ClubRole& default_instance();
615
616 void Swap(ClubRole* other);
617
618 // implements Message ----------------------------------------------
619
620 ClubRole* New() const;
621 int GetCachedSize() const { return _cached_size_; }
622 private:
625 void SetCachedSize(int size) const;
626 public:
627 ::google::protobuf::Metadata GetMetadata() const;
628
629 // nested types ----------------------------------------------------
630
631 // accessors -------------------------------------------------------
632
633 // optional uint32 id = 1;
634 inline bool has_id() const;
635 inline void clear_id();
636 static const int kIdFieldNumber = 1;
638 inline void set_id(::google::protobuf::uint32 value);
639
640 // optional .bgs.protocol.RoleState state = 2;
641 inline bool has_state() const;
642 inline void clear_state();
643 static const int kStateFieldNumber = 2;
644 inline const ::bgs::protocol::RoleState& state() const;
645 inline ::bgs::protocol::RoleState* mutable_state();
646 inline ::bgs::protocol::RoleState* release_state();
647 inline void set_allocated_state(::bgs::protocol::RoleState* state);
648
649 // optional .bgs.protocol.club.v1.ClubPrivilegeSet privilege = 3;
650 inline bool has_privilege() const;
651 inline void clear_privilege();
652 static const int kPrivilegeFieldNumber = 3;
653 inline const ::bgs::protocol::club::v1::ClubPrivilegeSet& privilege() const;
654 inline ::bgs::protocol::club::v1::ClubPrivilegeSet* mutable_privilege();
655 inline ::bgs::protocol::club::v1::ClubPrivilegeSet* release_privilege();
656 inline void set_allocated_privilege(::bgs::protocol::club::v1::ClubPrivilegeSet* privilege);
657
658 // optional bool always_grant_stream_access = 4;
659 inline bool has_always_grant_stream_access() const;
660 inline void clear_always_grant_stream_access();
661 static const int kAlwaysGrantStreamAccessFieldNumber = 4;
662 inline bool always_grant_stream_access() const;
663 inline void set_always_grant_stream_access(bool value);
664
665 // optional bool allow_in_club_slot = 5;
666 inline bool has_allow_in_club_slot() const;
667 inline void clear_allow_in_club_slot();
668 static const int kAllowInClubSlotFieldNumber = 5;
669 inline bool allow_in_club_slot() const;
670 inline void set_allow_in_club_slot(bool value);
671
672 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubRole)
673 private:
674 inline void set_has_id();
675 inline void clear_has_id();
676 inline void set_has_state();
677 inline void clear_has_state();
678 inline void set_has_privilege();
679 inline void clear_has_privilege();
680 inline void set_has_always_grant_stream_access();
681 inline void clear_has_always_grant_stream_access();
682 inline void set_has_allow_in_club_slot();
683 inline void clear_has_allow_in_club_slot();
684
685 ::google::protobuf::UnknownFieldSet _unknown_fields_;
686
688 mutable int _cached_size_;
697
700};
701// -------------------------------------------------------------------
702
703class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message {
704 public:
706 virtual ~ClubRoleSet();
707
709
710 inline ClubRoleSet& operator=(const ClubRoleSet& from) {
711 CopyFrom(from);
712 return *this;
713 }
714
715 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
716 return _unknown_fields_;
717 }
718
719 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
720 return &_unknown_fields_;
721 }
722
723 static const ::google::protobuf::Descriptor* descriptor();
725
726 void Swap(ClubRoleSet* other);
727
728 // implements Message ----------------------------------------------
729
730 ClubRoleSet* New() const;
731 int GetCachedSize() const { return _cached_size_; }
732 private:
735 void SetCachedSize(int size) const;
736 public:
737 ::google::protobuf::Metadata GetMetadata() const;
738
739 // nested types ----------------------------------------------------
740
741 // accessors -------------------------------------------------------
742
743 // repeated .bgs.protocol.club.v1.ClubRole role = 1;
744 inline int role_size() const;
745 inline void clear_role();
746 static const int kRoleFieldNumber = 1;
747 inline const ::bgs::protocol::club::v1::ClubRole& role(int index) const;
748 inline ::bgs::protocol::club::v1::ClubRole* mutable_role(int index);
749 inline ::bgs::protocol::club::v1::ClubRole* add_role();
750 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >&
751 role() const;
752 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >*
753 mutable_role();
754
755 // repeated uint32 default_role = 5 [packed = true];
756 inline int default_role_size() const;
757 inline void clear_default_role();
758 static const int kDefaultRoleFieldNumber = 5;
759 inline ::google::protobuf::uint32 default_role(int index) const;
760 inline void set_default_role(int index, ::google::protobuf::uint32 value);
761 inline void add_default_role(::google::protobuf::uint32 value);
762 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
763 default_role() const;
764 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
765 mutable_default_role();
766
767 // optional bool assignment_respects_relegation_chain = 6;
768 inline bool has_assignment_respects_relegation_chain() const;
769 inline void clear_assignment_respects_relegation_chain();
770 static const int kAssignmentRespectsRelegationChainFieldNumber = 6;
771 inline bool assignment_respects_relegation_chain() const;
772 inline void set_assignment_respects_relegation_chain(bool value);
773
774 // optional string subtype = 7;
775 inline bool has_subtype() const;
776 inline void clear_subtype();
777 static const int kSubtypeFieldNumber = 7;
778 inline const ::std::string& subtype() const;
779 inline void set_subtype(const ::std::string& value);
780 inline void set_subtype(const char* value);
781 inline void set_subtype(const char* value, size_t size);
782 inline ::std::string* mutable_subtype();
783 inline ::std::string* release_subtype();
784 inline void set_allocated_subtype(::std::string* subtype);
785
786 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubRoleSet)
787 private:
788 inline void set_has_assignment_respects_relegation_chain();
789 inline void clear_has_assignment_respects_relegation_chain();
790 inline void set_has_subtype();
791 inline void clear_has_subtype();
792
793 ::google::protobuf::UnknownFieldSet _unknown_fields_;
794
796 mutable int _cached_size_;
797 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole > role_;
798 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_;
799 ::std::string* subtype_;
804
807};
808// ===================================================================
809
810// ===================================================================
811
812// ===================================================================
813
814// ClubPrivilegeSet
815
816// optional bool can_destroy = 1;
818 return (_has_bits_[0] & 0x00000001u) != 0;
819}
821 _has_bits_[0] |= 0x00000001u;
822}
824 _has_bits_[0] &= ~0x00000001u;
825}
827 can_destroy_ = false;
829}
830inline bool ClubPrivilegeSet::can_destroy() const {
831 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy)
832 return can_destroy_;
833}
834inline void ClubPrivilegeSet::set_can_destroy(bool value) {
836 can_destroy_ = value;
837 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy)
838}
839
840// optional bool can_set_attribute = 10;
842 return (_has_bits_[0] & 0x00000002u) != 0;
843}
845 _has_bits_[0] |= 0x00000002u;
846}
848 _has_bits_[0] &= ~0x00000002u;
849}
851 can_set_attribute_ = false;
853}
855 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_attribute)
856 return can_set_attribute_;
857}
860 can_set_attribute_ = value;
861 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_attribute)
862}
863
864// optional bool can_set_name = 11;
866 return (_has_bits_[0] & 0x00000004u) != 0;
867}
869 _has_bits_[0] |= 0x00000004u;
870}
872 _has_bits_[0] &= ~0x00000004u;
873}
875 can_set_name_ = false;
877}
879 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_name)
880 return can_set_name_;
881}
882inline void ClubPrivilegeSet::set_can_set_name(bool value) {
884 can_set_name_ = value;
885 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_name)
886}
887
888// optional bool can_set_description = 12;
890 return (_has_bits_[0] & 0x00000008u) != 0;
891}
893 _has_bits_[0] |= 0x00000008u;
894}
896 _has_bits_[0] &= ~0x00000008u;
897}
899 can_set_description_ = false;
901}
903 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_description)
905}
908 can_set_description_ = value;
909 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_description)
910}
911
912// optional bool can_set_avatar = 13;
914 return (_has_bits_[0] & 0x00000010u) != 0;
915}
917 _has_bits_[0] |= 0x00000010u;
918}
920 _has_bits_[0] &= ~0x00000010u;
921}
923 can_set_avatar_ = false;
925}
927 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_avatar)
928 return can_set_avatar_;
929}
932 can_set_avatar_ = value;
933 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_avatar)
934}
935
936// optional bool can_set_broadcast = 14;
938 return (_has_bits_[0] & 0x00000020u) != 0;
939}
941 _has_bits_[0] |= 0x00000020u;
942}
944 _has_bits_[0] &= ~0x00000020u;
945}
947 can_set_broadcast_ = false;
949}
951 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_broadcast)
952 return can_set_broadcast_;
953}
956 can_set_broadcast_ = value;
957 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_broadcast)
958}
959
960// optional bool can_set_privacy_level = 15;
962 return (_has_bits_[0] & 0x00000040u) != 0;
963}
965 _has_bits_[0] |= 0x00000040u;
966}
968 _has_bits_[0] &= ~0x00000040u;
969}
973}
975 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_privacy_level)
977}
981 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_privacy_level)
982}
983
984// optional bool can_add_member = 29;
986 return (_has_bits_[0] & 0x00000080u) != 0;
987}
989 _has_bits_[0] |= 0x00000080u;
990}
992 _has_bits_[0] &= ~0x00000080u;
993}
995 can_add_member_ = false;
997}
999 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_member)
1000 return can_add_member_;
1001}
1004 can_add_member_ = value;
1005 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_member)
1006}
1007
1008// optional bool can_kick_member = 30;
1010 return (_has_bits_[0] & 0x00000100u) != 0;
1011}
1013 _has_bits_[0] |= 0x00000100u;
1014}
1016 _has_bits_[0] &= ~0x00000100u;
1017}
1019 can_kick_member_ = false;
1021}
1023 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_kick_member)
1024 return can_kick_member_;
1025}
1028 can_kick_member_ = value;
1029 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_kick_member)
1030}
1031
1032// optional bool can_set_own_member_attribute = 31;
1034 return (_has_bits_[0] & 0x00000200u) != 0;
1035}
1037 _has_bits_[0] |= 0x00000200u;
1038}
1040 _has_bits_[0] &= ~0x00000200u;
1041}
1045}
1047 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_attribute)
1049}
1053 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_attribute)
1054}
1055
1056// optional bool can_set_other_member_attribute = 32;
1058 return (_has_bits_[0] & 0x00000400u) != 0;
1059}
1061 _has_bits_[0] |= 0x00000400u;
1062}
1064 _has_bits_[0] &= ~0x00000400u;
1065}
1069}
1071 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_attribute)
1073}
1077 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_attribute)
1078}
1079
1080// optional bool can_set_own_voice_state = 33;
1082 return (_has_bits_[0] & 0x00000800u) != 0;
1083}
1085 _has_bits_[0] |= 0x00000800u;
1086}
1088 _has_bits_[0] &= ~0x00000800u;
1089}
1093}
1095 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_voice_state)
1097}
1101 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_voice_state)
1102}
1103
1104// optional bool can_set_own_presence_level = 34;
1106 return (_has_bits_[0] & 0x00001000u) != 0;
1107}
1109 _has_bits_[0] |= 0x00001000u;
1110}
1112 _has_bits_[0] &= ~0x00001000u;
1113}
1117}
1119 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_presence_level)
1121}
1125 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_presence_level)
1126}
1127
1128// optional bool can_set_own_whisper_level = 35;
1130 return (_has_bits_[0] & 0x00002000u) != 0;
1131}
1133 _has_bits_[0] |= 0x00002000u;
1134}
1136 _has_bits_[0] &= ~0x00002000u;
1137}
1141}
1143 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_whisper_level)
1145}
1149 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_whisper_level)
1150}
1151
1152// optional bool can_set_own_member_note = 36;
1154 return (_has_bits_[0] & 0x00004000u) != 0;
1155}
1157 _has_bits_[0] |= 0x00004000u;
1158}
1160 _has_bits_[0] &= ~0x00004000u;
1161}
1165}
1167 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_note)
1169}
1173 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_note)
1174}
1175
1176// optional bool can_set_other_member_note = 37;
1178 return (_has_bits_[0] & 0x00008000u) != 0;
1179}
1181 _has_bits_[0] |= 0x00008000u;
1182}
1184 _has_bits_[0] &= ~0x00008000u;
1185}
1189}
1191 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_note)
1193}
1197 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_note)
1198}
1199
1200// optional bool can_use_voice = 50;
1202 return (_has_bits_[0] & 0x00010000u) != 0;
1203}
1205 _has_bits_[0] |= 0x00010000u;
1206}
1208 _has_bits_[0] &= ~0x00010000u;
1209}
1211 can_use_voice_ = false;
1213}
1215 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_use_voice)
1216 return can_use_voice_;
1217}
1220 can_use_voice_ = value;
1221 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_use_voice)
1222}
1223
1224// optional bool can_voice_mute_member_for_all = 51;
1226 return (_has_bits_[0] & 0x00020000u) != 0;
1227}
1229 _has_bits_[0] |= 0x00020000u;
1230}
1232 _has_bits_[0] &= ~0x00020000u;
1233}
1237}
1239 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_voice_mute_member_for_all)
1241}
1245 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_voice_mute_member_for_all)
1246}
1247
1248// optional bool can_get_invitation = 70;
1250 return (_has_bits_[0] & 0x00040000u) != 0;
1251}
1253 _has_bits_[0] |= 0x00040000u;
1254}
1256 _has_bits_[0] &= ~0x00040000u;
1257}
1259 can_get_invitation_ = false;
1261}
1263 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_invitation)
1264 return can_get_invitation_;
1265}
1268 can_get_invitation_ = value;
1269 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_invitation)
1270}
1271
1272// optional bool can_send_invitation = 71;
1274 return (_has_bits_[0] & 0x00080000u) != 0;
1275}
1277 _has_bits_[0] |= 0x00080000u;
1278}
1280 _has_bits_[0] &= ~0x00080000u;
1281}
1283 can_send_invitation_ = false;
1285}
1287 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_invitation)
1288 return can_send_invitation_;
1289}
1292 can_send_invitation_ = value;
1293 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_invitation)
1294}
1295
1296// optional bool can_send_guest_invitation = 72;
1298 return (_has_bits_[0] & 0x00100000u) != 0;
1299}
1301 _has_bits_[0] |= 0x00100000u;
1302}
1304 _has_bits_[0] &= ~0x00100000u;
1305}
1309}
1311 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_guest_invitation)
1313}
1317 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_guest_invitation)
1318}
1319
1320// optional bool can_revoke_own_invitation = 73;
1322 return (_has_bits_[0] & 0x00200000u) != 0;
1323}
1325 _has_bits_[0] |= 0x00200000u;
1326}
1328 _has_bits_[0] &= ~0x00200000u;
1329}
1333}
1335 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_own_invitation)
1337}
1341 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_own_invitation)
1342}
1343
1344// optional bool can_revoke_other_invitation = 74;
1346 return (_has_bits_[0] & 0x00400000u) != 0;
1347}
1349 _has_bits_[0] |= 0x00400000u;
1350}
1352 _has_bits_[0] &= ~0x00400000u;
1353}
1357}
1359 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_other_invitation)
1361}
1365 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_other_invitation)
1366}
1367
1368// optional bool can_get_suggestion = 90;
1370 return (_has_bits_[0] & 0x00800000u) != 0;
1371}
1373 _has_bits_[0] |= 0x00800000u;
1374}
1376 _has_bits_[0] &= ~0x00800000u;
1377}
1379 can_get_suggestion_ = false;
1381}
1383 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_suggestion)
1384 return can_get_suggestion_;
1385}
1388 can_get_suggestion_ = value;
1389 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_suggestion)
1390}
1391
1392// optional bool can_suggest_member = 91;
1394 return (_has_bits_[0] & 0x01000000u) != 0;
1395}
1397 _has_bits_[0] |= 0x01000000u;
1398}
1400 _has_bits_[0] &= ~0x01000000u;
1401}
1403 can_suggest_member_ = false;
1405}
1407 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_suggest_member)
1408 return can_suggest_member_;
1409}
1412 can_suggest_member_ = value;
1413 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_suggest_member)
1414}
1415
1416// optional bool can_approve_member = 92;
1418 return (_has_bits_[0] & 0x02000000u) != 0;
1419}
1421 _has_bits_[0] |= 0x02000000u;
1422}
1424 _has_bits_[0] &= ~0x02000000u;
1425}
1427 can_approve_member_ = false;
1429}
1431 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_approve_member)
1432 return can_approve_member_;
1433}
1436 can_approve_member_ = value;
1437 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_approve_member)
1438}
1439
1440// optional bool can_get_ticket = 110;
1442 return (_has_bits_[0] & 0x04000000u) != 0;
1443}
1445 _has_bits_[0] |= 0x04000000u;
1446}
1448 _has_bits_[0] &= ~0x04000000u;
1449}
1451 can_get_ticket_ = false;
1453}
1455 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ticket)
1456 return can_get_ticket_;
1457}
1460 can_get_ticket_ = value;
1461 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ticket)
1462}
1463
1464// optional bool can_create_ticket = 111;
1466 return (_has_bits_[0] & 0x08000000u) != 0;
1467}
1469 _has_bits_[0] |= 0x08000000u;
1470}
1472 _has_bits_[0] &= ~0x08000000u;
1473}
1475 can_create_ticket_ = false;
1477}
1479 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_ticket)
1480 return can_create_ticket_;
1481}
1484 can_create_ticket_ = value;
1485 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_ticket)
1486}
1487
1488// optional bool can_destroy_ticket = 112;
1490 return (_has_bits_[0] & 0x10000000u) != 0;
1491}
1493 _has_bits_[0] |= 0x10000000u;
1494}
1496 _has_bits_[0] &= ~0x10000000u;
1497}
1499 can_destroy_ticket_ = false;
1501}
1503 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_ticket)
1504 return can_destroy_ticket_;
1505}
1508 can_destroy_ticket_ = value;
1509 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_ticket)
1510}
1511
1512// optional bool can_get_ban = 130;
1514 return (_has_bits_[0] & 0x20000000u) != 0;
1515}
1517 _has_bits_[0] |= 0x20000000u;
1518}
1520 _has_bits_[0] &= ~0x20000000u;
1521}
1523 can_get_ban_ = false;
1525}
1527 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ban)
1528 return can_get_ban_;
1529}
1530inline void ClubPrivilegeSet::set_can_get_ban(bool value) {
1532 can_get_ban_ = value;
1533 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ban)
1534}
1535
1536// optional bool can_add_ban = 131;
1538 return (_has_bits_[0] & 0x40000000u) != 0;
1539}
1541 _has_bits_[0] |= 0x40000000u;
1542}
1544 _has_bits_[0] &= ~0x40000000u;
1545}
1547 can_add_ban_ = false;
1549}
1551 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_ban)
1552 return can_add_ban_;
1553}
1554inline void ClubPrivilegeSet::set_can_add_ban(bool value) {
1556 can_add_ban_ = value;
1557 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_ban)
1558}
1559
1560// optional bool can_remove_ban = 132;
1562 return (_has_bits_[0] & 0x80000000u) != 0;
1563}
1565 _has_bits_[0] |= 0x80000000u;
1566}
1568 _has_bits_[0] &= ~0x80000000u;
1569}
1571 can_remove_ban_ = false;
1573}
1575 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_remove_ban)
1576 return can_remove_ban_;
1577}
1580 can_remove_ban_ = value;
1581 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_remove_ban)
1582}
1583
1584// optional bool can_create_stream = 140;
1586 return (_has_bits_[1] & 0x00000001u) != 0;
1587}
1589 _has_bits_[1] |= 0x00000001u;
1590}
1592 _has_bits_[1] &= ~0x00000001u;
1593}
1595 can_create_stream_ = false;
1597}
1599 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_stream)
1600 return can_create_stream_;
1601}
1604 can_create_stream_ = value;
1605 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_stream)
1606}
1607
1608// optional bool can_destroy_stream = 141;
1610 return (_has_bits_[1] & 0x00000002u) != 0;
1611}
1613 _has_bits_[1] |= 0x00000002u;
1614}
1616 _has_bits_[1] &= ~0x00000002u;
1617}
1619 can_destroy_stream_ = false;
1621}
1623 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_stream)
1624 return can_destroy_stream_;
1625}
1628 can_destroy_stream_ = value;
1629 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_stream)
1630}
1631
1632// optional bool can_set_stream_position = 142;
1634 return (_has_bits_[1] & 0x00000004u) != 0;
1635}
1637 _has_bits_[1] |= 0x00000004u;
1638}
1640 _has_bits_[1] &= ~0x00000004u;
1641}
1645}
1647 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_position)
1649}
1653 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_position)
1654}
1655
1656// optional bool can_set_stream_attribute = 143;
1658 return (_has_bits_[1] & 0x00000008u) != 0;
1659}
1661 _has_bits_[1] |= 0x00000008u;
1662}
1664 _has_bits_[1] &= ~0x00000008u;
1665}
1669}
1671 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_attribute)
1673}
1677 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_attribute)
1678}
1679
1680// optional bool can_set_stream_name = 144;
1682 return (_has_bits_[1] & 0x00000010u) != 0;
1683}
1685 _has_bits_[1] |= 0x00000010u;
1686}
1688 _has_bits_[1] &= ~0x00000010u;
1689}
1691 can_set_stream_name_ = false;
1693}
1695 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_name)
1696 return can_set_stream_name_;
1697}
1700 can_set_stream_name_ = value;
1701 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_name)
1702}
1703
1704// optional bool can_set_stream_subject = 145;
1706 return (_has_bits_[1] & 0x00000020u) != 0;
1707}
1709 _has_bits_[1] |= 0x00000020u;
1710}
1712 _has_bits_[1] &= ~0x00000020u;
1713}
1717}
1719 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_subject)
1721}
1725 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_subject)
1726}
1727
1728// optional bool can_set_stream_access = 146;
1730 return (_has_bits_[1] & 0x00000040u) != 0;
1731}
1733 _has_bits_[1] |= 0x00000040u;
1734}
1736 _has_bits_[1] &= ~0x00000040u;
1737}
1739 can_set_stream_access_ = false;
1741}
1743 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_access)
1745}
1748 can_set_stream_access_ = value;
1749 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_access)
1750}
1751
1752// optional bool can_set_stream_voice_level = 147;
1754 return (_has_bits_[1] & 0x00000080u) != 0;
1755}
1757 _has_bits_[1] |= 0x00000080u;
1758}
1760 _has_bits_[1] &= ~0x00000080u;
1761}
1765}
1767 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_voice_level)
1769}
1773 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_voice_level)
1774}
1775
1776// optional bool can_create_message = 180;
1778 return (_has_bits_[1] & 0x00000100u) != 0;
1779}
1781 _has_bits_[1] |= 0x00000100u;
1782}
1784 _has_bits_[1] &= ~0x00000100u;
1785}
1787 can_create_message_ = false;
1789}
1791 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_message)
1792 return can_create_message_;
1793}
1796 can_create_message_ = value;
1797 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_message)
1798}
1799
1800// optional bool can_destroy_own_message = 181;
1802 return (_has_bits_[1] & 0x00000200u) != 0;
1803}
1805 _has_bits_[1] |= 0x00000200u;
1806}
1808 _has_bits_[1] &= ~0x00000200u;
1809}
1813}
1815 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_own_message)
1817}
1821 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_own_message)
1822}
1823
1824// optional bool can_destroy_other_message = 182;
1826 return (_has_bits_[1] & 0x00000400u) != 0;
1827}
1829 _has_bits_[1] |= 0x00000400u;
1830}
1832 _has_bits_[1] &= ~0x00000400u;
1833}
1837}
1839 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_other_message)
1841}
1845 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_other_message)
1846}
1847
1848// optional bool can_edit_own_message = 183;
1850 return (_has_bits_[1] & 0x00000800u) != 0;
1851}
1853 _has_bits_[1] |= 0x00000800u;
1854}
1856 _has_bits_[1] &= ~0x00000800u;
1857}
1859 can_edit_own_message_ = false;
1861}
1863 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_edit_own_message)
1864 return can_edit_own_message_;
1865}
1868 can_edit_own_message_ = value;
1869 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_edit_own_message)
1870}
1871
1872// optional bool can_pin_message = 184;
1874 return (_has_bits_[1] & 0x00001000u) != 0;
1875}
1877 _has_bits_[1] |= 0x00001000u;
1878}
1880 _has_bits_[1] &= ~0x00001000u;
1881}
1883 can_pin_message_ = false;
1885}
1887 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_pin_message)
1888 return can_pin_message_;
1889}
1892 can_pin_message_ = value;
1893 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_pin_message)
1894}
1895
1896// optional bool can_mention_all = 185;
1898 return (_has_bits_[1] & 0x00002000u) != 0;
1899}
1901 _has_bits_[1] |= 0x00002000u;
1902}
1904 _has_bits_[1] &= ~0x00002000u;
1905}
1907 can_mention_all_ = false;
1909}
1911 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_all)
1912 return can_mention_all_;
1913}
1916 can_mention_all_ = value;
1917 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_all)
1918}
1919
1920// optional bool can_mention_here = 186;
1922 return (_has_bits_[1] & 0x00004000u) != 0;
1923}
1925 _has_bits_[1] |= 0x00004000u;
1926}
1928 _has_bits_[1] &= ~0x00004000u;
1929}
1931 can_mention_here_ = false;
1933}
1935 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_here)
1936 return can_mention_here_;
1937}
1940 can_mention_here_ = value;
1941 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_here)
1942}
1943
1944// optional bool can_mention_member = 187;
1946 return (_has_bits_[1] & 0x00008000u) != 0;
1947}
1949 _has_bits_[1] |= 0x00008000u;
1950}
1952 _has_bits_[1] &= ~0x00008000u;
1953}
1955 can_mention_member_ = false;
1957}
1959 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_member)
1960 return can_mention_member_;
1961}
1964 can_mention_member_ = value;
1965 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_member)
1966}
1967
1968// optional bool can_mention_role = 188;
1970 return (_has_bits_[1] & 0x00010000u) != 0;
1971}
1973 _has_bits_[1] |= 0x00010000u;
1974}
1976 _has_bits_[1] &= ~0x00010000u;
1977}
1979 can_mention_role_ = false;
1981}
1983 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_role)
1984 return can_mention_role_;
1985}
1988 can_mention_role_ = value;
1989 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_role)
1990}
1991
1992// -------------------------------------------------------------------
1993
1994// ClubRole
1995
1996// optional uint32 id = 1;
1997inline bool ClubRole::has_id() const {
1998 return (_has_bits_[0] & 0x00000001u) != 0;
1999}
2001 _has_bits_[0] |= 0x00000001u;
2002}
2004 _has_bits_[0] &= ~0x00000001u;
2005}
2006inline void ClubRole::clear_id() {
2007 id_ = 0u;
2008 clear_has_id();
2009}
2011 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.id)
2012 return id_;
2013}
2015 set_has_id();
2016 id_ = value;
2017 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRole.id)
2018}
2019
2020// optional .bgs.protocol.RoleState state = 2;
2021inline bool ClubRole::has_state() const {
2022 return (_has_bits_[0] & 0x00000002u) != 0;
2023}
2025 _has_bits_[0] |= 0x00000002u;
2026}
2028 _has_bits_[0] &= ~0x00000002u;
2029}
2031 if (state_ != NULL) state_->::bgs::protocol::RoleState::Clear();
2033}
2034inline const ::bgs::protocol::RoleState& ClubRole::state() const {
2035 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.state)
2036 return state_ != NULL ? *state_ : *default_instance_->state_;
2037}
2038inline ::bgs::protocol::RoleState* ClubRole::mutable_state() {
2039 set_has_state();
2040 if (state_ == NULL) state_ = new ::bgs::protocol::RoleState;
2041 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRole.state)
2042 return state_;
2043}
2044inline ::bgs::protocol::RoleState* ClubRole::release_state() {
2047 state_ = NULL;
2048 return temp;
2049}
2051 delete state_;
2052 state_ = state;
2053 if (state) {
2054 set_has_state();
2055 } else {
2057 }
2058 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRole.state)
2059}
2060
2061// optional .bgs.protocol.club.v1.ClubPrivilegeSet privilege = 3;
2062inline bool ClubRole::has_privilege() const {
2063 return (_has_bits_[0] & 0x00000004u) != 0;
2064}
2066 _has_bits_[0] |= 0x00000004u;
2067}
2069 _has_bits_[0] &= ~0x00000004u;
2070}
2072 if (privilege_ != NULL) privilege_->::bgs::protocol::club::v1::ClubPrivilegeSet::Clear();
2074}
2075inline const ::bgs::protocol::club::v1::ClubPrivilegeSet& ClubRole::privilege() const {
2076 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.privilege)
2077 return privilege_ != NULL ? *privilege_ : *default_instance_->privilege_;
2078}
2079inline ::bgs::protocol::club::v1::ClubPrivilegeSet* ClubRole::mutable_privilege() {
2081 if (privilege_ == NULL) privilege_ = new ::bgs::protocol::club::v1::ClubPrivilegeSet;
2082 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRole.privilege)
2083 return privilege_;
2084}
2085inline ::bgs::protocol::club::v1::ClubPrivilegeSet* ClubRole::release_privilege() {
2088 privilege_ = NULL;
2089 return temp;
2090}
2092 delete privilege_;
2094 if (privilege) {
2096 } else {
2098 }
2099 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRole.privilege)
2100}
2101
2102// optional bool always_grant_stream_access = 4;
2104 return (_has_bits_[0] & 0x00000008u) != 0;
2105}
2107 _has_bits_[0] |= 0x00000008u;
2108}
2110 _has_bits_[0] &= ~0x00000008u;
2111}
2115}
2117 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.always_grant_stream_access)
2119}
2123 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRole.always_grant_stream_access)
2124}
2125
2126// optional bool allow_in_club_slot = 5;
2128 return (_has_bits_[0] & 0x00000010u) != 0;
2129}
2131 _has_bits_[0] |= 0x00000010u;
2132}
2134 _has_bits_[0] &= ~0x00000010u;
2135}
2137 allow_in_club_slot_ = false;
2139}
2140inline bool ClubRole::allow_in_club_slot() const {
2141 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.allow_in_club_slot)
2142 return allow_in_club_slot_;
2143}
2144inline void ClubRole::set_allow_in_club_slot(bool value) {
2146 allow_in_club_slot_ = value;
2147 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRole.allow_in_club_slot)
2148}
2149
2150// -------------------------------------------------------------------
2151
2152// ClubRoleSet
2153
2154// repeated .bgs.protocol.club.v1.ClubRole role = 1;
2155inline int ClubRoleSet::role_size() const {
2156 return role_.size();
2157}
2159 role_.Clear();
2160}
2161inline const ::bgs::protocol::club::v1::ClubRole& ClubRoleSet::role(int index) const {
2162 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.role)
2163 return role_.Get(index);
2164}
2165inline ::bgs::protocol::club::v1::ClubRole* ClubRoleSet::mutable_role(int index) {
2166 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRoleSet.role)
2167 return role_.Mutable(index);
2168}
2169inline ::bgs::protocol::club::v1::ClubRole* ClubRoleSet::add_role() {
2170 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubRoleSet.role)
2171 return role_.Add();
2172}
2173inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >&
2175 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubRoleSet.role)
2176 return role_;
2177}
2178inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >*
2180 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubRoleSet.role)
2181 return &role_;
2182}
2183
2184// repeated uint32 default_role = 5 [packed = true];
2186 return default_role_.size();
2187}
2189 default_role_.Clear();
2190}
2192 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.default_role)
2193 return default_role_.Get(index);
2194}
2196 default_role_.Set(index, value);
2197 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.default_role)
2198}
2200 default_role_.Add(value);
2201 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubRoleSet.default_role)
2202}
2203inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2205 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubRoleSet.default_role)
2206 return default_role_;
2207}
2208inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2210 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubRoleSet.default_role)
2211 return &default_role_;
2212}
2213
2214// optional bool assignment_respects_relegation_chain = 6;
2216 return (_has_bits_[0] & 0x00000004u) != 0;
2217}
2219 _has_bits_[0] |= 0x00000004u;
2220}
2222 _has_bits_[0] &= ~0x00000004u;
2223}
2227}
2229 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.assignment_respects_relegation_chain)
2231}
2235 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.assignment_respects_relegation_chain)
2236}
2237
2238// optional string subtype = 7;
2239inline bool ClubRoleSet::has_subtype() const {
2240 return (_has_bits_[0] & 0x00000008u) != 0;
2241}
2243 _has_bits_[0] |= 0x00000008u;
2244}
2246 _has_bits_[0] &= ~0x00000008u;
2247}
2249 if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2250 subtype_->clear();
2251 }
2253}
2254inline const ::std::string& ClubRoleSet::subtype() const {
2255 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.subtype)
2256 return *subtype_;
2257}
2258inline void ClubRoleSet::set_subtype(const ::std::string& value) {
2260 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2261 subtype_ = new ::std::string;
2262 }
2263 subtype_->assign(value);
2264 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.subtype)
2265}
2266inline void ClubRoleSet::set_subtype(const char* value) {
2268 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2269 subtype_ = new ::std::string;
2270 }
2271 subtype_->assign(value);
2272 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubRoleSet.subtype)
2273}
2274inline void ClubRoleSet::set_subtype(const char* value, size_t size) {
2276 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2277 subtype_ = new ::std::string;
2278 }
2279 subtype_->assign(reinterpret_cast<const char*>(value), size);
2280 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubRoleSet.subtype)
2281}
2282inline ::std::string* ClubRoleSet::mutable_subtype() {
2284 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2285 subtype_ = new ::std::string;
2286 }
2287 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRoleSet.subtype)
2288 return subtype_;
2289}
2290inline ::std::string* ClubRoleSet::release_subtype() {
2292 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2293 return NULL;
2294 } else {
2295 ::std::string* temp = subtype_;
2296 subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2297 return temp;
2298 }
2299}
2300inline void ClubRoleSet::set_allocated_subtype(::std::string* subtype) {
2301 if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2302 delete subtype_;
2303 }
2304 if (subtype) {
2306 subtype_ = subtype;
2307 } else {
2309 subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2310 }
2311 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRoleSet.subtype)
2312}
2313
2314// @@protoc_insertion_point(namespace_scope)
2315
2316} // namespace v1
2317} // namespace club
2318} // namespace protocol
2319} // namespace bgs
2320
2321#ifndef SWIG
2322namespace google {
2323namespace protobuf {
2324} // namespace google
2325} // namespace protobuf
2326#endif // SWIG
2327
2328// @@protoc_insertion_point(global_scope)
2329
2330#endif // PROTOBUF_club_5frole_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint32_t uint32
Definition: Define.h:142
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_role.pb.h:59
static ClubPrivilegeSet * default_instance_
Definition: club_role.pb.h:589
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_role.pb.h:63
ClubPrivilegeSet & operator=(const ClubPrivilegeSet &from)
Definition: club_role.pb.h:54
ClubPrivilegeSet(const ClubPrivilegeSet &from)
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 _has_bits_[2]
Definition: club_role.pb.h:533
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_role.pb.h:531
friend void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto()
static const ClubPrivilegeSet & default_instance()
void Swap(ClubPrivilegeSet *other)
inline ::std::string * mutable_subtype()
ClubRoleSet(const ClubRoleSet &from)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & default_role() const
ClubRoleSet & operator=(const ClubRoleSet &from)
Definition: club_role.pb.h:710
static const ClubRoleSet & default_instance()
void set_default_role(int index, ::google::protobuf::uint32 value)
void set_allocated_subtype(::std::string *subtype)
void add_default_role(::google::protobuf::uint32 value)
void set_subtype(const ::std::string &value)
friend void protobuf_ShutdownFile_club_5frole_2eproto()
static ClubRoleSet * default_instance_
Definition: club_role.pb.h:806
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_
Definition: club_role.pb.h:798
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_role.pb.h:793
friend void protobuf_AssignDesc_club_5frole_2eproto()
::google::protobuf::uint32 _has_bits_[1]
Definition: club_role.pb.h:795
void SetCachedSize(int size) const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole > * mutable_role()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_role.pb.h:719
void set_assignment_respects_relegation_chain(bool value)
bool has_assignment_respects_relegation_chain() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::ClubRole * add_role()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole > & role() const
void Swap(ClubRoleSet *other)
friend void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_default_role()
inline ::std::string * release_subtype()
static const ::google::protobuf::Descriptor * descriptor()
const ::std::string & subtype() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole > role_
Definition: club_role.pb.h:797
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_role.pb.h:715
inline ::bgs::protocol::RoleState * release_state()
ClubRole(const ClubRole &from)
static ClubRole * default_instance_
Definition: club_role.pb.h:699
inline ::bgs::protocol::club::v1::ClubPrivilegeSet * release_privilege()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_role.pb.h:605
void set_always_grant_stream_access(bool value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_role.pb.h:609
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::RoleState * mutable_state()
::google::protobuf::uint32 id_
Definition: club_role.pb.h:691
friend void protobuf_ShutdownFile_club_5frole_2eproto()
const ::bgs::protocol::RoleState & state() const
void SetCachedSize(int size) const
void Swap(ClubRole *other)
static const ClubRole & default_instance()
void set_id(::google::protobuf::uint32 value)
::bgs::protocol::RoleState * state_
Definition: club_role.pb.h:689
friend void protobuf_AssignDesc_club_5frole_2eproto()
ClubRole & operator=(const ClubRole &from)
Definition: club_role.pb.h:600
::bgs::protocol::club::v1::ClubPrivilegeSet * privilege_
Definition: club_role.pb.h:690
inline ::bgs::protocol::club::v1::ClubPrivilegeSet * mutable_privilege()
::google::protobuf::uint32 _has_bits_[1]
Definition: club_role.pb.h:687
void set_allow_in_club_slot(bool value)
void set_allocated_privilege(::bgs::protocol::club::v1::ClubPrivilegeSet *privilege)
friend void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_role.pb.h:685
void set_allocated_state(::bgs::protocol::RoleState *state)
inline ::google::protobuf::uint32 id() const
const ::bgs::protocol::club::v1::ClubPrivilegeSet & privilege() const
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_AssignDesc_club_5frole_2eproto()
void protobuf_ShutdownFile_club_5frole_2eproto()
void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto()
Definition: Session.h:36