aboutsummaryrefslogtreecommitdiff
path: root/src/server/proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/proto')
-rw-r--r--src/server/proto/Client/account_service.pb.cc56
-rw-r--r--src/server/proto/Client/account_types.pb.cc479
-rw-r--r--src/server/proto/Client/account_types.pb.h371
-rw-r--r--src/server/proto/Client/api/client/v1/channel_id.pb.cc11
-rw-r--r--src/server/proto/Client/api/client/v1/channel_id.pb.h34
-rw-r--r--src/server/proto/Client/api/client/v2/report_service.pb.cc15
-rw-r--r--src/server/proto/Client/api/client/v2/report_types.pb.cc69
-rw-r--r--src/server/proto/Client/api/client/v2/report_types.pb.h14
-rw-r--r--src/server/proto/Client/attribute_types.pb.cc4
-rw-r--r--src/server/proto/Client/authentication_service.pb.cc1362
-rw-r--r--src/server/proto/Client/authentication_service.pb.h1824
-rw-r--r--src/server/proto/Client/challenge_service.pb.cc6
-rw-r--r--src/server/proto/Client/club_core.pb.cc410
-rw-r--r--src/server/proto/Client/club_core.pb.h1662
-rw-r--r--src/server/proto/Client/club_enum.pb.cc22
-rw-r--r--src/server/proto/Client/club_enum.pb.h25
-rw-r--r--src/server/proto/Client/club_invitation.pb.cc94
-rw-r--r--src/server/proto/Client/club_invitation.pb.h35
-rw-r--r--src/server/proto/Client/club_member.pb.cc122
-rw-r--r--src/server/proto/Client/club_member.pb.h1
-rw-r--r--src/server/proto/Client/club_membership_listener.pb.cc6
-rw-r--r--src/server/proto/Client/club_membership_service.pb.cc6
-rw-r--r--src/server/proto/Client/club_membership_types.pb.cc60
-rw-r--r--src/server/proto/Client/club_membership_types.pb.h1
-rw-r--r--src/server/proto/Client/club_name_generator.pb.cc514
-rw-r--r--src/server/proto/Client/club_name_generator.pb.h1015
-rw-r--r--src/server/proto/Client/club_request.pb.cc495
-rw-r--r--src/server/proto/Client/club_request.pb.h88
-rw-r--r--src/server/proto/Client/club_stream.pb.cc148
-rw-r--r--src/server/proto/Client/club_stream.pb.h54
-rw-r--r--src/server/proto/Client/club_tag.pb.cc434
-rw-r--r--src/server/proto/Client/club_tag.pb.h676
-rw-r--r--src/server/proto/Client/club_type.pb.cc185
-rw-r--r--src/server/proto/Client/club_type.pb.h247
-rw-r--r--src/server/proto/Client/club_types.pb.cc17
-rw-r--r--src/server/proto/Client/club_types.pb.h3
-rw-r--r--src/server/proto/Client/connection_service.pb.cc288
-rw-r--r--src/server/proto/Client/connection_service.pb.h463
-rw-r--r--src/server/proto/Client/content_handle_types.pb.cc107
-rw-r--r--src/server/proto/Client/content_handle_types.pb.h148
-rw-r--r--src/server/proto/Client/entity_types.pb.cc4
-rw-r--r--src/server/proto/Client/friends_service.pb.cc94
-rw-r--r--src/server/proto/Client/friends_types.pb.cc41
-rw-r--r--src/server/proto/Client/friends_types.pb.h91
-rw-r--r--src/server/proto/Client/game_utilities_service.pb.cc163
-rw-r--r--src/server/proto/Client/game_utilities_service.pb.h301
-rw-r--r--src/server/proto/Client/game_utilities_types.pb.cc6
-rw-r--r--src/server/proto/Client/global_extensions/field_options.pb.cc4
-rw-r--r--src/server/proto/Client/global_extensions/message_options.pb.cc4
-rw-r--r--src/server/proto/Client/global_extensions/method_options.pb.cc26
-rw-r--r--src/server/proto/Client/global_extensions/method_options.pb.h159
-rw-r--r--src/server/proto/Client/global_extensions/service_options.pb.cc32
-rw-r--r--src/server/proto/Client/global_extensions/service_options.pb.h44
-rw-r--r--src/server/proto/Client/invitation_types.pb.cc4
-rw-r--r--src/server/proto/Client/presence_listener.pb.cc8
-rw-r--r--src/server/proto/Client/resource_service.pb.cc239
-rw-r--r--src/server/proto/Client/resource_service.pb.h278
-rw-r--r--src/server/proto/Client/rpc_config.pb.cc233
-rw-r--r--src/server/proto/Client/rpc_config.pb.h363
-rw-r--r--src/server/proto/Client/rpc_types.pb.cc142
-rw-r--r--src/server/proto/Client/rpc_types.pb.h534
-rw-r--r--src/server/proto/Client/semantic_version.pb.cc188
-rw-r--r--src/server/proto/Client/semantic_version.pb.h311
-rw-r--r--src/server/proto/Client/user_manager_service.pb.cc6
64 files changed, 8800 insertions, 6046 deletions
diff --git a/src/server/proto/Client/account_service.pb.cc b/src/server/proto/Client/account_service.pb.cc
index f6f8b57f37e..4bbfe70b28b 100644
--- a/src/server/proto/Client/account_service.pb.cc
+++ b/src/server/proto/Client/account_service.pb.cc
@@ -731,7 +731,7 @@ void protobuf_AddDesc_account_5fservice_2eproto() {
"onNotification\022@\n\014game_account\030\001 \001(\0132*.b"
"gs.protocol.account.v1.GameAccountHandle"
"\022D\n\014session_info\030\002 \001(\0132..bgs.protocol.ac"
- "count.v1.GameSessionUpdateInfo2\312\013\n\016Accou"
+ "count.v1.GameSessionUpdateInfo2\314\013\n\016Accou"
"ntService\022y\n\016ResolveAccount\022..bgs.protoc"
"ol.account.v1.ResolveAccountRequest\032/.bg"
"s.protocol.account.v1.ResolveAccountResp"
@@ -754,35 +754,35 @@ void protobuf_AddDesc_account_5fservice_2eproto() {
"nfo\0228.bgs.protocol.account.v1.GetGameTim"
"eRemainingInfoRequest\0329.bgs.protocol.acc"
"ount.v1.GetGameTimeRemainingInfoResponse"
- "\"\006\202\371+\002\010!\022\205\001\n\022GetGameSessionInfo\0222.bgs.pr"
+ "\"\006\202\371+\002\010!\022\207\001\n\022GetGameSessionInfo\0222.bgs.pr"
"otocol.account.v1.GetGameSessionInfoRequ"
"est\0323.bgs.protocol.account.v1.GetGameSes"
- "sionInfoResponse\"\006\202\371+\002\010\"\022p\n\013GetCAISInfo\022"
- "+.bgs.protocol.account.v1.GetCAISInfoReq"
- "uest\032,.bgs.protocol.account.v1.GetCAISIn"
- "foResponse\"\006\202\371+\002\010#\022\202\001\n\021GetAuthorizedData"
- "\0221.bgs.protocol.account.v1.GetAuthorized"
- "DataRequest\0322.bgs.protocol.account.v1.Ge"
- "tAuthorizedDataResponse\"\006\202\371+\002\010%\022\216\001\n\025GetS"
- "ignedAccountState\0225.bgs.protocol.account"
- ".v1.GetSignedAccountStateRequest\0326.bgs.p"
- "rotocol.account.v1.GetSignedAccountState"
- "Response\"\006\202\371+\002\010,\0329\202\371+/\n$bnet.protocol.ac"
- "count.AccountService*\007account\212\371+\002\020\0012\220\004\n\017"
- "AccountListener\022m\n\025OnAccountStateUpdated"
- "\0221.bgs.protocol.account.v1.AccountStateN"
- "otification\032\031.bgs.protocol.NO_RESPONSE\"\006"
- "\202\371+\002\010\001\022u\n\031OnGameAccountStateUpdated\0225.bg"
- "s.protocol.account.v1.GameAccountStateNo"
- "tification\032\031.bgs.protocol.NO_RESPONSE\"\006\202"
- "\371+\002\010\002\022o\n\025OnGameAccountsUpdated\0220.bgs.pro"
- "tocol.account.v1.GameAccountNotification"
- "\032\031.bgs.protocol.NO_RESPONSE\"\t\210\002\001\202\371+\002\010\003\022u"
- "\n\024OnGameSessionUpdated\0227.bgs.protocol.ac"
- "count.v1.GameAccountSessionNotification\032"
- "\031.bgs.protocol.NO_RESPONSE\"\t\210\002\001\202\371+\002\010\004\032/\202"
- "\371+%\n#bnet.protocol.account.AccountNotify"
- "\212\371+\002\010\001B\005H\002\200\001\000", 5453);
+ "sionInfoResponse\"\010\202\371+\004\010\"P\001\022p\n\013GetCAISInf"
+ "o\022+.bgs.protocol.account.v1.GetCAISInfoR"
+ "equest\032,.bgs.protocol.account.v1.GetCAIS"
+ "InfoResponse\"\006\202\371+\002\010#\022\202\001\n\021GetAuthorizedDa"
+ "ta\0221.bgs.protocol.account.v1.GetAuthoriz"
+ "edDataRequest\0322.bgs.protocol.account.v1."
+ "GetAuthorizedDataResponse\"\006\202\371+\002\010%\022\216\001\n\025Ge"
+ "tSignedAccountState\0225.bgs.protocol.accou"
+ "nt.v1.GetSignedAccountStateRequest\0326.bgs"
+ ".protocol.account.v1.GetSignedAccountSta"
+ "teResponse\"\006\202\371+\002\010,\0329\202\371+/\n$bnet.protocol."
+ "account.AccountService*\007account\212\371+\002\020\0012\220\004"
+ "\n\017AccountListener\022m\n\025OnAccountStateUpdat"
+ "ed\0221.bgs.protocol.account.v1.AccountStat"
+ "eNotification\032\031.bgs.protocol.NO_RESPONSE"
+ "\"\006\202\371+\002\010\001\022u\n\031OnGameAccountStateUpdated\0225."
+ "bgs.protocol.account.v1.GameAccountState"
+ "Notification\032\031.bgs.protocol.NO_RESPONSE\""
+ "\006\202\371+\002\010\002\022n\n\025OnGameAccountsUpdated\0220.bgs.p"
+ "rotocol.account.v1.GameAccountNotificati"
+ "on\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\003P\001\022"
+ "t\n\024OnGameSessionUpdated\0227.bgs.protocol.a"
+ "ccount.v1.GameAccountSessionNotification"
+ "\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\004P\001\0321\202"
+ "\371+\'\n#bnet.protocol.account.AccountNotify"
+ "8\001\212\371+\002\010\001B\005H\002\200\001\000", 5455);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"account_service.proto", &protobuf_RegisterTypes);
ResolveAccountRequest::default_instance_ = new ResolveAccountRequest();
diff --git a/src/server/proto/Client/account_types.pb.cc b/src/server/proto/Client/account_types.pb.cc
index 8d08be4bbe3..57af58a4aeb 100644
--- a/src/server/proto/Client/account_types.pb.cc
+++ b/src/server/proto/Client/account_types.pb.cc
@@ -59,6 +59,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* SubscriberReference_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
SubscriberReference_reflection_ = NULL;
+const ::google::protobuf::Descriptor* OptIns_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ OptIns_reflection_ = NULL;
const ::google::protobuf::Descriptor* AccountLevelInfo_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
AccountLevelInfo_reflection_ = NULL;
@@ -358,8 +361,23 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(SubscriberReference));
- AccountLevelInfo_descriptor_ = file->message_type(12);
- static const int AccountLevelInfo_offsets_[16] = {
+ OptIns_descriptor_ = file->message_type(12);
+ static const int OptIns_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OptIns, ids_),
+ };
+ OptIns_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ OptIns_descriptor_,
+ OptIns::default_instance_,
+ OptIns_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OptIns, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OptIns, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(OptIns));
+ AccountLevelInfo_descriptor_ = file->message_type(13);
+ static const int AccountLevelInfo_offsets_[19] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, licenses_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, default_currency_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, country_),
@@ -376,6 +394,9 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, is_sms_protected_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, ratings_board_minimum_age_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, phone_number_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, birthdate_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, legal_country_feature_restrictions_applied_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountLevelInfo, opt_ins_),
};
AccountLevelInfo_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -388,7 +409,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(AccountLevelInfo));
- PrivacyInfo_descriptor_ = file->message_type(13);
+ PrivacyInfo_descriptor_ = file->message_type(14);
static const int PrivacyInfo_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PrivacyInfo, is_using_rid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PrivacyInfo, is_visible_for_view_friends_),
@@ -408,7 +429,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PrivacyInfo));
PrivacyInfo_GameInfoPrivacy_descriptor_ = PrivacyInfo_descriptor_->enum_type(0);
- ParentalControlInfo_descriptor_ = file->message_type(14);
+ ParentalControlInfo_descriptor_ = file->message_type(15);
static const int ParentalControlInfo_offsets_[8] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, timezone_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, minutes_per_day_),
@@ -430,7 +451,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ParentalControlInfo));
- PlayScheduleRestriction_descriptor_ = file->message_type(15);
+ PlayScheduleRestriction_descriptor_ = file->message_type(16);
static const int PlayScheduleRestriction_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PlayScheduleRestriction, play_schedule_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PlayScheduleRestriction, timezone_),
@@ -446,7 +467,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PlayScheduleRestriction));
- GameLevelInfo_descriptor_ = file->message_type(16);
+ GameLevelInfo_descriptor_ = file->message_type(17);
static const int GameLevelInfo_offsets_[9] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameLevelInfo, is_trial_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameLevelInfo, is_lifetime_),
@@ -469,7 +490,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameLevelInfo));
- GameTimeInfo_descriptor_ = file->message_type(17);
+ GameTimeInfo_descriptor_ = file->message_type(18);
static const int GameTimeInfo_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameTimeInfo, is_unlimited_play_time_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameTimeInfo, play_time_expires_),
@@ -487,7 +508,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameTimeInfo));
- GameTimeRemainingInfo_descriptor_ = file->message_type(18);
+ GameTimeRemainingInfo_descriptor_ = file->message_type(19);
static const int GameTimeRemainingInfo_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameTimeRemainingInfo, minutes_remaining_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameTimeRemainingInfo, parental_daily_minutes_remaining_),
@@ -505,7 +526,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameTimeRemainingInfo));
- GameStatus_descriptor_ = file->message_type(19);
+ GameStatus_descriptor_ = file->message_type(20);
static const int GameStatus_offsets_[6] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameStatus, is_suspended_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameStatus, is_banned_),
@@ -525,7 +546,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameStatus));
- RAFInfo_descriptor_ = file->message_type(20);
+ RAFInfo_descriptor_ = file->message_type(21);
static const int RAFInfo_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RAFInfo, raf_info_),
};
@@ -540,8 +561,8 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(RAFInfo));
- GameSessionInfo_descriptor_ = file->message_type(21);
- static const int GameSessionInfo_offsets_[7] = {
+ GameSessionInfo_descriptor_ = file->message_type(22);
+ static const int GameSessionInfo_offsets_[9] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, start_time_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, location_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, has_benefactor_),
@@ -549,6 +570,8 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, parental_controls_active_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, start_time_sec_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, igr_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, platform_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionInfo, igr_paid_),
};
GameSessionInfo_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -561,7 +584,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameSessionInfo));
- GameSessionUpdateInfo_descriptor_ = file->message_type(22);
+ GameSessionUpdateInfo_descriptor_ = file->message_type(23);
static const int GameSessionUpdateInfo_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionUpdateInfo, cais_),
};
@@ -576,7 +599,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameSessionUpdateInfo));
- GameSessionLocation_descriptor_ = file->message_type(23);
+ GameSessionLocation_descriptor_ = file->message_type(24);
static const int GameSessionLocation_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionLocation, ip_address_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameSessionLocation, country_),
@@ -593,7 +616,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameSessionLocation));
- CAIS_descriptor_ = file->message_type(24);
+ CAIS_descriptor_ = file->message_type(25);
static const int CAIS_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CAIS, played_minutes_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CAIS, rested_minutes_),
@@ -610,7 +633,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(CAIS));
- GameAccountList_descriptor_ = file->message_type(25);
+ GameAccountList_descriptor_ = file->message_type(26);
static const int GameAccountList_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountList, region_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountList, handle_),
@@ -626,7 +649,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameAccountList));
- SecurityStatus_descriptor_ = file->message_type(26);
+ SecurityStatus_descriptor_ = file->message_type(27);
static const int SecurityStatus_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SecurityStatus, sms_protect_enabled_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SecurityStatus, email_verified_),
@@ -645,7 +668,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(SecurityStatus));
- AccountState_descriptor_ = file->message_type(27);
+ AccountState_descriptor_ = file->message_type(28);
static const int AccountState_offsets_[8] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountState, account_level_info_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountState, privacy_info_),
@@ -667,7 +690,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(AccountState));
- AccountStateTagged_descriptor_ = file->message_type(28);
+ AccountStateTagged_descriptor_ = file->message_type(29);
static const int AccountStateTagged_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountStateTagged, account_state_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountStateTagged, account_tags_),
@@ -683,7 +706,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(AccountStateTagged));
- GameAccountState_descriptor_ = file->message_type(29);
+ GameAccountState_descriptor_ = file->message_type(30);
static const int GameAccountState_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountState, game_level_info_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountState, game_time_info_),
@@ -701,7 +724,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameAccountState));
- GameAccountStateTagged_descriptor_ = file->message_type(30);
+ GameAccountStateTagged_descriptor_ = file->message_type(31);
static const int GameAccountStateTagged_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountStateTagged, game_account_state_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountStateTagged, game_account_tags_),
@@ -717,7 +740,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameAccountStateTagged));
- AuthorizedData_descriptor_ = file->message_type(31);
+ AuthorizedData_descriptor_ = file->message_type(32);
static const int AuthorizedData_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AuthorizedData, data_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AuthorizedData, license_),
@@ -733,7 +756,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(AuthorizedData));
- IgrId_descriptor_ = file->message_type(32);
+ IgrId_descriptor_ = file->message_type(33);
static const int IgrId_offsets_[4] = {
PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(IgrId_default_oneof_instance_, game_account_),
PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(IgrId_default_oneof_instance_, external_id_),
@@ -753,7 +776,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(IgrId));
- IgrAddress_descriptor_ = file->message_type(33);
+ IgrAddress_descriptor_ = file->message_type(34);
static const int IgrAddress_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(IgrAddress, client_address_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(IgrAddress, region_),
@@ -807,6 +830,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
SubscriberReference_descriptor_, &SubscriberReference::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ OptIns_descriptor_, &OptIns::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
AccountLevelInfo_descriptor_, &AccountLevelInfo::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PrivacyInfo_descriptor_, &PrivacyInfo::default_instance());
@@ -879,6 +904,8 @@ void protobuf_ShutdownFile_account_5ftypes_2eproto() {
delete GameAccountFieldOptions_reflection_;
delete SubscriberReference::default_instance_;
delete SubscriberReference_reflection_;
+ delete OptIns::default_instance_;
+ delete OptIns_reflection_;
delete AccountLevelInfo::default_instance_;
delete AccountLevelInfo_reflection_;
delete PrivacyInfo::default_instance_;
@@ -933,162 +960,170 @@ void protobuf_AddDesc_account_5ftypes_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto();
- ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\023account_types.proto\022\027bgs.protocol.acco"
- "unt.v1\032\022entity_types.proto\032\017rpc_types.pr"
- "oto\")\n\tAccountId\022\024\n\002id\030\001 \002(\007B\010\212\371+\004\022\002\020\000:\006"
- "\202\371+\002\010\001\"-\n\016AccountLicense\022\n\n\002id\030\001 \002(\r\022\017\n\007"
- "expires\030\002 \001(\004\"k\n\021GameAccountHandle\022\024\n\002id"
- "\030\001 \002(\007B\010\212\371+\004\022\002\020\000\022\031\n\007program\030\002 \002(\007B\010\212\371+\004\022"
- "\002\020\000\022\035\n\006region\030\003 \002(\rB\r\212\371+\t\022\007\n\005\010\001\020\377\001:\006\202\371+\002"
- "\010\001\"\306\001\n\020AccountReference\022\n\n\002id\030\001 \001(\007\022\025\n\005e"
- "mail\030\002 \001(\tB\006\202\371+\002\010\001\022:\n\006handle\030\003 \001(\0132*.bgs"
- ".protocol.account.v1.GameAccountHandle\022\032"
- "\n\nbattle_tag\030\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014phone_numb"
- "er\030\005 \001(\tB\006\202\371+\002\010\001\022\021\n\006region\030\n \001(\r:\0010:\006\202\371+"
- "\002\010\001\"\211\001\n\010Identity\0223\n\007account\030\001 \001(\0132\".bgs."
- "protocol.account.v1.AccountId\022@\n\014game_ac"
- "count\030\002 \001(\0132*.bgs.protocol.account.v1.Ga"
- "meAccountHandle:\006\202\371+\002\020\001\"*\n\nProgramTag\022\017\n"
- "\007program\030\001 \001(\007\022\013\n\003tag\030\002 \001(\007\"(\n\tRegionTag"
- "\022\016\n\006region\030\001 \001(\007\022\013\n\003tag\030\002 \001(\007\"\315\002\n\020Accoun"
- "tFieldTags\022\036\n\026account_level_info_tag\030\002 \001"
- "(\007\022\030\n\020privacy_info_tag\030\003 \001(\007\022!\n\031parental"
- "_control_info_tag\030\004 \001(\007\022A\n\024game_level_in"
- "fo_tags\030\007 \003(\0132#.bgs.protocol.account.v1."
- "ProgramTag\022=\n\020game_status_tags\030\t \003(\0132#.b"
- "gs.protocol.account.v1.ProgramTag\022=\n\021gam"
- "e_account_tags\030\013 \003(\0132\".bgs.protocol.acco"
- "unt.v1.RegionTag\022\033\n\023security_status_tag\030"
- "\014 \001(\007\"~\n\024GameAccountFieldTags\022\033\n\023game_le"
- "vel_info_tag\030\002 \001(\007\022\032\n\022game_time_info_tag"
- "\030\003 \001(\007\022\027\n\017game_status_tag\030\004 \001(\007\022\024\n\014raf_i"
- "nfo_tag\030\005 \001(\007\"\202\002\n\023AccountFieldOptions\022\022\n"
- "\nall_fields\030\001 \001(\010\022 \n\030field_account_level"
- "_info\030\002 \001(\010\022\032\n\022field_privacy_info\030\003 \001(\010\022"
- "#\n\033field_parental_control_info\030\004 \001(\010\022\035\n\025"
- "field_game_level_info\030\006 \001(\010\022\031\n\021field_gam"
- "e_status\030\007 \001(\010\022\033\n\023field_game_accounts\030\010 "
- "\001(\010\022\035\n\025field_security_status\030\t \001(\010\"\235\001\n\027G"
- "ameAccountFieldOptions\022\022\n\nall_fields\030\001 \001"
- "(\010\022\035\n\025field_game_level_info\030\002 \001(\010\022\034\n\024fie"
- "ld_game_time_info\030\003 \001(\010\022\031\n\021field_game_st"
- "atus\030\004 \001(\010\022\026\n\016field_raf_info\030\005 \001(\010\"\222\003\n\023S"
- "ubscriberReference\022\024\n\tobject_id\030\001 \001(\004:\0010"
- "\022)\n\tentity_id\030\002 \001(\0132\026.bgs.protocol.Entit"
- "yId\022E\n\017account_options\030\003 \001(\0132,.bgs.proto"
- "col.account.v1.AccountFieldOptions\022\?\n\014ac"
- "count_tags\030\004 \001(\0132).bgs.protocol.account."
- "v1.AccountFieldTags\022N\n\024game_account_opti"
- "ons\030\005 \001(\01320.bgs.protocol.account.v1.Game"
- "AccountFieldOptions\022H\n\021game_account_tags"
- "\030\006 \001(\0132-.bgs.protocol.account.v1.GameAcc"
- "ountFieldTags\022\030\n\rsubscriber_id\030\007 \001(\004:\0010\""
- "\377\003\n\020AccountLevelInfo\0229\n\010licenses\030\003 \003(\0132\'"
- ".bgs.protocol.account.v1.AccountLicense\022"
- "\030\n\020default_currency\030\004 \001(\007\022\017\n\007country\030\005 \001"
- "(\t\022\030\n\020preferred_region\030\006 \001(\r\022\031\n\tfull_nam"
- "e\030\007 \001(\tB\006\202\371+\002\010\001\022\032\n\nbattle_tag\030\010 \001(\tB\006\202\371+"
- "\002\010\001\022\r\n\005muted\030\t \001(\010\022\025\n\rmanual_review\030\n \001("
- "\010\022\030\n\020account_paid_any\030\013 \001(\010\022R\n\025identity_"
- "check_status\030\014 \001(\01623.bgs.protocol.accoun"
- "t.v1.IdentityVerificationStatus\022\025\n\005email"
- "\030\r \001(\tB\006\202\371+\002\010\001\022\030\n\020headless_account\030\016 \001(\010"
- "\022\024\n\014test_account\030\017 \001(\010\022\030\n\020is_sms_protect"
- "ed\030\021 \001(\010\022!\n\031ratings_board_minimum_age\030\022 "
- "\001(\r\022\034\n\014phone_number\030\023 \001(\tB\006\202\371+\002\010\001\"\302\002\n\013Pr"
- "ivacyInfo\022\024\n\014is_using_rid\030\003 \001(\010\022#\n\033is_vi"
- "sible_for_view_friends\030\004 \001(\010\022$\n\034is_hidde"
- "n_from_friend_finder\030\005 \001(\010\022`\n\021game_info_"
- "privacy\030\006 \001(\01624.bgs.protocol.account.v1."
- "PrivacyInfo.GameInfoPrivacy:\017PRIVACY_FRI"
- "ENDS\022\"\n\032only_allow_friend_whispers\030\007 \001(\010"
- "\"L\n\017GameInfoPrivacy\022\016\n\nPRIVACY_ME\020\000\022\023\n\017P"
- "RIVACY_FRIENDS\020\001\022\024\n\020PRIVACY_EVERYONE\020\002\"\325"
- "\001\n\023ParentalControlInfo\022\020\n\010timezone\030\003 \001(\t"
- "\022\027\n\017minutes_per_day\030\004 \001(\r\022\030\n\020minutes_per"
- "_week\030\005 \001(\r\022\031\n\021can_receive_voice\030\006 \001(\010\022\026"
- "\n\016can_send_voice\030\007 \001(\010\022\025\n\rplay_schedule\030"
- "\010 \003(\010\022\026\n\016can_join_group\030\t \001(\010\022\027\n\017can_use"
- "_profile\030\n \001(\010\"B\n\027PlayScheduleRestrictio"
- "n\022\025\n\rplay_schedule\030\001 \003(\010\022\020\n\010timezone\030\002 \001"
- "(\t\"\370\001\n\rGameLevelInfo\022\020\n\010is_trial\030\004 \001(\010\022\023"
- "\n\013is_lifetime\030\005 \001(\010\022\025\n\ris_restricted\030\006 \001"
- "(\010\022\017\n\007is_beta\030\007 \001(\010\022\024\n\004name\030\010 \001(\tB\006\202\371+\002\010"
- "\001\022\017\n\007program\030\t \001(\007\0229\n\010licenses\030\n \003(\0132\'.b"
- "gs.protocol.account.v1.AccountLicense\022\031\n"
- "\021realm_permissions\030\013 \001(\r\022\033\n\023last_logout_"
- "time_ms\030\014 \001(\004\"\205\001\n\014GameTimeInfo\022\036\n\026is_unl"
- "imited_play_time\030\003 \001(\010\022\031\n\021play_time_expi"
- "res\030\005 \001(\004\022\027\n\017is_subscription\030\006 \001(\010\022!\n\031is"
- "_recurring_subscription\030\007 \001(\010\"\261\001\n\025GameTi"
- "meRemainingInfo\022\031\n\021minutes_remaining\030\001 \001"
- "(\r\022(\n parental_daily_minutes_remaining\030\002"
- " \001(\r\022)\n!parental_weekly_minutes_remainin"
- "g\030\003 \001(\r\022(\n\034seconds_remaining_until_kick\030"
- "\004 \001(\rB\002\030\001\"\220\001\n\nGameStatus\022\024\n\014is_suspended"
- "\030\004 \001(\010\022\021\n\tis_banned\030\005 \001(\010\022\032\n\022suspension_"
- "expires\030\006 \001(\004\022\017\n\007program\030\007 \001(\007\022\021\n\tis_loc"
- "ked\030\010 \001(\010\022\031\n\021is_bam_unlockable\030\t \001(\010\"\033\n\007"
- "RAFInfo\022\020\n\010raf_info\030\001 \001(\014\"\201\002\n\017GameSessio"
- "nInfo\022\026\n\nstart_time\030\003 \001(\rB\002\030\001\022>\n\010locatio"
- "n\030\004 \001(\0132,.bgs.protocol.account.v1.GameSe"
- "ssionLocation\022\026\n\016has_benefactor\030\005 \001(\010\022\024\n"
- "\014is_using_igr\030\006 \001(\010\022 \n\030parental_controls"
- "_active\030\007 \001(\010\022\026\n\016start_time_sec\030\010 \001(\004\022.\n"
- "\006igr_id\030\t \001(\0132\036.bgs.protocol.account.v1."
- "IgrId\"D\n\025GameSessionUpdateInfo\022+\n\004cais\030\010"
- " \001(\0132\035.bgs.protocol.account.v1.CAIS\"H\n\023G"
- "ameSessionLocation\022\022\n\nip_address\030\001 \001(\t\022\017"
- "\n\007country\030\002 \001(\r\022\014\n\004city\030\003 \001(\t\"O\n\004CAIS\022\026\n"
- "\016played_minutes\030\001 \001(\r\022\026\n\016rested_minutes\030"
- "\002 \001(\r\022\027\n\017last_heard_time\030\003 \001(\004\"]\n\017GameAc"
- "countList\022\016\n\006region\030\003 \001(\r\022:\n\006handle\030\004 \003("
- "\0132*.bgs.protocol.account.v1.GameAccountH"
- "andle\"\231\001\n\016SecurityStatus\022\033\n\023sms_protect_"
- "enabled\030\001 \001(\010\022\026\n\016email_verified\030\002 \001(\010\022\035\n"
- "\025authenticator_enabled\030\003 \001(\010\022\023\n\013sqa_enab"
- "led\030\004 \001(\010\022\036\n\026authenticator_required\030\005 \001("
- "\010\"\251\004\n\014AccountState\022E\n\022account_level_info"
- "\030\001 \001(\0132).bgs.protocol.account.v1.Account"
- "LevelInfo\022:\n\014privacy_info\030\002 \001(\0132$.bgs.pr"
- "otocol.account.v1.PrivacyInfo\022K\n\025parenta"
- "l_control_info\030\003 \001(\0132,.bgs.protocol.acco"
- "unt.v1.ParentalControlInfo\022\?\n\017game_level"
- "_info\030\005 \003(\0132&.bgs.protocol.account.v1.Ga"
- "meLevelInfo\0228\n\013game_status\030\006 \003(\0132#.bgs.p"
- "rotocol.account.v1.GameStatus\022\?\n\rgame_ac"
- "counts\030\007 \003(\0132(.bgs.protocol.account.v1.G"
- "ameAccountList\022@\n\017security_status\030\010 \001(\0132"
- "\'.bgs.protocol.account.v1.SecurityStatus"
- "\022K\n\021government_curfew\030\t \001(\01320.bgs.protoc"
- "ol.account.v1.PlayScheduleRestriction\"\223\001"
- "\n\022AccountStateTagged\022<\n\raccount_state\030\001 "
- "\001(\0132%.bgs.protocol.account.v1.AccountSta"
- "te\022\?\n\014account_tags\030\002 \001(\0132).bgs.protocol."
- "account.v1.AccountFieldTags\"\200\002\n\020GameAcco"
- "untState\022\?\n\017game_level_info\030\001 \001(\0132&.bgs."
- "protocol.account.v1.GameLevelInfo\022=\n\016gam"
- "e_time_info\030\002 \001(\0132%.bgs.protocol.account"
- ".v1.GameTimeInfo\0228\n\013game_status\030\003 \001(\0132#."
- "bgs.protocol.account.v1.GameStatus\0222\n\010ra"
- "f_info\030\004 \001(\0132 .bgs.protocol.account.v1.R"
- "AFInfo\"\251\001\n\026GameAccountStateTagged\022E\n\022gam"
- "e_account_state\030\001 \001(\0132).bgs.protocol.acc"
- "ount.v1.GameAccountState\022H\n\021game_account"
- "_tags\030\002 \001(\0132-.bgs.protocol.account.v1.Ga"
- "meAccountFieldTags\"/\n\016AuthorizedData\022\014\n\004"
- "data\030\001 \001(\t\022\017\n\007license\030\002 \003(\r\"z\n\005IgrId\022B\n\014"
- "game_account\030\001 \001(\0132*.bgs.protocol.accoun"
- "t.v1.GameAccountHandleH\000\022\025\n\013external_id\030"
- "\002 \001(\007H\000\022\016\n\004uuid\030\003 \001(\tH\000B\006\n\004type\"4\n\nIgrAd"
- "dress\022\026\n\016client_address\030\001 \001(\t\022\016\n\006region\030"
- "\002 \001(\r*\265\001\n\032IdentityVerificationStatus\022\021\n\r"
- "IDENT_NO_DATA\020\000\022\021\n\rIDENT_PENDING\020\001\022\021\n\rID"
- "ENT_OVER_18\020\002\022\022\n\016IDENT_UNDER_18\020\003\022\020\n\014IDE"
- "NT_FAILED\020\004\022\021\n\rIDENT_SUCCESS\020\005\022\022\n\016IDENT_"
- "SUCC_MNL\020\006\022\021\n\rIDENT_UNKNOWN\020\007B\002H\002", 6153);
+ "unt.v1\032\022entity_types.proto\032\'global_exten"
+ "sions/message_options.proto\032%global_exte"
+ "nsions/field_options.proto\")\n\tAccountId\022"
+ "\024\n\002id\030\001 \002(\007B\010\212\371+\004\022\002\020\000:\006\202\371+\002\010\001\"-\n\016Account"
+ "License\022\n\n\002id\030\001 \002(\r\022\017\n\007expires\030\002 \001(\004\"k\n\021"
+ "GameAccountHandle\022\024\n\002id\030\001 \002(\007B\010\212\371+\004\022\002\020\000\022"
+ "\031\n\007program\030\002 \002(\007B\010\212\371+\004\022\002\020\000\022\035\n\006region\030\003 \002"
+ "(\rB\r\212\371+\t\022\007\n\005\010\001\020\377\001:\006\202\371+\002\010\001\"\306\001\n\020AccountRef"
+ "erence\022\n\n\002id\030\001 \001(\007\022\025\n\005email\030\002 \001(\tB\006\202\371+\002\010"
+ "\001\022:\n\006handle\030\003 \001(\0132*.bgs.protocol.account"
+ ".v1.GameAccountHandle\022\032\n\nbattle_tag\030\004 \001("
+ "\tB\006\202\371+\002\010\001\022\034\n\014phone_number\030\005 \001(\tB\006\202\371+\002\010\001\022"
+ "\021\n\006region\030\n \001(\r:\0010:\006\202\371+\002\010\001\"\211\001\n\010Identity\022"
+ "3\n\007account\030\001 \001(\0132\".bgs.protocol.account."
+ "v1.AccountId\022@\n\014game_account\030\002 \001(\0132*.bgs"
+ ".protocol.account.v1.GameAccountHandle:\006"
+ "\202\371+\002\020\001\"*\n\nProgramTag\022\017\n\007program\030\001 \001(\007\022\013\n"
+ "\003tag\030\002 \001(\007\"(\n\tRegionTag\022\016\n\006region\030\001 \001(\007\022"
+ "\013\n\003tag\030\002 \001(\007\"\315\002\n\020AccountFieldTags\022\036\n\026acc"
+ "ount_level_info_tag\030\002 \001(\007\022\030\n\020privacy_inf"
+ "o_tag\030\003 \001(\007\022!\n\031parental_control_info_tag"
+ "\030\004 \001(\007\022A\n\024game_level_info_tags\030\007 \003(\0132#.b"
+ "gs.protocol.account.v1.ProgramTag\022=\n\020gam"
+ "e_status_tags\030\t \003(\0132#.bgs.protocol.accou"
+ "nt.v1.ProgramTag\022=\n\021game_account_tags\030\013 "
+ "\003(\0132\".bgs.protocol.account.v1.RegionTag\022"
+ "\033\n\023security_status_tag\030\014 \001(\007\"~\n\024GameAcco"
+ "untFieldTags\022\033\n\023game_level_info_tag\030\002 \001("
+ "\007\022\032\n\022game_time_info_tag\030\003 \001(\007\022\027\n\017game_st"
+ "atus_tag\030\004 \001(\007\022\024\n\014raf_info_tag\030\005 \001(\007\"\202\002\n"
+ "\023AccountFieldOptions\022\022\n\nall_fields\030\001 \001(\010"
+ "\022 \n\030field_account_level_info\030\002 \001(\010\022\032\n\022fi"
+ "eld_privacy_info\030\003 \001(\010\022#\n\033field_parental"
+ "_control_info\030\004 \001(\010\022\035\n\025field_game_level_"
+ "info\030\006 \001(\010\022\031\n\021field_game_status\030\007 \001(\010\022\033\n"
+ "\023field_game_accounts\030\010 \001(\010\022\035\n\025field_secu"
+ "rity_status\030\t \001(\010\"\235\001\n\027GameAccountFieldOp"
+ "tions\022\022\n\nall_fields\030\001 \001(\010\022\035\n\025field_game_"
+ "level_info\030\002 \001(\010\022\034\n\024field_game_time_info"
+ "\030\003 \001(\010\022\031\n\021field_game_status\030\004 \001(\010\022\026\n\016fie"
+ "ld_raf_info\030\005 \001(\010\"\222\003\n\023SubscriberReferenc"
+ "e\022\024\n\tobject_id\030\001 \001(\004:\0010\022)\n\tentity_id\030\002 \001"
+ "(\0132\026.bgs.protocol.EntityId\022E\n\017account_op"
+ "tions\030\003 \001(\0132,.bgs.protocol.account.v1.Ac"
+ "countFieldOptions\022\?\n\014account_tags\030\004 \001(\0132"
+ ").bgs.protocol.account.v1.AccountFieldTa"
+ "gs\022N\n\024game_account_options\030\005 \001(\01320.bgs.p"
+ "rotocol.account.v1.GameAccountFieldOptio"
+ "ns\022H\n\021game_account_tags\030\006 \001(\0132-.bgs.prot"
+ "ocol.account.v1.GameAccountFieldTags\022\030\n\r"
+ "subscriber_id\030\007 \001(\004:\0010\"\031\n\006OptIns\022\017\n\003ids\030"
+ "\001 \003(\004B\002\020\001\"\200\005\n\020AccountLevelInfo\0229\n\010licens"
+ "es\030\003 \003(\0132\'.bgs.protocol.account.v1.Accou"
+ "ntLicense\022\030\n\020default_currency\030\004 \001(\007\022\017\n\007c"
+ "ountry\030\005 \001(\t\022\030\n\020preferred_region\030\006 \001(\r\022\031"
+ "\n\tfull_name\030\007 \001(\tB\006\202\371+\002\010\001\022\032\n\nbattle_tag\030"
+ "\010 \001(\tB\006\202\371+\002\010\001\022\r\n\005muted\030\t \001(\010\022\025\n\rmanual_r"
+ "eview\030\n \001(\010\022\030\n\020account_paid_any\030\013 \001(\010\022R\n"
+ "\025identity_check_status\030\014 \001(\01623.bgs.proto"
+ "col.account.v1.IdentityVerificationStatu"
+ "s\022\025\n\005email\030\r \001(\tB\006\202\371+\002\010\001\022\030\n\020headless_acc"
+ "ount\030\016 \001(\010\022\024\n\014test_account\030\017 \001(\010\022\030\n\020is_s"
+ "ms_protected\030\021 \001(\010\022!\n\031ratings_board_mini"
+ "mum_age\030\022 \001(\r\022\034\n\014phone_number\030\023 \001(\tB\006\202\371+"
+ "\002\010\001\022\031\n\tbirthdate\030\024 \001(\tB\006\202\371+\002\010\001\0222\n*legal_"
+ "country_feature_restrictions_applied\030\025 \001"
+ "(\010\0220\n\007opt_ins\030\026 \001(\0132\037.bgs.protocol.accou"
+ "nt.v1.OptIns\"\302\002\n\013PrivacyInfo\022\024\n\014is_using"
+ "_rid\030\003 \001(\010\022#\n\033is_visible_for_view_friend"
+ "s\030\004 \001(\010\022$\n\034is_hidden_from_friend_finder\030"
+ "\005 \001(\010\022`\n\021game_info_privacy\030\006 \001(\01624.bgs.p"
+ "rotocol.account.v1.PrivacyInfo.GameInfoP"
+ "rivacy:\017PRIVACY_FRIENDS\022\"\n\032only_allow_fr"
+ "iend_whispers\030\007 \001(\010\"L\n\017GameInfoPrivacy\022\016"
+ "\n\nPRIVACY_ME\020\000\022\023\n\017PRIVACY_FRIENDS\020\001\022\024\n\020P"
+ "RIVACY_EVERYONE\020\002\"\325\001\n\023ParentalControlInf"
+ "o\022\020\n\010timezone\030\003 \001(\t\022\027\n\017minutes_per_day\030\004"
+ " \001(\r\022\030\n\020minutes_per_week\030\005 \001(\r\022\031\n\021can_re"
+ "ceive_voice\030\006 \001(\010\022\026\n\016can_send_voice\030\007 \001("
+ "\010\022\025\n\rplay_schedule\030\010 \003(\010\022\026\n\016can_join_gro"
+ "up\030\t \001(\010\022\027\n\017can_use_profile\030\n \001(\010\"B\n\027Pla"
+ "yScheduleRestriction\022\025\n\rplay_schedule\030\001 "
+ "\003(\010\022\020\n\010timezone\030\002 \001(\t\"\370\001\n\rGameLevelInfo\022"
+ "\020\n\010is_trial\030\004 \001(\010\022\023\n\013is_lifetime\030\005 \001(\010\022\025"
+ "\n\ris_restricted\030\006 \001(\010\022\017\n\007is_beta\030\007 \001(\010\022\024"
+ "\n\004name\030\010 \001(\tB\006\202\371+\002\010\001\022\017\n\007program\030\t \001(\007\0229\n"
+ "\010licenses\030\n \003(\0132\'.bgs.protocol.account.v"
+ "1.AccountLicense\022\031\n\021realm_permissions\030\013 "
+ "\001(\r\022\033\n\023last_logout_time_ms\030\014 \001(\004\"\205\001\n\014Gam"
+ "eTimeInfo\022\036\n\026is_unlimited_play_time\030\003 \001("
+ "\010\022\031\n\021play_time_expires\030\005 \001(\004\022\027\n\017is_subsc"
+ "ription\030\006 \001(\010\022!\n\031is_recurring_subscripti"
+ "on\030\007 \001(\010\"\261\001\n\025GameTimeRemainingInfo\022\031\n\021mi"
+ "nutes_remaining\030\001 \001(\r\022(\n parental_daily_"
+ "minutes_remaining\030\002 \001(\r\022)\n!parental_week"
+ "ly_minutes_remaining\030\003 \001(\r\022(\n\034seconds_re"
+ "maining_until_kick\030\004 \001(\rB\002\030\001\"\220\001\n\nGameSta"
+ "tus\022\024\n\014is_suspended\030\004 \001(\010\022\021\n\tis_banned\030\005"
+ " \001(\010\022\032\n\022suspension_expires\030\006 \001(\004\022\017\n\007prog"
+ "ram\030\007 \001(\007\022\021\n\tis_locked\030\010 \001(\010\022\031\n\021is_bam_u"
+ "nlockable\030\t \001(\010\"\033\n\007RAFInfo\022\020\n\010raf_info\030\001"
+ " \001(\014\"\250\002\n\017GameSessionInfo\022\026\n\nstart_time\030\003"
+ " \001(\rB\002\030\001\022>\n\010location\030\004 \001(\0132,.bgs.protoco"
+ "l.account.v1.GameSessionLocation\022\026\n\016has_"
+ "benefactor\030\005 \001(\010\022\024\n\014is_using_igr\030\006 \001(\010\022 "
+ "\n\030parental_controls_active\030\007 \001(\010\022\026\n\016star"
+ "t_time_sec\030\010 \001(\004\022.\n\006igr_id\030\t \001(\0132\036.bgs.p"
+ "rotocol.account.v1.IgrId\022\023\n\013platform_id\030"
+ "\n \001(\007\022\020\n\010igr_paid\030\013 \001(\010\"D\n\025GameSessionUp"
+ "dateInfo\022+\n\004cais\030\010 \001(\0132\035.bgs.protocol.ac"
+ "count.v1.CAIS\"H\n\023GameSessionLocation\022\022\n\n"
+ "ip_address\030\001 \001(\t\022\017\n\007country\030\002 \001(\r\022\014\n\004cit"
+ "y\030\003 \001(\t\"O\n\004CAIS\022\026\n\016played_minutes\030\001 \001(\r\022"
+ "\026\n\016rested_minutes\030\002 \001(\r\022\027\n\017last_heard_ti"
+ "me\030\003 \001(\004\"]\n\017GameAccountList\022\016\n\006region\030\003 "
+ "\001(\r\022:\n\006handle\030\004 \003(\0132*.bgs.protocol.accou"
+ "nt.v1.GameAccountHandle\"\231\001\n\016SecurityStat"
+ "us\022\033\n\023sms_protect_enabled\030\001 \001(\010\022\026\n\016email"
+ "_verified\030\002 \001(\010\022\035\n\025authenticator_enabled"
+ "\030\003 \001(\010\022\023\n\013sqa_enabled\030\004 \001(\010\022\036\n\026authentic"
+ "ator_required\030\005 \001(\010\"\251\004\n\014AccountState\022E\n\022"
+ "account_level_info\030\001 \001(\0132).bgs.protocol."
+ "account.v1.AccountLevelInfo\022:\n\014privacy_i"
+ "nfo\030\002 \001(\0132$.bgs.protocol.account.v1.Priv"
+ "acyInfo\022K\n\025parental_control_info\030\003 \001(\0132,"
+ ".bgs.protocol.account.v1.ParentalControl"
+ "Info\022\?\n\017game_level_info\030\005 \003(\0132&.bgs.prot"
+ "ocol.account.v1.GameLevelInfo\0228\n\013game_st"
+ "atus\030\006 \003(\0132#.bgs.protocol.account.v1.Gam"
+ "eStatus\022\?\n\rgame_accounts\030\007 \003(\0132(.bgs.pro"
+ "tocol.account.v1.GameAccountList\022@\n\017secu"
+ "rity_status\030\010 \001(\0132\'.bgs.protocol.account"
+ ".v1.SecurityStatus\022K\n\021government_curfew\030"
+ "\t \001(\01320.bgs.protocol.account.v1.PlaySche"
+ "duleRestriction\"\223\001\n\022AccountStateTagged\022<"
+ "\n\raccount_state\030\001 \001(\0132%.bgs.protocol.acc"
+ "ount.v1.AccountState\022\?\n\014account_tags\030\002 \001"
+ "(\0132).bgs.protocol.account.v1.AccountFiel"
+ "dTags\"\200\002\n\020GameAccountState\022\?\n\017game_level"
+ "_info\030\001 \001(\0132&.bgs.protocol.account.v1.Ga"
+ "meLevelInfo\022=\n\016game_time_info\030\002 \001(\0132%.bg"
+ "s.protocol.account.v1.GameTimeInfo\0228\n\013ga"
+ "me_status\030\003 \001(\0132#.bgs.protocol.account.v"
+ "1.GameStatus\0222\n\010raf_info\030\004 \001(\0132 .bgs.pro"
+ "tocol.account.v1.RAFInfo\"\251\001\n\026GameAccount"
+ "StateTagged\022E\n\022game_account_state\030\001 \001(\0132"
+ ").bgs.protocol.account.v1.GameAccountSta"
+ "te\022H\n\021game_account_tags\030\002 \001(\0132-.bgs.prot"
+ "ocol.account.v1.GameAccountFieldTags\"/\n\016"
+ "AuthorizedData\022\014\n\004data\030\001 \001(\t\022\017\n\007license\030"
+ "\002 \003(\r\"~\n\005IgrId\022F\n\014game_account\030\001 \001(\0132*.b"
+ "gs.protocol.account.v1.GameAccountHandle"
+ "B\002\030\001H\000\022\025\n\013external_id\030\002 \001(\007H\000\022\016\n\004uuid\030\003 "
+ "\001(\tH\000B\006\n\004type\"4\n\nIgrAddress\022\026\n\016client_ad"
+ "dress\030\001 \001(\t\022\016\n\006region\030\002 \001(\r*\265\001\n\032Identity"
+ "VerificationStatus\022\021\n\rIDENT_NO_DATA\020\000\022\021\n"
+ "\rIDENT_PENDING\020\001\022\021\n\rIDENT_OVER_18\020\002\022\022\n\016I"
+ "DENT_UNDER_18\020\003\022\020\n\014IDENT_FAILED\020\004\022\021\n\rIDE"
+ "NT_SUCCESS\020\005\022\022\n\016IDENT_SUCC_MNL\020\006\022\021\n\rIDEN"
+ "T_UNKNOWN\020\007B\002H\002", 6415);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"account_types.proto", &protobuf_RegisterTypes);
AccountId::default_instance_ = new AccountId();
@@ -1103,6 +1138,7 @@ void protobuf_AddDesc_account_5ftypes_2eproto() {
AccountFieldOptions::default_instance_ = new AccountFieldOptions();
GameAccountFieldOptions::default_instance_ = new GameAccountFieldOptions();
SubscriberReference::default_instance_ = new SubscriberReference();
+ OptIns::default_instance_ = new OptIns();
AccountLevelInfo::default_instance_ = new AccountLevelInfo();
PrivacyInfo::default_instance_ = new PrivacyInfo();
ParentalControlInfo::default_instance_ = new ParentalControlInfo();
@@ -1138,6 +1174,7 @@ void protobuf_AddDesc_account_5ftypes_2eproto() {
AccountFieldOptions::default_instance_->InitAsDefaultInstance();
GameAccountFieldOptions::default_instance_->InitAsDefaultInstance();
SubscriberReference::default_instance_->InitAsDefaultInstance();
+ OptIns::default_instance_->InitAsDefaultInstance();
AccountLevelInfo::default_instance_->InitAsDefaultInstance();
PrivacyInfo::default_instance_->InitAsDefaultInstance();
ParentalControlInfo::default_instance_->InitAsDefaultInstance();
@@ -2153,6 +2190,77 @@ void SubscriberReference::Swap(SubscriberReference* other) {
// ===================================================================
#ifndef _MSC_VER
+const int OptIns::kIdsFieldNumber;
+#endif // !_MSC_VER
+
+OptIns::OptIns()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.OptIns)
+}
+
+void OptIns::InitAsDefaultInstance() {
+}
+
+OptIns::OptIns(const OptIns& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.OptIns)
+}
+
+void OptIns::SharedCtor() {
+ _cached_size_ = 0;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+OptIns::~OptIns() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.OptIns)
+ SharedDtor();
+}
+
+void OptIns::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void OptIns::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* OptIns::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return OptIns_descriptor_;
+}
+
+const OptIns& OptIns::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5ftypes_2eproto();
+ return *default_instance_;
+}
+
+OptIns* OptIns::default_instance_ = NULL;
+
+OptIns* OptIns::New() const {
+ return new OptIns;
+}
+
+void OptIns::Swap(OptIns* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata OptIns::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = OptIns_descriptor_;
+ metadata.reflection = OptIns_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
const int AccountLevelInfo::kLicensesFieldNumber;
const int AccountLevelInfo::kDefaultCurrencyFieldNumber;
const int AccountLevelInfo::kCountryFieldNumber;
@@ -2169,6 +2277,9 @@ const int AccountLevelInfo::kTestAccountFieldNumber;
const int AccountLevelInfo::kIsSmsProtectedFieldNumber;
const int AccountLevelInfo::kRatingsBoardMinimumAgeFieldNumber;
const int AccountLevelInfo::kPhoneNumberFieldNumber;
+const int AccountLevelInfo::kBirthdateFieldNumber;
+const int AccountLevelInfo::kLegalCountryFeatureRestrictionsAppliedFieldNumber;
+const int AccountLevelInfo::kOptInsFieldNumber;
#endif // !_MSC_VER
AccountLevelInfo::AccountLevelInfo()
@@ -2178,6 +2289,7 @@ AccountLevelInfo::AccountLevelInfo()
}
void AccountLevelInfo::InitAsDefaultInstance() {
+ opt_ins_ = const_cast< ::bgs::protocol::account::v1::OptIns*>(&::bgs::protocol::account::v1::OptIns::default_instance());
}
AccountLevelInfo::AccountLevelInfo(const AccountLevelInfo& from)
@@ -2205,6 +2317,9 @@ void AccountLevelInfo::SharedCtor() {
is_sms_protected_ = false;
ratings_board_minimum_age_ = 0u;
phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ legal_country_feature_restrictions_applied_ = false;
+ opt_ins_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -2229,7 +2344,11 @@ void AccountLevelInfo::SharedDtor() {
if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete phone_number_;
}
+ if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete birthdate_;
+ }
if (this != default_instance_) {
+ delete opt_ins_;
}
}
@@ -2951,6 +3070,8 @@ const int GameSessionInfo::kIsUsingIgrFieldNumber;
const int GameSessionInfo::kParentalControlsActiveFieldNumber;
const int GameSessionInfo::kStartTimeSecFieldNumber;
const int GameSessionInfo::kIgrIdFieldNumber;
+const int GameSessionInfo::kPlatformIdFieldNumber;
+const int GameSessionInfo::kIgrPaidFieldNumber;
#endif // !_MSC_VER
GameSessionInfo::GameSessionInfo()
@@ -2980,6 +3101,8 @@ void GameSessionInfo::SharedCtor() {
parental_controls_active_ = false;
start_time_sec_ = GOOGLE_ULONGLONG(0);
igr_id_ = NULL;
+ platform_id_ = 0u;
+ igr_paid_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/account_types.pb.h b/src/server/proto/Client/account_types.pb.h
index ad6dc4888e4..b40f53fb0e4 100644
--- a/src/server/proto/Client/account_types.pb.h
+++ b/src/server/proto/Client/account_types.pb.h
@@ -26,7 +26,8 @@
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "entity_types.pb.h"
-#include "rpc_types.pb.h"
+#include "global_extensions/message_options.pb.h"
+#include "global_extensions/field_options.pb.h"
#include "Define.h" // for TC_PROTO_API
// @@protoc_insertion_point(includes)
@@ -52,6 +53,7 @@ class GameAccountFieldTags;
class AccountFieldOptions;
class GameAccountFieldOptions;
class SubscriberReference;
+class OptIns;
class AccountLevelInfo;
class PrivacyInfo;
class ParentalControlInfo;
@@ -1324,6 +1326,75 @@ class TC_PROTO_API SubscriberReference : public ::google::protobuf::Message {
};
// -------------------------------------------------------------------
+class TC_PROTO_API OptIns : public ::google::protobuf::Message {
+ public:
+ OptIns();
+ virtual ~OptIns();
+
+ OptIns(const OptIns& from);
+
+ inline OptIns& operator=(const OptIns& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const OptIns& default_instance();
+
+ void Swap(OptIns* other);
+
+ // implements Message ----------------------------------------------
+
+ OptIns* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated uint64 ids = 1 [packed = true];
+ inline int ids_size() const;
+ inline void clear_ids();
+ static const int kIdsFieldNumber = 1;
+ inline ::google::protobuf::uint64 ids(int index) const;
+ inline void set_ids(int index, ::google::protobuf::uint64 value);
+ inline void add_ids(::google::protobuf::uint64 value);
+ inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
+ ids() const;
+ inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
+ mutable_ids();
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.OptIns)
+ private:
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > ids_;
+ friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
+ friend void protobuf_AssignDesc_account_5ftypes_2eproto();
+ friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
+
+ void InitAsDefaultInstance();
+ static OptIns* default_instance_;
+};
+// -------------------------------------------------------------------
+
class TC_PROTO_API AccountLevelInfo : public ::google::protobuf::Message {
public:
AccountLevelInfo();
@@ -1506,6 +1577,34 @@ class TC_PROTO_API AccountLevelInfo : public ::google::protobuf::Message {
inline ::std::string* release_phone_number();
inline void set_allocated_phone_number(::std::string* phone_number);
+ // optional string birthdate = 20;
+ inline bool has_birthdate() const;
+ inline void clear_birthdate();
+ static const int kBirthdateFieldNumber = 20;
+ inline const ::std::string& birthdate() const;
+ inline void set_birthdate(const ::std::string& value);
+ inline void set_birthdate(const char* value);
+ inline void set_birthdate(const char* value, size_t size);
+ inline ::std::string* mutable_birthdate();
+ inline ::std::string* release_birthdate();
+ inline void set_allocated_birthdate(::std::string* birthdate);
+
+ // optional bool legal_country_feature_restrictions_applied = 21;
+ inline bool has_legal_country_feature_restrictions_applied() const;
+ inline void clear_legal_country_feature_restrictions_applied();
+ static const int kLegalCountryFeatureRestrictionsAppliedFieldNumber = 21;
+ inline bool legal_country_feature_restrictions_applied() const;
+ inline void set_legal_country_feature_restrictions_applied(bool value);
+
+ // optional .bgs.protocol.account.v1.OptIns opt_ins = 22;
+ inline bool has_opt_ins() const;
+ inline void clear_opt_ins();
+ static const int kOptInsFieldNumber = 22;
+ inline const ::bgs::protocol::account::v1::OptIns& opt_ins() const;
+ inline ::bgs::protocol::account::v1::OptIns* mutable_opt_ins();
+ inline ::bgs::protocol::account::v1::OptIns* release_opt_ins();
+ inline void set_allocated_opt_ins(::bgs::protocol::account::v1::OptIns* opt_ins);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountLevelInfo)
private:
inline void set_has_default_currency();
@@ -1538,6 +1637,12 @@ class TC_PROTO_API AccountLevelInfo : public ::google::protobuf::Message {
inline void clear_has_ratings_board_minimum_age();
inline void set_has_phone_number();
inline void clear_has_phone_number();
+ inline void set_has_birthdate();
+ inline void clear_has_birthdate();
+ inline void set_has_legal_country_feature_restrictions_applied();
+ inline void clear_has_legal_country_feature_restrictions_applied();
+ inline void set_has_opt_ins();
+ inline void clear_has_opt_ins();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -1555,10 +1660,13 @@ class TC_PROTO_API AccountLevelInfo : public ::google::protobuf::Message {
bool headless_account_;
int identity_check_status_;
::std::string* email_;
+ ::google::protobuf::uint32 ratings_board_minimum_age_;
bool test_account_;
bool is_sms_protected_;
- ::google::protobuf::uint32 ratings_board_minimum_age_;
+ bool legal_country_feature_restrictions_applied_;
::std::string* phone_number_;
+ ::std::string* birthdate_;
+ ::bgs::protocol::account::v1::OptIns* opt_ins_;
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
friend void protobuf_AssignDesc_account_5ftypes_2eproto();
friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
@@ -2553,6 +2661,20 @@ class TC_PROTO_API GameSessionInfo : public ::google::protobuf::Message {
inline ::bgs::protocol::account::v1::IgrId* release_igr_id();
inline void set_allocated_igr_id(::bgs::protocol::account::v1::IgrId* igr_id);
+ // optional fixed32 platform_id = 10;
+ inline bool has_platform_id() const;
+ inline void clear_platform_id();
+ static const int kPlatformIdFieldNumber = 10;
+ inline ::google::protobuf::uint32 platform_id() const;
+ inline void set_platform_id(::google::protobuf::uint32 value);
+
+ // optional bool igr_paid = 11;
+ inline bool has_igr_paid() const;
+ inline void clear_igr_paid();
+ static const int kIgrPaidFieldNumber = 11;
+ inline bool igr_paid() const;
+ inline void set_igr_paid(bool value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameSessionInfo)
private:
inline void set_has_start_time();
@@ -2569,6 +2691,10 @@ class TC_PROTO_API GameSessionInfo : public ::google::protobuf::Message {
inline void clear_has_start_time_sec();
inline void set_has_igr_id();
inline void clear_has_igr_id();
+ inline void set_has_platform_id();
+ inline void clear_has_platform_id();
+ inline void set_has_igr_paid();
+ inline void clear_has_igr_paid();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -2579,8 +2705,10 @@ class TC_PROTO_API GameSessionInfo : public ::google::protobuf::Message {
bool has_benefactor_;
bool is_using_igr_;
bool parental_controls_active_;
+ bool igr_paid_;
::google::protobuf::uint64 start_time_sec_;
::bgs::protocol::account::v1::IgrId* igr_id_;
+ ::google::protobuf::uint32 platform_id_;
friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto();
friend void protobuf_AssignDesc_account_5ftypes_2eproto();
friend void protobuf_ShutdownFile_account_5ftypes_2eproto();
@@ -3575,14 +3703,14 @@ class TC_PROTO_API IgrId : public ::google::protobuf::Message {
// accessors -------------------------------------------------------
- // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
- inline bool has_game_account() const;
- inline void clear_game_account();
+ // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1 [deprecated = true];
+ inline bool has_game_account() const PROTOBUF_DEPRECATED;
+ inline void clear_game_account() PROTOBUF_DEPRECATED;
static const int kGameAccountFieldNumber = 1;
- inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const;
- inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
- inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
- inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
+ inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const PROTOBUF_DEPRECATED;
+ inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account() PROTOBUF_DEPRECATED;
+ inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account() PROTOBUF_DEPRECATED;
+ inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) PROTOBUF_DEPRECATED;
// optional fixed32 external_id = 2;
inline bool has_external_id() const;
@@ -5253,6 +5381,40 @@ inline void SubscriberReference::set_subscriber_id(::google::protobuf::uint64 va
// -------------------------------------------------------------------
+// OptIns
+
+// repeated uint64 ids = 1 [packed = true];
+inline int OptIns::ids_size() const {
+ return ids_.size();
+}
+inline void OptIns::clear_ids() {
+ ids_.Clear();
+}
+inline ::google::protobuf::uint64 OptIns::ids(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.OptIns.ids)
+ return ids_.Get(index);
+}
+inline void OptIns::set_ids(int index, ::google::protobuf::uint64 value) {
+ ids_.Set(index, value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.OptIns.ids)
+}
+inline void OptIns::add_ids(::google::protobuf::uint64 value) {
+ ids_.Add(value);
+ // @@protoc_insertion_point(field_add:bgs.protocol.account.v1.OptIns.ids)
+}
+inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
+OptIns::ids() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.account.v1.OptIns.ids)
+ return ids_;
+}
+inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
+OptIns::mutable_ids() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.account.v1.OptIns.ids)
+ return &ids_;
+}
+
+// -------------------------------------------------------------------
+
// AccountLevelInfo
// repeated .bgs.protocol.account.v1.AccountLicense licenses = 3;
@@ -5906,6 +6068,147 @@ inline void AccountLevelInfo::set_allocated_phone_number(::std::string* phone_nu
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.phone_number)
}
+// optional string birthdate = 20;
+inline bool AccountLevelInfo::has_birthdate() const {
+ return (_has_bits_[0] & 0x00010000u) != 0;
+}
+inline void AccountLevelInfo::set_has_birthdate() {
+ _has_bits_[0] |= 0x00010000u;
+}
+inline void AccountLevelInfo::clear_has_birthdate() {
+ _has_bits_[0] &= ~0x00010000u;
+}
+inline void AccountLevelInfo::clear_birthdate() {
+ if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_->clear();
+ }
+ clear_has_birthdate();
+}
+inline const ::std::string& AccountLevelInfo::birthdate() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
+ return *birthdate_;
+}
+inline void AccountLevelInfo::set_birthdate(const ::std::string& value) {
+ set_has_birthdate();
+ if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_ = new ::std::string;
+ }
+ birthdate_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
+}
+inline void AccountLevelInfo::set_birthdate(const char* value) {
+ set_has_birthdate();
+ if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_ = new ::std::string;
+ }
+ birthdate_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
+}
+inline void AccountLevelInfo::set_birthdate(const char* value, size_t size) {
+ set_has_birthdate();
+ if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_ = new ::std::string;
+ }
+ birthdate_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
+}
+inline ::std::string* AccountLevelInfo::mutable_birthdate() {
+ set_has_birthdate();
+ if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
+ return birthdate_;
+}
+inline ::std::string* AccountLevelInfo::release_birthdate() {
+ clear_has_birthdate();
+ if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = birthdate_;
+ birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountLevelInfo::set_allocated_birthdate(::std::string* birthdate) {
+ if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete birthdate_;
+ }
+ if (birthdate) {
+ set_has_birthdate();
+ birthdate_ = birthdate;
+ } else {
+ clear_has_birthdate();
+ birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.birthdate)
+}
+
+// optional bool legal_country_feature_restrictions_applied = 21;
+inline bool AccountLevelInfo::has_legal_country_feature_restrictions_applied() const {
+ return (_has_bits_[0] & 0x00020000u) != 0;
+}
+inline void AccountLevelInfo::set_has_legal_country_feature_restrictions_applied() {
+ _has_bits_[0] |= 0x00020000u;
+}
+inline void AccountLevelInfo::clear_has_legal_country_feature_restrictions_applied() {
+ _has_bits_[0] &= ~0x00020000u;
+}
+inline void AccountLevelInfo::clear_legal_country_feature_restrictions_applied() {
+ legal_country_feature_restrictions_applied_ = false;
+ clear_has_legal_country_feature_restrictions_applied();
+}
+inline bool AccountLevelInfo::legal_country_feature_restrictions_applied() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.legal_country_feature_restrictions_applied)
+ return legal_country_feature_restrictions_applied_;
+}
+inline void AccountLevelInfo::set_legal_country_feature_restrictions_applied(bool value) {
+ set_has_legal_country_feature_restrictions_applied();
+ legal_country_feature_restrictions_applied_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountLevelInfo.legal_country_feature_restrictions_applied)
+}
+
+// optional .bgs.protocol.account.v1.OptIns opt_ins = 22;
+inline bool AccountLevelInfo::has_opt_ins() const {
+ return (_has_bits_[0] & 0x00040000u) != 0;
+}
+inline void AccountLevelInfo::set_has_opt_ins() {
+ _has_bits_[0] |= 0x00040000u;
+}
+inline void AccountLevelInfo::clear_has_opt_ins() {
+ _has_bits_[0] &= ~0x00040000u;
+}
+inline void AccountLevelInfo::clear_opt_ins() {
+ if (opt_ins_ != NULL) opt_ins_->::bgs::protocol::account::v1::OptIns::Clear();
+ clear_has_opt_ins();
+}
+inline const ::bgs::protocol::account::v1::OptIns& AccountLevelInfo::opt_ins() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
+ return opt_ins_ != NULL ? *opt_ins_ : *default_instance_->opt_ins_;
+}
+inline ::bgs::protocol::account::v1::OptIns* AccountLevelInfo::mutable_opt_ins() {
+ set_has_opt_ins();
+ if (opt_ins_ == NULL) opt_ins_ = new ::bgs::protocol::account::v1::OptIns;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
+ return opt_ins_;
+}
+inline ::bgs::protocol::account::v1::OptIns* AccountLevelInfo::release_opt_ins() {
+ clear_has_opt_ins();
+ ::bgs::protocol::account::v1::OptIns* temp = opt_ins_;
+ opt_ins_ = NULL;
+ return temp;
+}
+inline void AccountLevelInfo::set_allocated_opt_ins(::bgs::protocol::account::v1::OptIns* opt_ins) {
+ delete opt_ins_;
+ opt_ins_ = opt_ins;
+ if (opt_ins) {
+ set_has_opt_ins();
+ } else {
+ clear_has_opt_ins();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountLevelInfo.opt_ins)
+}
+
// -------------------------------------------------------------------
// PrivacyInfo
@@ -7307,6 +7610,54 @@ inline void GameSessionInfo::set_allocated_igr_id(::bgs::protocol::account::v1::
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameSessionInfo.igr_id)
}
+// optional fixed32 platform_id = 10;
+inline bool GameSessionInfo::has_platform_id() const {
+ return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void GameSessionInfo::set_has_platform_id() {
+ _has_bits_[0] |= 0x00000080u;
+}
+inline void GameSessionInfo::clear_has_platform_id() {
+ _has_bits_[0] &= ~0x00000080u;
+}
+inline void GameSessionInfo::clear_platform_id() {
+ platform_id_ = 0u;
+ clear_has_platform_id();
+}
+inline ::google::protobuf::uint32 GameSessionInfo::platform_id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.platform_id)
+ return platform_id_;
+}
+inline void GameSessionInfo::set_platform_id(::google::protobuf::uint32 value) {
+ set_has_platform_id();
+ platform_id_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.platform_id)
+}
+
+// optional bool igr_paid = 11;
+inline bool GameSessionInfo::has_igr_paid() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void GameSessionInfo::set_has_igr_paid() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void GameSessionInfo::clear_has_igr_paid() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void GameSessionInfo::clear_igr_paid() {
+ igr_paid_ = false;
+ clear_has_igr_paid();
+}
+inline bool GameSessionInfo::igr_paid() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameSessionInfo.igr_paid)
+ return igr_paid_;
+}
+inline void GameSessionInfo::set_igr_paid(bool value) {
+ set_has_igr_paid();
+ igr_paid_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameSessionInfo.igr_paid)
+}
+
// -------------------------------------------------------------------
// GameSessionUpdateInfo
@@ -8543,7 +8894,7 @@ AuthorizedData::mutable_license() {
// IgrId
-// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1;
+// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 1 [deprecated = true];
inline bool IgrId::has_game_account() const {
return type_case() == kGameAccount;
}
diff --git a/src/server/proto/Client/api/client/v1/channel_id.pb.cc b/src/server/proto/Client/api/client/v1/channel_id.pb.cc
index b8f0c3c24b9..56a9abb9df0 100644
--- a/src/server/proto/Client/api/client/v1/channel_id.pb.cc
+++ b/src/server/proto/Client/api/client/v1/channel_id.pb.cc
@@ -36,10 +36,11 @@ void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto() {
"api/client/v1/channel_id.proto");
GOOGLE_CHECK(file != NULL);
ChannelId_descriptor_ = file->message_type(0);
- static const int ChannelId_offsets_[3] = {
+ static const int ChannelId_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelId, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelId, host_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelId, id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelId, region_),
};
ChannelId_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -84,10 +85,10 @@ void protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto() {
::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\036api/client/v1/channel_id.proto\022\027bgs.pr"
- "otocol.channel.v1\032\017rpc_types.proto\"T\n\tCh"
+ "otocol.channel.v1\032\017rpc_types.proto\"d\n\tCh"
"annelId\022\014\n\004type\030\001 \001(\r\022%\n\004host\030\002 \001(\0132\027.bg"
- "s.protocol.ProcessId\022\n\n\002id\030\003 \001(\007:\006\202\371+\002\010\001"
- "B\002H\002", 164);
+ "s.protocol.ProcessId\022\n\n\002id\030\003 \001(\007\022\016\n\006regi"
+ "on\030\004 \001(\r:\006\202\371+\002\010\001B\002H\002", 180);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"api/client/v1/channel_id.proto", &protobuf_RegisterTypes);
ChannelId::default_instance_ = new ChannelId();
@@ -107,6 +108,7 @@ struct StaticDescriptorInitializer_api_2fclient_2fv1_2fchannel_5fid_2eproto {
const int ChannelId::kTypeFieldNumber;
const int ChannelId::kHostFieldNumber;
const int ChannelId::kIdFieldNumber;
+const int ChannelId::kRegionFieldNumber;
#endif // !_MSC_VER
ChannelId::ChannelId()
@@ -131,6 +133,7 @@ void ChannelId::SharedCtor() {
type_ = 0u;
host_ = NULL;
id_ = 0u;
+ region_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/api/client/v1/channel_id.pb.h b/src/server/proto/Client/api/client/v1/channel_id.pb.h
index 0628bd757fb..392776ca3f6 100644
--- a/src/server/proto/Client/api/client/v1/channel_id.pb.h
+++ b/src/server/proto/Client/api/client/v1/channel_id.pb.h
@@ -105,6 +105,13 @@ class TC_PROTO_API ChannelId : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 id() const;
inline void set_id(::google::protobuf::uint32 value);
+ // optional uint32 region = 4;
+ inline bool has_region() const;
+ inline void clear_region();
+ static const int kRegionFieldNumber = 4;
+ inline ::google::protobuf::uint32 region() const;
+ inline void set_region(::google::protobuf::uint32 value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelId)
private:
inline void set_has_type();
@@ -113,6 +120,8 @@ class TC_PROTO_API ChannelId : public ::google::protobuf::Message {
inline void clear_has_host();
inline void set_has_id();
inline void clear_has_id();
+ inline void set_has_region();
+ inline void clear_has_region();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -121,6 +130,7 @@ class TC_PROTO_API ChannelId : public ::google::protobuf::Message {
::bgs::protocol::ProcessId* host_;
::google::protobuf::uint32 type_;
::google::protobuf::uint32 id_;
+ ::google::protobuf::uint32 region_;
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto();
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto();
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5fid_2eproto();
@@ -225,6 +235,30 @@ inline void ChannelId::set_id(::google::protobuf::uint32 value) {
// @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelId.id)
}
+// optional uint32 region = 4;
+inline bool ChannelId::has_region() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void ChannelId::set_has_region() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void ChannelId::clear_has_region() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void ChannelId::clear_region() {
+ region_ = 0u;
+ clear_has_region();
+}
+inline ::google::protobuf::uint32 ChannelId::region() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelId.region)
+ return region_;
+}
+inline void ChannelId::set_region(::google::protobuf::uint32 value) {
+ set_has_region();
+ region_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelId.region)
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1
diff --git a/src/server/proto/Client/api/client/v2/report_service.pb.cc b/src/server/proto/Client/api/client/v2/report_service.pb.cc
index ff7797245dd..12bdd22653d 100644
--- a/src/server/proto/Client/api/client/v2/report_service.pb.cc
+++ b/src/server/proto/Client/api/client/v2/report_service.pb.cc
@@ -102,19 +102,20 @@ void protobuf_AddDesc_api_2fclient_2fv2_2freport_5fservice_2eproto() {
"\n\"api/client/v2/report_service.proto\022\026bg"
"s.protocol.report.v2\032\023account_types.prot"
"o\032 api/client/v2/report_types.proto\032\017rpc"
- "_types.proto\"\250\002\n\023SubmitReportRequest\0224\n\010"
+ "_types.proto\"\260\002\n\023SubmitReportRequest\0224\n\010"
"agent_id\030\001 \001(\0132\".bgs.protocol.account.v1"
".AccountId\022\030\n\020user_description\030\002 \001(\t\022;\n\014"
"user_options\030\n \001(\0132#.bgs.protocol.report"
".v2.UserOptionsH\000\022;\n\014club_options\030\013 \001(\0132"
"#.bgs.protocol.report.v2.ClubOptionsH\000\022\?"
"\n\016entity_options\030\024 \001(\0132%.bgs.protocol.re"
- "port.v2.EntityOptionsH\000B\006\n\004type2\245\001\n\rRepo"
- "rtService\022Y\n\014SubmitReport\022+.bgs.protocol"
- ".report.v2.SubmitReportRequest\032\024.bgs.pro"
- "tocol.NoData\"\006\202\371+\002\010\001\0329\202\371+/\n%bnet.protoco"
- "l.report.v2.ReportService*\006report\212\371+\002\020\001B"
- "\005H\002\200\001\000", 606);
+ "port.v2.EntityOptionsH\000:\006\202\371+\002\010\001B\006\n\004type2"
+ "\302\001\n\rReportService\022t\n\014SubmitReport\022+.bgs."
+ "protocol.report.v2.SubmitReportRequest\032\024"
+ ".bgs.protocol.NoData\"!\202\371+\035\010\001B\031ResolveSub"
+ "mitReportRegion\032;\202\371+1\n%bnet.protocol.rep"
+ "ort.v2.ReportService*\006reportH\001\212\371+\002\020\001B\005H\002"
+ "\200\001\000", 643);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"api/client/v2/report_service.proto", &protobuf_RegisterTypes);
SubmitReportRequest::default_instance_ = new SubmitReportRequest();
diff --git a/src/server/proto/Client/api/client/v2/report_types.pb.cc b/src/server/proto/Client/api/client/v2/report_types.pb.cc
index 4ced87b4f59..33794e7fe54 100644
--- a/src/server/proto/Client/api/client/v2/report_types.pb.cc
+++ b/src/server/proto/Client/api/client/v2/report_types.pb.cc
@@ -169,41 +169,44 @@ void protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto() {
::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto();
::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto();
- ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n api/client/v2/report_types.proto\022\026bgs."
"protocol.report.v2\032#api/client/v2/attrib"
- "ute_types.proto\032\023account_types.proto\032\017rp"
- "c_types.proto\032\023message_types.proto\"C\n\nRe"
- "portItem\022-\n\nmessage_id\030\001 \001(\0132\027.bgs.proto"
- "col.MessageIdH\000B\006\n\004type\"\333\001\n\013UserOptions\022"
- "5\n\ttarget_id\030\001 \001(\0132\".bgs.protocol.accoun"
- "t.v1.AccountId\022/\n\004type\030\002 \001(\0162!.bgs.proto"
- "col.report.v2.IssueType\0222\n\006source\030\003 \001(\0162"
- "\".bgs.protocol.report.v2.UserSource\0220\n\004i"
- "tem\030\004 \001(\0132\".bgs.protocol.report.v2.Repor"
- "tItem\"\310\001\n\013ClubOptions\022\017\n\007club_id\030\001 \001(\004\022\021"
- "\n\tstream_id\030\002 \001(\004\022/\n\004type\030\003 \001(\0162!.bgs.pr"
- "otocol.report.v2.IssueType\0222\n\006source\030\004 \001"
- "(\0162\".bgs.protocol.report.v2.ClubSource\0220"
- "\n\004item\030\005 \001(\0132\".bgs.protocol.report.v2.Re"
- "portItem\"\203\001\n\rEntityOptions\022 \n\tentity_id\030"
- "\001 \001(\tB\r\212\371+\t\"\007\n\005\010\001\020\310\001\022!\n\013entity_type\030\002 \001("
- "\tB\014\212\371+\010\"\006\n\004\010\001\020d\022-\n\tattribute\030\005 \003(\0132\032.bgs"
- ".protocol.v2.Attribute*\215\001\n\tIssueType\022\023\n\017"
- "ISSUE_TYPE_SPAM\020\000\022\031\n\025ISSUE_TYPE_HARASSME"
- "NT\020\001\022 \n\034ISSUE_TYPE_OFFENSIVE_CONTENT\020\003\022\026"
- "\n\022ISSUE_TYPE_HACKING\020\004\022\026\n\022ISSUE_TYPE_BOT"
- "TING\020\005*\301\001\n\nUserSource\022\025\n\021USER_SOURCE_OTH"
- "ER\020\000\022\027\n\023USER_SOURCE_WHISPER\020\001\022\027\n\023USER_SO"
- "URCE_PROFILE\020\002\022\032\n\026USER_SOURCE_BATTLE_TAG"
- "\020\003\022\024\n\020USER_SOURCE_CHAT\020\004\022!\n\035USER_SOURCE_"
- "FRIEND_INVITATION\020\005\022\025\n\021USER_SOURCE_VOICE"
- "\020\006*t\n\nClubSource\022\025\n\021CLUB_SOURCE_OTHER\020\000\022"
- "\027\n\023CLUB_SOURCE_MESSAGE\020\001\022\031\n\025CLUB_SOURCE_"
- "CLUB_NAME\020\002\022\033\n\027CLUB_SOURCE_STREAM_NAME\020\003"
- "B\005H\002\200\001\000", 1247);
+ "ute_types.proto\032\023account_types.proto\032\023me"
+ "ssage_types.proto\032%global_extensions/fie"
+ "ld_options.proto\"C\n\nReportItem\022-\n\nmessag"
+ "e_id\030\001 \001(\0132\027.bgs.protocol.MessageIdH\000B\006\n"
+ "\004type\"\333\001\n\013UserOptions\0225\n\ttarget_id\030\001 \001(\013"
+ "2\".bgs.protocol.account.v1.AccountId\022/\n\004"
+ "type\030\002 \001(\0162!.bgs.protocol.report.v2.Issu"
+ "eType\0222\n\006source\030\003 \001(\0162\".bgs.protocol.rep"
+ "ort.v2.UserSource\0220\n\004item\030\004 \001(\0132\".bgs.pr"
+ "otocol.report.v2.ReportItem\"\310\001\n\013ClubOpti"
+ "ons\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022"
+ "/\n\004type\030\003 \001(\0162!.bgs.protocol.report.v2.I"
+ "ssueType\0222\n\006source\030\004 \001(\0162\".bgs.protocol."
+ "report.v2.ClubSource\0220\n\004item\030\005 \001(\0132\".bgs"
+ ".protocol.report.v2.ReportItem\"\203\001\n\rEntit"
+ "yOptions\022 \n\tentity_id\030\001 \001(\tB\r\212\371+\t\"\007\n\005\010\001\020"
+ "\310\001\022!\n\013entity_type\030\002 \001(\tB\014\212\371+\010\"\006\n\004\010\001\020d\022-\n"
+ "\tattribute\030\005 \003(\0132\032.bgs.protocol.v2.Attri"
+ "bute*\215\001\n\tIssueType\022\023\n\017ISSUE_TYPE_SPAM\020\000\022"
+ "\031\n\025ISSUE_TYPE_HARASSMENT\020\001\022 \n\034ISSUE_TYPE"
+ "_OFFENSIVE_CONTENT\020\003\022\026\n\022ISSUE_TYPE_HACKI"
+ "NG\020\004\022\026\n\022ISSUE_TYPE_BOTTING\020\005*\301\001\n\nUserSou"
+ "rce\022\025\n\021USER_SOURCE_OTHER\020\000\022\027\n\023USER_SOURC"
+ "E_WHISPER\020\001\022\027\n\023USER_SOURCE_PROFILE\020\002\022\032\n\026"
+ "USER_SOURCE_BATTLE_TAG\020\003\022\024\n\020USER_SOURCE_"
+ "CHAT\020\004\022!\n\035USER_SOURCE_FRIEND_INVITATION\020"
+ "\005\022\025\n\021USER_SOURCE_VOICE\020\006*\361\001\n\nClubSource\022"
+ "\024\n\020CLUB_SOURCE_NONE\020\000\022\027\n\023CLUB_SOURCE_MES"
+ "SAGE\020\001\022\031\n\025CLUB_SOURCE_CLUB_NAME\020\002\022\033\n\027CLU"
+ "B_SOURCE_STREAM_NAME\020\003\022\031\n\025CLUB_SOURCE_BR"
+ "OADCAST\020\004\022\037\n\033CLUB_SOURCE_CLUB_SHORT_NAME"
+ "\020\005\022 \n\034CLUB_SOURCE_CLUB_DESCRIPTION\020\006\022\036\n\032"
+ "CLUB_SOURCE_STREAM_SUBJECT\020\007B\005H\002\200\001\000", 1395);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"api/client/v2/report_types.proto", &protobuf_RegisterTypes);
ReportItem::default_instance_ = new ReportItem();
@@ -270,6 +273,10 @@ bool ClubSource_IsValid(int value) {
case 1:
case 2:
case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
return true;
default:
return false;
diff --git a/src/server/proto/Client/api/client/v2/report_types.pb.h b/src/server/proto/Client/api/client/v2/report_types.pb.h
index 77dac294ebc..3a03f338658 100644
--- a/src/server/proto/Client/api/client/v2/report_types.pb.h
+++ b/src/server/proto/Client/api/client/v2/report_types.pb.h
@@ -27,8 +27,8 @@
#include <google/protobuf/unknown_field_set.h>
#include "api/client/v2/attribute_types.pb.h"
#include "account_types.pb.h"
-#include "rpc_types.pb.h"
#include "message_types.pb.h"
+#include "global_extensions/field_options.pb.h"
#include "Define.h" // for TC_PROTO_API
// @@protoc_insertion_point(includes)
@@ -94,14 +94,18 @@ inline bool UserSource_Parse(
UserSource_descriptor(), name, value);
}
enum ClubSource {
- CLUB_SOURCE_OTHER = 0,
+ CLUB_SOURCE_NONE = 0,
CLUB_SOURCE_MESSAGE = 1,
CLUB_SOURCE_CLUB_NAME = 2,
- CLUB_SOURCE_STREAM_NAME = 3
+ CLUB_SOURCE_STREAM_NAME = 3,
+ CLUB_SOURCE_BROADCAST = 4,
+ CLUB_SOURCE_CLUB_SHORT_NAME = 5,
+ CLUB_SOURCE_CLUB_DESCRIPTION = 6,
+ CLUB_SOURCE_STREAM_SUBJECT = 7
};
TC_PROTO_API bool ClubSource_IsValid(int value);
-const ClubSource ClubSource_MIN = CLUB_SOURCE_OTHER;
-const ClubSource ClubSource_MAX = CLUB_SOURCE_STREAM_NAME;
+const ClubSource ClubSource_MIN = CLUB_SOURCE_NONE;
+const ClubSource ClubSource_MAX = CLUB_SOURCE_STREAM_SUBJECT;
const int ClubSource_ARRAYSIZE = ClubSource_MAX + 1;
TC_PROTO_API const ::google::protobuf::EnumDescriptor* ClubSource_descriptor();
diff --git a/src/server/proto/Client/attribute_types.pb.cc b/src/server/proto/Client/attribute_types.pb.cc
index 5da68d7ed55..e0f4bb6c70c 100644
--- a/src/server/proto/Client/attribute_types.pb.cc
+++ b/src/server/proto/Client/attribute_types.pb.cc
@@ -148,8 +148,8 @@ void protobuf_AddDesc_attribute_5ftypes_2eproto() {
"tributeFilter.Operation\022*\n\tattribute\030\002 \003"
"(\0132\027.bgs.protocol.Attribute\"V\n\tOperation"
"\022\016\n\nMATCH_NONE\020\000\022\r\n\tMATCH_ANY\020\001\022\r\n\tMATCH"
- "_ALL\020\002\022\033\n\027MATCH_ALL_MOST_SPECIFIC\020\003B!\n\rb"
- "net.protocolB\016AttributeProtoH\002", 590);
+ "_ALL\020\002\022\033\n\027MATCH_ALL_MOST_SPECIFIC\020\003B \n\014b"
+ "gs.protocolB\016AttributeProtoH\002", 589);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"attribute_types.proto", &protobuf_RegisterTypes);
Variant::default_instance_ = new Variant();
diff --git a/src/server/proto/Client/authentication_service.pb.cc b/src/server/proto/Client/authentication_service.pb.cc
index 493cc9a245f..7b91dadb933 100644
--- a/src/server/proto/Client/authentication_service.pb.cc
+++ b/src/server/proto/Client/authentication_service.pb.cc
@@ -24,36 +24,18 @@ namespace v1 {
namespace {
-const ::google::protobuf::Descriptor* ModuleLoadRequest_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- ModuleLoadRequest_reflection_ = NULL;
-const ::google::protobuf::Descriptor* ModuleNotification_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- ModuleNotification_reflection_ = NULL;
-const ::google::protobuf::Descriptor* ModuleMessageRequest_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- ModuleMessageRequest_reflection_ = NULL;
const ::google::protobuf::Descriptor* LogonRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
LogonRequest_reflection_ = NULL;
const ::google::protobuf::Descriptor* LogonResult_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
LogonResult_reflection_ = NULL;
-const ::google::protobuf::Descriptor* GenerateSSOTokenRequest_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- GenerateSSOTokenRequest_reflection_ = NULL;
-const ::google::protobuf::Descriptor* GenerateSSOTokenResponse_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- GenerateSSOTokenResponse_reflection_ = NULL;
const ::google::protobuf::Descriptor* LogonUpdateRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
LogonUpdateRequest_reflection_ = NULL;
const ::google::protobuf::Descriptor* LogonQueueUpdateRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
LogonQueueUpdateRequest_reflection_ = NULL;
-const ::google::protobuf::Descriptor* AccountSettingsNotification_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- AccountSettingsNotification_reflection_ = NULL;
const ::google::protobuf::Descriptor* ServerStateChangeRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
ServerStateChangeRequest_reflection_ = NULL;
@@ -63,18 +45,6 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* VersionInfoNotification_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
VersionInfoNotification_reflection_ = NULL;
-const ::google::protobuf::Descriptor* MemModuleLoadRequest_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- MemModuleLoadRequest_reflection_ = NULL;
-const ::google::protobuf::Descriptor* MemModuleLoadResponse_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- MemModuleLoadResponse_reflection_ = NULL;
-const ::google::protobuf::Descriptor* SelectGameAccountRequest_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- SelectGameAccountRequest_reflection_ = NULL;
-const ::google::protobuf::Descriptor* GameAccountSelectedRequest_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- GameAccountSelectedRequest_reflection_ = NULL;
const ::google::protobuf::Descriptor* GenerateWebCredentialsRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
GenerateWebCredentialsRequest_reflection_ = NULL;
@@ -95,55 +65,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
"authentication_service.proto");
GOOGLE_CHECK(file != NULL);
- ModuleLoadRequest_descriptor_ = file->message_type(0);
- static const int ModuleLoadRequest_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleLoadRequest, module_handle_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleLoadRequest, message_),
- };
- ModuleLoadRequest_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ModuleLoadRequest_descriptor_,
- ModuleLoadRequest::default_instance_,
- ModuleLoadRequest_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleLoadRequest, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleLoadRequest, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ModuleLoadRequest));
- ModuleNotification_descriptor_ = file->message_type(1);
- static const int ModuleNotification_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleNotification, module_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleNotification, result_),
- };
- ModuleNotification_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ModuleNotification_descriptor_,
- ModuleNotification::default_instance_,
- ModuleNotification_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleNotification, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleNotification, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ModuleNotification));
- ModuleMessageRequest_descriptor_ = file->message_type(2);
- static const int ModuleMessageRequest_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleMessageRequest, module_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleMessageRequest, message_),
- };
- ModuleMessageRequest_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ModuleMessageRequest_descriptor_,
- ModuleMessageRequest::default_instance_,
- ModuleMessageRequest_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleMessageRequest, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ModuleMessageRequest, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ModuleMessageRequest));
- LogonRequest_descriptor_ = file->message_type(3);
+ LogonRequest_descriptor_ = file->message_type(0);
static const int LogonRequest_offsets_[12] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, program_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, platform_),
@@ -169,7 +91,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(LogonRequest));
- LogonResult_descriptor_ = file->message_type(4);
+ LogonResult_descriptor_ = file->message_type(1);
static const int LogonResult_offsets_[11] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonResult, error_code_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonResult, account_id_),
@@ -194,38 +116,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(LogonResult));
- GenerateSSOTokenRequest_descriptor_ = file->message_type(5);
- static const int GenerateSSOTokenRequest_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenRequest, program_),
- };
- GenerateSSOTokenRequest_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- GenerateSSOTokenRequest_descriptor_,
- GenerateSSOTokenRequest::default_instance_,
- GenerateSSOTokenRequest_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenRequest, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenRequest, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(GenerateSSOTokenRequest));
- GenerateSSOTokenResponse_descriptor_ = file->message_type(6);
- static const int GenerateSSOTokenResponse_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenResponse, sso_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenResponse, sso_secret_),
- };
- GenerateSSOTokenResponse_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- GenerateSSOTokenResponse_descriptor_,
- GenerateSSOTokenResponse::default_instance_,
- GenerateSSOTokenResponse_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenResponse, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateSSOTokenResponse, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(GenerateSSOTokenResponse));
- LogonUpdateRequest_descriptor_ = file->message_type(7);
+ LogonUpdateRequest_descriptor_ = file->message_type(2);
static const int LogonUpdateRequest_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonUpdateRequest, error_code_),
};
@@ -240,7 +131,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(LogonUpdateRequest));
- LogonQueueUpdateRequest_descriptor_ = file->message_type(8);
+ LogonQueueUpdateRequest_descriptor_ = file->message_type(3);
static const int LogonQueueUpdateRequest_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonQueueUpdateRequest, position_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonQueueUpdateRequest, estimated_time_),
@@ -257,26 +148,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(LogonQueueUpdateRequest));
- AccountSettingsNotification_descriptor_ = file->message_type(9);
- static const int AccountSettingsNotification_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, licenses_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, is_using_rid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, is_playing_from_igr_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, can_receive_voice_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, can_send_voice_),
- };
- AccountSettingsNotification_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- AccountSettingsNotification_descriptor_,
- AccountSettingsNotification::default_instance_,
- AccountSettingsNotification_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountSettingsNotification, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(AccountSettingsNotification));
- ServerStateChangeRequest_descriptor_ = file->message_type(10);
+ ServerStateChangeRequest_descriptor_ = file->message_type(4);
static const int ServerStateChangeRequest_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServerStateChangeRequest, state_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServerStateChangeRequest, event_time_),
@@ -292,7 +164,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ServerStateChangeRequest));
- VersionInfo_descriptor_ = file->message_type(11);
+ VersionInfo_descriptor_ = file->message_type(5);
static const int VersionInfo_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VersionInfo, number_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VersionInfo, patch_),
@@ -310,7 +182,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(VersionInfo));
- VersionInfoNotification_descriptor_ = file->message_type(12);
+ VersionInfoNotification_descriptor_ = file->message_type(6);
static const int VersionInfoNotification_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VersionInfoNotification, version_info_),
};
@@ -325,70 +197,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(VersionInfoNotification));
- MemModuleLoadRequest_descriptor_ = file->message_type(13);
- static const int MemModuleLoadRequest_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadRequest, handle_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadRequest, key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadRequest, input_),
- };
- MemModuleLoadRequest_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- MemModuleLoadRequest_descriptor_,
- MemModuleLoadRequest::default_instance_,
- MemModuleLoadRequest_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadRequest, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadRequest, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(MemModuleLoadRequest));
- MemModuleLoadResponse_descriptor_ = file->message_type(14);
- static const int MemModuleLoadResponse_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadResponse, data_),
- };
- MemModuleLoadResponse_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- MemModuleLoadResponse_descriptor_,
- MemModuleLoadResponse::default_instance_,
- MemModuleLoadResponse_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadResponse, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemModuleLoadResponse, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(MemModuleLoadResponse));
- SelectGameAccountRequest_descriptor_ = file->message_type(15);
- static const int SelectGameAccountRequest_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectGameAccountRequest, game_account_id_),
- };
- SelectGameAccountRequest_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- SelectGameAccountRequest_descriptor_,
- SelectGameAccountRequest::default_instance_,
- SelectGameAccountRequest_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectGameAccountRequest, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectGameAccountRequest, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(SelectGameAccountRequest));
- GameAccountSelectedRequest_descriptor_ = file->message_type(16);
- static const int GameAccountSelectedRequest_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountSelectedRequest, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountSelectedRequest, game_account_id_),
- };
- GameAccountSelectedRequest_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- GameAccountSelectedRequest_descriptor_,
- GameAccountSelectedRequest::default_instance_,
- GameAccountSelectedRequest_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountSelectedRequest, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountSelectedRequest, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(GameAccountSelectedRequest));
- GenerateWebCredentialsRequest_descriptor_ = file->message_type(17);
+ GenerateWebCredentialsRequest_descriptor_ = file->message_type(7);
static const int GenerateWebCredentialsRequest_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateWebCredentialsRequest, program_),
};
@@ -403,7 +212,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GenerateWebCredentialsRequest));
- GenerateWebCredentialsResponse_descriptor_ = file->message_type(18);
+ GenerateWebCredentialsResponse_descriptor_ = file->message_type(8);
static const int GenerateWebCredentialsResponse_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GenerateWebCredentialsResponse, web_credentials_),
};
@@ -418,7 +227,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GenerateWebCredentialsResponse));
- VerifyWebCredentialsRequest_descriptor_ = file->message_type(19);
+ VerifyWebCredentialsRequest_descriptor_ = file->message_type(9);
static const int VerifyWebCredentialsRequest_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VerifyWebCredentialsRequest, web_credentials_),
};
@@ -448,40 +257,20 @@ inline void protobuf_AssignDescriptorsOnce() {
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ModuleLoadRequest_descriptor_, &ModuleLoadRequest::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ModuleNotification_descriptor_, &ModuleNotification::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ModuleMessageRequest_descriptor_, &ModuleMessageRequest::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
LogonRequest_descriptor_, &LogonRequest::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
LogonResult_descriptor_, &LogonResult::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- GenerateSSOTokenRequest_descriptor_, &GenerateSSOTokenRequest::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- GenerateSSOTokenResponse_descriptor_, &GenerateSSOTokenResponse::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
LogonUpdateRequest_descriptor_, &LogonUpdateRequest::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
LogonQueueUpdateRequest_descriptor_, &LogonQueueUpdateRequest::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- AccountSettingsNotification_descriptor_, &AccountSettingsNotification::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
ServerStateChangeRequest_descriptor_, &ServerStateChangeRequest::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
VersionInfo_descriptor_, &VersionInfo::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
VersionInfoNotification_descriptor_, &VersionInfoNotification::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- MemModuleLoadRequest_descriptor_, &MemModuleLoadRequest::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- MemModuleLoadResponse_descriptor_, &MemModuleLoadResponse::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- SelectGameAccountRequest_descriptor_, &SelectGameAccountRequest::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- GameAccountSelectedRequest_descriptor_, &GameAccountSelectedRequest::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
GenerateWebCredentialsRequest_descriptor_, &GenerateWebCredentialsRequest::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
GenerateWebCredentialsResponse_descriptor_, &GenerateWebCredentialsResponse::default_instance());
@@ -492,40 +281,20 @@ void protobuf_RegisterTypes(const ::std::string&) {
} // namespace
void protobuf_ShutdownFile_authentication_5fservice_2eproto() {
- delete ModuleLoadRequest::default_instance_;
- delete ModuleLoadRequest_reflection_;
- delete ModuleNotification::default_instance_;
- delete ModuleNotification_reflection_;
- delete ModuleMessageRequest::default_instance_;
- delete ModuleMessageRequest_reflection_;
delete LogonRequest::default_instance_;
delete LogonRequest_reflection_;
delete LogonResult::default_instance_;
delete LogonResult_reflection_;
- delete GenerateSSOTokenRequest::default_instance_;
- delete GenerateSSOTokenRequest_reflection_;
- delete GenerateSSOTokenResponse::default_instance_;
- delete GenerateSSOTokenResponse_reflection_;
delete LogonUpdateRequest::default_instance_;
delete LogonUpdateRequest_reflection_;
delete LogonQueueUpdateRequest::default_instance_;
delete LogonQueueUpdateRequest_reflection_;
- delete AccountSettingsNotification::default_instance_;
- delete AccountSettingsNotification_reflection_;
delete ServerStateChangeRequest::default_instance_;
delete ServerStateChangeRequest_reflection_;
delete VersionInfo::default_instance_;
delete VersionInfo_reflection_;
delete VersionInfoNotification::default_instance_;
delete VersionInfoNotification_reflection_;
- delete MemModuleLoadRequest::default_instance_;
- delete MemModuleLoadRequest_reflection_;
- delete MemModuleLoadResponse::default_instance_;
- delete MemModuleLoadResponse_reflection_;
- delete SelectGameAccountRequest::default_instance_;
- delete SelectGameAccountRequest_reflection_;
- delete GameAccountSelectedRequest::default_instance_;
- delete GameAccountSelectedRequest_reflection_;
delete GenerateWebCredentialsRequest::default_instance_;
delete GenerateWebCredentialsRequest_reflection_;
delete GenerateWebCredentialsResponse::default_instance_;
@@ -540,159 +309,90 @@ void protobuf_AddDesc_authentication_5fservice_2eproto() {
already_here = true;
GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto();
- ::bgs::protocol::protobuf_AddDesc_content_5fhandle_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\034authentication_service.proto\022\036bgs.prot"
- "ocol.authentication.v1\032\023account_types.pr"
- "oto\032\032content_handle_types.proto\032\022entity_"
- "types.proto\032\017rpc_types.proto\"X\n\021ModuleLo"
- "adRequest\0222\n\rmodule_handle\030\001 \002(\0132\033.bgs.p"
- "rotocol.ContentHandle\022\017\n\007message\030\002 \001(\014\"7"
- "\n\022ModuleNotification\022\021\n\tmodule_id\030\002 \001(\005\022"
- "\016\n\006result\030\003 \001(\r\":\n\024ModuleMessageRequest\022"
- "\021\n\tmodule_id\030\001 \002(\005\022\017\n\007message\030\002 \001(\014\"\264\002\n\014"
- "LogonRequest\022\017\n\007program\030\001 \001(\t\022\020\n\010platfor"
- "m\030\002 \001(\t\022\016\n\006locale\030\003 \001(\t\022\025\n\005email\030\004 \001(\tB\006"
- "\202\371+\002\010\001\022\017\n\007version\030\005 \001(\t\022\033\n\023application_v"
- "ersion\030\006 \001(\005\022\027\n\017public_computer\030\007 \001(\010\022.\n"
- "\037allow_logon_queue_notifications\030\n \001(\010:\005"
- "false\022\036\n\026cached_web_credentials\030\014 \001(\014\022\022\n"
- "\nuser_agent\030\016 \001(\t\022\021\n\tdevice_id\030\017 \001(\t\022\034\n\014"
- "phone_number\030\020 \001(\tB\006\202\371+\002\010\001\"\275\002\n\013LogonResu"
- "lt\022\022\n\nerror_code\030\001 \002(\r\022*\n\naccount_id\030\002 \001"
- "(\0132\026.bgs.protocol.EntityId\022/\n\017game_accou"
- "nt_id\030\003 \003(\0132\026.bgs.protocol.EntityId\022\025\n\005e"
- "mail\030\004 \001(\tB\006\202\371+\002\010\001\022\030\n\020available_region\030\005"
- " \003(\r\022\030\n\020connected_region\030\006 \001(\r\022\032\n\nbattle"
- "_tag\030\007 \001(\tB\006\202\371+\002\010\001\022\025\n\rgeoip_country\030\010 \001("
- "\t\022\023\n\013session_key\030\t \001(\014\022\027\n\017restricted_mod"
- "e\030\n \001(\010\022\021\n\tclient_id\030\013 \001(\t\"*\n\027GenerateSS"
- "OTokenRequest\022\017\n\007program\030\001 \001(\007\">\n\030Genera"
- "teSSOTokenResponse\022\016\n\006sso_id\030\001 \001(\014\022\022\n\nss"
- "o_secret\030\002 \001(\014\"(\n\022LogonUpdateRequest\022\022\n\n"
- "error_code\030\001 \002(\r\"a\n\027LogonQueueUpdateRequ"
- "est\022\020\n\010position\030\001 \002(\r\022\026\n\016estimated_time\030"
- "\002 \002(\004\022\034\n\024eta_deviation_in_sec\030\003 \002(\004\"\276\001\n\033"
- "AccountSettingsNotification\0229\n\010licenses\030"
- "\001 \003(\0132\'.bgs.protocol.account.v1.AccountL"
- "icense\022\024\n\014is_using_rid\030\002 \001(\010\022\033\n\023is_playi"
- "ng_from_igr\030\003 \001(\010\022\031\n\021can_receive_voice\030\004"
- " \001(\010\022\026\n\016can_send_voice\030\005 \001(\010\"=\n\030ServerSt"
- "ateChangeRequest\022\r\n\005state\030\001 \002(\r\022\022\n\nevent"
- "_time\030\002 \002(\004\"T\n\013VersionInfo\022\016\n\006number\030\001 \001"
- "(\r\022\r\n\005patch\030\002 \001(\t\022\023\n\013is_optional\030\003 \001(\010\022\021"
- "\n\tkick_time\030\004 \001(\004\"\\\n\027VersionInfoNotifica"
- "tion\022A\n\014version_info\030\001 \001(\0132+.bgs.protoco"
- "l.authentication.v1.VersionInfo\"_\n\024MemMo"
- "duleLoadRequest\022+\n\006handle\030\001 \002(\0132\033.bgs.pr"
- "otocol.ContentHandle\022\013\n\003key\030\002 \002(\014\022\r\n\005inp"
- "ut\030\003 \002(\014\"%\n\025MemModuleLoadResponse\022\014\n\004dat"
- "a\030\001 \002(\014\"K\n\030SelectGameAccountRequest\022/\n\017g"
- "ame_account_id\030\001 \002(\0132\026.bgs.protocol.Enti"
- "tyId\"]\n\032GameAccountSelectedRequest\022\016\n\006re"
- "sult\030\001 \002(\r\022/\n\017game_account_id\030\002 \001(\0132\026.bg"
- "s.protocol.EntityId\"0\n\035GenerateWebCreden"
- "tialsRequest\022\017\n\007program\030\001 \001(\007\"9\n\036Generat"
- "eWebCredentialsResponse\022\027\n\017web_credentia"
- "ls\030\001 \001(\014\"6\n\033VerifyWebCredentialsRequest\022"
- "\027\n\017web_credentials\030\001 \001(\0142\237\t\n\026Authenticat"
- "ionListener\022g\n\014OnModuleLoad\0221.bgs.protoc"
- "ol.authentication.v1.ModuleLoadRequest\032\031"
- ".bgs.protocol.NO_RESPONSE\"\t\210\002\001\202\371+\002\010\001\022h\n\017"
- "OnModuleMessage\0224.bgs.protocol.authentic"
- "ation.v1.ModuleMessageRequest\032\024.bgs.prot"
- "ocol.NoData\"\t\210\002\001\202\371+\002\010\002\022r\n\023OnServerStateC"
- "hange\0228.bgs.protocol.authentication.v1.S"
- "erverStateChangeRequest\032\031.bgs.protocol.N"
- "O_RESPONSE\"\006\202\371+\002\010\004\022a\n\017OnLogonComplete\022+."
- "bgs.protocol.authentication.v1.LogonResu"
- "lt\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\005\022\206\001"
- "\n\017OnMemModuleLoad\0224.bgs.protocol.authent"
- "ication.v1.MemModuleLoadRequest\0325.bgs.pr"
- "otocol.authentication.v1.MemModuleLoadRe"
- "sponse\"\006\202\371+\002\010\006\022f\n\rOnLogonUpdate\0222.bgs.pr"
- "otocol.authentication.v1.LogonUpdateRequ"
- "est\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\n\022r"
- "\n\024OnVersionInfoUpdated\0227.bgs.protocol.au"
- "thentication.v1.VersionInfoNotification\032"
- "\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\013\022p\n\022On"
- "LogonQueueUpdate\0227.bgs.protocol.authenti"
- "cation.v1.LogonQueueUpdateRequest\032\031.bgs."
- "protocol.NO_RESPONSE\"\006\202\371+\002\010\014\022J\n\017OnLogonQ"
- "ueueEnd\022\024.bgs.protocol.NoData\032\031.bgs.prot"
- "ocol.NO_RESPONSE\"\006\202\371+\002\010\r\022y\n\025OnGameAccoun"
- "tSelected\022:.bgs.protocol.authentication."
- "v1.GameAccountSelectedRequest\032\031.bgs.prot"
- "ocol.NO_RESPONSE\"\t\210\002\001\202\371+\002\010\016\032=\202\371+3\n1bnet."
- "protocol.authentication.AuthenticationCl"
- "ient\212\371+\002\010\0012\366\007\n\025AuthenticationService\022S\n\005"
- "Logon\022,.bgs.protocol.authentication.v1.L"
- "ogonRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010"
- "\001\022c\n\014ModuleNotify\0222.bgs.protocol.authent"
- "ication.v1.ModuleNotification\032\024.bgs.prot"
- "ocol.NoData\"\t\210\002\001\202\371+\002\010\002\022f\n\rModuleMessage\022"
- "4.bgs.protocol.authentication.v1.ModuleM"
- "essageRequest\032\024.bgs.protocol.NoData\"\t\210\002\001"
- "\202\371+\002\010\003\022W\n\034SelectGameAccount_DEPRECATED\022\026"
- ".bgs.protocol.EntityId\032\024.bgs.protocol.No"
- "Data\"\t\210\002\001\202\371+\002\010\004\022\215\001\n\020GenerateSSOToken\0227.b"
- "gs.protocol.authentication.v1.GenerateSS"
- "OTokenRequest\0328.bgs.protocol.authenticat"
- "ion.v1.GenerateSSOTokenResponse\"\006\202\371+\002\010\005\022"
- "n\n\021SelectGameAccount\0228.bgs.protocol.auth"
- "entication.v1.SelectGameAccountRequest\032\024"
- ".bgs.protocol.NoData\"\t\210\002\001\202\371+\002\010\006\022q\n\024Verif"
- "yWebCredentials\022;.bgs.protocol.authentic"
- "ation.v1.VerifyWebCredentialsRequest\032\024.b"
- "gs.protocol.NoData\"\006\202\371+\002\010\007\022\237\001\n\026GenerateW"
- "ebCredentials\022=.bgs.protocol.authenticat"
- "ion.v1.GenerateWebCredentialsRequest\032>.b"
- "gs.protocol.authentication.v1.GenerateWe"
- "bCredentialsResponse\"\006\202\371+\002\010\010\032M\202\371+C\n1bnet"
- ".protocol.authentication.AuthenticationS"
- "erver*\016authentication\212\371+\002\020\001B\005H\002\200\001\000", 4354);
+ "ocol.authentication.v1\032\022entity_types.pro"
+ "to\032\017rpc_types.proto\"\264\002\n\014LogonRequest\022\017\n\007"
+ "program\030\001 \001(\t\022\020\n\010platform\030\002 \001(\t\022\016\n\006local"
+ "e\030\003 \001(\t\022\025\n\005email\030\004 \001(\tB\006\202\371+\002\010\001\022\017\n\007versio"
+ "n\030\005 \001(\t\022\033\n\023application_version\030\006 \001(\005\022\027\n\017"
+ "public_computer\030\007 \001(\010\022.\n\037allow_logon_que"
+ "ue_notifications\030\n \001(\010:\005false\022\036\n\026cached_"
+ "web_credentials\030\014 \001(\014\022\022\n\nuser_agent\030\016 \001("
+ "\t\022\021\n\tdevice_id\030\017 \001(\t\022\034\n\014phone_number\030\020 \001"
+ "(\tB\006\202\371+\002\010\001\"\275\002\n\013LogonResult\022\022\n\nerror_code"
+ "\030\001 \002(\r\022*\n\naccount_id\030\002 \001(\0132\026.bgs.protoco"
+ "l.EntityId\022/\n\017game_account_id\030\003 \003(\0132\026.bg"
+ "s.protocol.EntityId\022\025\n\005email\030\004 \001(\tB\006\202\371+\002"
+ "\010\001\022\030\n\020available_region\030\005 \003(\r\022\030\n\020connecte"
+ "d_region\030\006 \001(\r\022\032\n\nbattle_tag\030\007 \001(\tB\006\202\371+\002"
+ "\010\001\022\025\n\rgeoip_country\030\010 \001(\t\022\023\n\013session_key"
+ "\030\t \001(\014\022\027\n\017restricted_mode\030\n \001(\010\022\021\n\tclien"
+ "t_id\030\013 \001(\t\"(\n\022LogonUpdateRequest\022\022\n\nerro"
+ "r_code\030\001 \002(\r\"a\n\027LogonQueueUpdateRequest\022"
+ "\020\n\010position\030\001 \002(\r\022\026\n\016estimated_time\030\002 \002("
+ "\004\022\034\n\024eta_deviation_in_sec\030\003 \002(\004\"=\n\030Serve"
+ "rStateChangeRequest\022\r\n\005state\030\001 \002(\r\022\022\n\nev"
+ "ent_time\030\002 \002(\004\"T\n\013VersionInfo\022\016\n\006number\030"
+ "\001 \001(\r\022\r\n\005patch\030\002 \001(\t\022\023\n\013is_optional\030\003 \001("
+ "\010\022\021\n\tkick_time\030\004 \001(\004\"\\\n\027VersionInfoNotif"
+ "ication\022A\n\014version_info\030\001 \001(\0132+.bgs.prot"
+ "ocol.authentication.v1.VersionInfo\"0\n\035Ge"
+ "nerateWebCredentialsRequest\022\017\n\007program\030\001"
+ " \001(\007\"9\n\036GenerateWebCredentialsResponse\022\027"
+ "\n\017web_credentials\030\001 \001(\014\"6\n\033VerifyWebCred"
+ "entialsRequest\022\027\n\017web_credentials\030\001 \001(\0142"
+ "\312\005\n\026AuthenticationListener\022r\n\023OnServerSt"
+ "ateChange\0228.bgs.protocol.authentication."
+ "v1.ServerStateChangeRequest\032\031.bgs.protoc"
+ "ol.NO_RESPONSE\"\006\202\371+\002\010\004\022a\n\017OnLogonComplet"
+ "e\022+.bgs.protocol.authentication.v1.Logon"
+ "Result\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010"
+ "\005\022f\n\rOnLogonUpdate\0222.bgs.protocol.authen"
+ "tication.v1.LogonUpdateRequest\032\031.bgs.pro"
+ "tocol.NO_RESPONSE\"\006\202\371+\002\010\n\022r\n\024OnVersionIn"
+ "foUpdated\0227.bgs.protocol.authentication."
+ "v1.VersionInfoNotification\032\031.bgs.protoco"
+ "l.NO_RESPONSE\"\006\202\371+\002\010\013\022p\n\022OnLogonQueueUpd"
+ "ate\0227.bgs.protocol.authentication.v1.Log"
+ "onQueueUpdateRequest\032\031.bgs.protocol.NO_R"
+ "ESPONSE\"\006\202\371+\002\010\014\022J\n\017OnLogonQueueEnd\022\024.bgs"
+ ".protocol.NoData\032\031.bgs.protocol.NO_RESPO"
+ "NSE\"\006\202\371+\002\010\r\032\?\202\371+5\n1bnet.protocol.authent"
+ "ication.AuthenticationClient8\001\212\371+\002\010\0012\302\003\n"
+ "\025AuthenticationService\022S\n\005Logon\022,.bgs.pr"
+ "otocol.authentication.v1.LogonRequest\032\024."
+ "bgs.protocol.NoData\"\006\202\371+\002\010\001\022q\n\024VerifyWeb"
+ "Credentials\022;.bgs.protocol.authenticatio"
+ "n.v1.VerifyWebCredentialsRequest\032\024.bgs.p"
+ "rotocol.NoData\"\006\202\371+\002\010\007\022\237\001\n\026GenerateWebCr"
+ "edentials\022=.bgs.protocol.authentication."
+ "v1.GenerateWebCredentialsRequest\032>.bgs.p"
+ "rotocol.authentication.v1.GenerateWebCre"
+ "dentialsResponse\"\006\202\371+\002\010\010\032\?\202\371+5\n1bnet.pro"
+ "tocol.authentication.AuthenticationServe"
+ "r8\001\212\371+\002\020\001B\005H\002\200\001\000", 2456);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"authentication_service.proto", &protobuf_RegisterTypes);
- ModuleLoadRequest::default_instance_ = new ModuleLoadRequest();
- ModuleNotification::default_instance_ = new ModuleNotification();
- ModuleMessageRequest::default_instance_ = new ModuleMessageRequest();
LogonRequest::default_instance_ = new LogonRequest();
LogonResult::default_instance_ = new LogonResult();
- GenerateSSOTokenRequest::default_instance_ = new GenerateSSOTokenRequest();
- GenerateSSOTokenResponse::default_instance_ = new GenerateSSOTokenResponse();
LogonUpdateRequest::default_instance_ = new LogonUpdateRequest();
LogonQueueUpdateRequest::default_instance_ = new LogonQueueUpdateRequest();
- AccountSettingsNotification::default_instance_ = new AccountSettingsNotification();
ServerStateChangeRequest::default_instance_ = new ServerStateChangeRequest();
VersionInfo::default_instance_ = new VersionInfo();
VersionInfoNotification::default_instance_ = new VersionInfoNotification();
- MemModuleLoadRequest::default_instance_ = new MemModuleLoadRequest();
- MemModuleLoadResponse::default_instance_ = new MemModuleLoadResponse();
- SelectGameAccountRequest::default_instance_ = new SelectGameAccountRequest();
- GameAccountSelectedRequest::default_instance_ = new GameAccountSelectedRequest();
GenerateWebCredentialsRequest::default_instance_ = new GenerateWebCredentialsRequest();
GenerateWebCredentialsResponse::default_instance_ = new GenerateWebCredentialsResponse();
VerifyWebCredentialsRequest::default_instance_ = new VerifyWebCredentialsRequest();
- ModuleLoadRequest::default_instance_->InitAsDefaultInstance();
- ModuleNotification::default_instance_->InitAsDefaultInstance();
- ModuleMessageRequest::default_instance_->InitAsDefaultInstance();
LogonRequest::default_instance_->InitAsDefaultInstance();
LogonResult::default_instance_->InitAsDefaultInstance();
- GenerateSSOTokenRequest::default_instance_->InitAsDefaultInstance();
- GenerateSSOTokenResponse::default_instance_->InitAsDefaultInstance();
LogonUpdateRequest::default_instance_->InitAsDefaultInstance();
LogonQueueUpdateRequest::default_instance_->InitAsDefaultInstance();
- AccountSettingsNotification::default_instance_->InitAsDefaultInstance();
ServerStateChangeRequest::default_instance_->InitAsDefaultInstance();
VersionInfo::default_instance_->InitAsDefaultInstance();
VersionInfoNotification::default_instance_->InitAsDefaultInstance();
- MemModuleLoadRequest::default_instance_->InitAsDefaultInstance();
- MemModuleLoadResponse::default_instance_->InitAsDefaultInstance();
- SelectGameAccountRequest::default_instance_->InitAsDefaultInstance();
- GameAccountSelectedRequest::default_instance_->InitAsDefaultInstance();
GenerateWebCredentialsRequest::default_instance_->InitAsDefaultInstance();
GenerateWebCredentialsResponse::default_instance_->InitAsDefaultInstance();
VerifyWebCredentialsRequest::default_instance_->InitAsDefaultInstance();
@@ -708,238 +408,6 @@ struct StaticDescriptorInitializer_authentication_5fservice_2eproto {
// ===================================================================
#ifndef _MSC_VER
-const int ModuleLoadRequest::kModuleHandleFieldNumber;
-const int ModuleLoadRequest::kMessageFieldNumber;
-#endif // !_MSC_VER
-
-ModuleLoadRequest::ModuleLoadRequest()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.ModuleLoadRequest)
-}
-
-void ModuleLoadRequest::InitAsDefaultInstance() {
- module_handle_ = const_cast< ::bgs::protocol::ContentHandle*>(&::bgs::protocol::ContentHandle::default_instance());
-}
-
-ModuleLoadRequest::ModuleLoadRequest(const ModuleLoadRequest& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.ModuleLoadRequest)
-}
-
-void ModuleLoadRequest::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- module_handle_ = NULL;
- message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-ModuleLoadRequest::~ModuleLoadRequest() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.ModuleLoadRequest)
- SharedDtor();
-}
-
-void ModuleLoadRequest::SharedDtor() {
- if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete message_;
- }
- if (this != default_instance_) {
- delete module_handle_;
- }
-}
-
-void ModuleLoadRequest::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* ModuleLoadRequest::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ModuleLoadRequest_descriptor_;
-}
-
-const ModuleLoadRequest& ModuleLoadRequest::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-ModuleLoadRequest* ModuleLoadRequest::default_instance_ = NULL;
-
-ModuleLoadRequest* ModuleLoadRequest::New() const {
- return new ModuleLoadRequest;
-}
-
-void ModuleLoadRequest::Swap(ModuleLoadRequest* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata ModuleLoadRequest::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ModuleLoadRequest_descriptor_;
- metadata.reflection = ModuleLoadRequest_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int ModuleNotification::kModuleIdFieldNumber;
-const int ModuleNotification::kResultFieldNumber;
-#endif // !_MSC_VER
-
-ModuleNotification::ModuleNotification()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.ModuleNotification)
-}
-
-void ModuleNotification::InitAsDefaultInstance() {
-}
-
-ModuleNotification::ModuleNotification(const ModuleNotification& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.ModuleNotification)
-}
-
-void ModuleNotification::SharedCtor() {
- _cached_size_ = 0;
- module_id_ = 0;
- result_ = 0u;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-ModuleNotification::~ModuleNotification() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.ModuleNotification)
- SharedDtor();
-}
-
-void ModuleNotification::SharedDtor() {
- if (this != default_instance_) {
- }
-}
-
-void ModuleNotification::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* ModuleNotification::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ModuleNotification_descriptor_;
-}
-
-const ModuleNotification& ModuleNotification::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-ModuleNotification* ModuleNotification::default_instance_ = NULL;
-
-ModuleNotification* ModuleNotification::New() const {
- return new ModuleNotification;
-}
-
-void ModuleNotification::Swap(ModuleNotification* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata ModuleNotification::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ModuleNotification_descriptor_;
- metadata.reflection = ModuleNotification_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int ModuleMessageRequest::kModuleIdFieldNumber;
-const int ModuleMessageRequest::kMessageFieldNumber;
-#endif // !_MSC_VER
-
-ModuleMessageRequest::ModuleMessageRequest()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.ModuleMessageRequest)
-}
-
-void ModuleMessageRequest::InitAsDefaultInstance() {
-}
-
-ModuleMessageRequest::ModuleMessageRequest(const ModuleMessageRequest& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.ModuleMessageRequest)
-}
-
-void ModuleMessageRequest::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- module_id_ = 0;
- message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-ModuleMessageRequest::~ModuleMessageRequest() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.ModuleMessageRequest)
- SharedDtor();
-}
-
-void ModuleMessageRequest::SharedDtor() {
- if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete message_;
- }
- if (this != default_instance_) {
- }
-}
-
-void ModuleMessageRequest::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* ModuleMessageRequest::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ModuleMessageRequest_descriptor_;
-}
-
-const ModuleMessageRequest& ModuleMessageRequest::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-ModuleMessageRequest* ModuleMessageRequest::default_instance_ = NULL;
-
-ModuleMessageRequest* ModuleMessageRequest::New() const {
- return new ModuleMessageRequest;
-}
-
-void ModuleMessageRequest::Swap(ModuleMessageRequest* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata ModuleMessageRequest::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ModuleMessageRequest_descriptor_;
- metadata.reflection = ModuleMessageRequest_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
const int LogonRequest::kProgramFieldNumber;
const int LogonRequest::kPlatformFieldNumber;
const int LogonRequest::kLocaleFieldNumber;
@@ -1170,159 +638,6 @@ void LogonResult::Swap(LogonResult* other) {
// ===================================================================
#ifndef _MSC_VER
-const int GenerateSSOTokenRequest::kProgramFieldNumber;
-#endif // !_MSC_VER
-
-GenerateSSOTokenRequest::GenerateSSOTokenRequest()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.GenerateSSOTokenRequest)
-}
-
-void GenerateSSOTokenRequest::InitAsDefaultInstance() {
-}
-
-GenerateSSOTokenRequest::GenerateSSOTokenRequest(const GenerateSSOTokenRequest& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.GenerateSSOTokenRequest)
-}
-
-void GenerateSSOTokenRequest::SharedCtor() {
- _cached_size_ = 0;
- program_ = 0u;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-GenerateSSOTokenRequest::~GenerateSSOTokenRequest() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.GenerateSSOTokenRequest)
- SharedDtor();
-}
-
-void GenerateSSOTokenRequest::SharedDtor() {
- if (this != default_instance_) {
- }
-}
-
-void GenerateSSOTokenRequest::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* GenerateSSOTokenRequest::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return GenerateSSOTokenRequest_descriptor_;
-}
-
-const GenerateSSOTokenRequest& GenerateSSOTokenRequest::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-GenerateSSOTokenRequest* GenerateSSOTokenRequest::default_instance_ = NULL;
-
-GenerateSSOTokenRequest* GenerateSSOTokenRequest::New() const {
- return new GenerateSSOTokenRequest;
-}
-
-void GenerateSSOTokenRequest::Swap(GenerateSSOTokenRequest* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata GenerateSSOTokenRequest::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = GenerateSSOTokenRequest_descriptor_;
- metadata.reflection = GenerateSSOTokenRequest_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int GenerateSSOTokenResponse::kSsoIdFieldNumber;
-const int GenerateSSOTokenResponse::kSsoSecretFieldNumber;
-#endif // !_MSC_VER
-
-GenerateSSOTokenResponse::GenerateSSOTokenResponse()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.GenerateSSOTokenResponse)
-}
-
-void GenerateSSOTokenResponse::InitAsDefaultInstance() {
-}
-
-GenerateSSOTokenResponse::GenerateSSOTokenResponse(const GenerateSSOTokenResponse& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.GenerateSSOTokenResponse)
-}
-
-void GenerateSSOTokenResponse::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- sso_secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-GenerateSSOTokenResponse::~GenerateSSOTokenResponse() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.GenerateSSOTokenResponse)
- SharedDtor();
-}
-
-void GenerateSSOTokenResponse::SharedDtor() {
- if (sso_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete sso_id_;
- }
- if (sso_secret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete sso_secret_;
- }
- if (this != default_instance_) {
- }
-}
-
-void GenerateSSOTokenResponse::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* GenerateSSOTokenResponse::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return GenerateSSOTokenResponse_descriptor_;
-}
-
-const GenerateSSOTokenResponse& GenerateSSOTokenResponse::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-GenerateSSOTokenResponse* GenerateSSOTokenResponse::default_instance_ = NULL;
-
-GenerateSSOTokenResponse* GenerateSSOTokenResponse::New() const {
- return new GenerateSSOTokenResponse;
-}
-
-void GenerateSSOTokenResponse::Swap(GenerateSSOTokenResponse* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata GenerateSSOTokenResponse::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = GenerateSSOTokenResponse_descriptor_;
- metadata.reflection = GenerateSSOTokenResponse_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
const int LogonUpdateRequest::kErrorCodeFieldNumber;
#endif // !_MSC_VER
@@ -1471,85 +786,6 @@ void LogonQueueUpdateRequest::Swap(LogonQueueUpdateRequest* other) {
// ===================================================================
#ifndef _MSC_VER
-const int AccountSettingsNotification::kLicensesFieldNumber;
-const int AccountSettingsNotification::kIsUsingRidFieldNumber;
-const int AccountSettingsNotification::kIsPlayingFromIgrFieldNumber;
-const int AccountSettingsNotification::kCanReceiveVoiceFieldNumber;
-const int AccountSettingsNotification::kCanSendVoiceFieldNumber;
-#endif // !_MSC_VER
-
-AccountSettingsNotification::AccountSettingsNotification()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.AccountSettingsNotification)
-}
-
-void AccountSettingsNotification::InitAsDefaultInstance() {
-}
-
-AccountSettingsNotification::AccountSettingsNotification(const AccountSettingsNotification& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.AccountSettingsNotification)
-}
-
-void AccountSettingsNotification::SharedCtor() {
- _cached_size_ = 0;
- is_using_rid_ = false;
- is_playing_from_igr_ = false;
- can_receive_voice_ = false;
- can_send_voice_ = false;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-AccountSettingsNotification::~AccountSettingsNotification() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.AccountSettingsNotification)
- SharedDtor();
-}
-
-void AccountSettingsNotification::SharedDtor() {
- if (this != default_instance_) {
- }
-}
-
-void AccountSettingsNotification::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* AccountSettingsNotification::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return AccountSettingsNotification_descriptor_;
-}
-
-const AccountSettingsNotification& AccountSettingsNotification::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-AccountSettingsNotification* AccountSettingsNotification::default_instance_ = NULL;
-
-AccountSettingsNotification* AccountSettingsNotification::New() const {
- return new AccountSettingsNotification;
-}
-
-void AccountSettingsNotification::Swap(AccountSettingsNotification* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata AccountSettingsNotification::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = AccountSettingsNotification_descriptor_;
- metadata.reflection = AccountSettingsNotification_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
const int ServerStateChangeRequest::kStateFieldNumber;
const int ServerStateChangeRequest::kEventTimeFieldNumber;
#endif // !_MSC_VER
@@ -1780,317 +1016,6 @@ void VersionInfoNotification::Swap(VersionInfoNotification* other) {
// ===================================================================
#ifndef _MSC_VER
-const int MemModuleLoadRequest::kHandleFieldNumber;
-const int MemModuleLoadRequest::kKeyFieldNumber;
-const int MemModuleLoadRequest::kInputFieldNumber;
-#endif // !_MSC_VER
-
-MemModuleLoadRequest::MemModuleLoadRequest()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.MemModuleLoadRequest)
-}
-
-void MemModuleLoadRequest::InitAsDefaultInstance() {
- handle_ = const_cast< ::bgs::protocol::ContentHandle*>(&::bgs::protocol::ContentHandle::default_instance());
-}
-
-MemModuleLoadRequest::MemModuleLoadRequest(const MemModuleLoadRequest& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.MemModuleLoadRequest)
-}
-
-void MemModuleLoadRequest::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- handle_ = NULL;
- key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- input_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-MemModuleLoadRequest::~MemModuleLoadRequest() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.MemModuleLoadRequest)
- SharedDtor();
-}
-
-void MemModuleLoadRequest::SharedDtor() {
- if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete key_;
- }
- if (input_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete input_;
- }
- if (this != default_instance_) {
- delete handle_;
- }
-}
-
-void MemModuleLoadRequest::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* MemModuleLoadRequest::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return MemModuleLoadRequest_descriptor_;
-}
-
-const MemModuleLoadRequest& MemModuleLoadRequest::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-MemModuleLoadRequest* MemModuleLoadRequest::default_instance_ = NULL;
-
-MemModuleLoadRequest* MemModuleLoadRequest::New() const {
- return new MemModuleLoadRequest;
-}
-
-void MemModuleLoadRequest::Swap(MemModuleLoadRequest* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata MemModuleLoadRequest::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = MemModuleLoadRequest_descriptor_;
- metadata.reflection = MemModuleLoadRequest_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int MemModuleLoadResponse::kDataFieldNumber;
-#endif // !_MSC_VER
-
-MemModuleLoadResponse::MemModuleLoadResponse()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.MemModuleLoadResponse)
-}
-
-void MemModuleLoadResponse::InitAsDefaultInstance() {
-}
-
-MemModuleLoadResponse::MemModuleLoadResponse(const MemModuleLoadResponse& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.MemModuleLoadResponse)
-}
-
-void MemModuleLoadResponse::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-MemModuleLoadResponse::~MemModuleLoadResponse() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.MemModuleLoadResponse)
- SharedDtor();
-}
-
-void MemModuleLoadResponse::SharedDtor() {
- if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete data_;
- }
- if (this != default_instance_) {
- }
-}
-
-void MemModuleLoadResponse::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* MemModuleLoadResponse::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return MemModuleLoadResponse_descriptor_;
-}
-
-const MemModuleLoadResponse& MemModuleLoadResponse::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-MemModuleLoadResponse* MemModuleLoadResponse::default_instance_ = NULL;
-
-MemModuleLoadResponse* MemModuleLoadResponse::New() const {
- return new MemModuleLoadResponse;
-}
-
-void MemModuleLoadResponse::Swap(MemModuleLoadResponse* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata MemModuleLoadResponse::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = MemModuleLoadResponse_descriptor_;
- metadata.reflection = MemModuleLoadResponse_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int SelectGameAccountRequest::kGameAccountIdFieldNumber;
-#endif // !_MSC_VER
-
-SelectGameAccountRequest::SelectGameAccountRequest()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.SelectGameAccountRequest)
-}
-
-void SelectGameAccountRequest::InitAsDefaultInstance() {
- game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
-}
-
-SelectGameAccountRequest::SelectGameAccountRequest(const SelectGameAccountRequest& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.SelectGameAccountRequest)
-}
-
-void SelectGameAccountRequest::SharedCtor() {
- _cached_size_ = 0;
- game_account_id_ = NULL;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-SelectGameAccountRequest::~SelectGameAccountRequest() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.SelectGameAccountRequest)
- SharedDtor();
-}
-
-void SelectGameAccountRequest::SharedDtor() {
- if (this != default_instance_) {
- delete game_account_id_;
- }
-}
-
-void SelectGameAccountRequest::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* SelectGameAccountRequest::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return SelectGameAccountRequest_descriptor_;
-}
-
-const SelectGameAccountRequest& SelectGameAccountRequest::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-SelectGameAccountRequest* SelectGameAccountRequest::default_instance_ = NULL;
-
-SelectGameAccountRequest* SelectGameAccountRequest::New() const {
- return new SelectGameAccountRequest;
-}
-
-void SelectGameAccountRequest::Swap(SelectGameAccountRequest* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata SelectGameAccountRequest::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = SelectGameAccountRequest_descriptor_;
- metadata.reflection = SelectGameAccountRequest_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int GameAccountSelectedRequest::kResultFieldNumber;
-const int GameAccountSelectedRequest::kGameAccountIdFieldNumber;
-#endif // !_MSC_VER
-
-GameAccountSelectedRequest::GameAccountSelectedRequest()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.authentication.v1.GameAccountSelectedRequest)
-}
-
-void GameAccountSelectedRequest::InitAsDefaultInstance() {
- game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
-}
-
-GameAccountSelectedRequest::GameAccountSelectedRequest(const GameAccountSelectedRequest& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.authentication.v1.GameAccountSelectedRequest)
-}
-
-void GameAccountSelectedRequest::SharedCtor() {
- _cached_size_ = 0;
- result_ = 0u;
- game_account_id_ = NULL;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-GameAccountSelectedRequest::~GameAccountSelectedRequest() {
- // @@protoc_insertion_point(destructor:bgs.protocol.authentication.v1.GameAccountSelectedRequest)
- SharedDtor();
-}
-
-void GameAccountSelectedRequest::SharedDtor() {
- if (this != default_instance_) {
- delete game_account_id_;
- }
-}
-
-void GameAccountSelectedRequest::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* GameAccountSelectedRequest::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return GameAccountSelectedRequest_descriptor_;
-}
-
-const GameAccountSelectedRequest& GameAccountSelectedRequest::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_authentication_5fservice_2eproto();
- return *default_instance_;
-}
-
-GameAccountSelectedRequest* GameAccountSelectedRequest::default_instance_ = NULL;
-
-GameAccountSelectedRequest* GameAccountSelectedRequest::New() const {
- return new GameAccountSelectedRequest;
-}
-
-void GameAccountSelectedRequest::Swap(GameAccountSelectedRequest* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata GameAccountSelectedRequest::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = GameAccountSelectedRequest_descriptor_;
- metadata.reflection = GameAccountSelectedRequest_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
const int GenerateWebCredentialsRequest::kProgramFieldNumber;
#endif // !_MSC_VER
@@ -2325,21 +1250,6 @@ google::protobuf::ServiceDescriptor const* AuthenticationListener::descriptor()
return AuthenticationListener_descriptor_;
}
-void AuthenticationListener::OnModuleLoad(::bgs::protocol::authentication::v1::ModuleLoadRequest const* request, bool client /*= false*/, bool server /*= false*/) {
- LogCallClientMethod("AuthenticationListener.OnModuleLoad", "bgs.protocol.authentication.v1.ModuleLoadRequest", request);
- SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request);
-}
-
-void AuthenticationListener::OnModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback, bool client /*= false*/, bool server /*= false*/) {
- LogCallClientMethod("AuthenticationListener.OnModuleMessage", "bgs.protocol.authentication.v1.ModuleMessageRequest", request);
- std::function<void(MessageBuffer)> callback = [responseCallback](MessageBuffer buffer) -> void {
- ::bgs::protocol::NoData response;
- if (response.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize()))
- responseCallback(&response);
- };
- SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request, std::move(callback));
-}
-
void AuthenticationListener::OnServerStateChange(::bgs::protocol::authentication::v1::ServerStateChangeRequest const* request, bool client /*= false*/, bool server /*= false*/) {
LogCallClientMethod("AuthenticationListener.OnServerStateChange", "bgs.protocol.authentication.v1.ServerStateChangeRequest", request);
SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request);
@@ -2350,16 +1260,6 @@ void AuthenticationListener::OnLogonComplete(::bgs::protocol::authentication::v1
SendRequest(service_hash_, 5 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request);
}
-void AuthenticationListener::OnMemModuleLoad(::bgs::protocol::authentication::v1::MemModuleLoadRequest const* request, std::function<void(::bgs::protocol::authentication::v1::MemModuleLoadResponse const*)> responseCallback, bool client /*= false*/, bool server /*= false*/) {
- LogCallClientMethod("AuthenticationListener.OnMemModuleLoad", "bgs.protocol.authentication.v1.MemModuleLoadRequest", request);
- std::function<void(MessageBuffer)> callback = [responseCallback](MessageBuffer buffer) -> void {
- ::bgs::protocol::authentication::v1::MemModuleLoadResponse response;
- if (response.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize()))
- responseCallback(&response);
- };
- SendRequest(service_hash_, 6 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request, std::move(callback));
-}
-
void AuthenticationListener::OnLogonUpdate(::bgs::protocol::authentication::v1::LogonUpdateRequest const* request, bool client /*= false*/, bool server /*= false*/) {
LogCallClientMethod("AuthenticationListener.OnLogonUpdate", "bgs.protocol.authentication.v1.LogonUpdateRequest", request);
SendRequest(service_hash_, 10 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request);
@@ -2380,11 +1280,6 @@ void AuthenticationListener::OnLogonQueueEnd(::bgs::protocol::NoData const* requ
SendRequest(service_hash_, 13 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request);
}
-void AuthenticationListener::OnGameAccountSelected(::bgs::protocol::authentication::v1::GameAccountSelectedRequest const* request, bool client /*= false*/, bool server /*= false*/) {
- LogCallClientMethod("AuthenticationListener.OnGameAccountSelected", "bgs.protocol.authentication.v1.GameAccountSelectedRequest", request);
- SendRequest(service_hash_, 14 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request);
-}
-
void AuthenticationListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) {
LogDisallowedMethod(methodId);
}
@@ -2407,21 +1302,6 @@ void AuthenticationService::CallServerMethod(uint32 token, uint32 methodId, Mess
case 1:
ParseAndHandleLogon(token, methodId, buffer);
break;
- case 2:
- ParseAndHandleModuleNotify(token, methodId, buffer);
- break;
- case 3:
- ParseAndHandleModuleMessage(token, methodId, buffer);
- break;
- case 4:
- ParseAndHandleSelectGameAccount_DEPRECATED(token, methodId, buffer);
- break;
- case 5:
- ParseAndHandleGenerateSSOToken(token, methodId, buffer);
- break;
- case 6:
- ParseAndHandleSelectGameAccount(token, methodId, buffer);
- break;
case 7:
ParseAndHandleVerifyWebCredentials(token, methodId, buffer);
break;
@@ -2440,31 +1320,6 @@ uint32 AuthenticationService::HandleLogon(::bgs::protocol::authentication::v1::L
return ERROR_RPC_NOT_IMPLEMENTED;
}
-uint32 AuthenticationService::HandleModuleNotify(::bgs::protocol::authentication::v1::ModuleNotification const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
- LogUnimplementedServerMethod("AuthenticationService.ModuleNotify", request);
- return ERROR_RPC_NOT_IMPLEMENTED;
-}
-
-uint32 AuthenticationService::HandleModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
- LogUnimplementedServerMethod("AuthenticationService.ModuleMessage", request);
- return ERROR_RPC_NOT_IMPLEMENTED;
-}
-
-uint32 AuthenticationService::HandleSelectGameAccount_DEPRECATED(::bgs::protocol::EntityId const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
- LogUnimplementedServerMethod("AuthenticationService.SelectGameAccount_DEPRECATED", request);
- return ERROR_RPC_NOT_IMPLEMENTED;
-}
-
-uint32 AuthenticationService::HandleGenerateSSOToken(::bgs::protocol::authentication::v1::GenerateSSOTokenRequest const* request, ::bgs::protocol::authentication::v1::GenerateSSOTokenResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
- LogUnimplementedServerMethod("AuthenticationService.GenerateSSOToken", request);
- return ERROR_RPC_NOT_IMPLEMENTED;
-}
-
-uint32 AuthenticationService::HandleSelectGameAccount(::bgs::protocol::authentication::v1::SelectGameAccountRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
- LogUnimplementedServerMethod("AuthenticationService.SelectGameAccount", request);
- return ERROR_RPC_NOT_IMPLEMENTED;
-}
-
uint32 AuthenticationService::HandleVerifyWebCredentials(::bgs::protocol::authentication::v1::VerifyWebCredentialsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
LogUnimplementedServerMethod("AuthenticationService.VerifyWebCredentials", request);
return ERROR_RPC_NOT_IMPLEMENTED;
@@ -2490,81 +1345,6 @@ void AuthenticationService::ParseAndHandleLogon(uint32 token, uint32 methodId, M
continuation(this, status, &response);
}
-void AuthenticationService::ParseAndHandleModuleNotify(uint32 token, uint32 methodId, MessageBuffer& buffer) {
- ::bgs::protocol::authentication::v1::ModuleNotification request;
- if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
- LogFailedParsingRequest("AuthenticationService.ModuleNotify");
- SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
- return;
- }
- LogCallServerMethod("AuthenticationService.ModuleNotify", "bgs.protocol.authentication.v1.ModuleNotification", &request);
- std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AuthenticationService.ModuleNotify", ::bgs::protocol::NoData::descriptor());
- ::bgs::protocol::NoData response;
- uint32 status = HandleModuleNotify(&request, &response, continuation);
- if (continuation)
- continuation(this, status, &response);
-}
-
-void AuthenticationService::ParseAndHandleModuleMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) {
- ::bgs::protocol::authentication::v1::ModuleMessageRequest request;
- if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
- LogFailedParsingRequest("AuthenticationService.ModuleMessage");
- SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
- return;
- }
- LogCallServerMethod("AuthenticationService.ModuleMessage", "bgs.protocol.authentication.v1.ModuleMessageRequest", &request);
- std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AuthenticationService.ModuleMessage", ::bgs::protocol::NoData::descriptor());
- ::bgs::protocol::NoData response;
- uint32 status = HandleModuleMessage(&request, &response, continuation);
- if (continuation)
- continuation(this, status, &response);
-}
-
-void AuthenticationService::ParseAndHandleSelectGameAccount_DEPRECATED(uint32 token, uint32 methodId, MessageBuffer& buffer) {
- ::bgs::protocol::EntityId request;
- if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
- LogFailedParsingRequest("AuthenticationService.SelectGameAccount_DEPRECATED");
- SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
- return;
- }
- LogCallServerMethod("AuthenticationService.SelectGameAccount_DEPRECATED", "bgs.protocol.EntityId", &request);
- std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AuthenticationService.SelectGameAccount_DEPRECATED", ::bgs::protocol::NoData::descriptor());
- ::bgs::protocol::NoData response;
- uint32 status = HandleSelectGameAccount_DEPRECATED(&request, &response, continuation);
- if (continuation)
- continuation(this, status, &response);
-}
-
-void AuthenticationService::ParseAndHandleGenerateSSOToken(uint32 token, uint32 methodId, MessageBuffer& buffer) {
- ::bgs::protocol::authentication::v1::GenerateSSOTokenRequest request;
- if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
- LogFailedParsingRequest("AuthenticationService.GenerateSSOToken");
- SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
- return;
- }
- LogCallServerMethod("AuthenticationService.GenerateSSOToken", "bgs.protocol.authentication.v1.GenerateSSOTokenRequest", &request);
- std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AuthenticationService.GenerateSSOToken", ::bgs::protocol::authentication::v1::GenerateSSOTokenResponse::descriptor());
- ::bgs::protocol::authentication::v1::GenerateSSOTokenResponse response;
- uint32 status = HandleGenerateSSOToken(&request, &response, continuation);
- if (continuation)
- continuation(this, status, &response);
-}
-
-void AuthenticationService::ParseAndHandleSelectGameAccount(uint32 token, uint32 methodId, MessageBuffer& buffer) {
- ::bgs::protocol::authentication::v1::SelectGameAccountRequest request;
- if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
- LogFailedParsingRequest("AuthenticationService.SelectGameAccount");
- SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
- return;
- }
- LogCallServerMethod("AuthenticationService.SelectGameAccount", "bgs.protocol.authentication.v1.SelectGameAccountRequest", &request);
- std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AuthenticationService.SelectGameAccount", ::bgs::protocol::NoData::descriptor());
- ::bgs::protocol::NoData response;
- uint32 status = HandleSelectGameAccount(&request, &response, continuation);
- if (continuation)
- continuation(this, status, &response);
-}
-
void AuthenticationService::ParseAndHandleVerifyWebCredentials(uint32 token, uint32 methodId, MessageBuffer& buffer) {
::bgs::protocol::authentication::v1::VerifyWebCredentialsRequest request;
if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
diff --git a/src/server/proto/Client/authentication_service.pb.h b/src/server/proto/Client/authentication_service.pb.h
index 78f4e5f0ac2..bc9d3a451de 100644
--- a/src/server/proto/Client/authentication_service.pb.h
+++ b/src/server/proto/Client/authentication_service.pb.h
@@ -24,8 +24,6 @@
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
-#include "account_types.pb.h"
-#include "content_handle_types.pb.h"
#include "entity_types.pb.h"
#include "rpc_types.pb.h"
#include "ServiceBase.h"
@@ -44,269 +42,19 @@ void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
void protobuf_AssignDesc_authentication_5fservice_2eproto();
void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-class ModuleLoadRequest;
-class ModuleNotification;
-class ModuleMessageRequest;
class LogonRequest;
class LogonResult;
-class GenerateSSOTokenRequest;
-class GenerateSSOTokenResponse;
class LogonUpdateRequest;
class LogonQueueUpdateRequest;
-class AccountSettingsNotification;
class ServerStateChangeRequest;
class VersionInfo;
class VersionInfoNotification;
-class MemModuleLoadRequest;
-class MemModuleLoadResponse;
-class SelectGameAccountRequest;
-class GameAccountSelectedRequest;
class GenerateWebCredentialsRequest;
class GenerateWebCredentialsResponse;
class VerifyWebCredentialsRequest;
// ===================================================================
-class TC_PROTO_API ModuleLoadRequest : public ::google::protobuf::Message {
- public:
- ModuleLoadRequest();
- virtual ~ModuleLoadRequest();
-
- ModuleLoadRequest(const ModuleLoadRequest& from);
-
- inline ModuleLoadRequest& operator=(const ModuleLoadRequest& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const ModuleLoadRequest& default_instance();
-
- void Swap(ModuleLoadRequest* other);
-
- // implements Message ----------------------------------------------
-
- ModuleLoadRequest* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required .bgs.protocol.ContentHandle module_handle = 1;
- inline bool has_module_handle() const;
- inline void clear_module_handle();
- static const int kModuleHandleFieldNumber = 1;
- inline const ::bgs::protocol::ContentHandle& module_handle() const;
- inline ::bgs::protocol::ContentHandle* mutable_module_handle();
- inline ::bgs::protocol::ContentHandle* release_module_handle();
- inline void set_allocated_module_handle(::bgs::protocol::ContentHandle* module_handle);
-
- // optional bytes message = 2;
- inline bool has_message() const;
- inline void clear_message();
- static const int kMessageFieldNumber = 2;
- inline const ::std::string& message() const;
- inline void set_message(const ::std::string& value);
- inline void set_message(const char* value);
- inline void set_message(const void* value, size_t size);
- inline ::std::string* mutable_message();
- inline ::std::string* release_message();
- inline void set_allocated_message(::std::string* message);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ModuleLoadRequest)
- private:
- inline void set_has_module_handle();
- inline void clear_has_module_handle();
- inline void set_has_message();
- inline void clear_has_message();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::bgs::protocol::ContentHandle* module_handle_;
- ::std::string* message_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static ModuleLoadRequest* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API ModuleNotification : public ::google::protobuf::Message {
- public:
- ModuleNotification();
- virtual ~ModuleNotification();
-
- ModuleNotification(const ModuleNotification& from);
-
- inline ModuleNotification& operator=(const ModuleNotification& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const ModuleNotification& default_instance();
-
- void Swap(ModuleNotification* other);
-
- // implements Message ----------------------------------------------
-
- ModuleNotification* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // optional int32 module_id = 2;
- inline bool has_module_id() const;
- inline void clear_module_id();
- static const int kModuleIdFieldNumber = 2;
- inline ::google::protobuf::int32 module_id() const;
- inline void set_module_id(::google::protobuf::int32 value);
-
- // optional uint32 result = 3;
- inline bool has_result() const;
- inline void clear_result();
- static const int kResultFieldNumber = 3;
- inline ::google::protobuf::uint32 result() const;
- inline void set_result(::google::protobuf::uint32 value);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ModuleNotification)
- private:
- inline void set_has_module_id();
- inline void clear_has_module_id();
- inline void set_has_result();
- inline void clear_has_result();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::int32 module_id_;
- ::google::protobuf::uint32 result_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static ModuleNotification* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API ModuleMessageRequest : public ::google::protobuf::Message {
- public:
- ModuleMessageRequest();
- virtual ~ModuleMessageRequest();
-
- ModuleMessageRequest(const ModuleMessageRequest& from);
-
- inline ModuleMessageRequest& operator=(const ModuleMessageRequest& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const ModuleMessageRequest& default_instance();
-
- void Swap(ModuleMessageRequest* other);
-
- // implements Message ----------------------------------------------
-
- ModuleMessageRequest* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required int32 module_id = 1;
- inline bool has_module_id() const;
- inline void clear_module_id();
- static const int kModuleIdFieldNumber = 1;
- inline ::google::protobuf::int32 module_id() const;
- inline void set_module_id(::google::protobuf::int32 value);
-
- // optional bytes message = 2;
- inline bool has_message() const;
- inline void clear_message();
- static const int kMessageFieldNumber = 2;
- inline const ::std::string& message() const;
- inline void set_message(const ::std::string& value);
- inline void set_message(const char* value);
- inline void set_message(const void* value, size_t size);
- inline ::std::string* mutable_message();
- inline ::std::string* release_message();
- inline void set_allocated_message(::std::string* message);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.ModuleMessageRequest)
- private:
- inline void set_has_module_id();
- inline void clear_has_module_id();
- inline void set_has_message();
- inline void clear_has_message();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* message_;
- ::google::protobuf::int32 module_id_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static ModuleMessageRequest* default_instance_;
-};
-// -------------------------------------------------------------------
-
class TC_PROTO_API LogonRequest : public ::google::protobuf::Message {
public:
LogonRequest();
@@ -727,158 +475,6 @@ class TC_PROTO_API LogonResult : public ::google::protobuf::Message {
};
// -------------------------------------------------------------------
-class TC_PROTO_API GenerateSSOTokenRequest : public ::google::protobuf::Message {
- public:
- GenerateSSOTokenRequest();
- virtual ~GenerateSSOTokenRequest();
-
- GenerateSSOTokenRequest(const GenerateSSOTokenRequest& from);
-
- inline GenerateSSOTokenRequest& operator=(const GenerateSSOTokenRequest& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const GenerateSSOTokenRequest& default_instance();
-
- void Swap(GenerateSSOTokenRequest* other);
-
- // implements Message ----------------------------------------------
-
- GenerateSSOTokenRequest* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // optional fixed32 program = 1;
- inline bool has_program() const;
- inline void clear_program();
- static const int kProgramFieldNumber = 1;
- inline ::google::protobuf::uint32 program() const;
- inline void set_program(::google::protobuf::uint32 value);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateSSOTokenRequest)
- private:
- inline void set_has_program();
- inline void clear_has_program();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::uint32 program_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static GenerateSSOTokenRequest* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API GenerateSSOTokenResponse : public ::google::protobuf::Message {
- public:
- GenerateSSOTokenResponse();
- virtual ~GenerateSSOTokenResponse();
-
- GenerateSSOTokenResponse(const GenerateSSOTokenResponse& from);
-
- inline GenerateSSOTokenResponse& operator=(const GenerateSSOTokenResponse& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const GenerateSSOTokenResponse& default_instance();
-
- void Swap(GenerateSSOTokenResponse* other);
-
- // implements Message ----------------------------------------------
-
- GenerateSSOTokenResponse* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // optional bytes sso_id = 1;
- inline bool has_sso_id() const;
- inline void clear_sso_id();
- static const int kSsoIdFieldNumber = 1;
- inline const ::std::string& sso_id() const;
- inline void set_sso_id(const ::std::string& value);
- inline void set_sso_id(const char* value);
- inline void set_sso_id(const void* value, size_t size);
- inline ::std::string* mutable_sso_id();
- inline ::std::string* release_sso_id();
- inline void set_allocated_sso_id(::std::string* sso_id);
-
- // optional bytes sso_secret = 2;
- inline bool has_sso_secret() const;
- inline void clear_sso_secret();
- static const int kSsoSecretFieldNumber = 2;
- inline const ::std::string& sso_secret() const;
- inline void set_sso_secret(const ::std::string& value);
- inline void set_sso_secret(const char* value);
- inline void set_sso_secret(const void* value, size_t size);
- inline ::std::string* mutable_sso_secret();
- inline ::std::string* release_sso_secret();
- inline void set_allocated_sso_secret(::std::string* sso_secret);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GenerateSSOTokenResponse)
- private:
- inline void set_has_sso_id();
- inline void clear_has_sso_id();
- inline void set_has_sso_secret();
- inline void clear_has_sso_secret();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* sso_id_;
- ::std::string* sso_secret_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static GenerateSSOTokenResponse* default_instance_;
-};
-// -------------------------------------------------------------------
-
class TC_PROTO_API LogonUpdateRequest : public ::google::protobuf::Message {
public:
LogonUpdateRequest();
@@ -1031,115 +627,6 @@ class TC_PROTO_API LogonQueueUpdateRequest : public ::google::protobuf::Message
};
// -------------------------------------------------------------------
-class TC_PROTO_API AccountSettingsNotification : public ::google::protobuf::Message {
- public:
- AccountSettingsNotification();
- virtual ~AccountSettingsNotification();
-
- AccountSettingsNotification(const AccountSettingsNotification& from);
-
- inline AccountSettingsNotification& operator=(const AccountSettingsNotification& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const AccountSettingsNotification& default_instance();
-
- void Swap(AccountSettingsNotification* other);
-
- // implements Message ----------------------------------------------
-
- AccountSettingsNotification* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
- inline int licenses_size() const;
- inline void clear_licenses();
- static const int kLicensesFieldNumber = 1;
- inline const ::bgs::protocol::account::v1::AccountLicense& licenses(int index) const;
- inline ::bgs::protocol::account::v1::AccountLicense* mutable_licenses(int index);
- inline ::bgs::protocol::account::v1::AccountLicense* add_licenses();
- inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
- licenses() const;
- inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
- mutable_licenses();
-
- // optional bool is_using_rid = 2;
- inline bool has_is_using_rid() const;
- inline void clear_is_using_rid();
- static const int kIsUsingRidFieldNumber = 2;
- inline bool is_using_rid() const;
- inline void set_is_using_rid(bool value);
-
- // optional bool is_playing_from_igr = 3;
- inline bool has_is_playing_from_igr() const;
- inline void clear_is_playing_from_igr();
- static const int kIsPlayingFromIgrFieldNumber = 3;
- inline bool is_playing_from_igr() const;
- inline void set_is_playing_from_igr(bool value);
-
- // optional bool can_receive_voice = 4;
- inline bool has_can_receive_voice() const;
- inline void clear_can_receive_voice();
- static const int kCanReceiveVoiceFieldNumber = 4;
- inline bool can_receive_voice() const;
- inline void set_can_receive_voice(bool value);
-
- // optional bool can_send_voice = 5;
- inline bool has_can_send_voice() const;
- inline void clear_can_send_voice();
- static const int kCanSendVoiceFieldNumber = 5;
- inline bool can_send_voice() const;
- inline void set_can_send_voice(bool value);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.AccountSettingsNotification)
- private:
- inline void set_has_is_using_rid();
- inline void clear_has_is_using_rid();
- inline void set_has_is_playing_from_igr();
- inline void clear_has_is_playing_from_igr();
- inline void set_has_can_receive_voice();
- inline void clear_has_can_receive_voice();
- inline void set_has_can_send_voice();
- inline void clear_has_can_send_voice();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense > licenses_;
- bool is_using_rid_;
- bool is_playing_from_igr_;
- bool can_receive_voice_;
- bool can_send_voice_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static AccountSettingsNotification* default_instance_;
-};
-// -------------------------------------------------------------------
-
class TC_PROTO_API ServerStateChangeRequest : public ::google::protobuf::Message {
public:
ServerStateChangeRequest();
@@ -1385,321 +872,6 @@ class TC_PROTO_API VersionInfoNotification : public ::google::protobuf::Message
};
// -------------------------------------------------------------------
-class TC_PROTO_API MemModuleLoadRequest : public ::google::protobuf::Message {
- public:
- MemModuleLoadRequest();
- virtual ~MemModuleLoadRequest();
-
- MemModuleLoadRequest(const MemModuleLoadRequest& from);
-
- inline MemModuleLoadRequest& operator=(const MemModuleLoadRequest& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const MemModuleLoadRequest& default_instance();
-
- void Swap(MemModuleLoadRequest* other);
-
- // implements Message ----------------------------------------------
-
- MemModuleLoadRequest* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required .bgs.protocol.ContentHandle handle = 1;
- inline bool has_handle() const;
- inline void clear_handle();
- static const int kHandleFieldNumber = 1;
- inline const ::bgs::protocol::ContentHandle& handle() const;
- inline ::bgs::protocol::ContentHandle* mutable_handle();
- inline ::bgs::protocol::ContentHandle* release_handle();
- inline void set_allocated_handle(::bgs::protocol::ContentHandle* handle);
-
- // required bytes key = 2;
- inline bool has_key() const;
- inline void clear_key();
- static const int kKeyFieldNumber = 2;
- inline const ::std::string& key() const;
- inline void set_key(const ::std::string& value);
- inline void set_key(const char* value);
- inline void set_key(const void* value, size_t size);
- inline ::std::string* mutable_key();
- inline ::std::string* release_key();
- inline void set_allocated_key(::std::string* key);
-
- // required bytes input = 3;
- inline bool has_input() const;
- inline void clear_input();
- static const int kInputFieldNumber = 3;
- inline const ::std::string& input() const;
- inline void set_input(const ::std::string& value);
- inline void set_input(const char* value);
- inline void set_input(const void* value, size_t size);
- inline ::std::string* mutable_input();
- inline ::std::string* release_input();
- inline void set_allocated_input(::std::string* input);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.MemModuleLoadRequest)
- private:
- inline void set_has_handle();
- inline void clear_has_handle();
- inline void set_has_key();
- inline void clear_has_key();
- inline void set_has_input();
- inline void clear_has_input();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::bgs::protocol::ContentHandle* handle_;
- ::std::string* key_;
- ::std::string* input_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static MemModuleLoadRequest* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API MemModuleLoadResponse : public ::google::protobuf::Message {
- public:
- MemModuleLoadResponse();
- virtual ~MemModuleLoadResponse();
-
- MemModuleLoadResponse(const MemModuleLoadResponse& from);
-
- inline MemModuleLoadResponse& operator=(const MemModuleLoadResponse& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const MemModuleLoadResponse& default_instance();
-
- void Swap(MemModuleLoadResponse* other);
-
- // implements Message ----------------------------------------------
-
- MemModuleLoadResponse* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required bytes data = 1;
- inline bool has_data() const;
- inline void clear_data();
- static const int kDataFieldNumber = 1;
- inline const ::std::string& data() const;
- inline void set_data(const ::std::string& value);
- inline void set_data(const char* value);
- inline void set_data(const void* value, size_t size);
- inline ::std::string* mutable_data();
- inline ::std::string* release_data();
- inline void set_allocated_data(::std::string* data);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.MemModuleLoadResponse)
- private:
- inline void set_has_data();
- inline void clear_has_data();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* data_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static MemModuleLoadResponse* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API SelectGameAccountRequest : public ::google::protobuf::Message {
- public:
- SelectGameAccountRequest();
- virtual ~SelectGameAccountRequest();
-
- SelectGameAccountRequest(const SelectGameAccountRequest& from);
-
- inline SelectGameAccountRequest& operator=(const SelectGameAccountRequest& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const SelectGameAccountRequest& default_instance();
-
- void Swap(SelectGameAccountRequest* other);
-
- // implements Message ----------------------------------------------
-
- SelectGameAccountRequest* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required .bgs.protocol.EntityId game_account_id = 1;
- inline bool has_game_account_id() const;
- inline void clear_game_account_id();
- static const int kGameAccountIdFieldNumber = 1;
- inline const ::bgs::protocol::EntityId& game_account_id() const;
- inline ::bgs::protocol::EntityId* mutable_game_account_id();
- inline ::bgs::protocol::EntityId* release_game_account_id();
- inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.SelectGameAccountRequest)
- private:
- inline void set_has_game_account_id();
- inline void clear_has_game_account_id();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::bgs::protocol::EntityId* game_account_id_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static SelectGameAccountRequest* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API GameAccountSelectedRequest : public ::google::protobuf::Message {
- public:
- GameAccountSelectedRequest();
- virtual ~GameAccountSelectedRequest();
-
- GameAccountSelectedRequest(const GameAccountSelectedRequest& from);
-
- inline GameAccountSelectedRequest& operator=(const GameAccountSelectedRequest& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const GameAccountSelectedRequest& default_instance();
-
- void Swap(GameAccountSelectedRequest* other);
-
- // implements Message ----------------------------------------------
-
- GameAccountSelectedRequest* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required uint32 result = 1;
- inline bool has_result() const;
- inline void clear_result();
- static const int kResultFieldNumber = 1;
- inline ::google::protobuf::uint32 result() const;
- inline void set_result(::google::protobuf::uint32 value);
-
- // optional .bgs.protocol.EntityId game_account_id = 2;
- inline bool has_game_account_id() const;
- inline void clear_game_account_id();
- static const int kGameAccountIdFieldNumber = 2;
- inline const ::bgs::protocol::EntityId& game_account_id() const;
- inline ::bgs::protocol::EntityId* mutable_game_account_id();
- inline ::bgs::protocol::EntityId* release_game_account_id();
- inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.GameAccountSelectedRequest)
- private:
- inline void set_has_result();
- inline void clear_has_result();
- inline void set_has_game_account_id();
- inline void clear_has_game_account_id();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::bgs::protocol::EntityId* game_account_id_;
- ::google::protobuf::uint32 result_;
- friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
- friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
- friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
-
- void InitAsDefaultInstance();
- static GameAccountSelectedRequest* default_instance_;
-};
-// -------------------------------------------------------------------
-
class TC_PROTO_API GenerateWebCredentialsRequest : public ::google::protobuf::Message {
public:
GenerateWebCredentialsRequest();
@@ -1925,16 +1097,12 @@ class TC_PROTO_API AuthenticationListener : public ServiceBase
static google::protobuf::ServiceDescriptor const* descriptor();
// client methods --------------------------------------------------
- void OnModuleLoad(::bgs::protocol::authentication::v1::ModuleLoadRequest const* request, bool client = false, bool server = false);
- void OnModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback, bool client = false, bool server = false);
void OnServerStateChange(::bgs::protocol::authentication::v1::ServerStateChangeRequest const* request, bool client = false, bool server = false);
void OnLogonComplete(::bgs::protocol::authentication::v1::LogonResult const* request, bool client = false, bool server = false);
- void OnMemModuleLoad(::bgs::protocol::authentication::v1::MemModuleLoadRequest const* request, std::function<void(::bgs::protocol::authentication::v1::MemModuleLoadResponse const*)> responseCallback, bool client = false, bool server = false);
void OnLogonUpdate(::bgs::protocol::authentication::v1::LogonUpdateRequest const* request, bool client = false, bool server = false);
void OnVersionInfoUpdated(::bgs::protocol::authentication::v1::VersionInfoNotification const* request, bool client = false, bool server = false);
void OnLogonQueueUpdate(::bgs::protocol::authentication::v1::LogonQueueUpdateRequest const* request, bool client = false, bool server = false);
void OnLogonQueueEnd(::bgs::protocol::NoData const* request, bool client = false, bool server = false);
- void OnGameAccountSelected(::bgs::protocol::authentication::v1::GameAccountSelectedRequest const* request, bool client = false, bool server = false);
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
};
@@ -1962,21 +1130,11 @@ class TC_PROTO_API AuthenticationService : public ServiceBase
protected:
// server methods --------------------------------------------------
virtual uint32 HandleLogon(::bgs::protocol::authentication::v1::LogonRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
- virtual uint32 HandleModuleNotify(::bgs::protocol::authentication::v1::ModuleNotification const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
- virtual uint32 HandleModuleMessage(::bgs::protocol::authentication::v1::ModuleMessageRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
- virtual uint32 HandleSelectGameAccount_DEPRECATED(::bgs::protocol::EntityId const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
- virtual uint32 HandleGenerateSSOToken(::bgs::protocol::authentication::v1::GenerateSSOTokenRequest const* request, ::bgs::protocol::authentication::v1::GenerateSSOTokenResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
- virtual uint32 HandleSelectGameAccount(::bgs::protocol::authentication::v1::SelectGameAccountRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
virtual uint32 HandleVerifyWebCredentials(::bgs::protocol::authentication::v1::VerifyWebCredentialsRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
virtual uint32 HandleGenerateWebCredentials(::bgs::protocol::authentication::v1::GenerateWebCredentialsRequest const* request, ::bgs::protocol::authentication::v1::GenerateWebCredentialsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
private:
void ParseAndHandleLogon(uint32 token, uint32 methodId, MessageBuffer& buffer);
- void ParseAndHandleModuleNotify(uint32 token, uint32 methodId, MessageBuffer& buffer);
- void ParseAndHandleModuleMessage(uint32 token, uint32 methodId, MessageBuffer& buffer);
- void ParseAndHandleSelectGameAccount_DEPRECATED(uint32 token, uint32 methodId, MessageBuffer& buffer);
- void ParseAndHandleGenerateSSOToken(uint32 token, uint32 methodId, MessageBuffer& buffer);
- void ParseAndHandleSelectGameAccount(uint32 token, uint32 methodId, MessageBuffer& buffer);
void ParseAndHandleVerifyWebCredentials(uint32 token, uint32 methodId, MessageBuffer& buffer);
void ParseAndHandleGenerateWebCredentials(uint32 token, uint32 methodId, MessageBuffer& buffer);
};
@@ -1985,283 +1143,6 @@ class TC_PROTO_API AuthenticationService : public ServiceBase
// ===================================================================
-// ModuleLoadRequest
-
-// required .bgs.protocol.ContentHandle module_handle = 1;
-inline bool ModuleLoadRequest::has_module_handle() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ModuleLoadRequest::set_has_module_handle() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ModuleLoadRequest::clear_has_module_handle() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void ModuleLoadRequest::clear_module_handle() {
- if (module_handle_ != NULL) module_handle_->::bgs::protocol::ContentHandle::Clear();
- clear_has_module_handle();
-}
-inline const ::bgs::protocol::ContentHandle& ModuleLoadRequest::module_handle() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleLoadRequest.module_handle)
- return module_handle_ != NULL ? *module_handle_ : *default_instance_->module_handle_;
-}
-inline ::bgs::protocol::ContentHandle* ModuleLoadRequest::mutable_module_handle() {
- set_has_module_handle();
- if (module_handle_ == NULL) module_handle_ = new ::bgs::protocol::ContentHandle;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.ModuleLoadRequest.module_handle)
- return module_handle_;
-}
-inline ::bgs::protocol::ContentHandle* ModuleLoadRequest::release_module_handle() {
- clear_has_module_handle();
- ::bgs::protocol::ContentHandle* temp = module_handle_;
- module_handle_ = NULL;
- return temp;
-}
-inline void ModuleLoadRequest::set_allocated_module_handle(::bgs::protocol::ContentHandle* module_handle) {
- delete module_handle_;
- module_handle_ = module_handle;
- if (module_handle) {
- set_has_module_handle();
- } else {
- clear_has_module_handle();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.ModuleLoadRequest.module_handle)
-}
-
-// optional bytes message = 2;
-inline bool ModuleLoadRequest::has_message() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ModuleLoadRequest::set_has_message() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ModuleLoadRequest::clear_has_message() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void ModuleLoadRequest::clear_message() {
- if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_->clear();
- }
- clear_has_message();
-}
-inline const ::std::string& ModuleLoadRequest::message() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
- return *message_;
-}
-inline void ModuleLoadRequest::set_message(const ::std::string& value) {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- message_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
-}
-inline void ModuleLoadRequest::set_message(const char* value) {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- message_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
-}
-inline void ModuleLoadRequest::set_message(const void* value, size_t size) {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- message_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
-}
-inline ::std::string* ModuleLoadRequest::mutable_message() {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
- return message_;
-}
-inline ::std::string* ModuleLoadRequest::release_message() {
- clear_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = message_;
- message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void ModuleLoadRequest::set_allocated_message(::std::string* message) {
- if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete message_;
- }
- if (message) {
- set_has_message();
- message_ = message;
- } else {
- clear_has_message();
- message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.ModuleLoadRequest.message)
-}
-
-// -------------------------------------------------------------------
-
-// ModuleNotification
-
-// optional int32 module_id = 2;
-inline bool ModuleNotification::has_module_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ModuleNotification::set_has_module_id() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ModuleNotification::clear_has_module_id() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void ModuleNotification::clear_module_id() {
- module_id_ = 0;
- clear_has_module_id();
-}
-inline ::google::protobuf::int32 ModuleNotification::module_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleNotification.module_id)
- return module_id_;
-}
-inline void ModuleNotification::set_module_id(::google::protobuf::int32 value) {
- set_has_module_id();
- module_id_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleNotification.module_id)
-}
-
-// optional uint32 result = 3;
-inline bool ModuleNotification::has_result() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ModuleNotification::set_has_result() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ModuleNotification::clear_has_result() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void ModuleNotification::clear_result() {
- result_ = 0u;
- clear_has_result();
-}
-inline ::google::protobuf::uint32 ModuleNotification::result() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleNotification.result)
- return result_;
-}
-inline void ModuleNotification::set_result(::google::protobuf::uint32 value) {
- set_has_result();
- result_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleNotification.result)
-}
-
-// -------------------------------------------------------------------
-
-// ModuleMessageRequest
-
-// required int32 module_id = 1;
-inline bool ModuleMessageRequest::has_module_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ModuleMessageRequest::set_has_module_id() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ModuleMessageRequest::clear_has_module_id() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void ModuleMessageRequest::clear_module_id() {
- module_id_ = 0;
- clear_has_module_id();
-}
-inline ::google::protobuf::int32 ModuleMessageRequest::module_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleMessageRequest.module_id)
- return module_id_;
-}
-inline void ModuleMessageRequest::set_module_id(::google::protobuf::int32 value) {
- set_has_module_id();
- module_id_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleMessageRequest.module_id)
-}
-
-// optional bytes message = 2;
-inline bool ModuleMessageRequest::has_message() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ModuleMessageRequest::set_has_message() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ModuleMessageRequest::clear_has_message() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void ModuleMessageRequest::clear_message() {
- if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_->clear();
- }
- clear_has_message();
-}
-inline const ::std::string& ModuleMessageRequest::message() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
- return *message_;
-}
-inline void ModuleMessageRequest::set_message(const ::std::string& value) {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- message_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
-}
-inline void ModuleMessageRequest::set_message(const char* value) {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- message_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
-}
-inline void ModuleMessageRequest::set_message(const void* value, size_t size) {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- message_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
-}
-inline ::std::string* ModuleMessageRequest::mutable_message() {
- set_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- message_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
- return message_;
-}
-inline ::std::string* ModuleMessageRequest::release_message() {
- clear_has_message();
- if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = message_;
- message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void ModuleMessageRequest::set_allocated_message(::std::string* message) {
- if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete message_;
- }
- if (message) {
- set_has_message();
- message_ = message;
- } else {
- clear_has_message();
- message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.ModuleMessageRequest.message)
-}
-
-// -------------------------------------------------------------------
-
// LogonRequest
// optional string program = 1;
@@ -3579,190 +2460,6 @@ inline void LogonResult::set_allocated_client_id(::std::string* client_id) {
// -------------------------------------------------------------------
-// GenerateSSOTokenRequest
-
-// optional fixed32 program = 1;
-inline bool GenerateSSOTokenRequest::has_program() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void GenerateSSOTokenRequest::set_has_program() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void GenerateSSOTokenRequest::clear_has_program() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void GenerateSSOTokenRequest::clear_program() {
- program_ = 0u;
- clear_has_program();
-}
-inline ::google::protobuf::uint32 GenerateSSOTokenRequest::program() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateSSOTokenRequest.program)
- return program_;
-}
-inline void GenerateSSOTokenRequest::set_program(::google::protobuf::uint32 value) {
- set_has_program();
- program_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateSSOTokenRequest.program)
-}
-
-// -------------------------------------------------------------------
-
-// GenerateSSOTokenResponse
-
-// optional bytes sso_id = 1;
-inline bool GenerateSSOTokenResponse::has_sso_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void GenerateSSOTokenResponse::set_has_sso_id() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void GenerateSSOTokenResponse::clear_has_sso_id() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void GenerateSSOTokenResponse::clear_sso_id() {
- if (sso_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_id_->clear();
- }
- clear_has_sso_id();
-}
-inline const ::std::string& GenerateSSOTokenResponse::sso_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
- return *sso_id_;
-}
-inline void GenerateSSOTokenResponse::set_sso_id(const ::std::string& value) {
- set_has_sso_id();
- if (sso_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_id_ = new ::std::string;
- }
- sso_id_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
-}
-inline void GenerateSSOTokenResponse::set_sso_id(const char* value) {
- set_has_sso_id();
- if (sso_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_id_ = new ::std::string;
- }
- sso_id_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
-}
-inline void GenerateSSOTokenResponse::set_sso_id(const void* value, size_t size) {
- set_has_sso_id();
- if (sso_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_id_ = new ::std::string;
- }
- sso_id_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
-}
-inline ::std::string* GenerateSSOTokenResponse::mutable_sso_id() {
- set_has_sso_id();
- if (sso_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_id_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
- return sso_id_;
-}
-inline ::std::string* GenerateSSOTokenResponse::release_sso_id() {
- clear_has_sso_id();
- if (sso_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = sso_id_;
- sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void GenerateSSOTokenResponse::set_allocated_sso_id(::std::string* sso_id) {
- if (sso_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete sso_id_;
- }
- if (sso_id) {
- set_has_sso_id();
- sso_id_ = sso_id;
- } else {
- clear_has_sso_id();
- sso_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_id)
-}
-
-// optional bytes sso_secret = 2;
-inline bool GenerateSSOTokenResponse::has_sso_secret() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void GenerateSSOTokenResponse::set_has_sso_secret() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void GenerateSSOTokenResponse::clear_has_sso_secret() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void GenerateSSOTokenResponse::clear_sso_secret() {
- if (sso_secret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_secret_->clear();
- }
- clear_has_sso_secret();
-}
-inline const ::std::string& GenerateSSOTokenResponse::sso_secret() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
- return *sso_secret_;
-}
-inline void GenerateSSOTokenResponse::set_sso_secret(const ::std::string& value) {
- set_has_sso_secret();
- if (sso_secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_secret_ = new ::std::string;
- }
- sso_secret_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
-}
-inline void GenerateSSOTokenResponse::set_sso_secret(const char* value) {
- set_has_sso_secret();
- if (sso_secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_secret_ = new ::std::string;
- }
- sso_secret_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
-}
-inline void GenerateSSOTokenResponse::set_sso_secret(const void* value, size_t size) {
- set_has_sso_secret();
- if (sso_secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_secret_ = new ::std::string;
- }
- sso_secret_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
-}
-inline ::std::string* GenerateSSOTokenResponse::mutable_sso_secret() {
- set_has_sso_secret();
- if (sso_secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- sso_secret_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
- return sso_secret_;
-}
-inline ::std::string* GenerateSSOTokenResponse::release_sso_secret() {
- clear_has_sso_secret();
- if (sso_secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = sso_secret_;
- sso_secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void GenerateSSOTokenResponse::set_allocated_sso_secret(::std::string* sso_secret) {
- if (sso_secret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete sso_secret_;
- }
- if (sso_secret) {
- set_has_sso_secret();
- sso_secret_ = sso_secret;
- } else {
- clear_has_sso_secret();
- sso_secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.GenerateSSOTokenResponse.sso_secret)
-}
-
-// -------------------------------------------------------------------
-
// LogonUpdateRequest
// required uint32 error_code = 1;
@@ -3867,136 +2564,6 @@ inline void LogonQueueUpdateRequest::set_eta_deviation_in_sec(::google::protobuf
// -------------------------------------------------------------------
-// AccountSettingsNotification
-
-// repeated .bgs.protocol.account.v1.AccountLicense licenses = 1;
-inline int AccountSettingsNotification::licenses_size() const {
- return licenses_.size();
-}
-inline void AccountSettingsNotification::clear_licenses() {
- licenses_.Clear();
-}
-inline const ::bgs::protocol::account::v1::AccountLicense& AccountSettingsNotification::licenses(int index) const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
- return licenses_.Get(index);
-}
-inline ::bgs::protocol::account::v1::AccountLicense* AccountSettingsNotification::mutable_licenses(int index) {
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
- return licenses_.Mutable(index);
-}
-inline ::bgs::protocol::account::v1::AccountLicense* AccountSettingsNotification::add_licenses() {
- // @@protoc_insertion_point(field_add:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
- return licenses_.Add();
-}
-inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >&
-AccountSettingsNotification::licenses() const {
- // @@protoc_insertion_point(field_list:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
- return licenses_;
-}
-inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::account::v1::AccountLicense >*
-AccountSettingsNotification::mutable_licenses() {
- // @@protoc_insertion_point(field_mutable_list:bgs.protocol.authentication.v1.AccountSettingsNotification.licenses)
- return &licenses_;
-}
-
-// optional bool is_using_rid = 2;
-inline bool AccountSettingsNotification::has_is_using_rid() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void AccountSettingsNotification::set_has_is_using_rid() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void AccountSettingsNotification::clear_has_is_using_rid() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void AccountSettingsNotification::clear_is_using_rid() {
- is_using_rid_ = false;
- clear_has_is_using_rid();
-}
-inline bool AccountSettingsNotification::is_using_rid() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.is_using_rid)
- return is_using_rid_;
-}
-inline void AccountSettingsNotification::set_is_using_rid(bool value) {
- set_has_is_using_rid();
- is_using_rid_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.is_using_rid)
-}
-
-// optional bool is_playing_from_igr = 3;
-inline bool AccountSettingsNotification::has_is_playing_from_igr() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void AccountSettingsNotification::set_has_is_playing_from_igr() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void AccountSettingsNotification::clear_has_is_playing_from_igr() {
- _has_bits_[0] &= ~0x00000004u;
-}
-inline void AccountSettingsNotification::clear_is_playing_from_igr() {
- is_playing_from_igr_ = false;
- clear_has_is_playing_from_igr();
-}
-inline bool AccountSettingsNotification::is_playing_from_igr() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.is_playing_from_igr)
- return is_playing_from_igr_;
-}
-inline void AccountSettingsNotification::set_is_playing_from_igr(bool value) {
- set_has_is_playing_from_igr();
- is_playing_from_igr_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.is_playing_from_igr)
-}
-
-// optional bool can_receive_voice = 4;
-inline bool AccountSettingsNotification::has_can_receive_voice() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void AccountSettingsNotification::set_has_can_receive_voice() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void AccountSettingsNotification::clear_has_can_receive_voice() {
- _has_bits_[0] &= ~0x00000008u;
-}
-inline void AccountSettingsNotification::clear_can_receive_voice() {
- can_receive_voice_ = false;
- clear_has_can_receive_voice();
-}
-inline bool AccountSettingsNotification::can_receive_voice() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.can_receive_voice)
- return can_receive_voice_;
-}
-inline void AccountSettingsNotification::set_can_receive_voice(bool value) {
- set_has_can_receive_voice();
- can_receive_voice_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.can_receive_voice)
-}
-
-// optional bool can_send_voice = 5;
-inline bool AccountSettingsNotification::has_can_send_voice() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void AccountSettingsNotification::set_has_can_send_voice() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void AccountSettingsNotification::clear_has_can_send_voice() {
- _has_bits_[0] &= ~0x00000010u;
-}
-inline void AccountSettingsNotification::clear_can_send_voice() {
- can_send_voice_ = false;
- clear_has_can_send_voice();
-}
-inline bool AccountSettingsNotification::can_send_voice() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.AccountSettingsNotification.can_send_voice)
- return can_send_voice_;
-}
-inline void AccountSettingsNotification::set_can_send_voice(bool value) {
- set_has_can_send_voice();
- can_send_voice_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.AccountSettingsNotification.can_send_voice)
-}
-
-// -------------------------------------------------------------------
-
// ServerStateChangeRequest
// required uint32 state = 1;
@@ -4246,397 +2813,6 @@ inline void VersionInfoNotification::set_allocated_version_info(::bgs::protocol:
// -------------------------------------------------------------------
-// MemModuleLoadRequest
-
-// required .bgs.protocol.ContentHandle handle = 1;
-inline bool MemModuleLoadRequest::has_handle() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void MemModuleLoadRequest::set_has_handle() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void MemModuleLoadRequest::clear_has_handle() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void MemModuleLoadRequest::clear_handle() {
- if (handle_ != NULL) handle_->::bgs::protocol::ContentHandle::Clear();
- clear_has_handle();
-}
-inline const ::bgs::protocol::ContentHandle& MemModuleLoadRequest::handle() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.MemModuleLoadRequest.handle)
- return handle_ != NULL ? *handle_ : *default_instance_->handle_;
-}
-inline ::bgs::protocol::ContentHandle* MemModuleLoadRequest::mutable_handle() {
- set_has_handle();
- if (handle_ == NULL) handle_ = new ::bgs::protocol::ContentHandle;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.MemModuleLoadRequest.handle)
- return handle_;
-}
-inline ::bgs::protocol::ContentHandle* MemModuleLoadRequest::release_handle() {
- clear_has_handle();
- ::bgs::protocol::ContentHandle* temp = handle_;
- handle_ = NULL;
- return temp;
-}
-inline void MemModuleLoadRequest::set_allocated_handle(::bgs::protocol::ContentHandle* handle) {
- delete handle_;
- handle_ = handle;
- if (handle) {
- set_has_handle();
- } else {
- clear_has_handle();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.MemModuleLoadRequest.handle)
-}
-
-// required bytes key = 2;
-inline bool MemModuleLoadRequest::has_key() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void MemModuleLoadRequest::set_has_key() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void MemModuleLoadRequest::clear_has_key() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void MemModuleLoadRequest::clear_key() {
- if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- key_->clear();
- }
- clear_has_key();
-}
-inline const ::std::string& MemModuleLoadRequest::key() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.MemModuleLoadRequest.key)
- return *key_;
-}
-inline void MemModuleLoadRequest::set_key(const ::std::string& value) {
- set_has_key();
- if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- key_ = new ::std::string;
- }
- key_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.MemModuleLoadRequest.key)
-}
-inline void MemModuleLoadRequest::set_key(const char* value) {
- set_has_key();
- if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- key_ = new ::std::string;
- }
- key_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.MemModuleLoadRequest.key)
-}
-inline void MemModuleLoadRequest::set_key(const void* value, size_t size) {
- set_has_key();
- if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- key_ = new ::std::string;
- }
- key_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.MemModuleLoadRequest.key)
-}
-inline ::std::string* MemModuleLoadRequest::mutable_key() {
- set_has_key();
- if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- key_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.MemModuleLoadRequest.key)
- return key_;
-}
-inline ::std::string* MemModuleLoadRequest::release_key() {
- clear_has_key();
- if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = key_;
- key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void MemModuleLoadRequest::set_allocated_key(::std::string* key) {
- if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete key_;
- }
- if (key) {
- set_has_key();
- key_ = key;
- } else {
- clear_has_key();
- key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.MemModuleLoadRequest.key)
-}
-
-// required bytes input = 3;
-inline bool MemModuleLoadRequest::has_input() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void MemModuleLoadRequest::set_has_input() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void MemModuleLoadRequest::clear_has_input() {
- _has_bits_[0] &= ~0x00000004u;
-}
-inline void MemModuleLoadRequest::clear_input() {
- if (input_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- input_->clear();
- }
- clear_has_input();
-}
-inline const ::std::string& MemModuleLoadRequest::input() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.MemModuleLoadRequest.input)
- return *input_;
-}
-inline void MemModuleLoadRequest::set_input(const ::std::string& value) {
- set_has_input();
- if (input_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- input_ = new ::std::string;
- }
- input_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.MemModuleLoadRequest.input)
-}
-inline void MemModuleLoadRequest::set_input(const char* value) {
- set_has_input();
- if (input_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- input_ = new ::std::string;
- }
- input_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.MemModuleLoadRequest.input)
-}
-inline void MemModuleLoadRequest::set_input(const void* value, size_t size) {
- set_has_input();
- if (input_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- input_ = new ::std::string;
- }
- input_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.MemModuleLoadRequest.input)
-}
-inline ::std::string* MemModuleLoadRequest::mutable_input() {
- set_has_input();
- if (input_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- input_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.MemModuleLoadRequest.input)
- return input_;
-}
-inline ::std::string* MemModuleLoadRequest::release_input() {
- clear_has_input();
- if (input_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = input_;
- input_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void MemModuleLoadRequest::set_allocated_input(::std::string* input) {
- if (input_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete input_;
- }
- if (input) {
- set_has_input();
- input_ = input;
- } else {
- clear_has_input();
- input_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.MemModuleLoadRequest.input)
-}
-
-// -------------------------------------------------------------------
-
-// MemModuleLoadResponse
-
-// required bytes data = 1;
-inline bool MemModuleLoadResponse::has_data() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void MemModuleLoadResponse::set_has_data() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void MemModuleLoadResponse::clear_has_data() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void MemModuleLoadResponse::clear_data() {
- if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- data_->clear();
- }
- clear_has_data();
-}
-inline const ::std::string& MemModuleLoadResponse::data() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.MemModuleLoadResponse.data)
- return *data_;
-}
-inline void MemModuleLoadResponse::set_data(const ::std::string& value) {
- set_has_data();
- if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- data_ = new ::std::string;
- }
- data_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.MemModuleLoadResponse.data)
-}
-inline void MemModuleLoadResponse::set_data(const char* value) {
- set_has_data();
- if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- data_ = new ::std::string;
- }
- data_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.MemModuleLoadResponse.data)
-}
-inline void MemModuleLoadResponse::set_data(const void* value, size_t size) {
- set_has_data();
- if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- data_ = new ::std::string;
- }
- data_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.MemModuleLoadResponse.data)
-}
-inline ::std::string* MemModuleLoadResponse::mutable_data() {
- set_has_data();
- if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- data_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.MemModuleLoadResponse.data)
- return data_;
-}
-inline ::std::string* MemModuleLoadResponse::release_data() {
- clear_has_data();
- if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = data_;
- data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void MemModuleLoadResponse::set_allocated_data(::std::string* data) {
- if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete data_;
- }
- if (data) {
- set_has_data();
- data_ = data;
- } else {
- clear_has_data();
- data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.MemModuleLoadResponse.data)
-}
-
-// -------------------------------------------------------------------
-
-// SelectGameAccountRequest
-
-// required .bgs.protocol.EntityId game_account_id = 1;
-inline bool SelectGameAccountRequest::has_game_account_id() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void SelectGameAccountRequest::set_has_game_account_id() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void SelectGameAccountRequest::clear_has_game_account_id() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void SelectGameAccountRequest::clear_game_account_id() {
- if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
- clear_has_game_account_id();
-}
-inline const ::bgs::protocol::EntityId& SelectGameAccountRequest::game_account_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.SelectGameAccountRequest.game_account_id)
- return game_account_id_ != NULL ? *game_account_id_ : *default_instance_->game_account_id_;
-}
-inline ::bgs::protocol::EntityId* SelectGameAccountRequest::mutable_game_account_id() {
- set_has_game_account_id();
- if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.SelectGameAccountRequest.game_account_id)
- return game_account_id_;
-}
-inline ::bgs::protocol::EntityId* SelectGameAccountRequest::release_game_account_id() {
- clear_has_game_account_id();
- ::bgs::protocol::EntityId* temp = game_account_id_;
- game_account_id_ = NULL;
- return temp;
-}
-inline void SelectGameAccountRequest::set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id) {
- delete game_account_id_;
- game_account_id_ = game_account_id;
- if (game_account_id) {
- set_has_game_account_id();
- } else {
- clear_has_game_account_id();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.SelectGameAccountRequest.game_account_id)
-}
-
-// -------------------------------------------------------------------
-
-// GameAccountSelectedRequest
-
-// required uint32 result = 1;
-inline bool GameAccountSelectedRequest::has_result() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void GameAccountSelectedRequest::set_has_result() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void GameAccountSelectedRequest::clear_has_result() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void GameAccountSelectedRequest::clear_result() {
- result_ = 0u;
- clear_has_result();
-}
-inline ::google::protobuf::uint32 GameAccountSelectedRequest::result() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GameAccountSelectedRequest.result)
- return result_;
-}
-inline void GameAccountSelectedRequest::set_result(::google::protobuf::uint32 value) {
- set_has_result();
- result_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.GameAccountSelectedRequest.result)
-}
-
-// optional .bgs.protocol.EntityId game_account_id = 2;
-inline bool GameAccountSelectedRequest::has_game_account_id() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void GameAccountSelectedRequest::set_has_game_account_id() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void GameAccountSelectedRequest::clear_has_game_account_id() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void GameAccountSelectedRequest::clear_game_account_id() {
- if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
- clear_has_game_account_id();
-}
-inline const ::bgs::protocol::EntityId& GameAccountSelectedRequest::game_account_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.GameAccountSelectedRequest.game_account_id)
- return game_account_id_ != NULL ? *game_account_id_ : *default_instance_->game_account_id_;
-}
-inline ::bgs::protocol::EntityId* GameAccountSelectedRequest::mutable_game_account_id() {
- set_has_game_account_id();
- if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.GameAccountSelectedRequest.game_account_id)
- return game_account_id_;
-}
-inline ::bgs::protocol::EntityId* GameAccountSelectedRequest::release_game_account_id() {
- clear_has_game_account_id();
- ::bgs::protocol::EntityId* temp = game_account_id_;
- game_account_id_ = NULL;
- return temp;
-}
-inline void GameAccountSelectedRequest::set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id) {
- delete game_account_id_;
- game_account_id_ = game_account_id;
- if (game_account_id) {
- set_has_game_account_id();
- } else {
- clear_has_game_account_id();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.GameAccountSelectedRequest.game_account_id)
-}
-
-// -------------------------------------------------------------------
-
// GenerateWebCredentialsRequest
// optional fixed32 program = 1;
diff --git a/src/server/proto/Client/challenge_service.pb.cc b/src/server/proto/Client/challenge_service.pb.cc
index 53a4a364c90..75582a68a30 100644
--- a/src/server/proto/Client/challenge_service.pb.cc
+++ b/src/server/proto/Client/challenge_service.pb.cc
@@ -114,15 +114,15 @@ void protobuf_AddDesc_challenge_5fservice_2eproto() {
"geExternalRequest\022\025\n\rrequest_token\030\001 \001(\t"
"\022\024\n\014payload_type\030\002 \001(\t\022\017\n\007payload\030\003 \001(\014\""
"F\n\027ChallengeExternalResult\022\025\n\rrequest_to"
- "ken\030\001 \001(\t\022\024\n\006passed\030\002 \001(\010:\004true2\253\002\n\021Chal"
+ "ken\030\001 \001(\t\022\024\n\006passed\030\002 \001(\010:\004true2\255\002\n\021Chal"
"lengeListener\022m\n\023OnExternalChallenge\0223.b"
"gs.protocol.challenge.v1.ChallengeExtern"
"alRequest\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371"
"+\002\010\003\022r\n\031OnExternalChallengeResult\0222.bgs."
"protocol.challenge.v1.ChallengeExternalR"
"esult\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\004"
- "\0323\202\371+)\n\'bnet.protocol.challenge.Challeng"
- "eNotify\212\371+\002\010\001B\005H\002\200\001\000", 540);
+ "\0325\202\371++\n\'bnet.protocol.challenge.Challeng"
+ "eNotify8\001\212\371+\002\010\001B\005H\002\200\001\000", 542);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"challenge_service.proto", &protobuf_RegisterTypes);
ChallengeExternalRequest::default_instance_ = new ChallengeExternalRequest();
diff --git a/src/server/proto/Client/club_core.pb.cc b/src/server/proto/Client/club_core.pb.cc
index 498cc062348..6f1d25cb6c4 100644
--- a/src/server/proto/Client/club_core.pb.cc
+++ b/src/server/proto/Client/club_core.pb.cc
@@ -32,9 +32,6 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* Broadcast_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
Broadcast_reflection_ = NULL;
-const ::google::protobuf::Descriptor* UniqueClubType_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- UniqueClubType_reflection_ = NULL;
const ::google::protobuf::Descriptor* ClubCreateOptions_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
ClubCreateOptions_reflection_ = NULL;
@@ -121,24 +118,8 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(Broadcast));
- UniqueClubType_descriptor_ = file->message_type(3);
- static const int UniqueClubType_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, program_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, name_),
- };
- UniqueClubType_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- UniqueClubType_descriptor_,
- UniqueClubType::default_instance_,
- UniqueClubType_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(UniqueClubType));
- ClubCreateOptions_descriptor_ = file->message_type(4);
- static const int ClubCreateOptions_offsets_[9] = {
+ ClubCreateOptions_descriptor_ = file->message_type(3);
+ static const int ClubCreateOptions_offsets_[14] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, attribute_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, name_),
@@ -146,8 +127,13 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, avatar_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, privacy_level_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, short_name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, visibility_level_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, member_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, stream_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, tag_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, search_attribute_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, locale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, timezone_),
};
ClubCreateOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -160,8 +146,8 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubCreateOptions));
- Club_descriptor_ = file->message_type(5);
- static const int Club_offsets_[15] = {
+ Club_descriptor_ = file->message_type(4);
+ static const int Club_offsets_[19] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, attribute_),
@@ -177,6 +163,10 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, role_set_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, leader_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, short_name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, search_attribute_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, tag_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, locale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, timezone_),
};
Club_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -189,8 +179,8 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(Club));
- ClubDescription_descriptor_ = file->message_type(6);
- static const int ClubDescription_offsets_[10] = {
+ ClubDescription_descriptor_ = file->message_type(5);
+ static const int ClubDescription_offsets_[13] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, name_),
@@ -201,6 +191,9 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, member_count_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, leader_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, creation_time_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, timezone_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, locale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, tag_),
};
ClubDescription_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -213,7 +206,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubDescription));
- ClubView_descriptor_ = file->message_type(7);
+ ClubView_descriptor_ = file->message_type(6);
static const int ClubView_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, club_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, marker_),
@@ -229,8 +222,8 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubView));
- ClubStateOptions_descriptor_ = file->message_type(8);
- static const int ClubStateOptions_offsets_[8] = {
+ ClubStateOptions_descriptor_ = file->message_type(7);
+ static const int ClubStateOptions_offsets_[13] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, attribute_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, description_),
@@ -239,6 +232,11 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, privacy_level_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, stream_position_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, short_name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, visibility_level_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, locale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, timezone_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, tag_options_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, search_attribute_),
};
ClubStateOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -251,8 +249,8 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubStateOptions));
- ClubStateAssignment_descriptor_ = file->message_type(9);
- static const int ClubStateAssignment_offsets_[9] = {
+ ClubStateAssignment_descriptor_ = file->message_type(8);
+ static const int ClubStateAssignment_offsets_[15] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, club_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, attribute_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, name_),
@@ -262,6 +260,12 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, privacy_level_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, stream_position_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, short_name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, visibility_level_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, locale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, timezone_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, search_attribute_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_cleared_),
};
ClubStateAssignment_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -274,7 +278,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubStateAssignment));
- StreamSettings_descriptor_ = file->message_type(10);
+ StreamSettings_descriptor_ = file->message_type(9);
static const int StreamSettings_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, stream_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, filter_),
@@ -290,7 +294,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(StreamSettings));
- ClubSettings_descriptor_ = file->message_type(11);
+ ClubSettings_descriptor_ = file->message_type(10);
static const int ClubSettings_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_notification_filter_all_),
@@ -308,7 +312,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubSettings));
- ClubSettingsOptions_descriptor_ = file->message_type(12);
+ ClubSettingsOptions_descriptor_ = file->message_type(11);
static const int ClubSettingsOptions_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, stream_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, settings_),
@@ -325,7 +329,7 @@ void protobuf_AssignDesc_club_5fcore_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubSettingsOptions));
- ClubSettingsAssignment_descriptor_ = file->message_type(13);
+ ClubSettingsAssignment_descriptor_ = file->message_type(12);
static const int ClubSettingsAssignment_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, stream_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, settings_),
@@ -360,8 +364,6 @@ void protobuf_RegisterTypes(const ::std::string&) {
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
Broadcast_descriptor_, &Broadcast::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- UniqueClubType_descriptor_, &UniqueClubType::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
ClubCreateOptions_descriptor_, &ClubCreateOptions::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
Club_descriptor_, &Club::default_instance());
@@ -392,8 +394,6 @@ void protobuf_ShutdownFile_club_5fcore_2eproto() {
delete SetBroadcastOptions_reflection_;
delete Broadcast::default_instance_;
delete Broadcast_reflection_;
- delete UniqueClubType::default_instance_;
- delete UniqueClubType_reflection_;
delete ClubCreateOptions::default_instance_;
delete ClubCreateOptions_reflection_;
delete Club::default_instance_;
@@ -422,99 +422,121 @@ void protobuf_AddDesc_club_5fcore_2eproto() {
already_here = true;
GOOGLE_PROTOBUF_VERIFY_VERSION;
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5frole_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fstream_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto();
::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\017club_core.proto\022\024bgs.protocol.club.v1\032"
- "\017club_enum.proto\032\017club_role.proto\032\021club_"
- "member.proto\032\021club_stream.proto\032#api/cli"
- "ent/v2/attribute_types.proto\032\026event_view"
- "_types.proto\"\026\n\010AvatarId\022\n\n\002id\030\001 \001(\r\"&\n\023"
- "SetBroadcastOptions\022\017\n\007content\030\001 \001(\t\"m\n\t"
- "Broadcast\022\017\n\007content\030\001 \001(\t\0228\n\007creator\030\002 "
- "\001(\0132\'.bgs.protocol.club.v1.MemberDescrip"
- "tion\022\025\n\rcreation_time\030\003 \001(\004\"/\n\016UniqueClu"
- "bType\022\017\n\007program\030\001 \001(\007\022\014\n\004name\030\002 \001(\t\"\216\003\n"
- "\021ClubCreateOptions\0222\n\004type\030\001 \001(\0132$.bgs.p"
- "rotocol.club.v1.UniqueClubType\022-\n\tattrib"
- "ute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\022\014\n"
- "\004name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022.\n\006avat"
- "ar\030\005 \001(\0132\036.bgs.protocol.club.v1.AvatarId"
- "\0229\n\rprivacy_level\030\006 \001(\0162\".bgs.protocol.c"
- "lub.v1.PrivacyLevel\022\022\n\nshort_name\030\007 \001(\t\022"
- "9\n\006member\030\n \001(\0132).bgs.protocol.club.v1.C"
- "reateMemberOptions\0229\n\006stream\030\013 \001(\0132).bgs"
- ".protocol.club.v1.CreateStreamOptions\"\346\004"
- "\n\004Club\022\n\n\002id\030\001 \001(\004\0222\n\004type\030\002 \001(\0132$.bgs.p"
- "rotocol.club.v1.UniqueClubType\022-\n\tattrib"
- "ute\030\003 \003(\0132\032.bgs.protocol.v2.Attribute\022\014\n"
- "\004name\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\0222\n\tbroa"
- "dcast\030\006 \001(\0132\037.bgs.protocol.club.v1.Broad"
- "cast\022.\n\006avatar\030\007 \001(\0132\036.bgs.protocol.club"
- ".v1.AvatarId\0229\n\rprivacy_level\030\010 \001(\0162\".bg"
- "s.protocol.club.v1.PrivacyLevel\022\?\n\020visib"
- "ility_level\030\t \001(\0162%.bgs.protocol.club.v1"
- ".VisibilityLevel\022\024\n\014member_count\030\n \001(\r\022\025"
- "\n\rcreation_time\030\013 \001(\004\022=\n\017stream_position"
- "\030\014 \001(\0132$.bgs.protocol.club.v1.StreamPosi"
- "tion\0223\n\010role_set\030\r \001(\0132!.bgs.protocol.cl"
- "ub.v1.ClubRoleSet\0227\n\006leader\030\016 \003(\0132\'.bgs."
- "protocol.club.v1.MemberDescription\022\022\n\nsh"
- "ort_name\030\017 \001(\t\"\206\003\n\017ClubDescription\022\n\n\002id"
- "\030\001 \001(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club"
- ".v1.UniqueClubType\022\014\n\004name\030\003 \001(\t\022\023\n\013desc"
- "ription\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.prot"
- "ocol.club.v1.AvatarId\0229\n\rprivacy_level\030\006"
- " \001(\0162\".bgs.protocol.club.v1.PrivacyLevel"
- "\022\?\n\020visibility_level\030\007 \001(\0162%.bgs.protoco"
- "l.club.v1.VisibilityLevel\022\024\n\014member_coun"
- "t\030\010 \001(\r\0227\n\006leader\030\t \003(\0132\'.bgs.protocol.c"
- "lub.v1.MemberDescription\022\025\n\rcreation_tim"
- "e\030\n \001(\004\"E\n\010ClubView\022\017\n\007club_id\030\001 \001(\004\022(\n\006"
- "marker\030\002 \001(\0132\030.bgs.protocol.ViewMarker\"\340"
- "\002\n\020ClubStateOptions\022-\n\tattribute\030\001 \003(\0132\032"
- ".bgs.protocol.v2.Attribute\022\014\n\004name\030\002 \001(\t"
- "\022\023\n\013description\030\003 \001(\t\022<\n\tbroadcast\030\004 \001(\013"
- "2).bgs.protocol.club.v1.SetBroadcastOpti"
- "ons\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol.club."
- "v1.AvatarId\0229\n\rprivacy_level\030\006 \001(\0162\".bgs"
- ".protocol.club.v1.PrivacyLevel\022=\n\017stream"
- "_position\030\007 \001(\0132$.bgs.protocol.club.v1.S"
- "treamPosition\022\022\n\nshort_name\030\010 \001(\t\"\352\002\n\023Cl"
- "ubStateAssignment\022\017\n\007club_id\030\001 \001(\004\022-\n\tat"
- "tribute\030\002 \003(\0132\032.bgs.protocol.v2.Attribut"
- "e\022\014\n\004name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\0222\n\t"
- "broadcast\030\005 \001(\0132\037.bgs.protocol.club.v1.B"
- "roadcast\022.\n\006avatar\030\006 \001(\0132\036.bgs.protocol."
- "club.v1.AvatarId\0229\n\rprivacy_level\030\007 \001(\0162"
- "\".bgs.protocol.club.v1.PrivacyLevel\022=\n\017s"
- "tream_position\030\010 \001(\0132$.bgs.protocol.club"
- ".v1.StreamPosition\022\022\n\nshort_name\030\t \001(\t\"c"
- "\n\016StreamSettings\022\021\n\tstream_id\030\001 \001(\004\022>\n\006f"
- "ilter\030\002 \001(\0162..bgs.protocol.club.v1.Strea"
- "mNotificationFilter\"\301\001\n\014ClubSettings\0224\n\006"
- "stream\030\001 \003(\0132$.bgs.protocol.club.v1.Stre"
- "amSettings\022&\n\036stream_notification_filter"
- "_all\030\002 \001(\010\022-\n\tattribute\030\003 \003(\0132\032.bgs.prot"
- "ocol.v2.Attribute\022$\n\034push_notification_f"
- "ilter_all\030\004 \001(\010\"\226\001\n\023ClubSettingsOptions\022"
- "8\n\006stream\030\001 \003(\0132$.bgs.protocol.club.v1.S"
- "treamSettingsB\002\030\001\0224\n\010settings\030\002 \001(\0132\".bg"
- "s.protocol.club.v1.ClubSettings\022\017\n\007versi"
- "on\030\003 \001(\r\"\210\001\n\026ClubSettingsAssignment\0228\n\006s"
- "tream\030\001 \003(\0132$.bgs.protocol.club.v1.Strea"
- "mSettingsB\002\030\001\0224\n\010settings\030\002 \001(\0132\".bgs.pr"
- "otocol.club.v1.ClubSettingsB\002H\002", 3191);
+ "\017club_type.proto\032\017club_enum.proto\032\017club_"
+ "role.proto\032\021club_member.proto\032\021club_stre"
+ "am.proto\032\016club_tag.proto\032#api/client/v2/"
+ "attribute_types.proto\032\026event_view_types."
+ "proto\"\026\n\010AvatarId\022\n\n\002id\030\001 \001(\r\"&\n\023SetBroa"
+ "dcastOptions\022\017\n\007content\030\001 \001(\t\"m\n\tBroadca"
+ "st\022\017\n\007content\030\001 \001(\t\0228\n\007creator\030\002 \001(\0132\'.b"
+ "gs.protocol.club.v1.MemberDescription\022\025\n"
+ "\rcreation_time\030\003 \001(\004\"\326\004\n\021ClubCreateOptio"
+ "ns\0222\n\004type\030\001 \001(\0132$.bgs.protocol.club.v1."
+ "UniqueClubType\022-\n\tattribute\030\002 \003(\0132\032.bgs."
+ "protocol.v2.Attribute\022\014\n\004name\030\003 \001(\t\022\023\n\013d"
+ "escription\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.p"
+ "rotocol.club.v1.AvatarId\0229\n\rprivacy_leve"
+ "l\030\006 \001(\0162\".bgs.protocol.club.v1.PrivacyLe"
+ "vel\022\022\n\nshort_name\030\007 \001(\t\022\?\n\020visibility_le"
+ "vel\030\010 \001(\0162%.bgs.protocol.club.v1.Visibil"
+ "ityLevel\0229\n\006member\030\n \001(\0132).bgs.protocol."
+ "club.v1.CreateMemberOptions\0229\n\006stream\030\013 "
+ "\001(\0132).bgs.protocol.club.v1.CreateStreamO"
+ "ptions\022-\n\003tag\030\014 \001(\0132 .bgs.protocol.club."
+ "v1.TagOptions\0224\n\020search_attribute\030\r \003(\0132"
+ "\032.bgs.protocol.v2.Attribute\022\016\n\006locale\030\016 "
+ "\001(\t\022\020\n\010timezone\030\017 \001(\t\"\360\005\n\004Club\022\n\n\002id\030\001 \001"
+ "(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club.v1."
+ "UniqueClubType\022-\n\tattribute\030\003 \003(\0132\032.bgs."
+ "protocol.v2.Attribute\022\014\n\004name\030\004 \001(\t\022\023\n\013d"
+ "escription\030\005 \001(\t\0222\n\tbroadcast\030\006 \001(\0132\037.bg"
+ "s.protocol.club.v1.Broadcast\022.\n\006avatar\030\007"
+ " \001(\0132\036.bgs.protocol.club.v1.AvatarId\0229\n\r"
+ "privacy_level\030\010 \001(\0162\".bgs.protocol.club."
+ "v1.PrivacyLevel\022\?\n\020visibility_level\030\t \001("
+ "\0162%.bgs.protocol.club.v1.VisibilityLevel"
+ "\022\024\n\014member_count\030\n \001(\r\022\025\n\rcreation_time\030"
+ "\013 \001(\004\022=\n\017stream_position\030\014 \001(\0132$.bgs.pro"
+ "tocol.club.v1.StreamPosition\0223\n\010role_set"
+ "\030\r \001(\0132!.bgs.protocol.club.v1.ClubRoleSe"
+ "t\0227\n\006leader\030\016 \003(\0132\'.bgs.protocol.club.v1"
+ ".MemberDescription\022\022\n\nshort_name\030\017 \001(\t\0224"
+ "\n\020search_attribute\030\020 \003(\0132\032.bgs.protocol."
+ "v2.Attribute\0220\n\003tag\030\021 \003(\0132#.bgs.protocol"
+ ".club.v1.TagIdentifier\022\016\n\006locale\030\022 \001(\t\022\020"
+ "\n\010timezone\030\023 \001(\t\"\332\003\n\017ClubDescription\022\n\n\002"
+ "id\030\001 \001(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.cl"
+ "ub.v1.UniqueClubType\022\014\n\004name\030\003 \001(\t\022\023\n\013de"
+ "scription\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.pr"
+ "otocol.club.v1.AvatarId\0229\n\rprivacy_level"
+ "\030\006 \001(\0162\".bgs.protocol.club.v1.PrivacyLev"
+ "el\022\?\n\020visibility_level\030\007 \001(\0162%.bgs.proto"
+ "col.club.v1.VisibilityLevel\022\024\n\014member_co"
+ "unt\030\010 \001(\r\0227\n\006leader\030\t \003(\0132\'.bgs.protocol"
+ ".club.v1.MemberDescription\022\025\n\rcreation_t"
+ "ime\030\n \001(\004\022\020\n\010timezone\030\013 \001(\t\022\016\n\006locale\030\014 "
+ "\001(\t\0220\n\003tag\030\r \003(\0132#.bgs.protocol.club.v1."
+ "TagIdentifier\"E\n\010ClubView\022\017\n\007club_id\030\001 \001"
+ "(\004\022(\n\006marker\030\002 \001(\0132\030.bgs.protocol.ViewMa"
+ "rker\"\260\004\n\020ClubStateOptions\022-\n\tattribute\030\001"
+ " \003(\0132\032.bgs.protocol.v2.Attribute\022\014\n\004name"
+ "\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022<\n\tbroadcast"
+ "\030\004 \001(\0132).bgs.protocol.club.v1.SetBroadca"
+ "stOptions\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol"
+ ".club.v1.AvatarId\0229\n\rprivacy_level\030\006 \001(\016"
+ "2\".bgs.protocol.club.v1.PrivacyLevel\022=\n\017"
+ "stream_position\030\007 \001(\0132$.bgs.protocol.clu"
+ "b.v1.StreamPosition\022\022\n\nshort_name\030\010 \001(\t\022"
+ "\?\n\020visibility_level\030\t \001(\0162%.bgs.protocol"
+ ".club.v1.VisibilityLevel\022\016\n\006locale\030\n \001(\t"
+ "\022\020\n\010timezone\030\013 \001(\t\0225\n\013tag_options\030\014 \001(\0132"
+ " .bgs.protocol.club.v1.TagOptions\0224\n\020sea"
+ "rch_attribute\030\r \003(\0132\032.bgs.protocol.v2.At"
+ "tribute\"\312\004\n\023ClubStateAssignment\022\017\n\007club_"
+ "id\030\001 \001(\004\022-\n\tattribute\030\002 \003(\0132\032.bgs.protoc"
+ "ol.v2.Attribute\022\014\n\004name\030\003 \001(\t\022\023\n\013descrip"
+ "tion\030\004 \001(\t\0222\n\tbroadcast\030\005 \001(\0132\037.bgs.prot"
+ "ocol.club.v1.Broadcast\022.\n\006avatar\030\006 \001(\0132\036"
+ ".bgs.protocol.club.v1.AvatarId\0229\n\rprivac"
+ "y_level\030\007 \001(\0162\".bgs.protocol.club.v1.Pri"
+ "vacyLevel\022=\n\017stream_position\030\010 \001(\0132$.bgs"
+ ".protocol.club.v1.StreamPosition\022\022\n\nshor"
+ "t_name\030\t \001(\t\022\?\n\020visibility_level\030\n \001(\0162%"
+ ".bgs.protocol.club.v1.VisibilityLevel\022\016\n"
+ "\006locale\030\013 \001(\t\022\020\n\010timezone\030\014 \001(\t\0220\n\003tag\030\r"
+ " \003(\0132#.bgs.protocol.club.v1.TagIdentifie"
+ "r\0224\n\020search_attribute\030\016 \003(\0132\032.bgs.protoc"
+ "ol.v2.Attribute\022\023\n\013tag_cleared\030\017 \001(\010\"c\n\016"
+ "StreamSettings\022\021\n\tstream_id\030\001 \001(\004\022>\n\006fil"
+ "ter\030\002 \001(\0162..bgs.protocol.club.v1.StreamN"
+ "otificationFilter\"\301\001\n\014ClubSettings\0224\n\006st"
+ "ream\030\001 \003(\0132$.bgs.protocol.club.v1.Stream"
+ "Settings\022&\n\036stream_notification_filter_a"
+ "ll\030\002 \001(\010\022-\n\tattribute\030\003 \003(\0132\032.bgs.protoc"
+ "ol.v2.Attribute\022$\n\034push_notification_fil"
+ "ter_all\030\004 \001(\010\"\226\001\n\023ClubSettingsOptions\0228\n"
+ "\006stream\030\001 \003(\0132$.bgs.protocol.club.v1.Str"
+ "eamSettingsB\002\030\001\0224\n\010settings\030\002 \001(\0132\".bgs."
+ "protocol.club.v1.ClubSettings\022\017\n\007version"
+ "\030\003 \001(\r\"\210\001\n\026ClubSettingsAssignment\0228\n\006str"
+ "eam\030\001 \003(\0132$.bgs.protocol.club.v1.StreamS"
+ "ettingsB\002\030\001\0224\n\010settings\030\002 \001(\0132\".bgs.prot"
+ "ocol.club.v1.ClubSettingsB\002H\002", 4029);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_core.proto", &protobuf_RegisterTypes);
AvatarId::default_instance_ = new AvatarId();
SetBroadcastOptions::default_instance_ = new SetBroadcastOptions();
Broadcast::default_instance_ = new Broadcast();
- UniqueClubType::default_instance_ = new UniqueClubType();
ClubCreateOptions::default_instance_ = new ClubCreateOptions();
Club::default_instance_ = new Club();
ClubDescription::default_instance_ = new ClubDescription();
@@ -528,7 +550,6 @@ void protobuf_AddDesc_club_5fcore_2eproto() {
AvatarId::default_instance_->InitAsDefaultInstance();
SetBroadcastOptions::default_instance_->InitAsDefaultInstance();
Broadcast::default_instance_->InitAsDefaultInstance();
- UniqueClubType::default_instance_->InitAsDefaultInstance();
ClubCreateOptions::default_instance_->InitAsDefaultInstance();
Club::default_instance_->InitAsDefaultInstance();
ClubDescription::default_instance_->InitAsDefaultInstance();
@@ -781,84 +802,6 @@ void Broadcast::Swap(Broadcast* other) {
// ===================================================================
#ifndef _MSC_VER
-const int UniqueClubType::kProgramFieldNumber;
-const int UniqueClubType::kNameFieldNumber;
-#endif // !_MSC_VER
-
-UniqueClubType::UniqueClubType()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UniqueClubType)
-}
-
-void UniqueClubType::InitAsDefaultInstance() {
-}
-
-UniqueClubType::UniqueClubType(const UniqueClubType& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UniqueClubType)
-}
-
-void UniqueClubType::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- program_ = 0u;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-UniqueClubType::~UniqueClubType() {
- // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UniqueClubType)
- SharedDtor();
-}
-
-void UniqueClubType::SharedDtor() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (this != default_instance_) {
- }
-}
-
-void UniqueClubType::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* UniqueClubType::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return UniqueClubType_descriptor_;
-}
-
-const UniqueClubType& UniqueClubType::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto();
- return *default_instance_;
-}
-
-UniqueClubType* UniqueClubType::default_instance_ = NULL;
-
-UniqueClubType* UniqueClubType::New() const {
- return new UniqueClubType;
-}
-
-void UniqueClubType::Swap(UniqueClubType* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata UniqueClubType::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = UniqueClubType_descriptor_;
- metadata.reflection = UniqueClubType_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
const int ClubCreateOptions::kTypeFieldNumber;
const int ClubCreateOptions::kAttributeFieldNumber;
const int ClubCreateOptions::kNameFieldNumber;
@@ -866,8 +809,13 @@ const int ClubCreateOptions::kDescriptionFieldNumber;
const int ClubCreateOptions::kAvatarFieldNumber;
const int ClubCreateOptions::kPrivacyLevelFieldNumber;
const int ClubCreateOptions::kShortNameFieldNumber;
+const int ClubCreateOptions::kVisibilityLevelFieldNumber;
const int ClubCreateOptions::kMemberFieldNumber;
const int ClubCreateOptions::kStreamFieldNumber;
+const int ClubCreateOptions::kTagFieldNumber;
+const int ClubCreateOptions::kSearchAttributeFieldNumber;
+const int ClubCreateOptions::kLocaleFieldNumber;
+const int ClubCreateOptions::kTimezoneFieldNumber;
#endif // !_MSC_VER
ClubCreateOptions::ClubCreateOptions()
@@ -881,6 +829,7 @@ void ClubCreateOptions::InitAsDefaultInstance() {
avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance());
member_ = const_cast< ::bgs::protocol::club::v1::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::default_instance());
stream_ = const_cast< ::bgs::protocol::club::v1::CreateStreamOptions*>(&::bgs::protocol::club::v1::CreateStreamOptions::default_instance());
+ tag_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance());
}
ClubCreateOptions::ClubCreateOptions(const ClubCreateOptions& from)
@@ -899,8 +848,12 @@ void ClubCreateOptions::SharedCtor() {
avatar_ = NULL;
privacy_level_ = 0;
short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ visibility_level_ = 0;
member_ = NULL;
stream_ = NULL;
+ tag_ = NULL;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -919,11 +872,18 @@ void ClubCreateOptions::SharedDtor() {
if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete short_name_;
}
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
if (this != default_instance_) {
delete type_;
delete avatar_;
delete member_;
delete stream_;
+ delete tag_;
}
}
@@ -979,6 +939,10 @@ const int Club::kStreamPositionFieldNumber;
const int Club::kRoleSetFieldNumber;
const int Club::kLeaderFieldNumber;
const int Club::kShortNameFieldNumber;
+const int Club::kSearchAttributeFieldNumber;
+const int Club::kTagFieldNumber;
+const int Club::kLocaleFieldNumber;
+const int Club::kTimezoneFieldNumber;
#endif // !_MSC_VER
Club::Club()
@@ -1018,6 +982,8 @@ void Club::SharedCtor() {
stream_position_ = NULL;
role_set_ = NULL;
short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -1036,6 +1002,12 @@ void Club::SharedDtor() {
if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete short_name_;
}
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
if (this != default_instance_) {
delete type_;
delete broadcast_;
@@ -1092,6 +1064,9 @@ const int ClubDescription::kVisibilityLevelFieldNumber;
const int ClubDescription::kMemberCountFieldNumber;
const int ClubDescription::kLeaderFieldNumber;
const int ClubDescription::kCreationTimeFieldNumber;
+const int ClubDescription::kTimezoneFieldNumber;
+const int ClubDescription::kLocaleFieldNumber;
+const int ClubDescription::kTagFieldNumber;
#endif // !_MSC_VER
ClubDescription::ClubDescription()
@@ -1124,6 +1099,8 @@ void ClubDescription::SharedCtor() {
visibility_level_ = 0;
member_count_ = 0u;
creation_time_ = GOOGLE_ULONGLONG(0);
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -1139,6 +1116,12 @@ void ClubDescription::SharedDtor() {
if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete description_;
}
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
if (this != default_instance_) {
delete type_;
delete avatar_;
@@ -1266,6 +1249,11 @@ const int ClubStateOptions::kAvatarFieldNumber;
const int ClubStateOptions::kPrivacyLevelFieldNumber;
const int ClubStateOptions::kStreamPositionFieldNumber;
const int ClubStateOptions::kShortNameFieldNumber;
+const int ClubStateOptions::kVisibilityLevelFieldNumber;
+const int ClubStateOptions::kLocaleFieldNumber;
+const int ClubStateOptions::kTimezoneFieldNumber;
+const int ClubStateOptions::kTagOptionsFieldNumber;
+const int ClubStateOptions::kSearchAttributeFieldNumber;
#endif // !_MSC_VER
ClubStateOptions::ClubStateOptions()
@@ -1278,6 +1266,7 @@ void ClubStateOptions::InitAsDefaultInstance() {
broadcast_ = const_cast< ::bgs::protocol::club::v1::SetBroadcastOptions*>(&::bgs::protocol::club::v1::SetBroadcastOptions::default_instance());
avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance());
stream_position_ = const_cast< ::bgs::protocol::club::v1::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::default_instance());
+ tag_options_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance());
}
ClubStateOptions::ClubStateOptions(const ClubStateOptions& from)
@@ -1297,6 +1286,10 @@ void ClubStateOptions::SharedCtor() {
privacy_level_ = 0;
stream_position_ = NULL;
short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ visibility_level_ = 0;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ tag_options_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -1315,10 +1308,17 @@ void ClubStateOptions::SharedDtor() {
if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete short_name_;
}
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
if (this != default_instance_) {
delete broadcast_;
delete avatar_;
delete stream_position_;
+ delete tag_options_;
}
}
@@ -1368,6 +1368,12 @@ const int ClubStateAssignment::kAvatarFieldNumber;
const int ClubStateAssignment::kPrivacyLevelFieldNumber;
const int ClubStateAssignment::kStreamPositionFieldNumber;
const int ClubStateAssignment::kShortNameFieldNumber;
+const int ClubStateAssignment::kVisibilityLevelFieldNumber;
+const int ClubStateAssignment::kLocaleFieldNumber;
+const int ClubStateAssignment::kTimezoneFieldNumber;
+const int ClubStateAssignment::kTagFieldNumber;
+const int ClubStateAssignment::kSearchAttributeFieldNumber;
+const int ClubStateAssignment::kTagClearedFieldNumber;
#endif // !_MSC_VER
ClubStateAssignment::ClubStateAssignment()
@@ -1400,6 +1406,10 @@ void ClubStateAssignment::SharedCtor() {
privacy_level_ = 0;
stream_position_ = NULL;
short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ visibility_level_ = 0;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ tag_cleared_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -1418,6 +1428,12 @@ void ClubStateAssignment::SharedDtor() {
if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete short_name_;
}
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
if (this != default_instance_) {
delete broadcast_;
delete avatar_;
diff --git a/src/server/proto/Client/club_core.pb.h b/src/server/proto/Client/club_core.pb.h
index 62887a890b3..0059761594a 100644
--- a/src/server/proto/Client/club_core.pb.h
+++ b/src/server/proto/Client/club_core.pb.h
@@ -24,10 +24,12 @@
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
+#include "club_type.pb.h"
#include "club_enum.pb.h"
#include "club_role.pb.h"
#include "club_member.pb.h"
#include "club_stream.pb.h"
+#include "club_tag.pb.h"
#include "api/client/v2/attribute_types.pb.h"
#include "event_view_types.pb.h"
#include "Define.h" // for TC_PROTO_API
@@ -46,7 +48,6 @@ void protobuf_ShutdownFile_club_5fcore_2eproto();
class AvatarId;
class SetBroadcastOptions;
class Broadcast;
-class UniqueClubType;
class ClubCreateOptions;
class Club;
class ClubDescription;
@@ -290,87 +291,6 @@ class TC_PROTO_API Broadcast : public ::google::protobuf::Message {
};
// -------------------------------------------------------------------
-class TC_PROTO_API UniqueClubType : public ::google::protobuf::Message {
- public:
- UniqueClubType();
- virtual ~UniqueClubType();
-
- UniqueClubType(const UniqueClubType& from);
-
- inline UniqueClubType& operator=(const UniqueClubType& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const UniqueClubType& default_instance();
-
- void Swap(UniqueClubType* other);
-
- // implements Message ----------------------------------------------
-
- UniqueClubType* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // optional fixed32 program = 1;
- inline bool has_program() const;
- inline void clear_program();
- static const int kProgramFieldNumber = 1;
- inline ::google::protobuf::uint32 program() const;
- inline void set_program(::google::protobuf::uint32 value);
-
- // optional string name = 2;
- inline bool has_name() const;
- inline void clear_name();
- static const int kNameFieldNumber = 2;
- inline const ::std::string& name() const;
- inline void set_name(const ::std::string& value);
- inline void set_name(const char* value);
- inline void set_name(const char* value, size_t size);
- inline ::std::string* mutable_name();
- inline ::std::string* release_name();
- inline void set_allocated_name(::std::string* name);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UniqueClubType)
- private:
- inline void set_has_program();
- inline void clear_has_program();
- inline void set_has_name();
- inline void clear_has_name();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* name_;
- ::google::protobuf::uint32 program_;
- friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto();
- friend void protobuf_AssignDesc_club_5fcore_2eproto();
- friend void protobuf_ShutdownFile_club_5fcore_2eproto();
-
- void InitAsDefaultInstance();
- static UniqueClubType* default_instance_;
-};
-// -------------------------------------------------------------------
-
class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
public:
ClubCreateOptions();
@@ -484,6 +404,13 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
inline ::std::string* release_short_name();
inline void set_allocated_short_name(::std::string* short_name);
+ // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8;
+ inline bool has_visibility_level() const;
+ inline void clear_visibility_level();
+ static const int kVisibilityLevelFieldNumber = 8;
+ inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
+ inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
+
// optional .bgs.protocol.club.v1.CreateMemberOptions member = 10;
inline bool has_member() const;
inline void clear_member();
@@ -502,6 +429,51 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
inline ::bgs::protocol::club::v1::CreateStreamOptions* release_stream();
inline void set_allocated_stream(::bgs::protocol::club::v1::CreateStreamOptions* stream);
+ // optional .bgs.protocol.club.v1.TagOptions tag = 12;
+ inline bool has_tag() const;
+ inline void clear_tag();
+ static const int kTagFieldNumber = 12;
+ inline const ::bgs::protocol::club::v1::TagOptions& tag() const;
+ inline ::bgs::protocol::club::v1::TagOptions* mutable_tag();
+ inline ::bgs::protocol::club::v1::TagOptions* release_tag();
+ inline void set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag);
+
+ // repeated .bgs.protocol.v2.Attribute search_attribute = 13;
+ inline int search_attribute_size() const;
+ inline void clear_search_attribute();
+ static const int kSearchAttributeFieldNumber = 13;
+ inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
+ inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
+ inline ::bgs::protocol::v2::Attribute* add_search_attribute();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ search_attribute() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ mutable_search_attribute();
+
+ // optional string locale = 14;
+ inline bool has_locale() const;
+ inline void clear_locale();
+ static const int kLocaleFieldNumber = 14;
+ inline const ::std::string& locale() const;
+ inline void set_locale(const ::std::string& value);
+ inline void set_locale(const char* value);
+ inline void set_locale(const char* value, size_t size);
+ inline ::std::string* mutable_locale();
+ inline ::std::string* release_locale();
+ inline void set_allocated_locale(::std::string* locale);
+
+ // optional string timezone = 15;
+ inline bool has_timezone() const;
+ inline void clear_timezone();
+ static const int kTimezoneFieldNumber = 15;
+ inline const ::std::string& timezone() const;
+ inline void set_timezone(const ::std::string& value);
+ inline void set_timezone(const char* value);
+ inline void set_timezone(const char* value, size_t size);
+ inline ::std::string* mutable_timezone();
+ inline ::std::string* release_timezone();
+ inline void set_allocated_timezone(::std::string* timezone);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubCreateOptions)
private:
inline void set_has_type();
@@ -516,10 +488,18 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
inline void clear_has_privacy_level();
inline void set_has_short_name();
inline void clear_has_short_name();
+ inline void set_has_visibility_level();
+ inline void clear_has_visibility_level();
inline void set_has_member();
inline void clear_has_member();
inline void set_has_stream();
inline void clear_has_stream();
+ inline void set_has_tag();
+ inline void clear_has_tag();
+ inline void set_has_locale();
+ inline void clear_has_locale();
+ inline void set_has_timezone();
+ inline void clear_has_timezone();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -531,9 +511,14 @@ class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
::std::string* description_;
::bgs::protocol::club::v1::AvatarId* avatar_;
::std::string* short_name_;
+ int privacy_level_;
+ int visibility_level_;
::bgs::protocol::club::v1::CreateMemberOptions* member_;
::bgs::protocol::club::v1::CreateStreamOptions* stream_;
- int privacy_level_;
+ ::bgs::protocol::club::v1::TagOptions* tag_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
+ ::std::string* locale_;
+ ::std::string* timezone_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto();
friend void protobuf_AssignDesc_club_5fcore_2eproto();
friend void protobuf_ShutdownFile_club_5fcore_2eproto();
@@ -723,6 +708,54 @@ class TC_PROTO_API Club : public ::google::protobuf::Message {
inline ::std::string* release_short_name();
inline void set_allocated_short_name(::std::string* short_name);
+ // repeated .bgs.protocol.v2.Attribute search_attribute = 16;
+ inline int search_attribute_size() const;
+ inline void clear_search_attribute();
+ static const int kSearchAttributeFieldNumber = 16;
+ inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
+ inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
+ inline ::bgs::protocol::v2::Attribute* add_search_attribute();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ search_attribute() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ mutable_search_attribute();
+
+ // repeated .bgs.protocol.club.v1.TagIdentifier tag = 17;
+ inline int tag_size() const;
+ inline void clear_tag();
+ static const int kTagFieldNumber = 17;
+ inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
+ inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
+ inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+ tag() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+ mutable_tag();
+
+ // optional string locale = 18;
+ inline bool has_locale() const;
+ inline void clear_locale();
+ static const int kLocaleFieldNumber = 18;
+ inline const ::std::string& locale() const;
+ inline void set_locale(const ::std::string& value);
+ inline void set_locale(const char* value);
+ inline void set_locale(const char* value, size_t size);
+ inline ::std::string* mutable_locale();
+ inline ::std::string* release_locale();
+ inline void set_allocated_locale(::std::string* locale);
+
+ // optional string timezone = 19;
+ inline bool has_timezone() const;
+ inline void clear_timezone();
+ static const int kTimezoneFieldNumber = 19;
+ inline const ::std::string& timezone() const;
+ inline void set_timezone(const ::std::string& value);
+ inline void set_timezone(const char* value);
+ inline void set_timezone(const char* value, size_t size);
+ inline ::std::string* mutable_timezone();
+ inline ::std::string* release_timezone();
+ inline void set_allocated_timezone(::std::string* timezone);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Club)
private:
inline void set_has_id();
@@ -751,6 +784,10 @@ class TC_PROTO_API Club : public ::google::protobuf::Message {
inline void clear_has_role_set();
inline void set_has_short_name();
inline void clear_has_short_name();
+ inline void set_has_locale();
+ inline void clear_has_locale();
+ inline void set_has_timezone();
+ inline void clear_has_timezone();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -770,6 +807,10 @@ class TC_PROTO_API Club : public ::google::protobuf::Message {
::bgs::protocol::club::v1::ClubRoleSet* role_set_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_;
::std::string* short_name_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
+ ::std::string* locale_;
+ ::std::string* timezone_;
::google::protobuf::uint32 member_count_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto();
friend void protobuf_AssignDesc_club_5fcore_2eproto();
@@ -909,6 +950,42 @@ class TC_PROTO_API ClubDescription : public ::google::protobuf::Message {
inline ::google::protobuf::uint64 creation_time() const;
inline void set_creation_time(::google::protobuf::uint64 value);
+ // optional string timezone = 11;
+ inline bool has_timezone() const;
+ inline void clear_timezone();
+ static const int kTimezoneFieldNumber = 11;
+ inline const ::std::string& timezone() const;
+ inline void set_timezone(const ::std::string& value);
+ inline void set_timezone(const char* value);
+ inline void set_timezone(const char* value, size_t size);
+ inline ::std::string* mutable_timezone();
+ inline ::std::string* release_timezone();
+ inline void set_allocated_timezone(::std::string* timezone);
+
+ // optional string locale = 12;
+ inline bool has_locale() const;
+ inline void clear_locale();
+ static const int kLocaleFieldNumber = 12;
+ inline const ::std::string& locale() const;
+ inline void set_locale(const ::std::string& value);
+ inline void set_locale(const char* value);
+ inline void set_locale(const char* value, size_t size);
+ inline ::std::string* mutable_locale();
+ inline ::std::string* release_locale();
+ inline void set_allocated_locale(::std::string* locale);
+
+ // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
+ inline int tag_size() const;
+ inline void clear_tag();
+ static const int kTagFieldNumber = 13;
+ inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
+ inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
+ inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+ tag() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+ mutable_tag();
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubDescription)
private:
inline void set_has_id();
@@ -929,6 +1006,10 @@ class TC_PROTO_API ClubDescription : public ::google::protobuf::Message {
inline void clear_has_member_count();
inline void set_has_creation_time();
inline void clear_has_creation_time();
+ inline void set_has_timezone();
+ inline void clear_has_timezone();
+ inline void set_has_locale();
+ inline void clear_has_locale();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -943,6 +1024,9 @@ class TC_PROTO_API ClubDescription : public ::google::protobuf::Message {
int visibility_level_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_;
::google::protobuf::uint64 creation_time_;
+ ::std::string* timezone_;
+ ::std::string* locale_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
::google::protobuf::uint32 member_count_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto();
friend void protobuf_AssignDesc_club_5fcore_2eproto();
@@ -1153,6 +1237,58 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message {
inline ::std::string* release_short_name();
inline void set_allocated_short_name(::std::string* short_name);
+ // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
+ inline bool has_visibility_level() const;
+ inline void clear_visibility_level();
+ static const int kVisibilityLevelFieldNumber = 9;
+ inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
+ inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
+
+ // optional string locale = 10;
+ inline bool has_locale() const;
+ inline void clear_locale();
+ static const int kLocaleFieldNumber = 10;
+ inline const ::std::string& locale() const;
+ inline void set_locale(const ::std::string& value);
+ inline void set_locale(const char* value);
+ inline void set_locale(const char* value, size_t size);
+ inline ::std::string* mutable_locale();
+ inline ::std::string* release_locale();
+ inline void set_allocated_locale(::std::string* locale);
+
+ // optional string timezone = 11;
+ inline bool has_timezone() const;
+ inline void clear_timezone();
+ static const int kTimezoneFieldNumber = 11;
+ inline const ::std::string& timezone() const;
+ inline void set_timezone(const ::std::string& value);
+ inline void set_timezone(const char* value);
+ inline void set_timezone(const char* value, size_t size);
+ inline ::std::string* mutable_timezone();
+ inline ::std::string* release_timezone();
+ inline void set_allocated_timezone(::std::string* timezone);
+
+ // optional .bgs.protocol.club.v1.TagOptions tag_options = 12;
+ inline bool has_tag_options() const;
+ inline void clear_tag_options();
+ static const int kTagOptionsFieldNumber = 12;
+ inline const ::bgs::protocol::club::v1::TagOptions& tag_options() const;
+ inline ::bgs::protocol::club::v1::TagOptions* mutable_tag_options();
+ inline ::bgs::protocol::club::v1::TagOptions* release_tag_options();
+ inline void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options);
+
+ // repeated .bgs.protocol.v2.Attribute search_attribute = 13;
+ inline int search_attribute_size() const;
+ inline void clear_search_attribute();
+ static const int kSearchAttributeFieldNumber = 13;
+ inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
+ inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
+ inline ::bgs::protocol::v2::Attribute* add_search_attribute();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ search_attribute() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ mutable_search_attribute();
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateOptions)
private:
inline void set_has_name();
@@ -1169,6 +1305,14 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message {
inline void clear_has_stream_position();
inline void set_has_short_name();
inline void clear_has_short_name();
+ inline void set_has_visibility_level();
+ inline void clear_has_visibility_level();
+ inline void set_has_locale();
+ inline void clear_has_locale();
+ inline void set_has_timezone();
+ inline void clear_has_timezone();
+ inline void set_has_tag_options();
+ inline void clear_has_tag_options();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -1180,8 +1324,13 @@ class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message {
::bgs::protocol::club::v1::SetBroadcastOptions* broadcast_;
::bgs::protocol::club::v1::AvatarId* avatar_;
::bgs::protocol::club::v1::StreamPosition* stream_position_;
- ::std::string* short_name_;
int privacy_level_;
+ int visibility_level_;
+ ::std::string* short_name_;
+ ::std::string* locale_;
+ ::std::string* timezone_;
+ ::bgs::protocol::club::v1::TagOptions* tag_options_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto();
friend void protobuf_AssignDesc_club_5fcore_2eproto();
friend void protobuf_ShutdownFile_club_5fcore_2eproto();
@@ -1320,6 +1469,68 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message {
inline ::std::string* release_short_name();
inline void set_allocated_short_name(::std::string* short_name);
+ // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10;
+ inline bool has_visibility_level() const;
+ inline void clear_visibility_level();
+ static const int kVisibilityLevelFieldNumber = 10;
+ inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
+ inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
+
+ // optional string locale = 11;
+ inline bool has_locale() const;
+ inline void clear_locale();
+ static const int kLocaleFieldNumber = 11;
+ inline const ::std::string& locale() const;
+ inline void set_locale(const ::std::string& value);
+ inline void set_locale(const char* value);
+ inline void set_locale(const char* value, size_t size);
+ inline ::std::string* mutable_locale();
+ inline ::std::string* release_locale();
+ inline void set_allocated_locale(::std::string* locale);
+
+ // optional string timezone = 12;
+ inline bool has_timezone() const;
+ inline void clear_timezone();
+ static const int kTimezoneFieldNumber = 12;
+ inline const ::std::string& timezone() const;
+ inline void set_timezone(const ::std::string& value);
+ inline void set_timezone(const char* value);
+ inline void set_timezone(const char* value, size_t size);
+ inline ::std::string* mutable_timezone();
+ inline ::std::string* release_timezone();
+ inline void set_allocated_timezone(::std::string* timezone);
+
+ // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
+ inline int tag_size() const;
+ inline void clear_tag();
+ static const int kTagFieldNumber = 13;
+ inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
+ inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
+ inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+ tag() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+ mutable_tag();
+
+ // repeated .bgs.protocol.v2.Attribute search_attribute = 14;
+ inline int search_attribute_size() const;
+ inline void clear_search_attribute();
+ static const int kSearchAttributeFieldNumber = 14;
+ inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
+ inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
+ inline ::bgs::protocol::v2::Attribute* add_search_attribute();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ search_attribute() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ mutable_search_attribute();
+
+ // optional bool tag_cleared = 15;
+ inline bool has_tag_cleared() const;
+ inline void clear_tag_cleared();
+ static const int kTagClearedFieldNumber = 15;
+ inline bool tag_cleared() const;
+ inline void set_tag_cleared(bool value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateAssignment)
private:
inline void set_has_club_id();
@@ -1338,6 +1549,14 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message {
inline void clear_has_stream_position();
inline void set_has_short_name();
inline void clear_has_short_name();
+ inline void set_has_visibility_level();
+ inline void clear_has_visibility_level();
+ inline void set_has_locale();
+ inline void clear_has_locale();
+ inline void set_has_timezone();
+ inline void clear_has_timezone();
+ inline void set_has_tag_cleared();
+ inline void clear_has_tag_cleared();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -1350,8 +1569,14 @@ class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message {
::bgs::protocol::club::v1::Broadcast* broadcast_;
::bgs::protocol::club::v1::AvatarId* avatar_;
::bgs::protocol::club::v1::StreamPosition* stream_position_;
- ::std::string* short_name_;
int privacy_level_;
+ int visibility_level_;
+ ::std::string* short_name_;
+ ::std::string* locale_;
+ ::std::string* timezone_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
+ bool tag_cleared_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto();
friend void protobuf_AssignDesc_club_5fcore_2eproto();
friend void protobuf_ShutdownFile_club_5fcore_2eproto();
@@ -1968,110 +2193,6 @@ inline void Broadcast::set_creation_time(::google::protobuf::uint64 value) {
// -------------------------------------------------------------------
-// UniqueClubType
-
-// optional fixed32 program = 1;
-inline bool UniqueClubType::has_program() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void UniqueClubType::set_has_program() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void UniqueClubType::clear_has_program() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void UniqueClubType::clear_program() {
- program_ = 0u;
- clear_has_program();
-}
-inline ::google::protobuf::uint32 UniqueClubType::program() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.program)
- return program_;
-}
-inline void UniqueClubType::set_program(::google::protobuf::uint32 value) {
- set_has_program();
- program_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.program)
-}
-
-// optional string name = 2;
-inline bool UniqueClubType::has_name() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void UniqueClubType::set_has_name() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void UniqueClubType::clear_has_name() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void UniqueClubType::clear_name() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- clear_has_name();
-}
-inline const ::std::string& UniqueClubType::name() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.name)
- return *name_;
-}
-inline void UniqueClubType::set_name(const ::std::string& value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.name)
-}
-inline void UniqueClubType::set_name(const char* value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.UniqueClubType.name)
-}
-inline void UniqueClubType::set_name(const char* value, size_t size) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.UniqueClubType.name)
-}
-inline ::std::string* UniqueClubType::mutable_name() {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UniqueClubType.name)
- return name_;
-}
-inline ::std::string* UniqueClubType::release_name() {
- clear_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = name_;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void UniqueClubType::set_allocated_name(::std::string* name) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (name) {
- set_has_name();
- name_ = name;
- } else {
- clear_has_name();
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UniqueClubType.name)
-}
-
-// -------------------------------------------------------------------
-
// ClubCreateOptions
// optional .bgs.protocol.club.v1.UniqueClubType type = 1;
@@ -2439,15 +2560,40 @@ inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_nam
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.short_name)
}
+// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8;
+inline bool ClubCreateOptions::has_visibility_level() const {
+ return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void ClubCreateOptions::set_has_visibility_level() {
+ _has_bits_[0] |= 0x00000080u;
+}
+inline void ClubCreateOptions::clear_has_visibility_level() {
+ _has_bits_[0] &= ~0x00000080u;
+}
+inline void ClubCreateOptions::clear_visibility_level() {
+ visibility_level_ = 0;
+ clear_has_visibility_level();
+}
+inline ::bgs::protocol::club::v1::VisibilityLevel ClubCreateOptions::visibility_level() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.visibility_level)
+ return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
+}
+inline void ClubCreateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
+ assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value));
+ set_has_visibility_level();
+ visibility_level_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.visibility_level)
+}
+
// optional .bgs.protocol.club.v1.CreateMemberOptions member = 10;
inline bool ClubCreateOptions::has_member() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
+ return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void ClubCreateOptions::set_has_member() {
- _has_bits_[0] |= 0x00000080u;
+ _has_bits_[0] |= 0x00000100u;
}
inline void ClubCreateOptions::clear_has_member() {
- _has_bits_[0] &= ~0x00000080u;
+ _has_bits_[0] &= ~0x00000100u;
}
inline void ClubCreateOptions::clear_member() {
if (member_ != NULL) member_->::bgs::protocol::club::v1::CreateMemberOptions::Clear();
@@ -2482,13 +2628,13 @@ inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::C
// optional .bgs.protocol.club.v1.CreateStreamOptions stream = 11;
inline bool ClubCreateOptions::has_stream() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
+ return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void ClubCreateOptions::set_has_stream() {
- _has_bits_[0] |= 0x00000100u;
+ _has_bits_[0] |= 0x00000200u;
}
inline void ClubCreateOptions::clear_has_stream() {
- _has_bits_[0] &= ~0x00000100u;
+ _has_bits_[0] &= ~0x00000200u;
}
inline void ClubCreateOptions::clear_stream() {
if (stream_ != NULL) stream_->::bgs::protocol::club::v1::CreateStreamOptions::Clear();
@@ -2521,6 +2667,229 @@ inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::C
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.stream)
}
+// optional .bgs.protocol.club.v1.TagOptions tag = 12;
+inline bool ClubCreateOptions::has_tag() const {
+ return (_has_bits_[0] & 0x00000400u) != 0;
+}
+inline void ClubCreateOptions::set_has_tag() {
+ _has_bits_[0] |= 0x00000400u;
+}
+inline void ClubCreateOptions::clear_has_tag() {
+ _has_bits_[0] &= ~0x00000400u;
+}
+inline void ClubCreateOptions::clear_tag() {
+ if (tag_ != NULL) tag_->::bgs::protocol::club::v1::TagOptions::Clear();
+ clear_has_tag();
+}
+inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.tag)
+ return tag_ != NULL ? *tag_ : *default_instance_->tag_;
+}
+inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::mutable_tag() {
+ set_has_tag();
+ if (tag_ == NULL) tag_ = new ::bgs::protocol::club::v1::TagOptions;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.tag)
+ return tag_;
+}
+inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() {
+ clear_has_tag();
+ ::bgs::protocol::club::v1::TagOptions* temp = tag_;
+ tag_ = NULL;
+ return temp;
+}
+inline void ClubCreateOptions::set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag) {
+ delete tag_;
+ tag_ = tag;
+ if (tag) {
+ set_has_tag();
+ } else {
+ clear_has_tag();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.tag)
+}
+
+// repeated .bgs.protocol.v2.Attribute search_attribute = 13;
+inline int ClubCreateOptions::search_attribute_size() const {
+ return search_attribute_.size();
+}
+inline void ClubCreateOptions::clear_search_attribute() {
+ search_attribute_.Clear();
+}
+inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::search_attribute(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
+ return search_attribute_.Get(index);
+}
+inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_search_attribute(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
+ return search_attribute_.Mutable(index);
+}
+inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_search_attribute() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
+ return search_attribute_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ClubCreateOptions::search_attribute() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
+ return search_attribute_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ClubCreateOptions::mutable_search_attribute() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
+ return &search_attribute_;
+}
+
+// optional string locale = 14;
+inline bool ClubCreateOptions::has_locale() const {
+ return (_has_bits_[0] & 0x00001000u) != 0;
+}
+inline void ClubCreateOptions::set_has_locale() {
+ _has_bits_[0] |= 0x00001000u;
+}
+inline void ClubCreateOptions::clear_has_locale() {
+ _has_bits_[0] &= ~0x00001000u;
+}
+inline void ClubCreateOptions::clear_locale() {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_->clear();
+ }
+ clear_has_locale();
+}
+inline const ::std::string& ClubCreateOptions::locale() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.locale)
+ return *locale_;
+}
+inline void ClubCreateOptions::set_locale(const ::std::string& value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.locale)
+}
+inline void ClubCreateOptions::set_locale(const char* value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.locale)
+}
+inline void ClubCreateOptions::set_locale(const char* value, size_t size) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.locale)
+}
+inline ::std::string* ClubCreateOptions::mutable_locale() {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.locale)
+ return locale_;
+}
+inline ::std::string* ClubCreateOptions::release_locale() {
+ clear_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = locale_;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (locale) {
+ set_has_locale();
+ locale_ = locale;
+ } else {
+ clear_has_locale();
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.locale)
+}
+
+// optional string timezone = 15;
+inline bool ClubCreateOptions::has_timezone() const {
+ return (_has_bits_[0] & 0x00002000u) != 0;
+}
+inline void ClubCreateOptions::set_has_timezone() {
+ _has_bits_[0] |= 0x00002000u;
+}
+inline void ClubCreateOptions::clear_has_timezone() {
+ _has_bits_[0] &= ~0x00002000u;
+}
+inline void ClubCreateOptions::clear_timezone() {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_->clear();
+ }
+ clear_has_timezone();
+}
+inline const ::std::string& ClubCreateOptions::timezone() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.timezone)
+ return *timezone_;
+}
+inline void ClubCreateOptions::set_timezone(const ::std::string& value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.timezone)
+}
+inline void ClubCreateOptions::set_timezone(const char* value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.timezone)
+}
+inline void ClubCreateOptions::set_timezone(const char* value, size_t size) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.timezone)
+}
+inline ::std::string* ClubCreateOptions::mutable_timezone() {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.timezone)
+ return timezone_;
+}
+inline ::std::string* ClubCreateOptions::release_timezone() {
+ clear_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = timezone_;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (timezone) {
+ set_has_timezone();
+ timezone_ = timezone;
+ } else {
+ clear_has_timezone();
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.timezone)
+}
+
// -------------------------------------------------------------------
// Club
@@ -3140,6 +3509,218 @@ inline void Club::set_allocated_short_name(::std::string* short_name) {
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.short_name)
}
+// repeated .bgs.protocol.v2.Attribute search_attribute = 16;
+inline int Club::search_attribute_size() const {
+ return search_attribute_.size();
+}
+inline void Club::clear_search_attribute() {
+ search_attribute_.Clear();
+}
+inline const ::bgs::protocol::v2::Attribute& Club::search_attribute(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.search_attribute)
+ return search_attribute_.Get(index);
+}
+inline ::bgs::protocol::v2::Attribute* Club::mutable_search_attribute(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.search_attribute)
+ return search_attribute_.Mutable(index);
+}
+inline ::bgs::protocol::v2::Attribute* Club::add_search_attribute() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.search_attribute)
+ return search_attribute_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+Club::search_attribute() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.search_attribute)
+ return search_attribute_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+Club::mutable_search_attribute() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.search_attribute)
+ return &search_attribute_;
+}
+
+// repeated .bgs.protocol.club.v1.TagIdentifier tag = 17;
+inline int Club::tag_size() const {
+ return tag_.size();
+}
+inline void Club::clear_tag() {
+ tag_.Clear();
+}
+inline const ::bgs::protocol::club::v1::TagIdentifier& Club::tag(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.tag)
+ return tag_.Get(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* Club::mutable_tag(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.tag)
+ return tag_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* Club::add_tag() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.tag)
+ return tag_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+Club::tag() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.tag)
+ return tag_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+Club::mutable_tag() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.tag)
+ return &tag_;
+}
+
+// optional string locale = 18;
+inline bool Club::has_locale() const {
+ return (_has_bits_[0] & 0x00020000u) != 0;
+}
+inline void Club::set_has_locale() {
+ _has_bits_[0] |= 0x00020000u;
+}
+inline void Club::clear_has_locale() {
+ _has_bits_[0] &= ~0x00020000u;
+}
+inline void Club::clear_locale() {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_->clear();
+ }
+ clear_has_locale();
+}
+inline const ::std::string& Club::locale() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.locale)
+ return *locale_;
+}
+inline void Club::set_locale(const ::std::string& value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.locale)
+}
+inline void Club::set_locale(const char* value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.locale)
+}
+inline void Club::set_locale(const char* value, size_t size) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.locale)
+}
+inline ::std::string* Club::mutable_locale() {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.locale)
+ return locale_;
+}
+inline ::std::string* Club::release_locale() {
+ clear_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = locale_;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void Club::set_allocated_locale(::std::string* locale) {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (locale) {
+ set_has_locale();
+ locale_ = locale;
+ } else {
+ clear_has_locale();
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.locale)
+}
+
+// optional string timezone = 19;
+inline bool Club::has_timezone() const {
+ return (_has_bits_[0] & 0x00040000u) != 0;
+}
+inline void Club::set_has_timezone() {
+ _has_bits_[0] |= 0x00040000u;
+}
+inline void Club::clear_has_timezone() {
+ _has_bits_[0] &= ~0x00040000u;
+}
+inline void Club::clear_timezone() {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_->clear();
+ }
+ clear_has_timezone();
+}
+inline const ::std::string& Club::timezone() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.timezone)
+ return *timezone_;
+}
+inline void Club::set_timezone(const ::std::string& value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.timezone)
+}
+inline void Club::set_timezone(const char* value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.timezone)
+}
+inline void Club::set_timezone(const char* value, size_t size) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.timezone)
+}
+inline ::std::string* Club::mutable_timezone() {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.timezone)
+ return timezone_;
+}
+inline ::std::string* Club::release_timezone() {
+ clear_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = timezone_;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void Club::set_allocated_timezone(::std::string* timezone) {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (timezone) {
+ set_has_timezone();
+ timezone_ = timezone;
+ } else {
+ clear_has_timezone();
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.timezone)
+}
+
// -------------------------------------------------------------------
// ClubDescription
@@ -3530,6 +4111,188 @@ inline void ClubDescription::set_creation_time(::google::protobuf::uint64 value)
// @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.creation_time)
}
+// optional string timezone = 11;
+inline bool ClubDescription::has_timezone() const {
+ return (_has_bits_[0] & 0x00000400u) != 0;
+}
+inline void ClubDescription::set_has_timezone() {
+ _has_bits_[0] |= 0x00000400u;
+}
+inline void ClubDescription::clear_has_timezone() {
+ _has_bits_[0] &= ~0x00000400u;
+}
+inline void ClubDescription::clear_timezone() {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_->clear();
+ }
+ clear_has_timezone();
+}
+inline const ::std::string& ClubDescription::timezone() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.timezone)
+ return *timezone_;
+}
+inline void ClubDescription::set_timezone(const ::std::string& value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.timezone)
+}
+inline void ClubDescription::set_timezone(const char* value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.timezone)
+}
+inline void ClubDescription::set_timezone(const char* value, size_t size) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.timezone)
+}
+inline ::std::string* ClubDescription::mutable_timezone() {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.timezone)
+ return timezone_;
+}
+inline ::std::string* ClubDescription::release_timezone() {
+ clear_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = timezone_;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubDescription::set_allocated_timezone(::std::string* timezone) {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (timezone) {
+ set_has_timezone();
+ timezone_ = timezone;
+ } else {
+ clear_has_timezone();
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.timezone)
+}
+
+// optional string locale = 12;
+inline bool ClubDescription::has_locale() const {
+ return (_has_bits_[0] & 0x00000800u) != 0;
+}
+inline void ClubDescription::set_has_locale() {
+ _has_bits_[0] |= 0x00000800u;
+}
+inline void ClubDescription::clear_has_locale() {
+ _has_bits_[0] &= ~0x00000800u;
+}
+inline void ClubDescription::clear_locale() {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_->clear();
+ }
+ clear_has_locale();
+}
+inline const ::std::string& ClubDescription::locale() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.locale)
+ return *locale_;
+}
+inline void ClubDescription::set_locale(const ::std::string& value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.locale)
+}
+inline void ClubDescription::set_locale(const char* value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.locale)
+}
+inline void ClubDescription::set_locale(const char* value, size_t size) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.locale)
+}
+inline ::std::string* ClubDescription::mutable_locale() {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.locale)
+ return locale_;
+}
+inline ::std::string* ClubDescription::release_locale() {
+ clear_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = locale_;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubDescription::set_allocated_locale(::std::string* locale) {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (locale) {
+ set_has_locale();
+ locale_ = locale;
+ } else {
+ clear_has_locale();
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.locale)
+}
+
+// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
+inline int ClubDescription::tag_size() const {
+ return tag_.size();
+}
+inline void ClubDescription::clear_tag() {
+ tag_.Clear();
+}
+inline const ::bgs::protocol::club::v1::TagIdentifier& ClubDescription::tag(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.tag)
+ return tag_.Get(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::mutable_tag(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.tag)
+ return tag_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::add_tag() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.tag)
+ return tag_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+ClubDescription::tag() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.tag)
+ return tag_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+ClubDescription::mutable_tag() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.tag)
+ return &tag_;
+}
+
// -------------------------------------------------------------------
// ClubView
@@ -4009,6 +4772,254 @@ inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.short_name)
}
+// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
+inline bool ClubStateOptions::has_visibility_level() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void ClubStateOptions::set_has_visibility_level() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void ClubStateOptions::clear_has_visibility_level() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void ClubStateOptions::clear_visibility_level() {
+ visibility_level_ = 0;
+ clear_has_visibility_level();
+}
+inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateOptions::visibility_level() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.visibility_level)
+ return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
+}
+inline void ClubStateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
+ assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value));
+ set_has_visibility_level();
+ visibility_level_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.visibility_level)
+}
+
+// optional string locale = 10;
+inline bool ClubStateOptions::has_locale() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void ClubStateOptions::set_has_locale() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void ClubStateOptions::clear_has_locale() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void ClubStateOptions::clear_locale() {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_->clear();
+ }
+ clear_has_locale();
+}
+inline const ::std::string& ClubStateOptions::locale() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.locale)
+ return *locale_;
+}
+inline void ClubStateOptions::set_locale(const ::std::string& value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.locale)
+}
+inline void ClubStateOptions::set_locale(const char* value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.locale)
+}
+inline void ClubStateOptions::set_locale(const char* value, size_t size) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.locale)
+}
+inline ::std::string* ClubStateOptions::mutable_locale() {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.locale)
+ return locale_;
+}
+inline ::std::string* ClubStateOptions::release_locale() {
+ clear_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = locale_;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubStateOptions::set_allocated_locale(::std::string* locale) {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (locale) {
+ set_has_locale();
+ locale_ = locale;
+ } else {
+ clear_has_locale();
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.locale)
+}
+
+// optional string timezone = 11;
+inline bool ClubStateOptions::has_timezone() const {
+ return (_has_bits_[0] & 0x00000400u) != 0;
+}
+inline void ClubStateOptions::set_has_timezone() {
+ _has_bits_[0] |= 0x00000400u;
+}
+inline void ClubStateOptions::clear_has_timezone() {
+ _has_bits_[0] &= ~0x00000400u;
+}
+inline void ClubStateOptions::clear_timezone() {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_->clear();
+ }
+ clear_has_timezone();
+}
+inline const ::std::string& ClubStateOptions::timezone() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.timezone)
+ return *timezone_;
+}
+inline void ClubStateOptions::set_timezone(const ::std::string& value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.timezone)
+}
+inline void ClubStateOptions::set_timezone(const char* value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.timezone)
+}
+inline void ClubStateOptions::set_timezone(const char* value, size_t size) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.timezone)
+}
+inline ::std::string* ClubStateOptions::mutable_timezone() {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.timezone)
+ return timezone_;
+}
+inline ::std::string* ClubStateOptions::release_timezone() {
+ clear_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = timezone_;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (timezone) {
+ set_has_timezone();
+ timezone_ = timezone;
+ } else {
+ clear_has_timezone();
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.timezone)
+}
+
+// optional .bgs.protocol.club.v1.TagOptions tag_options = 12;
+inline bool ClubStateOptions::has_tag_options() const {
+ return (_has_bits_[0] & 0x00000800u) != 0;
+}
+inline void ClubStateOptions::set_has_tag_options() {
+ _has_bits_[0] |= 0x00000800u;
+}
+inline void ClubStateOptions::clear_has_tag_options() {
+ _has_bits_[0] &= ~0x00000800u;
+}
+inline void ClubStateOptions::clear_tag_options() {
+ if (tag_options_ != NULL) tag_options_->::bgs::protocol::club::v1::TagOptions::Clear();
+ clear_has_tag_options();
+}
+inline const ::bgs::protocol::club::v1::TagOptions& ClubStateOptions::tag_options() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.tag_options)
+ return tag_options_ != NULL ? *tag_options_ : *default_instance_->tag_options_;
+}
+inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::mutable_tag_options() {
+ set_has_tag_options();
+ if (tag_options_ == NULL) tag_options_ = new ::bgs::protocol::club::v1::TagOptions;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.tag_options)
+ return tag_options_;
+}
+inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::release_tag_options() {
+ clear_has_tag_options();
+ ::bgs::protocol::club::v1::TagOptions* temp = tag_options_;
+ tag_options_ = NULL;
+ return temp;
+}
+inline void ClubStateOptions::set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options) {
+ delete tag_options_;
+ tag_options_ = tag_options;
+ if (tag_options) {
+ set_has_tag_options();
+ } else {
+ clear_has_tag_options();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.tag_options)
+}
+
+// repeated .bgs.protocol.v2.Attribute search_attribute = 13;
+inline int ClubStateOptions::search_attribute_size() const {
+ return search_attribute_.size();
+}
+inline void ClubStateOptions::clear_search_attribute() {
+ search_attribute_.Clear();
+}
+inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::search_attribute(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
+ return search_attribute_.Get(index);
+}
+inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_search_attribute(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
+ return search_attribute_.Mutable(index);
+}
+inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_search_attribute() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
+ return search_attribute_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ClubStateOptions::search_attribute() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
+ return search_attribute_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ClubStateOptions::mutable_search_attribute() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
+ return &search_attribute_;
+}
+
// -------------------------------------------------------------------
// ClubStateAssignment
@@ -4443,6 +5454,267 @@ inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_n
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.short_name)
}
+// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10;
+inline bool ClubStateAssignment::has_visibility_level() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void ClubStateAssignment::set_has_visibility_level() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void ClubStateAssignment::clear_has_visibility_level() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void ClubStateAssignment::clear_visibility_level() {
+ visibility_level_ = 0;
+ clear_has_visibility_level();
+}
+inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateAssignment::visibility_level() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.visibility_level)
+ return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
+}
+inline void ClubStateAssignment::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
+ assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value));
+ set_has_visibility_level();
+ visibility_level_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.visibility_level)
+}
+
+// optional string locale = 11;
+inline bool ClubStateAssignment::has_locale() const {
+ return (_has_bits_[0] & 0x00000400u) != 0;
+}
+inline void ClubStateAssignment::set_has_locale() {
+ _has_bits_[0] |= 0x00000400u;
+}
+inline void ClubStateAssignment::clear_has_locale() {
+ _has_bits_[0] &= ~0x00000400u;
+}
+inline void ClubStateAssignment::clear_locale() {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_->clear();
+ }
+ clear_has_locale();
+}
+inline const ::std::string& ClubStateAssignment::locale() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.locale)
+ return *locale_;
+}
+inline void ClubStateAssignment::set_locale(const ::std::string& value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.locale)
+}
+inline void ClubStateAssignment::set_locale(const char* value) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.locale)
+}
+inline void ClubStateAssignment::set_locale(const char* value, size_t size) {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ locale_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.locale)
+}
+inline ::std::string* ClubStateAssignment::mutable_locale() {
+ set_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ locale_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.locale)
+ return locale_;
+}
+inline ::std::string* ClubStateAssignment::release_locale() {
+ clear_has_locale();
+ if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = locale_;
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) {
+ if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete locale_;
+ }
+ if (locale) {
+ set_has_locale();
+ locale_ = locale;
+ } else {
+ clear_has_locale();
+ locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.locale)
+}
+
+// optional string timezone = 12;
+inline bool ClubStateAssignment::has_timezone() const {
+ return (_has_bits_[0] & 0x00000800u) != 0;
+}
+inline void ClubStateAssignment::set_has_timezone() {
+ _has_bits_[0] |= 0x00000800u;
+}
+inline void ClubStateAssignment::clear_has_timezone() {
+ _has_bits_[0] &= ~0x00000800u;
+}
+inline void ClubStateAssignment::clear_timezone() {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_->clear();
+ }
+ clear_has_timezone();
+}
+inline const ::std::string& ClubStateAssignment::timezone() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.timezone)
+ return *timezone_;
+}
+inline void ClubStateAssignment::set_timezone(const ::std::string& value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.timezone)
+}
+inline void ClubStateAssignment::set_timezone(const char* value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.timezone)
+}
+inline void ClubStateAssignment::set_timezone(const char* value, size_t size) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.timezone)
+}
+inline ::std::string* ClubStateAssignment::mutable_timezone() {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.timezone)
+ return timezone_;
+}
+inline ::std::string* ClubStateAssignment::release_timezone() {
+ clear_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = timezone_;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (timezone) {
+ set_has_timezone();
+ timezone_ = timezone;
+ } else {
+ clear_has_timezone();
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.timezone)
+}
+
+// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
+inline int ClubStateAssignment::tag_size() const {
+ return tag_.size();
+}
+inline void ClubStateAssignment::clear_tag() {
+ tag_.Clear();
+}
+inline const ::bgs::protocol::club::v1::TagIdentifier& ClubStateAssignment::tag(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag)
+ return tag_.Get(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::mutable_tag(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.tag)
+ return tag_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::add_tag() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.tag)
+ return tag_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+ClubStateAssignment::tag() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.tag)
+ return tag_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+ClubStateAssignment::mutable_tag() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.tag)
+ return &tag_;
+}
+
+// repeated .bgs.protocol.v2.Attribute search_attribute = 14;
+inline int ClubStateAssignment::search_attribute_size() const {
+ return search_attribute_.size();
+}
+inline void ClubStateAssignment::clear_search_attribute() {
+ search_attribute_.Clear();
+}
+inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::search_attribute(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
+ return search_attribute_.Get(index);
+}
+inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_search_attribute(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
+ return search_attribute_.Mutable(index);
+}
+inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_search_attribute() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
+ return search_attribute_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
+ClubStateAssignment::search_attribute() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
+ return search_attribute_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
+ClubStateAssignment::mutable_search_attribute() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
+ return &search_attribute_;
+}
+
+// optional bool tag_cleared = 15;
+inline bool ClubStateAssignment::has_tag_cleared() const {
+ return (_has_bits_[0] & 0x00004000u) != 0;
+}
+inline void ClubStateAssignment::set_has_tag_cleared() {
+ _has_bits_[0] |= 0x00004000u;
+}
+inline void ClubStateAssignment::clear_has_tag_cleared() {
+ _has_bits_[0] &= ~0x00004000u;
+}
+inline void ClubStateAssignment::clear_tag_cleared() {
+ tag_cleared_ = false;
+ clear_has_tag_cleared();
+}
+inline bool ClubStateAssignment::tag_cleared() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared)
+ return tag_cleared_;
+}
+inline void ClubStateAssignment::set_tag_cleared(bool value) {
+ set_has_tag_cleared();
+ tag_cleared_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared)
+}
+
// -------------------------------------------------------------------
// StreamSettings
diff --git a/src/server/proto/Client/club_enum.pb.cc b/src/server/proto/Client/club_enum.pb.cc
index c8a44fb5810..f4609131843 100644
--- a/src/server/proto/Client/club_enum.pb.cc
+++ b/src/server/proto/Client/club_enum.pb.cc
@@ -31,6 +31,7 @@ const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor_ = NUL
const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor_ = NULL;
const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor_ = NULL;
const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor_ = NULL;
+const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor_ = NULL;
} // namespace
@@ -48,6 +49,7 @@ void protobuf_AssignDesc_club_5fenum_2eproto() {
PresenceLevel_descriptor_ = file->enum_type(5);
WhisperLevel_descriptor_ = file->enum_type(6);
StreamNotificationFilter_descriptor_ = file->enum_type(7);
+ JoinClubSource_descriptor_ = file->enum_type(8);
}
namespace {
@@ -101,7 +103,10 @@ void protobuf_AddDesc_club_5fenum_2eproto() {
"tionFilter\022#\n\037STREAM_NOTIFICATION_FILTER"
"_NONE\020\000\022&\n\"STREAM_NOTIFICATION_FILTER_ME"
"NTION\020\001\022\"\n\036STREAM_NOTIFICATION_FILTER_AL"
- "L\020\002B\002H\002", 1087);
+ "L\020\002*w\n\016JoinClubSource\022\031\n\025JOIN_CLUB_SOURC"
+ "E_NONE\020\000\022 \n\034JOIN_CLUB_SOURCE_CLUB_FINDER"
+ "\020\001\022(\n$JOIN_CLUB_SOURCE_CLUB_RECOMMENDATI"
+ "ON\020\002B\002H\002", 1208);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_enum.proto", &protobuf_RegisterTypes);
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fenum_2eproto);
@@ -236,6 +241,21 @@ bool StreamNotificationFilter_IsValid(int value) {
}
}
+const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return JoinClubSource_descriptor_;
+}
+bool JoinClubSource_IsValid(int value) {
+ switch(value) {
+ case 0:
+ case 1:
+ case 2:
+ return true;
+ default:
+ return false;
+ }
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1
diff --git a/src/server/proto/Client/club_enum.pb.h b/src/server/proto/Client/club_enum.pb.h
index 9cdd54836b7..dc0125ad274 100644
--- a/src/server/proto/Client/club_enum.pb.h
+++ b/src/server/proto/Client/club_enum.pb.h
@@ -199,6 +199,26 @@ inline bool StreamNotificationFilter_Parse(
return ::google::protobuf::internal::ParseNamedEnum<StreamNotificationFilter>(
StreamNotificationFilter_descriptor(), name, value);
}
+enum JoinClubSource {
+ JOIN_CLUB_SOURCE_NONE = 0,
+ JOIN_CLUB_SOURCE_CLUB_FINDER = 1,
+ JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION = 2
+};
+TC_PROTO_API bool JoinClubSource_IsValid(int value);
+const JoinClubSource JoinClubSource_MIN = JOIN_CLUB_SOURCE_NONE;
+const JoinClubSource JoinClubSource_MAX = JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION;
+const int JoinClubSource_ARRAYSIZE = JoinClubSource_MAX + 1;
+
+TC_PROTO_API const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor();
+inline const ::std::string& JoinClubSource_Name(JoinClubSource value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ JoinClubSource_descriptor(), value);
+}
+inline bool JoinClubSource_Parse(
+ const ::std::string& name, JoinClubSource* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<JoinClubSource>(
+ JoinClubSource_descriptor(), name, value);
+}
// ===================================================================
// ===================================================================
@@ -256,6 +276,11 @@ template <>
inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::StreamNotificationFilter>() {
return ::bgs::protocol::club::v1::StreamNotificationFilter_descriptor();
}
+template <> struct is_proto_enum< ::bgs::protocol::club::v1::JoinClubSource> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::JoinClubSource>() {
+ return ::bgs::protocol::club::v1::JoinClubSource_descriptor();
+}
} // namespace google
} // namespace protobuf
#endif // SWIG
diff --git a/src/server/proto/Client/club_invitation.pb.cc b/src/server/proto/Client/club_invitation.pb.cc
index cdf6379b055..8ba0d30b41a 100644
--- a/src/server/proto/Client/club_invitation.pb.cc
+++ b/src/server/proto/Client/club_invitation.pb.cc
@@ -110,10 +110,11 @@ void protobuf_AssignDesc_club_5finvitation_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubInvitation));
SendSuggestionOptions_descriptor_ = file->message_type(3);
- static const int SendSuggestionOptions_offsets_[3] = {
+ static const int SendSuggestionOptions_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, target_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, slot_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, attribute_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, join_club_source_),
};
SendSuggestionOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -242,54 +243,57 @@ void protobuf_AddDesc_club_5finvitation_2eproto() {
already_here = true;
GOOGLE_PROTOBUF_VERIFY_VERSION;
+ ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fcore_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto();
::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\025club_invitation.proto\022\024bgs.protocol.cl"
- "ub.v1\032\017club_core.proto\032\021club_member.prot"
- "o\032#api/client/v2/attribute_types.proto\"3"
- "\n\010ClubSlot\022\014\n\004role\030\001 \001(\r\022\031\n\021default_stre"
- "am_id\030\002 \001(\004\"\247\001\n\025SendInvitationOptions\0221\n"
- "\ttarget_id\030\001 \001(\0132\036.bgs.protocol.club.v1."
- "MemberId\022,\n\004slot\030\002 \001(\0132\036.bgs.protocol.cl"
- "ub.v1.ClubSlot\022-\n\tattribute\030\003 \003(\0132\032.bgs."
- "protocol.v2.Attribute\"\216\003\n\016ClubInvitation"
- "\022\n\n\002id\030\001 \001(\006\0228\n\007inviter\030\002 \001(\0132\'.bgs.prot"
- "ocol.club.v1.MemberDescription\0228\n\007invite"
- "e\030\003 \001(\0132\'.bgs.protocol.club.v1.MemberDes"
- "cription\0223\n\004club\030\004 \001(\0132%.bgs.protocol.cl"
- "ub.v1.ClubDescription\022,\n\004slot\030\005 \001(\0132\036.bg"
- "s.protocol.club.v1.ClubSlot\022-\n\tattribute"
- "\030\006 \003(\0132\032.bgs.protocol.v2.Attribute\022\025\n\rcr"
- "eation_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001"
- "(\004\022:\n\tsuggester\030\t \001(\0132\'.bgs.protocol.clu"
- "b.v1.MemberDescription\"\247\001\n\025SendSuggestio"
- "nOptions\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022,\n\004slot\030\002 \001(\0132\036.bgs."
- "protocol.club.v1.ClubSlot\022-\n\tattribute\030\003"
- " \003(\0132\032.bgs.protocol.v2.Attribute\"\262\002\n\016Clu"
- "bSuggestion\022\n\n\002id\030\001 \001(\006\022\017\n\007club_id\030\002 \001(\004"
- "\022:\n\tsuggester\030\003 \001(\0132\'.bgs.protocol.club."
- "v1.MemberDescription\022:\n\tsuggestee\030\004 \001(\0132"
- "\'.bgs.protocol.club.v1.MemberDescription"
- "\022,\n\004slot\030\005 \001(\0132\036.bgs.protocol.club.v1.Cl"
- "ubSlot\022-\n\tattribute\030\006 \003(\0132\032.bgs.protocol"
- ".v2.Attribute\022\025\n\rcreation_time\030\007 \001(\004\022\027\n\017"
- "expiration_time\030\010 \001(\004\"\251\001\n\023CreateTicketOp"
- "tions\022,\n\004slot\030\001 \001(\0132\036.bgs.protocol.club."
- "v1.ClubSlot\022-\n\tattribute\030\002 \003(\0132\032.bgs.pro"
- "tocol.v2.Attribute\022\034\n\024allowed_redeem_cou"
- "nt\030\003 \001(\r\022\027\n\017expiration_time\030\004 \001(\004\"\320\002\n\nCl"
- "ubTicket\022\n\n\002id\030\001 \001(\t\0228\n\007creator\030\002 \001(\0132\'."
- "bgs.protocol.club.v1.MemberDescription\0223"
- "\n\004club\030\003 \001(\0132%.bgs.protocol.club.v1.Club"
- "Description\022,\n\004slot\030\004 \001(\0132\036.bgs.protocol"
- ".club.v1.ClubSlot\022-\n\tattribute\030\005 \003(\0132\032.b"
- "gs.protocol.v2.Attribute\022\034\n\024current_rede"
- "em_count\030\006 \001(\r\022\034\n\024allowed_redeem_count\030\007"
- " \001(\r\022\025\n\rcreation_time\030\010 \001(\004\022\027\n\017expiratio"
- "n_time\030\t \001(\004B\002H\002", 1736);
+ "ub.v1\032%global_extensions/field_options.p"
+ "roto\032\017club_core.proto\032\021club_member.proto"
+ "\032#api/client/v2/attribute_types.proto\"3\n"
+ "\010ClubSlot\022\014\n\004role\030\001 \001(\r\022\031\n\021default_strea"
+ "m_id\030\002 \001(\004\"\247\001\n\025SendInvitationOptions\0221\n\t"
+ "target_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M"
+ "emberId\022,\n\004slot\030\002 \001(\0132\036.bgs.protocol.clu"
+ "b.v1.ClubSlot\022-\n\tattribute\030\003 \003(\0132\032.bgs.p"
+ "rotocol.v2.Attribute\"\216\003\n\016ClubInvitation\022"
+ "\n\n\002id\030\001 \001(\006\0228\n\007inviter\030\002 \001(\0132\'.bgs.proto"
+ "col.club.v1.MemberDescription\0228\n\007invitee"
+ "\030\003 \001(\0132\'.bgs.protocol.club.v1.MemberDesc"
+ "ription\0223\n\004club\030\004 \001(\0132%.bgs.protocol.clu"
+ "b.v1.ClubDescription\022,\n\004slot\030\005 \001(\0132\036.bgs"
+ ".protocol.club.v1.ClubSlot\022-\n\tattribute\030"
+ "\006 \003(\0132\032.bgs.protocol.v2.Attribute\022\025\n\rcre"
+ "ation_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001("
+ "\004\022:\n\tsuggester\030\t \001(\0132\'.bgs.protocol.club"
+ ".v1.MemberDescription\"\327\001\n\025SendSuggestion"
+ "Options\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.protoco"
+ "l.club.v1.MemberId\022,\n\004slot\030\002 \001(\0132\036.bgs.p"
+ "rotocol.club.v1.ClubSlot\022-\n\tattribute\030\003 "
+ "\003(\0132\032.bgs.protocol.v2.Attribute\022.\n\020join_"
+ "club_source\030\004 \001(\rB\024\202\371+\020*\016JoinClubSource\""
+ "\262\002\n\016ClubSuggestion\022\n\n\002id\030\001 \001(\006\022\017\n\007club_i"
+ "d\030\002 \001(\004\022:\n\tsuggester\030\003 \001(\0132\'.bgs.protoco"
+ "l.club.v1.MemberDescription\022:\n\tsuggestee"
+ "\030\004 \001(\0132\'.bgs.protocol.club.v1.MemberDesc"
+ "ription\022,\n\004slot\030\005 \001(\0132\036.bgs.protocol.clu"
+ "b.v1.ClubSlot\022-\n\tattribute\030\006 \003(\0132\032.bgs.p"
+ "rotocol.v2.Attribute\022\025\n\rcreation_time\030\007 "
+ "\001(\004\022\027\n\017expiration_time\030\010 \001(\004\"\251\001\n\023CreateT"
+ "icketOptions\022,\n\004slot\030\001 \001(\0132\036.bgs.protoco"
+ "l.club.v1.ClubSlot\022-\n\tattribute\030\002 \003(\0132\032."
+ "bgs.protocol.v2.Attribute\022\034\n\024allowed_red"
+ "eem_count\030\003 \001(\r\022\027\n\017expiration_time\030\004 \001(\004"
+ "\"\320\002\n\nClubTicket\022\n\n\002id\030\001 \001(\t\0228\n\007creator\030\002"
+ " \001(\0132\'.bgs.protocol.club.v1.MemberDescri"
+ "ption\0223\n\004club\030\003 \001(\0132%.bgs.protocol.club."
+ "v1.ClubDescription\022,\n\004slot\030\004 \001(\0132\036.bgs.p"
+ "rotocol.club.v1.ClubSlot\022-\n\tattribute\030\005 "
+ "\003(\0132\032.bgs.protocol.v2.Attribute\022\034\n\024curre"
+ "nt_redeem_count\030\006 \001(\r\022\034\n\024allowed_redeem_"
+ "count\030\007 \001(\r\022\025\n\rcreation_time\030\010 \001(\004\022\027\n\017ex"
+ "piration_time\030\t \001(\004B\002H\002P\000", 1825);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_invitation.proto", &protobuf_RegisterTypes);
ClubSlot::default_instance_ = new ClubSlot();
@@ -571,6 +575,7 @@ void ClubInvitation::Swap(ClubInvitation* other) {
const int SendSuggestionOptions::kTargetIdFieldNumber;
const int SendSuggestionOptions::kSlotFieldNumber;
const int SendSuggestionOptions::kAttributeFieldNumber;
+const int SendSuggestionOptions::kJoinClubSourceFieldNumber;
#endif // !_MSC_VER
SendSuggestionOptions::SendSuggestionOptions()
@@ -595,6 +600,7 @@ void SendSuggestionOptions::SharedCtor() {
_cached_size_ = 0;
target_id_ = NULL;
slot_ = NULL;
+ join_club_source_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/club_invitation.pb.h b/src/server/proto/Client/club_invitation.pb.h
index 63096c64593..205ec712b8d 100644
--- a/src/server/proto/Client/club_invitation.pb.h
+++ b/src/server/proto/Client/club_invitation.pb.h
@@ -24,6 +24,7 @@
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
+#include "global_extensions/field_options.pb.h" // IWYU pragma: export
#include "club_core.pb.h"
#include "club_member.pb.h"
#include "api/client/v2/attribute_types.pb.h"
@@ -448,12 +449,21 @@ class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message {
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
mutable_attribute();
+ // optional uint32 join_club_source = 4;
+ inline bool has_join_club_source() const;
+ inline void clear_join_club_source();
+ static const int kJoinClubSourceFieldNumber = 4;
+ inline ::google::protobuf::uint32 join_club_source() const;
+ inline void set_join_club_source(::google::protobuf::uint32 value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SendSuggestionOptions)
private:
inline void set_has_target_id();
inline void clear_has_target_id();
inline void set_has_slot();
inline void clear_has_slot();
+ inline void set_has_join_club_source();
+ inline void clear_has_join_club_source();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -462,6 +472,7 @@ class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message {
::bgs::protocol::club::v1::MemberId* target_id_;
::bgs::protocol::club::v1::ClubSlot* slot_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
+ ::google::protobuf::uint32 join_club_source_;
friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto();
friend void protobuf_AssignDesc_club_5finvitation_2eproto();
friend void protobuf_ShutdownFile_club_5finvitation_2eproto();
@@ -1474,6 +1485,30 @@ SendSuggestionOptions::mutable_attribute() {
return &attribute_;
}
+// optional uint32 join_club_source = 4;
+inline bool SendSuggestionOptions::has_join_club_source() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void SendSuggestionOptions::set_has_join_club_source() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void SendSuggestionOptions::clear_has_join_club_source() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void SendSuggestionOptions::clear_join_club_source() {
+ join_club_source_ = 0u;
+ clear_has_join_club_source();
+}
+inline ::google::protobuf::uint32 SendSuggestionOptions::join_club_source() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionOptions.join_club_source)
+ return join_club_source_;
+}
+inline void SendSuggestionOptions::set_join_club_source(::google::protobuf::uint32 value) {
+ set_has_join_club_source();
+ join_club_source_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SendSuggestionOptions.join_club_source)
+}
+
// -------------------------------------------------------------------
// ClubSuggestion
diff --git a/src/server/proto/Client/club_member.pb.cc b/src/server/proto/Client/club_member.pb.cc
index 04be58ed0a5..40824ffa79b 100644
--- a/src/server/proto/Client/club_member.pb.cc
+++ b/src/server/proto/Client/club_member.pb.cc
@@ -424,73 +424,71 @@ void protobuf_AddDesc_club_5fmember_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_5fid_2eproto();
- ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto();
::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto();
::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\021club_member.proto\022\024bgs.protocol.club.v"
- "1\032\024club_member_id.proto\032\'global_extensio"
- "ns/message_options.proto\032#api/client/v2/"
- "attribute_types.proto\032\017club_enum.proto\032\017"
- "rpc_types.proto\"\211\003\n\006Member\022*\n\002id\030\001 \001(\0132\036"
- ".bgs.protocol.club.v1.MemberId\022\032\n\nbattle"
- "_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\020\n\004role\030\003 \003(\rB\002\020\001\022-\n\t"
- "attribute\030\004 \003(\0132\032.bgs.protocol.v2.Attrib"
- "ute\022\021\n\tjoin_time\030\005 \001(\004\022;\n\016presence_level"
- "\030\006 \001(\0162#.bgs.protocol.club.v1.PresenceLe"
- "vel\022\026\n\016moderator_mute\030\007 \001(\010\0229\n\rwhisper_l"
- "evel\030\010 \001(\0162\".bgs.protocol.club.v1.Whispe"
- "rLevel\022\014\n\004note\030\t \001(\t\022\016\n\006active\0302 \001(\010\0225\n\005"
- "voice\0303 \001(\0132&.bgs.protocol.club.v1.Membe"
- "rVoiceState\"Q\n\014MemberResult\0221\n\tmember_id"
- "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\016"
- "\n\006status\030\002 \001(\r\"z\n\023RemoveMemberOptions\022*\n"
- "\002id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI"
- "d\0227\n\006reason\030\002 \001(\0162\'.bgs.protocol.club.v1"
- ".ClubRemovedReason\"~\n\027MemberRemovedAssig"
- "nment\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club.v1"
- ".MemberId\0227\n\006reason\030\002 \001(\0162\'.bgs.protocol"
- ".club.v1.ClubRemovedReason\"\207\001\n\022MemberVoi"
- "ceOptions\022\021\n\tstream_id\030\001 \001(\004\022\016\n\006joined\030\002"
- " \001(\010\022>\n\nmicrophone\030\003 \001(\0162*.bgs.protocol."
- "club.v1.VoiceMicrophoneState\022\016\n\006active\030\004"
- " \001(\010\"\221\001\n\020MemberVoiceState\022\n\n\002id\030\001 \001(\t\022\021\n"
- "\tstream_id\030\002 \001(\004\022\016\n\006joined\030\003 \001(\010\022>\n\nmicr"
- "ophone\030\004 \001(\0162*.bgs.protocol.club.v1.Voic"
- "eMicrophoneState\022\016\n\006active\030\005 \001(\010\"p\n\023Crea"
- "teMemberOptions\022*\n\002id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022-\n\tattribute\030\002 \003(\0132\032"
- ".bgs.protocol.v2.Attribute\"[\n\021MemberDesc"
- "ription\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club."
- "v1.MemberId\022\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\""
- "^\n\013RoleOptions\0221\n\tmember_id\030\001 \001(\0132\036.bgs."
- "protocol.club.v1.MemberId\022\034\n\004role\030\002 \003(\rB"
- "\016\020\001\212\371+\010*\006\n\004\010\001\020\001\"U\n\016RoleAssignment\0221\n\tmem"
- "ber_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb"
- "erId\022\020\n\004role\030\002 \003(\rB\002\020\001\"}\n\031MemberAttribut"
- "eAssignment\0221\n\tmember_id\030\001 \001(\0132\036.bgs.pro"
- "tocol.club.v1.MemberId\022-\n\tattribute\030\002 \003("
- "\0132\032.bgs.protocol.v2.Attribute\"Q\n\026Subscri"
- "berStateOptions\0227\n\005voice\030\001 \001(\0132(.bgs.pro"
- "tocol.club.v1.MemberVoiceOptions\"\225\001\n\031Sub"
- "scriberStateAssignment\0221\n\tmember_id\030\001 \001("
- "\0132\036.bgs.protocol.club.v1.MemberId\022\016\n\006act"
- "ive\030\002 \001(\010\0225\n\005voice\030\003 \001(\0132&.bgs.protocol."
- "club.v1.MemberVoiceState\"\341\001\n\022MemberState"
- "Options\022-\n\tattribute\030\001 \003(\0132\032.bgs.protoco"
- "l.v2.Attribute\022;\n\016presence_level\030\002 \001(\0162#"
- ".bgs.protocol.club.v1.PresenceLevel\022\026\n\016m"
- "oderator_mute\030\003 \001(\010\0229\n\rwhisper_level\030\004 \001"
- "(\0162\".bgs.protocol.club.v1.WhisperLevel\022\014"
- "\n\004note\030\005 \001(\t\"\227\002\n\025MemberStateAssignment\0221"
- "\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club.v1"
- ".MemberId\022-\n\tattribute\030\002 \003(\0132\032.bgs.proto"
- "col.v2.Attribute\022;\n\016presence_level\030\003 \001(\016"
- "2#.bgs.protocol.club.v1.PresenceLevel\022\026\n"
- "\016moderator_mute\030\004 \001(\010\0229\n\rwhisper_level\030\005"
- " \001(\0162\".bgs.protocol.club.v1.WhisperLevel"
- "\022\014\n\004note\030\006 \001(\tB\002H\002P\000", 2460);
+ "1\032\024club_member_id.proto\032#api/client/v2/a"
+ "ttribute_types.proto\032\017club_enum.proto\032\017r"
+ "pc_types.proto\"\211\003\n\006Member\022*\n\002id\030\001 \001(\0132\036."
+ "bgs.protocol.club.v1.MemberId\022\032\n\nbattle_"
+ "tag\030\002 \001(\tB\006\202\371+\002\010\001\022\020\n\004role\030\003 \003(\rB\002\020\001\022-\n\ta"
+ "ttribute\030\004 \003(\0132\032.bgs.protocol.v2.Attribu"
+ "te\022\021\n\tjoin_time\030\005 \001(\004\022;\n\016presence_level\030"
+ "\006 \001(\0162#.bgs.protocol.club.v1.PresenceLev"
+ "el\022\026\n\016moderator_mute\030\007 \001(\010\0229\n\rwhisper_le"
+ "vel\030\010 \001(\0162\".bgs.protocol.club.v1.Whisper"
+ "Level\022\014\n\004note\030\t \001(\t\022\016\n\006active\0302 \001(\010\0225\n\005v"
+ "oice\0303 \001(\0132&.bgs.protocol.club.v1.Member"
+ "VoiceState\"Q\n\014MemberResult\0221\n\tmember_id\030"
+ "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\016\n"
+ "\006status\030\002 \001(\r\"z\n\023RemoveMemberOptions\022*\n\002"
+ "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId"
+ "\0227\n\006reason\030\002 \001(\0162\'.bgs.protocol.club.v1."
+ "ClubRemovedReason\"~\n\027MemberRemovedAssign"
+ "ment\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club.v1."
+ "MemberId\0227\n\006reason\030\002 \001(\0162\'.bgs.protocol."
+ "club.v1.ClubRemovedReason\"\207\001\n\022MemberVoic"
+ "eOptions\022\021\n\tstream_id\030\001 \001(\004\022\016\n\006joined\030\002 "
+ "\001(\010\022>\n\nmicrophone\030\003 \001(\0162*.bgs.protocol.c"
+ "lub.v1.VoiceMicrophoneState\022\016\n\006active\030\004 "
+ "\001(\010\"\221\001\n\020MemberVoiceState\022\n\n\002id\030\001 \001(\t\022\021\n\t"
+ "stream_id\030\002 \001(\004\022\016\n\006joined\030\003 \001(\010\022>\n\nmicro"
+ "phone\030\004 \001(\0162*.bgs.protocol.club.v1.Voice"
+ "MicrophoneState\022\016\n\006active\030\005 \001(\010\"p\n\023Creat"
+ "eMemberOptions\022*\n\002id\030\001 \001(\0132\036.bgs.protoco"
+ "l.club.v1.MemberId\022-\n\tattribute\030\002 \003(\0132\032."
+ "bgs.protocol.v2.Attribute\"[\n\021MemberDescr"
+ "iption\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club.v"
+ "1.MemberId\022\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\"^"
+ "\n\013RoleOptions\0221\n\tmember_id\030\001 \001(\0132\036.bgs.p"
+ "rotocol.club.v1.MemberId\022\034\n\004role\030\002 \003(\rB\016"
+ "\020\001\212\371+\010*\006\n\004\010\001\020\001\"U\n\016RoleAssignment\0221\n\tmemb"
+ "er_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe"
+ "rId\022\020\n\004role\030\002 \003(\rB\002\020\001\"}\n\031MemberAttribute"
+ "Assignment\0221\n\tmember_id\030\001 \001(\0132\036.bgs.prot"
+ "ocol.club.v1.MemberId\022-\n\tattribute\030\002 \003(\013"
+ "2\032.bgs.protocol.v2.Attribute\"Q\n\026Subscrib"
+ "erStateOptions\0227\n\005voice\030\001 \001(\0132(.bgs.prot"
+ "ocol.club.v1.MemberVoiceOptions\"\225\001\n\031Subs"
+ "criberStateAssignment\0221\n\tmember_id\030\001 \001(\013"
+ "2\036.bgs.protocol.club.v1.MemberId\022\016\n\006acti"
+ "ve\030\002 \001(\010\0225\n\005voice\030\003 \001(\0132&.bgs.protocol.c"
+ "lub.v1.MemberVoiceState\"\341\001\n\022MemberStateO"
+ "ptions\022-\n\tattribute\030\001 \003(\0132\032.bgs.protocol"
+ ".v2.Attribute\022;\n\016presence_level\030\002 \001(\0162#."
+ "bgs.protocol.club.v1.PresenceLevel\022\026\n\016mo"
+ "derator_mute\030\003 \001(\010\0229\n\rwhisper_level\030\004 \001("
+ "\0162\".bgs.protocol.club.v1.WhisperLevel\022\014\n"
+ "\004note\030\005 \001(\t\"\227\002\n\025MemberStateAssignment\0221\n"
+ "\tmember_id\030\001 \001(\0132\036.bgs.protocol.club.v1."
+ "MemberId\022-\n\tattribute\030\002 \003(\0132\032.bgs.protoc"
+ "ol.v2.Attribute\022;\n\016presence_level\030\003 \001(\0162"
+ "#.bgs.protocol.club.v1.PresenceLevel\022\026\n\016"
+ "moderator_mute\030\004 \001(\010\0229\n\rwhisper_level\030\005 "
+ "\001(\0162\".bgs.protocol.club.v1.WhisperLevel\022"
+ "\014\n\004note\030\006 \001(\tB\002H\002P\000", 2419);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_member.proto", &protobuf_RegisterTypes);
Member::default_instance_ = new Member();
diff --git a/src/server/proto/Client/club_member.pb.h b/src/server/proto/Client/club_member.pb.h
index c36fb84033a..bfe2dc6ef9a 100644
--- a/src/server/proto/Client/club_member.pb.h
+++ b/src/server/proto/Client/club_member.pb.h
@@ -25,7 +25,6 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "club_member_id.pb.h" // IWYU pragma: export
-#include "global_extensions/message_options.pb.h"
#include "api/client/v2/attribute_types.pb.h"
#include "club_enum.pb.h"
#include "rpc_types.pb.h"
diff --git a/src/server/proto/Client/club_membership_listener.pb.cc b/src/server/proto/Client/club_membership_listener.pb.cc
index 5cc33756f06..ed7ed29004e 100644
--- a/src/server/proto/Client/club_membership_listener.pb.cc
+++ b/src/server/proto/Client/club_membership_listener.pb.cc
@@ -282,7 +282,7 @@ void protobuf_AddDesc_club_5fmembership_5flistener_2eproto() {
"\001(\0132\032.bgs.protocol.TimeSeriesId\"s\n(Strea"
"mMentionAdvanceViewTimeNotification\0224\n\010a"
"gent_id\030\001 \001(\0132\".bgs.protocol.account.v1."
- "AccountId\022\021\n\tview_time\030\003 \001(\0042\337\010\n\026ClubMem"
+ "AccountId\022\021\n\tview_time\030\003 \001(\0042\341\010\n\026ClubMem"
"bershipListener\022j\n\013OnClubAdded\0226.bgs.pro"
"tocol.club.v1.membership.ClubAddedNotifi"
"cation\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010"
@@ -309,8 +309,8 @@ void protobuf_AddDesc_club_5fmembership_5flistener_2eproto() {
"ionAdvanceViewTime\022I.bgs.protocol.club.v"
"1.membership.StreamMentionAdvanceViewTim"
"eNotification\032\031.bgs.protocol.NO_RESPONSE"
- "\"\010\202\371+\004\010\010\030\001\032:\202\371+.\n,bnet.protocol.club.v1."
- "ClubMembershipListener\212\371+\004\010\001\030\001B\005H\002\200\001\000", 2437);
+ "\"\010\202\371+\004\010\010\030\001\032<\202\371+0\n,bnet.protocol.club.v1."
+ "ClubMembershipListener8\001\212\371+\004\010\001\030\001B\005H\002\200\001\000", 2439);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_membership_listener.proto", &protobuf_RegisterTypes);
ClubAddedNotification::default_instance_ = new ClubAddedNotification();
diff --git a/src/server/proto/Client/club_membership_service.pb.cc b/src/server/proto/Client/club_membership_service.pb.cc
index 847066329f5..5da13dcbca6 100644
--- a/src/server/proto/Client/club_membership_service.pb.cc
+++ b/src/server/proto/Client/club_membership_service.pb.cc
@@ -324,7 +324,7 @@ void protobuf_AddDesc_club_5fmembership_5fservice_2eproto() {
".protocol.TimeSeriesId\"c\n#AdvanceStreamM"
"entionViewTimeRequest\022<\n\010agent_id\030\001 \001(\0132"
"\".bgs.protocol.account.v1.AccountIdB\006\202\371+"
- "\002\020\0012\310\007\n\025ClubMembershipService\022z\n\tSubscri"
+ "\002\020\0012\312\007\n\025ClubMembershipService\022z\n\tSubscri"
"be\0221.bgs.protocol.club.v1.membership.Sub"
"scribeRequest\0322.bgs.protocol.club.v1.mem"
"bership.SubscribeResponse\"\006\202\371+\002\010\001\022`\n\013Uns"
@@ -346,9 +346,9 @@ void protobuf_AddDesc_club_5fmembership_5fservice_2eproto() {
"\371+\002\010\006\022\202\001\n\034AdvanceStreamMentionViewTime\022D"
".bgs.protocol.club.v1.membership.Advance"
"StreamMentionViewTimeRequest\032\024.bgs.proto"
- "col.NoData\"\006\202\371+\002\010\007\032J\202\371+>\n+bnet.protocol."
+ "col.NoData\"\006\202\371+\002\010\007\032L\202\371+@\n+bnet.protocol."
"club.v1.ClubMembershipService*\017club_memb"
- "ership\212\371+\004\020\001\030\001B\005H\002\200\001\000", 2301);
+ "ershipH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 2303);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_membership_service.proto", &protobuf_RegisterTypes);
SubscribeRequest::default_instance_ = new SubscribeRequest();
diff --git a/src/server/proto/Client/club_membership_types.pb.cc b/src/server/proto/Client/club_membership_types.pb.cc
index 1fbbaf196d2..3d6df09a82f 100644
--- a/src/server/proto/Client/club_membership_types.pb.cc
+++ b/src/server/proto/Client/club_membership_types.pb.cc
@@ -261,41 +261,43 @@ void protobuf_AddDesc_club_5fmembership_5ftypes_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fcore_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5finvitation_2eproto();
::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\033club_membership_types.proto\022\024bgs.proto"
- "col.club.v1\032\017club_core.proto\032\021club_membe"
- "r.proto\032\025club_invitation.proto\032\026event_vi"
- "ew_types.proto\032\017rpc_types.proto\"}\n\024ClubM"
- "embershipFilter\0221\n\tmember_id\030\001 \001(\0132\036.bgs"
- ".protocol.club.v1.MemberId\0222\n\004type\030\002 \001(\013"
- "2$.bgs.protocol.club.v1.UniqueClubType\"j"
- "\n\036ClubMembershipSubscribeOptions\022H\n\006filt"
- "er\030\001 \003(\0132*.bgs.protocol.club.v1.ClubMemb"
- "ershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"i\n\035ClubMember"
- "shipGetStateOptions\022H\n\006filter\030\001 \003(\0132*.bg"
- "s.protocol.club.v1.ClubMembershipFilterB"
- "\014\212\371+\010*\006\n\004\010\000\020\031\"\203\001\n\031ClubMembershipDescript"
- "ion\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.cl"
- "ub.v1.MemberId\0223\n\004club\030\002 \001(\0132%.bgs.proto"
- "col.club.v1.ClubDescription\"\200\002\n\023ClubMemb"
- "ershipState\022D\n\013description\030\001 \003(\0132/.bgs.p"
- "rotocol.club.v1.ClubMembershipDescriptio"
- "n\0228\n\ninvitation\030\002 \003(\0132$.bgs.protocol.clu"
- "b.v1.ClubInvitation\0229\n\007setting\030\003 \001(\0132(.b"
- "gs.protocol.club.v1.ClubSharedSettings\022."
- "\n\014mention_view\030\004 \001(\0132\030.bgs.protocol.View"
- "Marker\"#\n\014ClubPosition\022\023\n\007club_id\030\001 \003(\004B"
- "\002\020\001\"O\n\022ClubSharedSettings\0229\n\rclub_positi"
- "on\030\001 \001(\0132\".bgs.protocol.club.v1.ClubPosi"
- "tion\"V\n\031ClubSharedSettingsOptions\0229\n\rclu"
- "b_position\030\001 \001(\0132\".bgs.protocol.club.v1."
- "ClubPosition\"Y\n\034ClubSharedSettingsAssign"
- "ment\0229\n\rclub_position\030\001 \001(\0132\".bgs.protoc"
- "ol.club.v1.ClubPositionB\002H\002", 1187);
+ "col.club.v1\032\017club_core.proto\032\017club_type."
+ "proto\032\021club_member.proto\032\025club_invitatio"
+ "n.proto\032\026event_view_types.proto\032\017rpc_typ"
+ "es.proto\"}\n\024ClubMembershipFilter\0221\n\tmemb"
+ "er_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe"
+ "rId\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club.v1"
+ ".UniqueClubType\"j\n\036ClubMembershipSubscri"
+ "beOptions\022H\n\006filter\030\001 \003(\0132*.bgs.protocol"
+ ".club.v1.ClubMembershipFilterB\014\212\371+\010*\006\n\004\010"
+ "\000\020\031\"i\n\035ClubMembershipGetStateOptions\022H\n\006"
+ "filter\030\001 \003(\0132*.bgs.protocol.club.v1.Club"
+ "MembershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"\203\001\n\031ClubM"
+ "embershipDescription\0221\n\tmember_id\030\001 \001(\0132"
+ "\036.bgs.protocol.club.v1.MemberId\0223\n\004club\030"
+ "\002 \001(\0132%.bgs.protocol.club.v1.ClubDescrip"
+ "tion\"\200\002\n\023ClubMembershipState\022D\n\013descript"
+ "ion\030\001 \003(\0132/.bgs.protocol.club.v1.ClubMem"
+ "bershipDescription\0228\n\ninvitation\030\002 \003(\0132$"
+ ".bgs.protocol.club.v1.ClubInvitation\0229\n\007"
+ "setting\030\003 \001(\0132(.bgs.protocol.club.v1.Clu"
+ "bSharedSettings\022.\n\014mention_view\030\004 \001(\0132\030."
+ "bgs.protocol.ViewMarker\"#\n\014ClubPosition\022"
+ "\023\n\007club_id\030\001 \003(\004B\002\020\001\"O\n\022ClubSharedSettin"
+ "gs\0229\n\rclub_position\030\001 \001(\0132\".bgs.protocol"
+ ".club.v1.ClubPosition\"V\n\031ClubSharedSetti"
+ "ngsOptions\0229\n\rclub_position\030\001 \001(\0132\".bgs."
+ "protocol.club.v1.ClubPosition\"Y\n\034ClubSha"
+ "redSettingsAssignment\0229\n\rclub_position\030\001"
+ " \001(\0132\".bgs.protocol.club.v1.ClubPosition"
+ "B\002H\002", 1204);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_membership_types.proto", &protobuf_RegisterTypes);
ClubMembershipFilter::default_instance_ = new ClubMembershipFilter();
diff --git a/src/server/proto/Client/club_membership_types.pb.h b/src/server/proto/Client/club_membership_types.pb.h
index 3f8c357213b..c053212bdeb 100644
--- a/src/server/proto/Client/club_membership_types.pb.h
+++ b/src/server/proto/Client/club_membership_types.pb.h
@@ -25,6 +25,7 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "club_core.pb.h"
+#include "club_type.pb.h"
#include "club_member.pb.h"
#include "club_invitation.pb.h"
#include "event_view_types.pb.h"
diff --git a/src/server/proto/Client/club_name_generator.pb.cc b/src/server/proto/Client/club_name_generator.pb.cc
new file mode 100644
index 00000000000..a59ae5616a1
--- /dev/null
+++ b/src/server/proto/Client/club_name_generator.pb.cc
@@ -0,0 +1,514 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: club_name_generator.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "club_name_generator.pb.h"
+
+#include <utility>
+
+#include <google/protobuf/stubs/common.h>
+#include <google/protobuf/stubs/once.h>
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/wire_format_lite_inl.h>
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/generated_message_reflection.h>
+#include <google/protobuf/reflection_ops.h>
+#include <google/protobuf/wire_format.h>
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+namespace club {
+namespace v1 {
+
+namespace {
+
+const ::google::protobuf::Descriptor* NameGeneratorConfig_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ NameGeneratorConfig_reflection_ = NULL;
+const ::google::protobuf::Descriptor* NameGeneratorScorecard_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ NameGeneratorScorecard_reflection_ = NULL;
+const ::google::protobuf::Descriptor* NameGenerator_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ NameGenerator_reflection_ = NULL;
+const ::google::protobuf::Descriptor* NameGeneratorReplacement_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ NameGeneratorReplacement_reflection_ = NULL;
+
+} // namespace
+
+void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto() {
+ protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "club_name_generator.proto");
+ GOOGLE_CHECK(file != NULL);
+ NameGeneratorConfig_descriptor_ = file->message_type(0);
+ static const int NameGeneratorConfig_offsets_[3] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, name_generators_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, club_type_scorecard_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, locale_scorecard_),
+ };
+ NameGeneratorConfig_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ NameGeneratorConfig_descriptor_,
+ NameGeneratorConfig::default_instance_,
+ NameGeneratorConfig_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(NameGeneratorConfig));
+ NameGeneratorScorecard_descriptor_ = file->message_type(1);
+ static const int NameGeneratorScorecard_offsets_[5] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, is_required_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_match_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_match_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_fallback_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_fallback_),
+ };
+ NameGeneratorScorecard_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ NameGeneratorScorecard_descriptor_,
+ NameGeneratorScorecard::default_instance_,
+ NameGeneratorScorecard_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(NameGeneratorScorecard));
+ NameGenerator_descriptor_ = file->message_type(2);
+ static const int NameGenerator_offsets_[4] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, names_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, replacements_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, club_types_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, locales_),
+ };
+ NameGenerator_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ NameGenerator_descriptor_,
+ NameGenerator::default_instance_,
+ NameGenerator_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(NameGenerator));
+ NameGeneratorReplacement_descriptor_ = file->message_type(3);
+ static const int NameGeneratorReplacement_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, options_),
+ };
+ NameGeneratorReplacement_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ NameGeneratorReplacement_descriptor_,
+ NameGeneratorReplacement::default_instance_,
+ NameGeneratorReplacement_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(NameGeneratorReplacement));
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_club_5fname_5fgenerator_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ NameGeneratorConfig_descriptor_, &NameGeneratorConfig::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ NameGeneratorScorecard_descriptor_, &NameGeneratorScorecard::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ NameGenerator_descriptor_, &NameGenerator::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ NameGeneratorReplacement_descriptor_, &NameGeneratorReplacement::default_instance());
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto() {
+ delete NameGeneratorConfig::default_instance_;
+ delete NameGeneratorConfig_reflection_;
+ delete NameGeneratorScorecard::default_instance_;
+ delete NameGeneratorScorecard_reflection_;
+ delete NameGenerator::default_instance_;
+ delete NameGenerator_reflection_;
+ delete NameGeneratorReplacement::default_instance_;
+ delete NameGeneratorReplacement_reflection_;
+}
+
+void protobuf_AddDesc_club_5fname_5fgenerator_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto();
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n\031club_name_generator.proto\022\024bgs.protoco"
+ "l.club.v1\032\017club_type.proto\"\346\001\n\023NameGener"
+ "atorConfig\022<\n\017name_generators\030\001 \003(\0132#.bg"
+ "s.protocol.club.v1.NameGenerator\022I\n\023club"
+ "_type_scorecard\030\002 \001(\0132,.bgs.protocol.clu"
+ "b.v1.NameGeneratorScorecard\022F\n\020locale_sc"
+ "orecard\030\003 \001(\0132,.bgs.protocol.club.v1.Nam"
+ "eGeneratorScorecard\"\211\001\n\026NameGeneratorSco"
+ "recard\022\023\n\013is_required\030\001 \001(\010\022\022\n\nfull_matc"
+ "h\030\002 \001(\r\022\025\n\rpartial_match\030\003 \001(\r\022\030\n\020partia"
+ "l_fallback\030\004 \001(\r\022\025\n\rfull_fallback\030\005 \001(\r\""
+ "\257\001\n\rNameGenerator\022\r\n\005names\030\001 \003(\t\022D\n\014repl"
+ "acements\030\002 \003(\0132..bgs.protocol.club.v1.Na"
+ "meGeneratorReplacement\0228\n\nclub_types\030\003 \003"
+ "(\0132$.bgs.protocol.club.v1.UniqueClubType"
+ "\022\017\n\007locales\030\004 \003(\t\"7\n\030NameGeneratorReplac"
+ "ement\022\n\n\002id\030\001 \001(\t\022\017\n\007options\030\002 \003(\tB\002H\002P\000", 680);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "club_name_generator.proto", &protobuf_RegisterTypes);
+ NameGeneratorConfig::default_instance_ = new NameGeneratorConfig();
+ NameGeneratorScorecard::default_instance_ = new NameGeneratorScorecard();
+ NameGenerator::default_instance_ = new NameGenerator();
+ NameGeneratorReplacement::default_instance_ = new NameGeneratorReplacement();
+ NameGeneratorConfig::default_instance_->InitAsDefaultInstance();
+ NameGeneratorScorecard::default_instance_->InitAsDefaultInstance();
+ NameGenerator::default_instance_->InitAsDefaultInstance();
+ NameGeneratorReplacement::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_club_5fname_5fgenerator_2eproto {
+ StaticDescriptorInitializer_club_5fname_5fgenerator_2eproto() {
+ protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ }
+} static_descriptor_initializer_club_5fname_5fgenerator_2eproto_;
+// ===================================================================
+
+#ifndef _MSC_VER
+const int NameGeneratorConfig::kNameGeneratorsFieldNumber;
+const int NameGeneratorConfig::kClubTypeScorecardFieldNumber;
+const int NameGeneratorConfig::kLocaleScorecardFieldNumber;
+#endif // !_MSC_VER
+
+NameGeneratorConfig::NameGeneratorConfig()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorConfig)
+}
+
+void NameGeneratorConfig::InitAsDefaultInstance() {
+ club_type_scorecard_ = const_cast< ::bgs::protocol::club::v1::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::NameGeneratorScorecard::default_instance());
+ locale_scorecard_ = const_cast< ::bgs::protocol::club::v1::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::NameGeneratorScorecard::default_instance());
+}
+
+NameGeneratorConfig::NameGeneratorConfig(const NameGeneratorConfig& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorConfig)
+}
+
+void NameGeneratorConfig::SharedCtor() {
+ _cached_size_ = 0;
+ club_type_scorecard_ = NULL;
+ locale_scorecard_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+NameGeneratorConfig::~NameGeneratorConfig() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorConfig)
+ SharedDtor();
+}
+
+void NameGeneratorConfig::SharedDtor() {
+ if (this != default_instance_) {
+ delete club_type_scorecard_;
+ delete locale_scorecard_;
+ }
+}
+
+void NameGeneratorConfig::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* NameGeneratorConfig::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return NameGeneratorConfig_descriptor_;
+}
+
+const NameGeneratorConfig& NameGeneratorConfig::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ return *default_instance_;
+}
+
+NameGeneratorConfig* NameGeneratorConfig::default_instance_ = NULL;
+
+NameGeneratorConfig* NameGeneratorConfig::New() const {
+ return new NameGeneratorConfig;
+}
+
+void NameGeneratorConfig::Swap(NameGeneratorConfig* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata NameGeneratorConfig::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = NameGeneratorConfig_descriptor_;
+ metadata.reflection = NameGeneratorConfig_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int NameGeneratorScorecard::kIsRequiredFieldNumber;
+const int NameGeneratorScorecard::kFullMatchFieldNumber;
+const int NameGeneratorScorecard::kPartialMatchFieldNumber;
+const int NameGeneratorScorecard::kPartialFallbackFieldNumber;
+const int NameGeneratorScorecard::kFullFallbackFieldNumber;
+#endif // !_MSC_VER
+
+NameGeneratorScorecard::NameGeneratorScorecard()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorScorecard)
+}
+
+void NameGeneratorScorecard::InitAsDefaultInstance() {
+}
+
+NameGeneratorScorecard::NameGeneratorScorecard(const NameGeneratorScorecard& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorScorecard)
+}
+
+void NameGeneratorScorecard::SharedCtor() {
+ _cached_size_ = 0;
+ is_required_ = false;
+ full_match_ = 0u;
+ partial_match_ = 0u;
+ partial_fallback_ = 0u;
+ full_fallback_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+NameGeneratorScorecard::~NameGeneratorScorecard() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorScorecard)
+ SharedDtor();
+}
+
+void NameGeneratorScorecard::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void NameGeneratorScorecard::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* NameGeneratorScorecard::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return NameGeneratorScorecard_descriptor_;
+}
+
+const NameGeneratorScorecard& NameGeneratorScorecard::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ return *default_instance_;
+}
+
+NameGeneratorScorecard* NameGeneratorScorecard::default_instance_ = NULL;
+
+NameGeneratorScorecard* NameGeneratorScorecard::New() const {
+ return new NameGeneratorScorecard;
+}
+
+void NameGeneratorScorecard::Swap(NameGeneratorScorecard* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata NameGeneratorScorecard::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = NameGeneratorScorecard_descriptor_;
+ metadata.reflection = NameGeneratorScorecard_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int NameGenerator::kNamesFieldNumber;
+const int NameGenerator::kReplacementsFieldNumber;
+const int NameGenerator::kClubTypesFieldNumber;
+const int NameGenerator::kLocalesFieldNumber;
+#endif // !_MSC_VER
+
+NameGenerator::NameGenerator()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGenerator)
+}
+
+void NameGenerator::InitAsDefaultInstance() {
+}
+
+NameGenerator::NameGenerator(const NameGenerator& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGenerator)
+}
+
+void NameGenerator::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+NameGenerator::~NameGenerator() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGenerator)
+ SharedDtor();
+}
+
+void NameGenerator::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void NameGenerator::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* NameGenerator::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return NameGenerator_descriptor_;
+}
+
+const NameGenerator& NameGenerator::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ return *default_instance_;
+}
+
+NameGenerator* NameGenerator::default_instance_ = NULL;
+
+NameGenerator* NameGenerator::New() const {
+ return new NameGenerator;
+}
+
+void NameGenerator::Swap(NameGenerator* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata NameGenerator::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = NameGenerator_descriptor_;
+ metadata.reflection = NameGenerator_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int NameGeneratorReplacement::kIdFieldNumber;
+const int NameGeneratorReplacement::kOptionsFieldNumber;
+#endif // !_MSC_VER
+
+NameGeneratorReplacement::NameGeneratorReplacement()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorReplacement)
+}
+
+void NameGeneratorReplacement::InitAsDefaultInstance() {
+}
+
+NameGeneratorReplacement::NameGeneratorReplacement(const NameGeneratorReplacement& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorReplacement)
+}
+
+void NameGeneratorReplacement::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+NameGeneratorReplacement::~NameGeneratorReplacement() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorReplacement)
+ SharedDtor();
+}
+
+void NameGeneratorReplacement::SharedDtor() {
+ if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete id_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void NameGeneratorReplacement::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* NameGeneratorReplacement::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return NameGeneratorReplacement_descriptor_;
+}
+
+const NameGeneratorReplacement& NameGeneratorReplacement::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ return *default_instance_;
+}
+
+NameGeneratorReplacement* NameGeneratorReplacement::default_instance_ = NULL;
+
+NameGeneratorReplacement* NameGeneratorReplacement::New() const {
+ return new NameGeneratorReplacement;
+}
+
+void NameGeneratorReplacement::Swap(NameGeneratorReplacement* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata NameGeneratorReplacement::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = NameGeneratorReplacement_descriptor_;
+ metadata.reflection = NameGeneratorReplacement_reflection_;
+ return metadata;
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace v1
+} // namespace club
+} // namespace protocol
+} // namespace bgs
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/Client/club_name_generator.pb.h b/src/server/proto/Client/club_name_generator.pb.h
new file mode 100644
index 00000000000..8c83d631e9e
--- /dev/null
+++ b/src/server/proto/Client/club_name_generator.pb.h
@@ -0,0 +1,1015 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: club_name_generator.proto
+
+#ifndef PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED
+#define PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2006000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/message.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/unknown_field_set.h>
+#include "club_type.pb.h" // IWYU pragma: export
+#include "Define.h" // for TC_PROTO_API
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+namespace club {
+namespace v1 {
+
+// Internal implementation detail -- do not call these.
+void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto();
+void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto();
+
+class NameGeneratorConfig;
+class NameGeneratorScorecard;
+class NameGenerator;
+class NameGeneratorReplacement;
+
+// ===================================================================
+
+class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message {
+ public:
+ NameGeneratorConfig();
+ virtual ~NameGeneratorConfig();
+
+ NameGeneratorConfig(const NameGeneratorConfig& from);
+
+ inline NameGeneratorConfig& operator=(const NameGeneratorConfig& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const NameGeneratorConfig& default_instance();
+
+ void Swap(NameGeneratorConfig* other);
+
+ // implements Message ----------------------------------------------
+
+ NameGeneratorConfig* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1;
+ inline int name_generators_size() const;
+ inline void clear_name_generators();
+ static const int kNameGeneratorsFieldNumber = 1;
+ inline const ::bgs::protocol::club::v1::NameGenerator& name_generators(int index) const;
+ inline ::bgs::protocol::club::v1::NameGenerator* mutable_name_generators(int index);
+ inline ::bgs::protocol::club::v1::NameGenerator* add_name_generators();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >&
+ name_generators() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >*
+ mutable_name_generators();
+
+ // optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2;
+ inline bool has_club_type_scorecard() const;
+ inline void clear_club_type_scorecard();
+ static const int kClubTypeScorecardFieldNumber = 2;
+ inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& club_type_scorecard() const;
+ inline ::bgs::protocol::club::v1::NameGeneratorScorecard* mutable_club_type_scorecard();
+ inline ::bgs::protocol::club::v1::NameGeneratorScorecard* release_club_type_scorecard();
+ inline void set_allocated_club_type_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard);
+
+ // optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3;
+ inline bool has_locale_scorecard() const;
+ inline void clear_locale_scorecard();
+ static const int kLocaleScorecardFieldNumber = 3;
+ inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& locale_scorecard() const;
+ inline ::bgs::protocol::club::v1::NameGeneratorScorecard* mutable_locale_scorecard();
+ inline ::bgs::protocol::club::v1::NameGeneratorScorecard* release_locale_scorecard();
+ inline void set_allocated_locale_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorConfig)
+ private:
+ inline void set_has_club_type_scorecard();
+ inline void clear_has_club_type_scorecard();
+ inline void set_has_locale_scorecard();
+ inline void clear_has_locale_scorecard();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator > name_generators_;
+ ::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard_;
+ ::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto();
+
+ void InitAsDefaultInstance();
+ static NameGeneratorConfig* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message {
+ public:
+ NameGeneratorScorecard();
+ virtual ~NameGeneratorScorecard();
+
+ NameGeneratorScorecard(const NameGeneratorScorecard& from);
+
+ inline NameGeneratorScorecard& operator=(const NameGeneratorScorecard& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const NameGeneratorScorecard& default_instance();
+
+ void Swap(NameGeneratorScorecard* other);
+
+ // implements Message ----------------------------------------------
+
+ NameGeneratorScorecard* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional bool is_required = 1;
+ inline bool has_is_required() const;
+ inline void clear_is_required();
+ static const int kIsRequiredFieldNumber = 1;
+ inline bool is_required() const;
+ inline void set_is_required(bool value);
+
+ // optional uint32 full_match = 2;
+ inline bool has_full_match() const;
+ inline void clear_full_match();
+ static const int kFullMatchFieldNumber = 2;
+ inline ::google::protobuf::uint32 full_match() const;
+ inline void set_full_match(::google::protobuf::uint32 value);
+
+ // optional uint32 partial_match = 3;
+ inline bool has_partial_match() const;
+ inline void clear_partial_match();
+ static const int kPartialMatchFieldNumber = 3;
+ inline ::google::protobuf::uint32 partial_match() const;
+ inline void set_partial_match(::google::protobuf::uint32 value);
+
+ // optional uint32 partial_fallback = 4;
+ inline bool has_partial_fallback() const;
+ inline void clear_partial_fallback();
+ static const int kPartialFallbackFieldNumber = 4;
+ inline ::google::protobuf::uint32 partial_fallback() const;
+ inline void set_partial_fallback(::google::protobuf::uint32 value);
+
+ // optional uint32 full_fallback = 5;
+ inline bool has_full_fallback() const;
+ inline void clear_full_fallback();
+ static const int kFullFallbackFieldNumber = 5;
+ inline ::google::protobuf::uint32 full_fallback() const;
+ inline void set_full_fallback(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorScorecard)
+ private:
+ inline void set_has_is_required();
+ inline void clear_has_is_required();
+ inline void set_has_full_match();
+ inline void clear_has_full_match();
+ inline void set_has_partial_match();
+ inline void clear_has_partial_match();
+ inline void set_has_partial_fallback();
+ inline void clear_has_partial_fallback();
+ inline void set_has_full_fallback();
+ inline void clear_has_full_fallback();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ bool is_required_;
+ ::google::protobuf::uint32 full_match_;
+ ::google::protobuf::uint32 partial_match_;
+ ::google::protobuf::uint32 partial_fallback_;
+ ::google::protobuf::uint32 full_fallback_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto();
+
+ void InitAsDefaultInstance();
+ static NameGeneratorScorecard* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API NameGenerator : public ::google::protobuf::Message {
+ public:
+ NameGenerator();
+ virtual ~NameGenerator();
+
+ NameGenerator(const NameGenerator& from);
+
+ inline NameGenerator& operator=(const NameGenerator& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const NameGenerator& default_instance();
+
+ void Swap(NameGenerator* other);
+
+ // implements Message ----------------------------------------------
+
+ NameGenerator* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated string names = 1;
+ inline int names_size() const;
+ inline void clear_names();
+ static const int kNamesFieldNumber = 1;
+ inline const ::std::string& names(int index) const;
+ inline ::std::string* mutable_names(int index);
+ inline void set_names(int index, const ::std::string& value);
+ inline void set_names(int index, const char* value);
+ inline void set_names(int index, const char* value, size_t size);
+ inline ::std::string* add_names();
+ inline void add_names(const ::std::string& value);
+ inline void add_names(const char* value);
+ inline void add_names(const char* value, size_t size);
+ inline const ::google::protobuf::RepeatedPtrField< ::std::string>& names() const;
+ inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_names();
+
+ // repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2;
+ inline int replacements_size() const;
+ inline void clear_replacements();
+ static const int kReplacementsFieldNumber = 2;
+ inline const ::bgs::protocol::club::v1::NameGeneratorReplacement& replacements(int index) const;
+ inline ::bgs::protocol::club::v1::NameGeneratorReplacement* mutable_replacements(int index);
+ inline ::bgs::protocol::club::v1::NameGeneratorReplacement* add_replacements();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >&
+ replacements() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >*
+ mutable_replacements();
+
+ // repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3;
+ inline int club_types_size() const;
+ inline void clear_club_types();
+ static const int kClubTypesFieldNumber = 3;
+ inline const ::bgs::protocol::club::v1::UniqueClubType& club_types(int index) const;
+ inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_types(int index);
+ inline ::bgs::protocol::club::v1::UniqueClubType* add_club_types();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >&
+ club_types() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >*
+ mutable_club_types();
+
+ // repeated string locales = 4;
+ inline int locales_size() const;
+ inline void clear_locales();
+ static const int kLocalesFieldNumber = 4;
+ inline const ::std::string& locales(int index) const;
+ inline ::std::string* mutable_locales(int index);
+ inline void set_locales(int index, const ::std::string& value);
+ inline void set_locales(int index, const char* value);
+ inline void set_locales(int index, const char* value, size_t size);
+ inline ::std::string* add_locales();
+ inline void add_locales(const ::std::string& value);
+ inline void add_locales(const char* value);
+ inline void add_locales(const char* value, size_t size);
+ inline const ::google::protobuf::RepeatedPtrField< ::std::string>& locales() const;
+ inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_locales();
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGenerator)
+ private:
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::std::string> names_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement > replacements_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > club_types_;
+ ::google::protobuf::RepeatedPtrField< ::std::string> locales_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto();
+
+ void InitAsDefaultInstance();
+ static NameGenerator* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message {
+ public:
+ NameGeneratorReplacement();
+ virtual ~NameGeneratorReplacement();
+
+ NameGeneratorReplacement(const NameGeneratorReplacement& from);
+
+ inline NameGeneratorReplacement& operator=(const NameGeneratorReplacement& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const NameGeneratorReplacement& default_instance();
+
+ void Swap(NameGeneratorReplacement* other);
+
+ // implements Message ----------------------------------------------
+
+ NameGeneratorReplacement* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional string id = 1;
+ inline bool has_id() const;
+ inline void clear_id();
+ static const int kIdFieldNumber = 1;
+ inline const ::std::string& id() const;
+ inline void set_id(const ::std::string& value);
+ inline void set_id(const char* value);
+ inline void set_id(const char* value, size_t size);
+ inline ::std::string* mutable_id();
+ inline ::std::string* release_id();
+ inline void set_allocated_id(::std::string* id);
+
+ // repeated string options = 2;
+ inline int options_size() const;
+ inline void clear_options();
+ static const int kOptionsFieldNumber = 2;
+ inline const ::std::string& options(int index) const;
+ inline ::std::string* mutable_options(int index);
+ inline void set_options(int index, const ::std::string& value);
+ inline void set_options(int index, const char* value);
+ inline void set_options(int index, const char* value, size_t size);
+ inline ::std::string* add_options();
+ inline void add_options(const ::std::string& value);
+ inline void add_options(const char* value);
+ inline void add_options(const char* value, size_t size);
+ inline const ::google::protobuf::RepeatedPtrField< ::std::string>& options() const;
+ inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_options();
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorReplacement)
+ private:
+ inline void set_has_id();
+ inline void clear_has_id();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* id_;
+ ::google::protobuf::RepeatedPtrField< ::std::string> options_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto();
+ friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto();
+
+ void InitAsDefaultInstance();
+ static NameGeneratorReplacement* default_instance_;
+};
+// ===================================================================
+
+// ===================================================================
+
+// ===================================================================
+
+// NameGeneratorConfig
+
+// repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1;
+inline int NameGeneratorConfig::name_generators_size() const {
+ return name_generators_.size();
+}
+inline void NameGeneratorConfig::clear_name_generators() {
+ name_generators_.Clear();
+}
+inline const ::bgs::protocol::club::v1::NameGenerator& NameGeneratorConfig::name_generators(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
+ return name_generators_.Get(index);
+}
+inline ::bgs::protocol::club::v1::NameGenerator* NameGeneratorConfig::mutable_name_generators(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
+ return name_generators_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::NameGenerator* NameGeneratorConfig::add_name_generators() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
+ return name_generators_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >&
+NameGeneratorConfig::name_generators() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
+ return name_generators_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >*
+NameGeneratorConfig::mutable_name_generators() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
+ return &name_generators_;
+}
+
+// optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2;
+inline bool NameGeneratorConfig::has_club_type_scorecard() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void NameGeneratorConfig::set_has_club_type_scorecard() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void NameGeneratorConfig::clear_has_club_type_scorecard() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void NameGeneratorConfig::clear_club_type_scorecard() {
+ if (club_type_scorecard_ != NULL) club_type_scorecard_->::bgs::protocol::club::v1::NameGeneratorScorecard::Clear();
+ clear_has_club_type_scorecard();
+}
+inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& NameGeneratorConfig::club_type_scorecard() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard)
+ return club_type_scorecard_ != NULL ? *club_type_scorecard_ : *default_instance_->club_type_scorecard_;
+}
+inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::mutable_club_type_scorecard() {
+ set_has_club_type_scorecard();
+ if (club_type_scorecard_ == NULL) club_type_scorecard_ = new ::bgs::protocol::club::v1::NameGeneratorScorecard;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard)
+ return club_type_scorecard_;
+}
+inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() {
+ clear_has_club_type_scorecard();
+ ::bgs::protocol::club::v1::NameGeneratorScorecard* temp = club_type_scorecard_;
+ club_type_scorecard_ = NULL;
+ return temp;
+}
+inline void NameGeneratorConfig::set_allocated_club_type_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard) {
+ delete club_type_scorecard_;
+ club_type_scorecard_ = club_type_scorecard;
+ if (club_type_scorecard) {
+ set_has_club_type_scorecard();
+ } else {
+ clear_has_club_type_scorecard();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard)
+}
+
+// optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3;
+inline bool NameGeneratorConfig::has_locale_scorecard() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void NameGeneratorConfig::set_has_locale_scorecard() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void NameGeneratorConfig::clear_has_locale_scorecard() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void NameGeneratorConfig::clear_locale_scorecard() {
+ if (locale_scorecard_ != NULL) locale_scorecard_->::bgs::protocol::club::v1::NameGeneratorScorecard::Clear();
+ clear_has_locale_scorecard();
+}
+inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& NameGeneratorConfig::locale_scorecard() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard)
+ return locale_scorecard_ != NULL ? *locale_scorecard_ : *default_instance_->locale_scorecard_;
+}
+inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::mutable_locale_scorecard() {
+ set_has_locale_scorecard();
+ if (locale_scorecard_ == NULL) locale_scorecard_ = new ::bgs::protocol::club::v1::NameGeneratorScorecard;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard)
+ return locale_scorecard_;
+}
+inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() {
+ clear_has_locale_scorecard();
+ ::bgs::protocol::club::v1::NameGeneratorScorecard* temp = locale_scorecard_;
+ locale_scorecard_ = NULL;
+ return temp;
+}
+inline void NameGeneratorConfig::set_allocated_locale_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard) {
+ delete locale_scorecard_;
+ locale_scorecard_ = locale_scorecard;
+ if (locale_scorecard) {
+ set_has_locale_scorecard();
+ } else {
+ clear_has_locale_scorecard();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard)
+}
+
+// -------------------------------------------------------------------
+
+// NameGeneratorScorecard
+
+// optional bool is_required = 1;
+inline bool NameGeneratorScorecard::has_is_required() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void NameGeneratorScorecard::set_has_is_required() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void NameGeneratorScorecard::clear_has_is_required() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void NameGeneratorScorecard::clear_is_required() {
+ is_required_ = false;
+ clear_has_is_required();
+}
+inline bool NameGeneratorScorecard::is_required() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.is_required)
+ return is_required_;
+}
+inline void NameGeneratorScorecard::set_is_required(bool value) {
+ set_has_is_required();
+ is_required_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.is_required)
+}
+
+// optional uint32 full_match = 2;
+inline bool NameGeneratorScorecard::has_full_match() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void NameGeneratorScorecard::set_has_full_match() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void NameGeneratorScorecard::clear_has_full_match() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void NameGeneratorScorecard::clear_full_match() {
+ full_match_ = 0u;
+ clear_has_full_match();
+}
+inline ::google::protobuf::uint32 NameGeneratorScorecard::full_match() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_match)
+ return full_match_;
+}
+inline void NameGeneratorScorecard::set_full_match(::google::protobuf::uint32 value) {
+ set_has_full_match();
+ full_match_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.full_match)
+}
+
+// optional uint32 partial_match = 3;
+inline bool NameGeneratorScorecard::has_partial_match() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void NameGeneratorScorecard::set_has_partial_match() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void NameGeneratorScorecard::clear_has_partial_match() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void NameGeneratorScorecard::clear_partial_match() {
+ partial_match_ = 0u;
+ clear_has_partial_match();
+}
+inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_match() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match)
+ return partial_match_;
+}
+inline void NameGeneratorScorecard::set_partial_match(::google::protobuf::uint32 value) {
+ set_has_partial_match();
+ partial_match_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match)
+}
+
+// optional uint32 partial_fallback = 4;
+inline bool NameGeneratorScorecard::has_partial_fallback() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void NameGeneratorScorecard::set_has_partial_fallback() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void NameGeneratorScorecard::clear_has_partial_fallback() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void NameGeneratorScorecard::clear_partial_fallback() {
+ partial_fallback_ = 0u;
+ clear_has_partial_fallback();
+}
+inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_fallback() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback)
+ return partial_fallback_;
+}
+inline void NameGeneratorScorecard::set_partial_fallback(::google::protobuf::uint32 value) {
+ set_has_partial_fallback();
+ partial_fallback_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback)
+}
+
+// optional uint32 full_fallback = 5;
+inline bool NameGeneratorScorecard::has_full_fallback() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void NameGeneratorScorecard::set_has_full_fallback() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void NameGeneratorScorecard::clear_has_full_fallback() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void NameGeneratorScorecard::clear_full_fallback() {
+ full_fallback_ = 0u;
+ clear_has_full_fallback();
+}
+inline ::google::protobuf::uint32 NameGeneratorScorecard::full_fallback() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback)
+ return full_fallback_;
+}
+inline void NameGeneratorScorecard::set_full_fallback(::google::protobuf::uint32 value) {
+ set_has_full_fallback();
+ full_fallback_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback)
+}
+
+// -------------------------------------------------------------------
+
+// NameGenerator
+
+// repeated string names = 1;
+inline int NameGenerator::names_size() const {
+ return names_.size();
+}
+inline void NameGenerator::clear_names() {
+ names_.Clear();
+}
+inline const ::std::string& NameGenerator::names(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.names)
+ return names_.Get(index);
+}
+inline ::std::string* NameGenerator::mutable_names(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.names)
+ return names_.Mutable(index);
+}
+inline void NameGenerator::set_names(int index, const ::std::string& value) {
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGenerator.names)
+ names_.Mutable(index)->assign(value);
+}
+inline void NameGenerator::set_names(int index, const char* value) {
+ names_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGenerator.names)
+}
+inline void NameGenerator::set_names(int index, const char* value, size_t size) {
+ names_.Mutable(index)->assign(
+ reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.names)
+}
+inline ::std::string* NameGenerator::add_names() {
+ return names_.Add();
+}
+inline void NameGenerator::add_names(const ::std::string& value) {
+ names_.Add()->assign(value);
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.names)
+}
+inline void NameGenerator::add_names(const char* value) {
+ names_.Add()->assign(value);
+ // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGenerator.names)
+}
+inline void NameGenerator::add_names(const char* value, size_t size) {
+ names_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.names)
+}
+inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
+NameGenerator::names() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.names)
+ return names_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::std::string>*
+NameGenerator::mutable_names() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.names)
+ return &names_;
+}
+
+// repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2;
+inline int NameGenerator::replacements_size() const {
+ return replacements_.size();
+}
+inline void NameGenerator::clear_replacements() {
+ replacements_.Clear();
+}
+inline const ::bgs::protocol::club::v1::NameGeneratorReplacement& NameGenerator::replacements(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.replacements)
+ return replacements_.Get(index);
+}
+inline ::bgs::protocol::club::v1::NameGeneratorReplacement* NameGenerator::mutable_replacements(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.replacements)
+ return replacements_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::NameGeneratorReplacement* NameGenerator::add_replacements() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.replacements)
+ return replacements_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >&
+NameGenerator::replacements() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.replacements)
+ return replacements_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >*
+NameGenerator::mutable_replacements() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.replacements)
+ return &replacements_;
+}
+
+// repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3;
+inline int NameGenerator::club_types_size() const {
+ return club_types_.size();
+}
+inline void NameGenerator::clear_club_types() {
+ club_types_.Clear();
+}
+inline const ::bgs::protocol::club::v1::UniqueClubType& NameGenerator::club_types(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.club_types)
+ return club_types_.Get(index);
+}
+inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::mutable_club_types(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.club_types)
+ return club_types_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::add_club_types() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.club_types)
+ return club_types_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >&
+NameGenerator::club_types() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.club_types)
+ return club_types_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >*
+NameGenerator::mutable_club_types() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.club_types)
+ return &club_types_;
+}
+
+// repeated string locales = 4;
+inline int NameGenerator::locales_size() const {
+ return locales_.size();
+}
+inline void NameGenerator::clear_locales() {
+ locales_.Clear();
+}
+inline const ::std::string& NameGenerator::locales(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.locales)
+ return locales_.Get(index);
+}
+inline ::std::string* NameGenerator::mutable_locales(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.locales)
+ return locales_.Mutable(index);
+}
+inline void NameGenerator::set_locales(int index, const ::std::string& value) {
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGenerator.locales)
+ locales_.Mutable(index)->assign(value);
+}
+inline void NameGenerator::set_locales(int index, const char* value) {
+ locales_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGenerator.locales)
+}
+inline void NameGenerator::set_locales(int index, const char* value, size_t size) {
+ locales_.Mutable(index)->assign(
+ reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.locales)
+}
+inline ::std::string* NameGenerator::add_locales() {
+ return locales_.Add();
+}
+inline void NameGenerator::add_locales(const ::std::string& value) {
+ locales_.Add()->assign(value);
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.locales)
+}
+inline void NameGenerator::add_locales(const char* value) {
+ locales_.Add()->assign(value);
+ // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGenerator.locales)
+}
+inline void NameGenerator::add_locales(const char* value, size_t size) {
+ locales_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.locales)
+}
+inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
+NameGenerator::locales() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.locales)
+ return locales_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::std::string>*
+NameGenerator::mutable_locales() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.locales)
+ return &locales_;
+}
+
+// -------------------------------------------------------------------
+
+// NameGeneratorReplacement
+
+// optional string id = 1;
+inline bool NameGeneratorReplacement::has_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void NameGeneratorReplacement::set_has_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void NameGeneratorReplacement::clear_has_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void NameGeneratorReplacement::clear_id() {
+ if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ id_->clear();
+ }
+ clear_has_id();
+}
+inline const ::std::string& NameGeneratorReplacement::id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.id)
+ return *id_;
+}
+inline void NameGeneratorReplacement::set_id(const ::std::string& value) {
+ set_has_id();
+ if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ id_ = new ::std::string;
+ }
+ id_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.id)
+}
+inline void NameGeneratorReplacement::set_id(const char* value) {
+ set_has_id();
+ if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ id_ = new ::std::string;
+ }
+ id_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.id)
+}
+inline void NameGeneratorReplacement::set_id(const char* value, size_t size) {
+ set_has_id();
+ if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ id_ = new ::std::string;
+ }
+ id_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.id)
+}
+inline ::std::string* NameGeneratorReplacement::mutable_id() {
+ set_has_id();
+ if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ id_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorReplacement.id)
+ return id_;
+}
+inline ::std::string* NameGeneratorReplacement::release_id() {
+ clear_has_id();
+ if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = id_;
+ id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void NameGeneratorReplacement::set_allocated_id(::std::string* id) {
+ if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete id_;
+ }
+ if (id) {
+ set_has_id();
+ id_ = id;
+ } else {
+ clear_has_id();
+ id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorReplacement.id)
+}
+
+// repeated string options = 2;
+inline int NameGeneratorReplacement::options_size() const {
+ return options_.size();
+}
+inline void NameGeneratorReplacement::clear_options() {
+ options_.Clear();
+}
+inline const ::std::string& NameGeneratorReplacement::options(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+ return options_.Get(index);
+}
+inline ::std::string* NameGeneratorReplacement::mutable_options(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+ return options_.Mutable(index);
+}
+inline void NameGeneratorReplacement::set_options(int index, const ::std::string& value) {
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+ options_.Mutable(index)->assign(value);
+}
+inline void NameGeneratorReplacement::set_options(int index, const char* value) {
+ options_.Mutable(index)->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+}
+inline void NameGeneratorReplacement::set_options(int index, const char* value, size_t size) {
+ options_.Mutable(index)->assign(
+ reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+}
+inline ::std::string* NameGeneratorReplacement::add_options() {
+ return options_.Add();
+}
+inline void NameGeneratorReplacement::add_options(const ::std::string& value) {
+ options_.Add()->assign(value);
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+}
+inline void NameGeneratorReplacement::add_options(const char* value) {
+ options_.Add()->assign(value);
+ // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+}
+inline void NameGeneratorReplacement::add_options(const char* value, size_t size) {
+ options_.Add()->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+}
+inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
+NameGeneratorReplacement::options() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+ return options_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::std::string>*
+NameGeneratorReplacement::mutable_options() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorReplacement.options)
+ return &options_;
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace v1
+} // namespace club
+} // namespace protocol
+} // namespace bgs
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED
diff --git a/src/server/proto/Client/club_request.pb.cc b/src/server/proto/Client/club_request.pb.cc
index fdd0d7a4ed5..063916ceaee 100644
--- a/src/server/proto/Client/club_request.pb.cc
+++ b/src/server/proto/Client/club_request.pb.cc
@@ -408,10 +408,12 @@ void protobuf_AssignDesc_club_5frequest_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GetClubTypeRequest));
GetClubTypeResponse_descriptor_ = file->message_type(8);
- static const int GetClubTypeResponse_offsets_[3] = {
+ static const int GetClubTypeResponse_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, role_set_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, range_set_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, platform_tag_set_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, custom_tag_set_),
};
GetClubTypeResponse_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -2017,266 +2019,271 @@ void protobuf_AddDesc_club_5frequest_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftypes_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\022club_request.proto\022\024bgs.protocol.club."
- "v1\032\020club_types.proto\"]\n\020SubscribeRequest"
- "\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v"
- "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"_\n\022U"
- "nsubscribeRequest\0220\n\010agent_id\030\001 \001(\0132\036.bg"
- "s.protocol.club.v1.MemberId\022\027\n\007club_id\030\002"
- " \001(\004B\006\202\371+\002\020\001\"{\n\rCreateRequest\0220\n\010agent_i"
- "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022"
- "8\n\007options\030\002 \001(\0132\'.bgs.protocol.club.v1."
- "ClubCreateOptions\"!\n\016CreateResponse\022\017\n\007c"
- "lub_id\030\001 \001(\004\"[\n\016DestroyRequest\0220\n\010agent_"
- "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId"
- "\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"b\n\025GetDescript"
- "ionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
+ "v1\032\020club_types.proto\032\016club_tag.proto\032\017rp"
+ "c_types.proto\"]\n\020SubscribeRequest\0220\n\010age"
+ "nt_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe"
+ "rId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"_\n\022Unsubscr"
+ "ibeRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
"col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
- "\371+\002\020\001\"M\n\026GetDescriptionResponse\0223\n\004club\030"
- "\001 \001(\0132%.bgs.protocol.club.v1.ClubDescrip"
- "tion\"z\n\022GetClubTypeRequest\0220\n\010agent_id\030\001"
- " \001(\0132\036.bgs.protocol.club.v1.MemberId\0222\n\004"
- "type\030\002 \001(\0132$.bgs.protocol.club.v1.Unique"
- "ClubType\"\271\001\n\023GetClubTypeResponse\0222\n\004type"
- "\030\001 \001(\0132$.bgs.protocol.club.v1.UniqueClub"
- "Type\0223\n\010role_set\030\002 \001(\0132!.bgs.protocol.cl"
- "ub.v1.ClubRoleSet\0229\n\trange_set\030\003 \001(\0132&.b"
- "gs.protocol.club.v1.ClubTypeRangeSet\"\234\001\n"
- "\026UpdateClubStateRequest\0220\n\010agent_id\030\001 \001("
+ "\371+\002\020\001\"{\n\rCreateRequest\0220\n\010agent_id\030\001 \001(\013"
+ "2\036.bgs.protocol.club.v1.MemberId\0228\n\007opti"
+ "ons\030\002 \001(\0132\'.bgs.protocol.club.v1.ClubCre"
+ "ateOptions\"!\n\016CreateResponse\022\017\n\007club_id\030"
+ "\001 \001(\004\"[\n\016DestroyRequest\0220\n\010agent_id\030\001 \001("
"\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007clu"
- "b_id\030\002 \001(\004B\006\202\371+\002\020\001\0227\n\007options\030\003 \001(\0132&.bg"
- "s.protocol.club.v1.ClubStateOptions\"\242\001\n\031"
- "UpdateClubSettingsRequest\0220\n\010agent_id\030\001 "
- "\001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007c"
- "lub_id\030\002 \001(\004B\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132)."
- "bgs.protocol.club.v1.ClubSettingsOptions"
- "\"\231\001\n\020AddMemberRequest\0220\n\010agent_id\030\001 \001(\0132"
- "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_"
- "id\030\002 \001(\004B\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs."
- "protocol.club.v1.CreateMemberOptions\"\224\001\n"
- "\013JoinRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro"
- "tocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B"
- "\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs.protocol."
- "club.v1.CreateMemberOptions\"Y\n\014LeaveRequ"
+ "b_id\030\002 \001(\004B\006\202\371+\002\020\001\"b\n\025GetDescriptionRequ"
"est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu"
- "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"\213"
- "\001\n\013KickRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p"
- "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001("
- "\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001(\0132\036.bgs.proto"
- "col.club.v1.MemberId\"\220\001\n\020GetMemberReques"
- "t\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club."
- "v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\t"
- "member_id\030\003 \001(\0132\036.bgs.protocol.club.v1.M"
- "emberId\"A\n\021GetMemberResponse\022,\n\006member\030\001"
- " \001(\0132\034.bgs.protocol.club.v1.Member\"t\n\021Ge"
- "tMembersRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs."
- "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001"
- "(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\004 \001(\004\"X\n\022GetM"
- "embersResponse\022,\n\006member\030\001 \003(\0132\034.bgs.pro"
- "tocol.club.v1.Member\022\024\n\014continuation\030\002 \001"
- "(\004\"\323\001\n\030UpdateMemberStateRequest\0220\n\010agent"
- "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI"
- "d\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030"
- "\003 \001(\0132\036.bgs.protocol.club.v1.MemberId\0229\n"
- "\007options\030\005 \001(\0132(.bgs.protocol.club.v1.Me"
- "mberStateOptions\"\250\001\n\034UpdateSubscriberSta"
- "teRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371"
- "+\002\020\001\022=\n\007options\030\003 \001(\0132,.bgs.protocol.clu"
- "b.v1.SubscriberStateOptions\"\222\001\n\021AssignRo"
- "leRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
+ "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"M"
+ "\n\026GetDescriptionResponse\0223\n\004club\030\001 \001(\0132%"
+ ".bgs.protocol.club.v1.ClubDescription\"z\n"
+ "\022GetClubTypeRequest\0220\n\010agent_id\030\001 \001(\0132\036."
+ "bgs.protocol.club.v1.MemberId\0222\n\004type\030\002 "
+ "\001(\0132$.bgs.protocol.club.v1.UniqueClubTyp"
+ "e\"\263\002\n\023GetClubTypeResponse\0222\n\004type\030\001 \001(\0132"
+ "$.bgs.protocol.club.v1.UniqueClubType\0223\n"
+ "\010role_set\030\002 \001(\0132!.bgs.protocol.club.v1.C"
+ "lubRoleSet\0229\n\trange_set\030\003 \001(\0132&.bgs.prot"
+ "ocol.club.v1.ClubTypeRangeSet\022<\n\020platfor"
+ "m_tag_set\030\004 \003(\0132\".bgs.protocol.club.v1.L"
+ "ocalizedTag\022:\n\016custom_tag_set\030\005 \003(\0132\".bg"
+ "s.protocol.club.v1.LocalizedTag\"\234\001\n\026Upda"
+ "teClubStateRequest\0220\n\010agent_id\030\001 \001(\0132\036.b"
+ "gs.protocol.club.v1.MemberId\022\027\n\007club_id\030"
+ "\002 \001(\004B\006\202\371+\002\020\001\0227\n\007options\030\003 \001(\0132&.bgs.pro"
+ "tocol.club.v1.ClubStateOptions\"\242\001\n\031Updat"
+ "eClubSettingsRequest\0220\n\010agent_id\030\001 \001(\0132\036"
+ ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i"
+ "d\030\002 \001(\004B\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs.p"
+ "rotocol.club.v1.ClubSettingsOptions\"\231\001\n\020"
+ "AddMemberRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs"
+ ".protocol.club.v1.MemberId\022\027\n\007club_id\030\002 "
+ "\001(\004B\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs.proto"
+ "col.club.v1.CreateMemberOptions\"\224\001\n\013Join"
+ "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol"
+ ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002"
+ "\020\001\022:\n\007options\030\003 \001(\0132).bgs.protocol.club."
+ "v1.CreateMemberOptions\"Y\n\014LeaveRequest\0220"
+ "\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1."
+ "MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"\213\001\n\013Ki"
+ "ckRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
"ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371"
- "+\002\020\001\0222\n\007options\030\003 \001(\0132!.bgs.protocol.clu"
- "b.v1.RoleOptions\"\224\001\n\023UnassignRoleRequest"
- "\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v"
- "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0222\n\007o"
- "ptions\030\003 \001(\0132!.bgs.protocol.club.v1.Role"
- "Options\"\240\001\n\025SendInvitationRequest\0220\n\010age"
- "nt_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe"
- "rId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022<\n\007options\030"
- "\003 \001(\0132+.bgs.protocol.club.v1.SendInvitat"
- "ionOptions\"{\n\027AcceptInvitationRequest\0220\n"
- "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M"
- "emberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvi"
- "tation_id\030\003 \001(\006\"|\n\030DeclineInvitationRequ"
+ "+\002\020\001\0221\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.c"
+ "lub.v1.MemberId\"\220\001\n\020GetMemberRequest\0220\n\010"
+ "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me"
+ "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmembe"
+ "r_id\030\003 \001(\0132\036.bgs.protocol.club.v1.Member"
+ "Id\"A\n\021GetMemberResponse\022,\n\006member\030\001 \001(\0132"
+ "\034.bgs.protocol.club.v1.Member\"t\n\021GetMemb"
+ "ersRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
+ "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
+ "\371+\002\020\001\022\024\n\014continuation\030\004 \001(\004\"X\n\022GetMember"
+ "sResponse\022,\n\006member\030\001 \003(\0132\034.bgs.protocol"
+ ".club.v1.Member\022\024\n\014continuation\030\002 \001(\004\"\323\001"
+ "\n\030UpdateMemberStateRequest\0220\n\010agent_id\030\001"
+ " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007"
+ "club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030\003 \001(\013"
+ "2\036.bgs.protocol.club.v1.MemberId\0229\n\007opti"
+ "ons\030\005 \001(\0132(.bgs.protocol.club.v1.MemberS"
+ "tateOptions\"\250\001\n\034UpdateSubscriberStateReq"
+ "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl"
+ "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022"
+ "=\n\007options\030\003 \001(\0132,.bgs.protocol.club.v1."
+ "SubscriberStateOptions\"\222\001\n\021AssignRoleReq"
+ "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl"
+ "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022"
+ "2\n\007options\030\003 \001(\0132!.bgs.protocol.club.v1."
+ "RoleOptions\"\224\001\n\023UnassignRoleRequest\0220\n\010a"
+ "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem"
+ "berId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0222\n\007option"
+ "s\030\003 \001(\0132!.bgs.protocol.club.v1.RoleOptio"
+ "ns\"\240\001\n\025SendInvitationRequest\0220\n\010agent_id"
+ "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027"
+ "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022<\n\007options\030\003 \001(\013"
+ "2+.bgs.protocol.club.v1.SendInvitationOp"
+ "tions\"{\n\027AcceptInvitationRequest\0220\n\010agen"
+ "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member"
+ "Id\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitatio"
+ "n_id\030\003 \001(\006\"|\n\030DeclineInvitationRequest\0220"
+ "\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1."
+ "MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinv"
+ "itation_id\030\003 \001(\006\"{\n\027RevokeInvitationRequ"
"est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu"
"b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025"
- "\n\rinvitation_id\030\003 \001(\006\"{\n\027RevokeInvitatio"
- "nRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoco"
- "l.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+"
- "\002\020\001\022\025\n\rinvitation_id\030\003 \001(\006\"x\n\024GetInvitat"
- "ionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
- "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
- "\371+\002\020\001\022\025\n\rinvitation_id\030\003 \001(\006\"Q\n\025GetInvit"
- "ationResponse\0228\n\ninvitation\030\001 \001(\0132$.bgs."
- "protocol.club.v1.ClubInvitation\"x\n\025GetIn"
- "vitationsRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs"
- ".protocol.club.v1.MemberId\022\027\n\007club_id\030\002 "
- "\001(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"h\n\026Get"
- "InvitationsResponse\0228\n\ninvitation\030\001 \003(\0132"
- "$.bgs.protocol.club.v1.ClubInvitation\022\024\n"
- "\014continuation\030\002 \001(\004\"\240\001\n\025SendSuggestionRe"
+ "\n\rinvitation_id\030\003 \001(\006\"x\n\024GetInvitationRe"
"quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c"
"lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001"
- "\022<\n\007options\030\003 \001(\0132+.bgs.protocol.club.v1"
- ".SendSuggestionOptions\"{\n\027AcceptSuggesti"
- "onRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371"
- "+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"|\n\030DeclineSu"
- "ggestionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs."
- "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001"
- "(\004B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"x\n\024Get"
- "SuggestionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bg"
- "s.protocol.club.v1.MemberId\022\027\n\007club_id\030\002"
- " \001(\004B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"Q\n\025G"
- "etSuggestionResponse\0228\n\nsuggestion\030\001 \001(\013"
- "2$.bgs.protocol.club.v1.ClubSuggestion\"x"
- "\n\025GetSuggestionsRequest\0220\n\010agent_id\030\001 \001("
- "\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007clu"
- "b_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004"
- "\"h\n\026GetSuggestionsResponse\0228\n\nsuggestion"
- "\030\001 \003(\0132$.bgs.protocol.club.v1.ClubSugges"
- "tion\022\024\n\014continuation\030\002 \001(\004\"\234\001\n\023CreateTic"
- "ketRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
- "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
- "\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs.protocol.cl"
- "ub.v1.CreateTicketOptions\"H\n\024CreateTicke"
- "tResponse\0220\n\006ticket\030\001 \001(\0132 .bgs.protocol"
- ".club.v1.ClubTicket\"t\n\024DestroyTicketRequ"
- "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu"
- "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021"
- "\n\tticket_id\030\003 \001(\t\"Z\n\023RedeemTicketRequest"
+ "\022\025\n\rinvitation_id\030\003 \001(\006\"Q\n\025GetInvitation"
+ "Response\0228\n\ninvitation\030\001 \001(\0132$.bgs.proto"
+ "col.club.v1.ClubInvitation\"x\n\025GetInvitat"
+ "ionsRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot"
+ "ocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006"
+ "\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"h\n\026GetInvit"
+ "ationsResponse\0228\n\ninvitation\030\001 \003(\0132$.bgs"
+ ".protocol.club.v1.ClubInvitation\022\024\n\014cont"
+ "inuation\030\002 \001(\004\"\240\001\n\025SendSuggestionRequest"
"\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v"
- "1.MemberId\022\021\n\tticket_id\030\003 \001(\t\"W\n\020GetTick"
- "etRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022\021\n\tticket_id\030\003 \001(\t\"E"
- "\n\021GetTicketResponse\0220\n\006ticket\030\001 \001(\0132 .bg"
- "s.protocol.club.v1.ClubTicket\"t\n\021GetTick"
- "etsRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
+ "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022<\n\007o"
+ "ptions\030\003 \001(\0132+.bgs.protocol.club.v1.Send"
+ "SuggestionOptions\"{\n\027AcceptSuggestionReq"
+ "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl"
+ "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022"
+ "\025\n\rsuggestion_id\030\003 \001(\006\"|\n\030DeclineSuggest"
+ "ionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
"col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
- "\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"\\\n\022GetTicket"
- "sResponse\0220\n\006ticket\030\001 \003(\0132 .bgs.protocol"
- ".club.v1.ClubTicket\022\024\n\014continuation\030\002 \001("
- "\004\"\220\001\n\rAddBanRequest\0220\n\010agent_id\030\001 \001(\0132\036."
- "bgs.protocol.club.v1.MemberId\022\027\n\007club_id"
- "\030\002 \001(\004B\006\202\371+\002\020\001\0224\n\007options\030\003 \001(\0132#.bgs.pr"
- "otocol.club.v1.AddBanOptions\"\220\001\n\020RemoveB"
- "anRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371"
- "+\002\020\001\0221\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.c"
- "lub.v1.MemberId\"\215\001\n\rGetBanRequest\0220\n\010age"
- "nt_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe"
- "rId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_i"
- "d\030\003 \001(\0132\036.bgs.protocol.club.v1.MemberId\""
- "<\n\016GetBanResponse\022*\n\003ban\030\001 \001(\0132\035.bgs.pro"
- "tocol.club.v1.ClubBan\"q\n\016GetBansRequest\022"
- "0\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1"
- ".MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014co"
- "ntinuation\030\003 \001(\004\"S\n\017GetBansResponse\022*\n\003b"
- "an\030\001 \003(\0132\035.bgs.protocol.club.v1.ClubBan\022"
- "\024\n\014continuation\030\002 \001(\004\"v\n\026SubscribeStream"
- "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol"
- ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002"
- "\020\001\022\021\n\tstream_id\030\003 \003(\004\"x\n\030UnsubscribeStre"
- "amRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc"
- "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371"
- "+\002\020\001\022\021\n\tstream_id\030\003 \003(\004\"\234\001\n\023CreateStream"
- "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol"
- ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002"
- "\020\001\022:\n\007options\030\003 \001(\0132).bgs.protocol.club."
- "v1.CreateStreamOptions\":\n\024CreateStreamRe"
- "sponse\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001"
- "(\004\"t\n\024DestroyStreamRequest\0220\n\010agent_id\030\001"
- " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007"
- "club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004"
- "\"p\n\020GetStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036"
- ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i"
- "d\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"A\n\021Ge"
- "tStreamResponse\022,\n\006stream\030\001 \001(\0132\034.bgs.pr"
- "otocol.club.v1.Stream\"t\n\021GetStreamsReque"
- "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club"
- ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n"
- "\014continuation\030\003 \001(\004\"\210\001\n\022GetStreamsRespon"
- "se\022,\n\006stream\030\001 \003(\0132\034.bgs.protocol.club.v"
- "1.Stream\022.\n\004view\030\002 \003(\0132 .bgs.protocol.cl"
- "ub.v1.StreamView\022\024\n\014continuation\030\003 \001(\004\"\263"
- "\001\n\030UpdateStreamStateRequest\0220\n\010agent_id\030"
- "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n"
- "\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001("
- "\004\0229\n\007options\030\005 \001(\0132(.bgs.protocol.club.v"
- "1.StreamStateOptions\"\204\001\n\025SetStreamFocusR"
- "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol."
- "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020"
- "\001\022\021\n\tstream_id\030\003 \001(\004\022\r\n\005focus\030\004 \001(\010\"\261\001\n\024"
- "CreateMessageRequest\0220\n\010agent_id\030\001 \001(\0132\036"
- ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i"
- "d\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022;\n\007op"
- "tions\030\004 \001(\0132*.bgs.protocol.club.v1.Creat"
- "eMessageOptions\"M\n\025CreateMessageResponse"
- "\0224\n\007message\030\001 \001(\0132#.bgs.protocol.club.v1"
- ".StreamMessage\"\242\001\n\025DestroyMessageRequest"
- "\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v"
- "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\ts"
- "tream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs"
- ".protocol.MessageId\"N\n\026DestroyMessageRes"
- "ponse\0224\n\007message\030\001 \001(\0132#.bgs.protocol.cl"
- "ub.v1.StreamMessage\"\334\001\n\022EditMessageReque"
+ "\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"x\n\024GetSugge"
+ "stionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro"
+ "tocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B"
+ "\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"Q\n\025GetSug"
+ "gestionResponse\0228\n\nsuggestion\030\001 \001(\0132$.bg"
+ "s.protocol.club.v1.ClubSuggestion\"x\n\025Get"
+ "SuggestionsRequest\0220\n\010agent_id\030\001 \001(\0132\036.b"
+ "gs.protocol.club.v1.MemberId\022\027\n\007club_id\030"
+ "\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"h\n\026G"
+ "etSuggestionsResponse\0228\n\nsuggestion\030\001 \003("
+ "\0132$.bgs.protocol.club.v1.ClubSuggestion\022"
+ "\024\n\014continuation\030\002 \001(\004\"\234\001\n\023CreateTicketRe"
+ "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c"
+ "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001"
+ "\022:\n\007options\030\003 \001(\0132).bgs.protocol.club.v1"
+ ".CreateTicketOptions\"H\n\024CreateTicketResp"
+ "onse\0220\n\006ticket\030\001 \001(\0132 .bgs.protocol.club"
+ ".v1.ClubTicket\"t\n\024DestroyTicketRequest\0220"
+ "\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1."
+ "MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\ttic"
+ "ket_id\030\003 \001(\t\"Z\n\023RedeemTicketRequest\0220\n\010a"
+ "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem"
+ "berId\022\021\n\tticket_id\030\003 \001(\t\"W\n\020GetTicketReq"
+ "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl"
+ "ub.v1.MemberId\022\021\n\tticket_id\030\003 \001(\t\"E\n\021Get"
+ "TicketResponse\0220\n\006ticket\030\001 \001(\0132 .bgs.pro"
+ "tocol.club.v1.ClubTicket\"t\n\021GetTicketsRe"
+ "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c"
+ "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001"
+ "\022\024\n\014continuation\030\003 \001(\004\"\\\n\022GetTicketsResp"
+ "onse\0220\n\006ticket\030\001 \003(\0132 .bgs.protocol.club"
+ ".v1.ClubTicket\022\024\n\014continuation\030\002 \001(\004\"\220\001\n"
+ "\rAddBanRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p"
+ "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001("
+ "\004B\006\202\371+\002\020\001\0224\n\007options\030\003 \001(\0132#.bgs.protoco"
+ "l.club.v1.AddBanOptions\"\220\001\n\020RemoveBanReq"
+ "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl"
+ "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022"
+ "1\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.club.v"
+ "1.MemberId\"\215\001\n\rGetBanRequest\0220\n\010agent_id"
+ "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027"
+ "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001"
+ "(\0132\036.bgs.protocol.club.v1.MemberId\"<\n\016Ge"
+ "tBanResponse\022*\n\003ban\030\001 \001(\0132\035.bgs.protocol"
+ ".club.v1.ClubBan\"q\n\016GetBansRequest\0220\n\010ag"
+ "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb"
+ "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continu"
+ "ation\030\003 \001(\004\"S\n\017GetBansResponse\022*\n\003ban\030\001 "
+ "\003(\0132\035.bgs.protocol.club.v1.ClubBan\022\024\n\014co"
+ "ntinuation\030\002 \001(\004\"v\n\026SubscribeStreamReque"
"st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club"
".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n"
- "\tstream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.b"
- "gs.protocol.MessageId\022;\n\007options\030\005 \001(\0132*"
- ".bgs.protocol.club.v1.CreateMessageOptio"
- "ns\"K\n\023EditMessageResponse\0224\n\007message\030\001 \001"
- "(\0132#.bgs.protocol.club.v1.StreamMessage\""
- "w\n\027SetMessagePinnedRequest\0220\n\010agent_id\030\001"
- " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007"
- "club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004"
- "\"\253\001\n\031SetTypingIndicatorRequest\0220\n\010agent_"
- "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId"
- "\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003"
- " \001(\004\0220\n\tindicator\030\004 \001(\0162\035.bgs.protocol.T"
- "ypingIndicator\"\242\001\n\034AdvanceStreamViewTime"
- "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol"
- ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002"
- "\020\001\022 \n\024stream_id_deprecated\030\003 \001(\004B\002\030\001\022\025\n\t"
- "stream_id\030\004 \003(\004B\002\020\001\"\203\001\n#AdvanceStreamMen"
- "tionViewTimeRequest\0220\n\010agent_id\030\001 \001(\0132\036."
- "bgs.protocol.club.v1.MemberId\022\027\n\007club_id"
- "\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"k\n\036Adv"
- "anceActivityViewTimeRequest\0220\n\010agent_id\030"
- "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n"
- "\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"\247\001\n\027GetStreamHist"
- "oryRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
- "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
- "\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022.\n\007options\030\004 \001("
- "\0132\035.bgs.protocol.GetEventOptions\"f\n\030GetS"
- "treamHistoryResponse\0224\n\007message\030\001 \003(\0132#."
- "bgs.protocol.club.v1.StreamMessage\022\024\n\014co"
- "ntinuation\030\002 \001(\004\"\244\001\n\027GetStreamMessageReq"
+ "\tstream_id\030\003 \003(\004\"x\n\030UnsubscribeStreamReq"
"uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl"
"ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022"
- "\021\n\tstream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027"
- ".bgs.protocol.MessageId\"P\n\030GetStreamMess"
- "ageResponse\0224\n\007message\030\001 \001(\0132#.bgs.proto"
- "col.club.v1.StreamMessage\"\223\001\n\026GetClubAct"
- "ivityRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro"
- "tocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B"
- "\006\202\371+\002\020\001\022.\n\007options\030\003 \001(\0132\035.bgs.protocol."
- "GetEventOptions\"/\n\027GetClubActivityRespon"
- "se\022\024\n\014continuation\030\002 \001(\004\"\247\001\n\032GetStreamVo"
- "iceTokenRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs."
+ "\021\n\tstream_id\030\003 \003(\004\"\234\001\n\023CreateStreamReque"
+ "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club"
+ ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022:\n"
+ "\007options\030\003 \001(\0132).bgs.protocol.club.v1.Cr"
+ "eateStreamOptions\":\n\024CreateStreamRespons"
+ "e\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\"t\n"
+ "\024DestroyStreamRequest\0220\n\010agent_id\030\001 \001(\0132"
+ "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_"
+ "id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"p\n\020G"
+ "etStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs."
"protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001"
- "(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022+\n\007version"
- "\030\004 \001(\rB\032\202\371+\026*\024VoiceProviderVersion\"g\n\033Ge"
- "tStreamVoiceTokenResponse\022\023\n\013channel_uri"
- "\030\001 \001(\t\0223\n\013credentials\030\002 \001(\0132\036.bgs.protoc"
- "ol.VoiceCredentials\"\255\001\n\032KickFromStreamVo"
- "iceRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
+ "(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"A\n\021GetStre"
+ "amResponse\022,\n\006stream\030\001 \001(\0132\034.bgs.protoco"
+ "l.club.v1.Stream\"t\n\021GetStreamsRequest\0220\n"
+ "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M"
+ "emberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014cont"
+ "inuation\030\003 \001(\004\"\210\001\n\022GetStreamsResponse\022,\n"
+ "\006stream\030\001 \003(\0132\034.bgs.protocol.club.v1.Str"
+ "eam\022.\n\004view\030\002 \003(\0132 .bgs.protocol.club.v1"
+ ".StreamView\022\024\n\014continuation\030\003 \001(\004\"\263\001\n\030Up"
+ "dateStreamStateRequest\0220\n\010agent_id\030\001 \001(\013"
+ "2\036.bgs.protocol.club.v1.MemberId\022\027\n\007club"
+ "_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\0229\n\007"
+ "options\030\005 \001(\0132(.bgs.protocol.club.v1.Str"
+ "eamStateOptions\"\204\001\n\025SetStreamFocusReques"
+ "t\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club."
+ "v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\t"
+ "stream_id\030\003 \001(\004\022\r\n\005focus\030\004 \001(\010\"\261\001\n\024Creat"
+ "eMessageRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs."
+ "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001"
+ "(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022;\n\007options"
+ "\030\004 \001(\0132*.bgs.protocol.club.v1.CreateMess"
+ "ageOptions\"M\n\025CreateMessageResponse\0224\n\007m"
+ "essage\030\001 \001(\0132#.bgs.protocol.club.v1.Stre"
+ "amMessage\"\242\001\n\025DestroyMessageRequest\0220\n\010a"
+ "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem"
+ "berId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream"
+ "_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.prot"
+ "ocol.MessageId\"N\n\026DestroyMessageResponse"
+ "\0224\n\007message\030\001 \001(\0132#.bgs.protocol.club.v1"
+ ".StreamMessage\"\334\001\n\022EditMessageRequest\0220\n"
+ "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M"
+ "emberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstre"
+ "am_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.pr"
+ "otocol.MessageId\022;\n\007options\030\005 \001(\0132*.bgs."
+ "protocol.club.v1.CreateMessageOptions\"K\n"
+ "\023EditMessageResponse\0224\n\007message\030\001 \001(\0132#."
+ "bgs.protocol.club.v1.StreamMessage\"w\n\027Se"
+ "tMessagePinnedRequest\0220\n\010agent_id\030\001 \001(\0132"
+ "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_"
+ "id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"\253\001\n\031"
+ "SetTypingIndicatorRequest\0220\n\010agent_id\030\001 "
+ "\001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007c"
+ "lub_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022"
+ "0\n\tindicator\030\004 \001(\0162\035.bgs.protocol.Typing"
+ "Indicator\"\242\001\n\034AdvanceStreamViewTimeReque"
+ "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club"
+ ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022 \n"
+ "\024stream_id_deprecated\030\003 \001(\004B\002\030\001\022\025\n\tstrea"
+ "m_id\030\004 \003(\004B\002\020\001\"\203\001\n#AdvanceStreamMentionV"
+ "iewTimeRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p"
+ "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001("
+ "\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"k\n\036AdvanceA"
+ "ctivityViewTimeRequest\0220\n\010agent_id\030\001 \001(\013"
+ "2\036.bgs.protocol.club.v1.MemberId\022\027\n\007club"
+ "_id\030\002 \001(\004B\006\202\371+\002\020\001\"\247\001\n\027GetStreamHistoryRe"
+ "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c"
+ "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001"
+ "\022\021\n\tstream_id\030\003 \001(\004\022.\n\007options\030\004 \001(\0132\035.b"
+ "gs.protocol.GetEventOptions\"f\n\030GetStream"
+ "HistoryResponse\0224\n\007message\030\001 \003(\0132#.bgs.p"
+ "rotocol.club.v1.StreamMessage\022\024\n\014continu"
+ "ation\030\002 \001(\004\"\244\001\n\027GetStreamMessageRequest\022"
+ "0\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1"
+ ".MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tst"
+ "ream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs."
+ "protocol.MessageId\"P\n\030GetStreamMessageRe"
+ "sponse\0224\n\007message\030\001 \001(\0132#.bgs.protocol.c"
+ "lub.v1.StreamMessage\"\223\001\n\026GetClubActivity"
+ "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol"
+ ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002"
+ "\020\001\022.\n\007options\030\003 \001(\0132\035.bgs.protocol.GetEv"
+ "entOptions\"/\n\027GetClubActivityResponse\022\024\n"
+ "\014continuation\030\002 \001(\004\"\247\001\n\032GetStreamVoiceTo"
+ "kenRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto"
"col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202"
- "\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\0221\n\ttarget_id\030\004 "
- "\001(\0132\036.bgs.protocol.club.v1.MemberIdB\002H\002P"
- "\000", 10321);
+ "\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022+\n\007version\030\004 \001("
+ "\rB\032\202\371+\026*\024VoiceProviderVersion\"g\n\033GetStre"
+ "amVoiceTokenResponse\022\023\n\013channel_uri\030\001 \001("
+ "\t\0223\n\013credentials\030\002 \001(\0132\036.bgs.protocol.Vo"
+ "iceCredentials\"\255\001\n\032KickFromStreamVoiceRe"
+ "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c"
+ "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001"
+ "\022\021\n\tstream_id\030\003 \001(\004\0221\n\ttarget_id\030\004 \001(\0132\036"
+ ".bgs.protocol.club.v1.MemberIdB\002H\002P\000P\001", 10478);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_request.proto", &protobuf_RegisterTypes);
SubscribeRequest::default_instance_ = new SubscribeRequest();
@@ -3066,6 +3073,8 @@ void GetClubTypeRequest::Swap(GetClubTypeRequest* other) {
const int GetClubTypeResponse::kTypeFieldNumber;
const int GetClubTypeResponse::kRoleSetFieldNumber;
const int GetClubTypeResponse::kRangeSetFieldNumber;
+const int GetClubTypeResponse::kPlatformTagSetFieldNumber;
+const int GetClubTypeResponse::kCustomTagSetFieldNumber;
#endif // !_MSC_VER
GetClubTypeResponse::GetClubTypeResponse()
diff --git a/src/server/proto/Client/club_request.pb.h b/src/server/proto/Client/club_request.pb.h
index 785929abdaa..428f6a7f47e 100644
--- a/src/server/proto/Client/club_request.pb.h
+++ b/src/server/proto/Client/club_request.pb.h
@@ -25,6 +25,8 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "club_types.pb.h" // IWYU pragma: export
+#include "club_tag.pb.h" // IWYU pragma: export
+#include "rpc_types.pb.h"
#include "Define.h" // for TC_PROTO_API
// @@protoc_insertion_point(includes)
@@ -797,6 +799,30 @@ class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message {
inline ::bgs::protocol::club::v1::ClubTypeRangeSet* release_range_set();
inline void set_allocated_range_set(::bgs::protocol::club::v1::ClubTypeRangeSet* range_set);
+ // repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4;
+ inline int platform_tag_set_size() const;
+ inline void clear_platform_tag_set();
+ static const int kPlatformTagSetFieldNumber = 4;
+ inline const ::bgs::protocol::club::v1::LocalizedTag& platform_tag_set(int index) const;
+ inline ::bgs::protocol::club::v1::LocalizedTag* mutable_platform_tag_set(int index);
+ inline ::bgs::protocol::club::v1::LocalizedTag* add_platform_tag_set();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >&
+ platform_tag_set() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >*
+ mutable_platform_tag_set();
+
+ // repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5;
+ inline int custom_tag_set_size() const;
+ inline void clear_custom_tag_set();
+ static const int kCustomTagSetFieldNumber = 5;
+ inline const ::bgs::protocol::club::v1::LocalizedTag& custom_tag_set(int index) const;
+ inline ::bgs::protocol::club::v1::LocalizedTag* mutable_custom_tag_set(int index);
+ inline ::bgs::protocol::club::v1::LocalizedTag* add_custom_tag_set();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >&
+ custom_tag_set() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >*
+ mutable_custom_tag_set();
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubTypeResponse)
private:
inline void set_has_type();
@@ -813,6 +839,8 @@ class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message {
::bgs::protocol::club::v1::UniqueClubType* type_;
::bgs::protocol::club::v1::ClubRoleSet* role_set_;
::bgs::protocol::club::v1::ClubTypeRangeSet* range_set_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > platform_tag_set_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > custom_tag_set_;
friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto();
friend void protobuf_AssignDesc_club_5frequest_2eproto();
friend void protobuf_ShutdownFile_club_5frequest_2eproto();
@@ -7843,6 +7871,66 @@ inline void GetClubTypeResponse::set_allocated_range_set(::bgs::protocol::club::
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.range_set)
}
+// repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4;
+inline int GetClubTypeResponse::platform_tag_set_size() const {
+ return platform_tag_set_.size();
+}
+inline void GetClubTypeResponse::clear_platform_tag_set() {
+ platform_tag_set_.Clear();
+}
+inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::platform_tag_set(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set)
+ return platform_tag_set_.Get(index);
+}
+inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_platform_tag_set(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set)
+ return platform_tag_set_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_platform_tag_set() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set)
+ return platform_tag_set_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >&
+GetClubTypeResponse::platform_tag_set() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set)
+ return platform_tag_set_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >*
+GetClubTypeResponse::mutable_platform_tag_set() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set)
+ return &platform_tag_set_;
+}
+
+// repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5;
+inline int GetClubTypeResponse::custom_tag_set_size() const {
+ return custom_tag_set_.size();
+}
+inline void GetClubTypeResponse::clear_custom_tag_set() {
+ custom_tag_set_.Clear();
+}
+inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::custom_tag_set(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set)
+ return custom_tag_set_.Get(index);
+}
+inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_custom_tag_set(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set)
+ return custom_tag_set_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_custom_tag_set() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set)
+ return custom_tag_set_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >&
+GetClubTypeResponse::custom_tag_set() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set)
+ return custom_tag_set_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >*
+GetClubTypeResponse::mutable_custom_tag_set() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set)
+ return &custom_tag_set_;
+}
+
// -------------------------------------------------------------------
// UpdateClubStateRequest
diff --git a/src/server/proto/Client/club_stream.pb.cc b/src/server/proto/Client/club_stream.pb.cc
index 97805cecb77..c7be954557e 100644
--- a/src/server/proto/Client/club_stream.pb.cc
+++ b/src/server/proto/Client/club_stream.pb.cc
@@ -261,7 +261,7 @@ void protobuf_AssignDesc_club_5fstream_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(StreamMessage));
StreamMention_descriptor_ = file->message_type(10);
- static const int StreamMention_offsets_[8] = {
+ static const int StreamMention_offsets_[9] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, stream_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_id_),
@@ -270,6 +270,7 @@ void protobuf_AssignDesc_club_5fstream_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, mention_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, member_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_type_),
};
StreamMention_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -504,6 +505,7 @@ void protobuf_AddDesc_club_5fstream_2eproto() {
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto();
::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_embed_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto();
@@ -511,75 +513,77 @@ void protobuf_AddDesc_club_5fstream_2eproto() {
::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\021club_stream.proto\022\024bgs.protocol.club.v"
- "1\032\017club_enum.proto\032\021club_member.proto\032#a"
- "pi/client/v2/attribute_types.proto\032\021embe"
- "d_types.proto\032\026event_view_types.proto\032\023m"
- "essage_types.proto\032\017ets_types.proto\"\'\n\016S"
- "treamPosition\022\025\n\tstream_id\030\001 \003(\004B\002\020\001\" \n\014"
- "StreamAccess\022\020\n\004role\030\001 \003(\rB\002\020\001\"\324\001\n\023Creat"
- "eStreamOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs."
- "protocol.v2.Attribute\022\014\n\004name\030\002 \001(\t\022\017\n\007s"
- "ubject\030\003 \001(\t\0222\n\006access\030\004 \001(\0132\".bgs.proto"
- "col.club.v1.StreamAccess\022;\n\013voice_level\030"
- "\005 \001(\0162&.bgs.protocol.club.v1.StreamVoice"
- "Level\"\373\001\n\006Stream\022\017\n\007club_id\030\001 \001(\004\022\n\n\002id\030"
- "\002 \001(\004\022-\n\tattribute\030\003 \003(\0132\032.bgs.protocol."
- "v2.Attribute\022\014\n\004name\030\004 \001(\t\022\017\n\007subject\030\005 "
- "\001(\t\0222\n\006access\030\006 \001(\0132\".bgs.protocol.club."
- "v1.StreamAccess\022;\n\013voice_level\030\007 \001(\0162&.b"
- "gs.protocol.club.v1.StreamVoiceLevel\022\025\n\r"
- "creation_time\030\010 \001(\004\"-\n\021StreamDescription"
- "\022\n\n\002id\030\002 \001(\004\022\014\n\004name\030\004 \001(\t\"p\n\016MentionCon"
- "tent\022\013\n\003all\030\001 \001(\010\022\014\n\004here\030\002 \001(\010\0221\n\tmembe"
- "r_id\030\003 \003(\0132\036.bgs.protocol.club.v1.Member"
- "Id\022\020\n\004role\030\004 \003(\rB\002\020\001\"^\n\024CreateMessageOpt"
- "ions\022\017\n\007content\030\002 \001(\t\0225\n\007mention\030\003 \001(\0132$"
- ".bgs.protocol.club.v1.MentionContent\"R\n\032"
- "ClubStreamMessageContainer\0224\n\007message\030\001 "
- "\003(\0132#.bgs.protocol.club.v1.StreamMessage"
- "\"\221\001\n\014ContentChain\022\017\n\007content\030\005 \001(\t\022&\n\005em"
- "bed\030\006 \003(\0132\027.bgs.protocol.EmbedInfo\0225\n\007me"
- "ntion\030\007 \001(\0132$.bgs.protocol.club.v1.Menti"
- "onContent\022\021\n\tedit_time\030\010 \001(\004\"\215\002\n\rStreamM"
- "essage\022#\n\002id\030\003 \001(\0132\027.bgs.protocol.Messag"
- "eId\0227\n\006author\030\004 \001(\0132\'.bgs.protocol.club."
- "v1.MemberDescription\0229\n\rcontent_chain\030\006 "
- "\003(\0132\".bgs.protocol.club.v1.ContentChain\022"
- ":\n\tdestroyer\030\017 \001(\0132\'.bgs.protocol.club.v"
- "1.MemberDescription\022\021\n\tdestroyed\030\020 \001(\010\022\024"
- "\n\014destroy_time\030\021 \001(\004\"\305\002\n\rStreamMention\022\017"
- "\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022+\n\nme"
- "ssage_id\030\003 \001(\0132\027.bgs.protocol.MessageId\022"
- "7\n\006author\030\004 \001(\0132\'.bgs.protocol.club.v1.M"
- "emberDescription\022\021\n\tdestroyed\030\005 \001(\010\022.\n\nm"
- "ention_id\030\006 \001(\0132\032.bgs.protocol.TimeSerie"
- "sId\0221\n\tmember_id\030\007 \001(\0132\036.bgs.protocol.cl"
- "ub.v1.MemberId\0224\n\007message\030\010 \001(\0132#.bgs.pr"
- "otocol.club.v1.StreamMessage\"Z\n\nStreamVi"
- "ew\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022("
- "\n\006marker\030\003 \001(\0132\030.bgs.protocol.ViewMarker"
- "\"=\n\025StreamAdvanceViewTime\022\021\n\tstream_id\030\001"
- " \001(\004\022\021\n\tview_time\030\002 \001(\004\"8\n\017StreamEventTi"
- "me\022\021\n\tstream_id\030\001 \001(\004\022\022\n\nevent_time\030\002 \001("
- "\004\"a\n\021StreamMentionView\022\017\n\007club_id\030\001 \001(\004\022"
- "\021\n\tstream_id\030\002 \001(\004\022(\n\006marker\030\003 \001(\0132\030.bgs"
- ".protocol.ViewMarker\"\323\001\n\022StreamStateOpti"
- "ons\022-\n\tattribute\030\001 \003(\0132\032.bgs.protocol.v2"
- ".Attribute\022\014\n\004name\030\002 \001(\t\022\017\n\007subject\030\003 \001("
- "\t\0222\n\006access\030\004 \001(\0132\".bgs.protocol.club.v1"
- ".StreamAccess\022;\n\013voice_level\030\005 \001(\0162&.bgs"
- ".protocol.club.v1.StreamVoiceLevel\"\216\002\n\025S"
- "treamStateAssignment\022\021\n\tstream_id\030\001 \001(\004\022"
- "-\n\tattribute\030\002 \003(\0132\032.bgs.protocol.v2.Att"
- "ribute\022\014\n\004name\030\003 \001(\t\022\017\n\007subject\030\004 \001(\t\0222\n"
- "\006access\030\005 \001(\0132\".bgs.protocol.club.v1.Str"
- "eamAccess\022#\n\033stream_subscription_removed"
- "\030\006 \001(\010\022;\n\013voice_level\030\007 \001(\0162&.bgs.protoc"
- "ol.club.v1.StreamVoiceLevel\"\213\001\n\025StreamTy"
- "pingIndicator\0221\n\tauthor_id\030\001 \001(\0132\036.bgs.p"
- "rotocol.club.v1.MemberId\0220\n\tindicator\030\002 "
- "\001(\0162\035.bgs.protocol.TypingIndicator\022\r\n\005ep"
- "och\030\003 \001(\004B\002H\002", 2773);
+ "1\032\017club_enum.proto\032\021club_member.proto\032\017c"
+ "lub_type.proto\032#api/client/v2/attribute_"
+ "types.proto\032\021embed_types.proto\032\026event_vi"
+ "ew_types.proto\032\023message_types.proto\032\017ets"
+ "_types.proto\"\'\n\016StreamPosition\022\025\n\tstream"
+ "_id\030\001 \003(\004B\002\020\001\" \n\014StreamAccess\022\020\n\004role\030\001 "
+ "\003(\rB\002\020\001\"\324\001\n\023CreateStreamOptions\022-\n\tattri"
+ "bute\030\001 \003(\0132\032.bgs.protocol.v2.Attribute\022\014"
+ "\n\004name\030\002 \001(\t\022\017\n\007subject\030\003 \001(\t\0222\n\006access\030"
+ "\004 \001(\0132\".bgs.protocol.club.v1.StreamAcces"
+ "s\022;\n\013voice_level\030\005 \001(\0162&.bgs.protocol.cl"
+ "ub.v1.StreamVoiceLevel\"\373\001\n\006Stream\022\017\n\007clu"
+ "b_id\030\001 \001(\004\022\n\n\002id\030\002 \001(\004\022-\n\tattribute\030\003 \003("
+ "\0132\032.bgs.protocol.v2.Attribute\022\014\n\004name\030\004 "
+ "\001(\t\022\017\n\007subject\030\005 \001(\t\0222\n\006access\030\006 \001(\0132\".b"
+ "gs.protocol.club.v1.StreamAccess\022;\n\013voic"
+ "e_level\030\007 \001(\0162&.bgs.protocol.club.v1.Str"
+ "eamVoiceLevel\022\025\n\rcreation_time\030\010 \001(\004\"-\n\021"
+ "StreamDescription\022\n\n\002id\030\002 \001(\004\022\014\n\004name\030\004 "
+ "\001(\t\"p\n\016MentionContent\022\013\n\003all\030\001 \001(\010\022\014\n\004he"
+ "re\030\002 \001(\010\0221\n\tmember_id\030\003 \003(\0132\036.bgs.protoc"
+ "ol.club.v1.MemberId\022\020\n\004role\030\004 \003(\rB\002\020\001\"^\n"
+ "\024CreateMessageOptions\022\017\n\007content\030\002 \001(\t\0225"
+ "\n\007mention\030\003 \001(\0132$.bgs.protocol.club.v1.M"
+ "entionContent\"R\n\032ClubStreamMessageContai"
+ "ner\0224\n\007message\030\001 \003(\0132#.bgs.protocol.club"
+ ".v1.StreamMessage\"\221\001\n\014ContentChain\022\017\n\007co"
+ "ntent\030\005 \001(\t\022&\n\005embed\030\006 \003(\0132\027.bgs.protoco"
+ "l.EmbedInfo\0225\n\007mention\030\007 \001(\0132$.bgs.proto"
+ "col.club.v1.MentionContent\022\021\n\tedit_time\030"
+ "\010 \001(\004\"\215\002\n\rStreamMessage\022#\n\002id\030\003 \001(\0132\027.bg"
+ "s.protocol.MessageId\0227\n\006author\030\004 \001(\0132\'.b"
+ "gs.protocol.club.v1.MemberDescription\0229\n"
+ "\rcontent_chain\030\006 \003(\0132\".bgs.protocol.club"
+ ".v1.ContentChain\022:\n\tdestroyer\030\017 \001(\0132\'.bg"
+ "s.protocol.club.v1.MemberDescription\022\021\n\t"
+ "destroyed\030\020 \001(\010\022\024\n\014destroy_time\030\021 \001(\004\"\376\002"
+ "\n\rStreamMention\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstre"
+ "am_id\030\002 \001(\004\022+\n\nmessage_id\030\003 \001(\0132\027.bgs.pr"
+ "otocol.MessageId\0227\n\006author\030\004 \001(\0132\'.bgs.p"
+ "rotocol.club.v1.MemberDescription\022\021\n\tdes"
+ "troyed\030\005 \001(\010\022.\n\nmention_id\030\006 \001(\0132\032.bgs.p"
+ "rotocol.TimeSeriesId\0221\n\tmember_id\030\007 \001(\0132"
+ "\036.bgs.protocol.club.v1.MemberId\0224\n\007messa"
+ "ge\030\010 \001(\0132#.bgs.protocol.club.v1.StreamMe"
+ "ssage\0227\n\tclub_type\030\t \001(\0132$.bgs.protocol."
+ "club.v1.UniqueClubType\"Z\n\nStreamView\022\017\n\007"
+ "club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022(\n\006mark"
+ "er\030\003 \001(\0132\030.bgs.protocol.ViewMarker\"=\n\025St"
+ "reamAdvanceViewTime\022\021\n\tstream_id\030\001 \001(\004\022\021"
+ "\n\tview_time\030\002 \001(\004\"8\n\017StreamEventTime\022\021\n\t"
+ "stream_id\030\001 \001(\004\022\022\n\nevent_time\030\002 \001(\004\"a\n\021S"
+ "treamMentionView\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstr"
+ "eam_id\030\002 \001(\004\022(\n\006marker\030\003 \001(\0132\030.bgs.proto"
+ "col.ViewMarker\"\323\001\n\022StreamStateOptions\022-\n"
+ "\tattribute\030\001 \003(\0132\032.bgs.protocol.v2.Attri"
+ "bute\022\014\n\004name\030\002 \001(\t\022\017\n\007subject\030\003 \001(\t\0222\n\006a"
+ "ccess\030\004 \001(\0132\".bgs.protocol.club.v1.Strea"
+ "mAccess\022;\n\013voice_level\030\005 \001(\0162&.bgs.proto"
+ "col.club.v1.StreamVoiceLevel\"\216\002\n\025StreamS"
+ "tateAssignment\022\021\n\tstream_id\030\001 \001(\004\022-\n\tatt"
+ "ribute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute"
+ "\022\014\n\004name\030\003 \001(\t\022\017\n\007subject\030\004 \001(\t\0222\n\006acces"
+ "s\030\005 \001(\0132\".bgs.protocol.club.v1.StreamAcc"
+ "ess\022#\n\033stream_subscription_removed\030\006 \001(\010"
+ "\022;\n\013voice_level\030\007 \001(\0162&.bgs.protocol.clu"
+ "b.v1.StreamVoiceLevel\"\213\001\n\025StreamTypingIn"
+ "dicator\0221\n\tauthor_id\030\001 \001(\0132\036.bgs.protoco"
+ "l.club.v1.MemberId\0220\n\tindicator\030\002 \001(\0162\035."
+ "bgs.protocol.TypingIndicator\022\r\n\005epoch\030\003 "
+ "\001(\004B\002H\002", 2847);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_stream.proto", &protobuf_RegisterTypes);
StreamPosition::default_instance_ = new StreamPosition();
@@ -1437,6 +1441,7 @@ const int StreamMention::kDestroyedFieldNumber;
const int StreamMention::kMentionIdFieldNumber;
const int StreamMention::kMemberIdFieldNumber;
const int StreamMention::kMessageFieldNumber;
+const int StreamMention::kClubTypeFieldNumber;
#endif // !_MSC_VER
StreamMention::StreamMention()
@@ -1451,6 +1456,7 @@ void StreamMention::InitAsDefaultInstance() {
mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance());
member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance());
message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance());
+ club_type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance());
}
StreamMention::StreamMention(const StreamMention& from)
@@ -1470,6 +1476,7 @@ void StreamMention::SharedCtor() {
mention_id_ = NULL;
member_id_ = NULL;
message_ = NULL;
+ club_type_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -1485,6 +1492,7 @@ void StreamMention::SharedDtor() {
delete mention_id_;
delete member_id_;
delete message_;
+ delete club_type_;
}
}
diff --git a/src/server/proto/Client/club_stream.pb.h b/src/server/proto/Client/club_stream.pb.h
index c35144d3e2e..342fb7230c9 100644
--- a/src/server/proto/Client/club_stream.pb.h
+++ b/src/server/proto/Client/club_stream.pb.h
@@ -26,6 +26,7 @@
#include <google/protobuf/unknown_field_set.h>
#include "club_enum.pb.h"
#include "club_member.pb.h"
+#include "club_type.pb.h"
#include "api/client/v2/attribute_types.pb.h"
#include "embed_types.pb.h"
#include "event_view_types.pb.h"
@@ -1147,6 +1148,15 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message {
inline ::bgs::protocol::club::v1::StreamMessage* release_message();
inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message);
+ // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9;
+ inline bool has_club_type() const;
+ inline void clear_club_type();
+ static const int kClubTypeFieldNumber = 9;
+ inline const ::bgs::protocol::club::v1::UniqueClubType& club_type() const;
+ inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_type();
+ inline ::bgs::protocol::club::v1::UniqueClubType* release_club_type();
+ inline void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMention)
private:
inline void set_has_club_id();
@@ -1165,6 +1175,8 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message {
inline void clear_has_member_id();
inline void set_has_message();
inline void clear_has_message();
+ inline void set_has_club_type();
+ inline void clear_has_club_type();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -1177,6 +1189,7 @@ class TC_PROTO_API StreamMention : public ::google::protobuf::Message {
::bgs::protocol::TimeSeriesId* mention_id_;
::bgs::protocol::club::v1::MemberId* member_id_;
::bgs::protocol::club::v1::StreamMessage* message_;
+ ::bgs::protocol::club::v1::UniqueClubType* club_type_;
bool destroyed_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto();
friend void protobuf_AssignDesc_club_5fstream_2eproto();
@@ -3543,6 +3556,47 @@ inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::Stre
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message)
}
+// optional .bgs.protocol.club.v1.UniqueClubType club_type = 9;
+inline bool StreamMention::has_club_type() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void StreamMention::set_has_club_type() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void StreamMention::clear_has_club_type() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void StreamMention::clear_club_type() {
+ if (club_type_ != NULL) club_type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
+ clear_has_club_type();
+}
+inline const ::bgs::protocol::club::v1::UniqueClubType& StreamMention::club_type() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.club_type)
+ return club_type_ != NULL ? *club_type_ : *default_instance_->club_type_;
+}
+inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::mutable_club_type() {
+ set_has_club_type();
+ if (club_type_ == NULL) club_type_ = new ::bgs::protocol::club::v1::UniqueClubType;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.club_type)
+ return club_type_;
+}
+inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::release_club_type() {
+ clear_has_club_type();
+ ::bgs::protocol::club::v1::UniqueClubType* temp = club_type_;
+ club_type_ = NULL;
+ return temp;
+}
+inline void StreamMention::set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type) {
+ delete club_type_;
+ club_type_ = club_type;
+ if (club_type) {
+ set_has_club_type();
+ } else {
+ clear_has_club_type();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.club_type)
+}
+
// -------------------------------------------------------------------
// StreamView
diff --git a/src/server/proto/Client/club_tag.pb.cc b/src/server/proto/Client/club_tag.pb.cc
new file mode 100644
index 00000000000..d0194082859
--- /dev/null
+++ b/src/server/proto/Client/club_tag.pb.cc
@@ -0,0 +1,434 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: club_tag.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "club_tag.pb.h"
+
+#include <utility>
+
+#include <google/protobuf/stubs/common.h>
+#include <google/protobuf/stubs/once.h>
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/wire_format_lite_inl.h>
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/generated_message_reflection.h>
+#include <google/protobuf/reflection_ops.h>
+#include <google/protobuf/wire_format.h>
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+namespace club {
+namespace v1 {
+
+namespace {
+
+const ::google::protobuf::Descriptor* TagOptions_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ TagOptions_reflection_ = NULL;
+const ::google::protobuf::Descriptor* TagIdentifier_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ TagIdentifier_reflection_ = NULL;
+const ::google::protobuf::Descriptor* LocalizedTag_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ LocalizedTag_reflection_ = NULL;
+const ::google::protobuf::EnumDescriptor* TagAction_descriptor_ = NULL;
+const ::google::protobuf::EnumDescriptor* TagType_descriptor_ = NULL;
+
+} // namespace
+
+void protobuf_AssignDesc_club_5ftag_2eproto() {
+ protobuf_AddDesc_club_5ftag_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "club_tag.proto");
+ GOOGLE_CHECK(file != NULL);
+ TagOptions_descriptor_ = file->message_type(0);
+ static const int TagOptions_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, action_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, tag_),
+ };
+ TagOptions_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ TagOptions_descriptor_,
+ TagOptions::default_instance_,
+ TagOptions_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(TagOptions));
+ TagIdentifier_descriptor_ = file->message_type(1);
+ static const int TagIdentifier_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, type_),
+ };
+ TagIdentifier_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ TagIdentifier_descriptor_,
+ TagIdentifier::default_instance_,
+ TagIdentifier_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(TagIdentifier));
+ LocalizedTag_descriptor_ = file->message_type(2);
+ static const int LocalizedTag_offsets_[3] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, tag_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, description_),
+ };
+ LocalizedTag_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ LocalizedTag_descriptor_,
+ LocalizedTag::default_instance_,
+ LocalizedTag_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(LocalizedTag));
+ TagAction_descriptor_ = file->enum_type(0);
+ TagType_descriptor_ = file->enum_type(1);
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_club_5ftag_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ TagOptions_descriptor_, &TagOptions::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ TagIdentifier_descriptor_, &TagIdentifier::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ LocalizedTag_descriptor_, &LocalizedTag::default_instance());
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_club_5ftag_2eproto() {
+ delete TagOptions::default_instance_;
+ delete TagOptions_reflection_;
+ delete TagIdentifier::default_instance_;
+ delete TagIdentifier_reflection_;
+ delete LocalizedTag::default_instance_;
+ delete LocalizedTag_reflection_;
+}
+
+void protobuf_AddDesc_club_5ftag_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n\016club_tag.proto\022\024bgs.protocol.club.v1\032\017"
+ "rpc_types.proto\"_\n\nTagOptions\022\037\n\006action\030"
+ "\001 \001(\rB\017\202\371+\013*\tTagAction\0220\n\003tag\030\002 \003(\0132#.bg"
+ "s.protocol.club.v1.TagIdentifier\"8\n\rTagI"
+ "dentifier\022\n\n\002id\030\001 \001(\r\022\033\n\004type\030\002 \001(\rB\r\202\371+"
+ "\t*\007TagType\"f\n\014LocalizedTag\0223\n\006tag_id\030\001 \001"
+ "(\0132#.bgs.protocol.club.v1.TagIdentifier\022"
+ "\014\n\004name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t*J\n\tTa"
+ "gAction\022\023\n\017TAG_ACTION_NONE\020\000\022\024\n\020TAG_ACTI"
+ "ON_CLEAR\020\001\022\022\n\016TAG_ACTION_SET\020\002*K\n\007TagTyp"
+ "e\022\024\n\020TAG_TYPE_INVALID\020\000\022\025\n\021TAG_TYPE_PLAT"
+ "FORM\020\001\022\023\n\017TAG_TYPE_CUSTOM\020\002B\002H\002", 471);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "club_tag.proto", &protobuf_RegisterTypes);
+ TagOptions::default_instance_ = new TagOptions();
+ TagIdentifier::default_instance_ = new TagIdentifier();
+ LocalizedTag::default_instance_ = new LocalizedTag();
+ TagOptions::default_instance_->InitAsDefaultInstance();
+ TagIdentifier::default_instance_->InitAsDefaultInstance();
+ LocalizedTag::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftag_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_club_5ftag_2eproto {
+ StaticDescriptorInitializer_club_5ftag_2eproto() {
+ protobuf_AddDesc_club_5ftag_2eproto();
+ }
+} static_descriptor_initializer_club_5ftag_2eproto_;
+const ::google::protobuf::EnumDescriptor* TagAction_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return TagAction_descriptor_;
+}
+bool TagAction_IsValid(int value) {
+ switch(value) {
+ case 0:
+ case 1:
+ case 2:
+ return true;
+ default:
+ return false;
+ }
+}
+
+const ::google::protobuf::EnumDescriptor* TagType_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return TagType_descriptor_;
+}
+bool TagType_IsValid(int value) {
+ switch(value) {
+ case 0:
+ case 1:
+ case 2:
+ return true;
+ default:
+ return false;
+ }
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int TagOptions::kActionFieldNumber;
+const int TagOptions::kTagFieldNumber;
+#endif // !_MSC_VER
+
+TagOptions::TagOptions()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagOptions)
+}
+
+void TagOptions::InitAsDefaultInstance() {
+}
+
+TagOptions::TagOptions(const TagOptions& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagOptions)
+}
+
+void TagOptions::SharedCtor() {
+ _cached_size_ = 0;
+ action_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+TagOptions::~TagOptions() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagOptions)
+ SharedDtor();
+}
+
+void TagOptions::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void TagOptions::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* TagOptions::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return TagOptions_descriptor_;
+}
+
+const TagOptions& TagOptions::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto();
+ return *default_instance_;
+}
+
+TagOptions* TagOptions::default_instance_ = NULL;
+
+TagOptions* TagOptions::New() const {
+ return new TagOptions;
+}
+
+void TagOptions::Swap(TagOptions* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata TagOptions::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = TagOptions_descriptor_;
+ metadata.reflection = TagOptions_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int TagIdentifier::kIdFieldNumber;
+const int TagIdentifier::kTypeFieldNumber;
+#endif // !_MSC_VER
+
+TagIdentifier::TagIdentifier()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagIdentifier)
+}
+
+void TagIdentifier::InitAsDefaultInstance() {
+}
+
+TagIdentifier::TagIdentifier(const TagIdentifier& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagIdentifier)
+}
+
+void TagIdentifier::SharedCtor() {
+ _cached_size_ = 0;
+ id_ = 0u;
+ type_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+TagIdentifier::~TagIdentifier() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagIdentifier)
+ SharedDtor();
+}
+
+void TagIdentifier::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void TagIdentifier::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* TagIdentifier::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return TagIdentifier_descriptor_;
+}
+
+const TagIdentifier& TagIdentifier::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto();
+ return *default_instance_;
+}
+
+TagIdentifier* TagIdentifier::default_instance_ = NULL;
+
+TagIdentifier* TagIdentifier::New() const {
+ return new TagIdentifier;
+}
+
+void TagIdentifier::Swap(TagIdentifier* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata TagIdentifier::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = TagIdentifier_descriptor_;
+ metadata.reflection = TagIdentifier_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int LocalizedTag::kTagIdFieldNumber;
+const int LocalizedTag::kNameFieldNumber;
+const int LocalizedTag::kDescriptionFieldNumber;
+#endif // !_MSC_VER
+
+LocalizedTag::LocalizedTag()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.LocalizedTag)
+}
+
+void LocalizedTag::InitAsDefaultInstance() {
+ tag_id_ = const_cast< ::bgs::protocol::club::v1::TagIdentifier*>(&::bgs::protocol::club::v1::TagIdentifier::default_instance());
+}
+
+LocalizedTag::LocalizedTag(const LocalizedTag& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.LocalizedTag)
+}
+
+void LocalizedTag::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ tag_id_ = NULL;
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+LocalizedTag::~LocalizedTag() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.LocalizedTag)
+ SharedDtor();
+}
+
+void LocalizedTag::SharedDtor() {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete name_;
+ }
+ if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete description_;
+ }
+ if (this != default_instance_) {
+ delete tag_id_;
+ }
+}
+
+void LocalizedTag::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* LocalizedTag::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return LocalizedTag_descriptor_;
+}
+
+const LocalizedTag& LocalizedTag::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto();
+ return *default_instance_;
+}
+
+LocalizedTag* LocalizedTag::default_instance_ = NULL;
+
+LocalizedTag* LocalizedTag::New() const {
+ return new LocalizedTag;
+}
+
+void LocalizedTag::Swap(LocalizedTag* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata LocalizedTag::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = LocalizedTag_descriptor_;
+ metadata.reflection = LocalizedTag_reflection_;
+ return metadata;
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace v1
+} // namespace club
+} // namespace protocol
+} // namespace bgs
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/Client/club_tag.pb.h b/src/server/proto/Client/club_tag.pb.h
new file mode 100644
index 00000000000..1795e6bdd3f
--- /dev/null
+++ b/src/server/proto/Client/club_tag.pb.h
@@ -0,0 +1,676 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: club_tag.proto
+
+#ifndef PROTOBUF_club_5ftag_2eproto__INCLUDED
+#define PROTOBUF_club_5ftag_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2006000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/message.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/generated_enum_reflection.h>
+#include <google/protobuf/unknown_field_set.h>
+#include "rpc_types.pb.h"
+#include "Define.h" // for TC_PROTO_API
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+namespace club {
+namespace v1 {
+
+// Internal implementation detail -- do not call these.
+void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto();
+void protobuf_AssignDesc_club_5ftag_2eproto();
+void protobuf_ShutdownFile_club_5ftag_2eproto();
+
+class TagOptions;
+class TagIdentifier;
+class LocalizedTag;
+
+enum TagAction {
+ TAG_ACTION_NONE = 0,
+ TAG_ACTION_CLEAR = 1,
+ TAG_ACTION_SET = 2
+};
+TC_PROTO_API bool TagAction_IsValid(int value);
+const TagAction TagAction_MIN = TAG_ACTION_NONE;
+const TagAction TagAction_MAX = TAG_ACTION_SET;
+const int TagAction_ARRAYSIZE = TagAction_MAX + 1;
+
+TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagAction_descriptor();
+inline const ::std::string& TagAction_Name(TagAction value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ TagAction_descriptor(), value);
+}
+inline bool TagAction_Parse(
+ const ::std::string& name, TagAction* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<TagAction>(
+ TagAction_descriptor(), name, value);
+}
+enum TagType {
+ TAG_TYPE_INVALID = 0,
+ TAG_TYPE_PLATFORM = 1,
+ TAG_TYPE_CUSTOM = 2
+};
+TC_PROTO_API bool TagType_IsValid(int value);
+const TagType TagType_MIN = TAG_TYPE_INVALID;
+const TagType TagType_MAX = TAG_TYPE_CUSTOM;
+const int TagType_ARRAYSIZE = TagType_MAX + 1;
+
+TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagType_descriptor();
+inline const ::std::string& TagType_Name(TagType value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ TagType_descriptor(), value);
+}
+inline bool TagType_Parse(
+ const ::std::string& name, TagType* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<TagType>(
+ TagType_descriptor(), name, value);
+}
+// ===================================================================
+
+class TC_PROTO_API TagOptions : public ::google::protobuf::Message {
+ public:
+ TagOptions();
+ virtual ~TagOptions();
+
+ TagOptions(const TagOptions& from);
+
+ inline TagOptions& operator=(const TagOptions& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const TagOptions& default_instance();
+
+ void Swap(TagOptions* other);
+
+ // implements Message ----------------------------------------------
+
+ TagOptions* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional uint32 action = 1;
+ inline bool has_action() const;
+ inline void clear_action();
+ static const int kActionFieldNumber = 1;
+ inline ::google::protobuf::uint32 action() const;
+ inline void set_action(::google::protobuf::uint32 value);
+
+ // repeated .bgs.protocol.club.v1.TagIdentifier tag = 2;
+ inline int tag_size() const;
+ inline void clear_tag();
+ static const int kTagFieldNumber = 2;
+ inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
+ inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
+ inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+ tag() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+ mutable_tag();
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagOptions)
+ private:
+ inline void set_has_action();
+ inline void clear_has_action();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
+ ::google::protobuf::uint32 action_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto();
+ friend void protobuf_AssignDesc_club_5ftag_2eproto();
+ friend void protobuf_ShutdownFile_club_5ftag_2eproto();
+
+ void InitAsDefaultInstance();
+ static TagOptions* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API TagIdentifier : public ::google::protobuf::Message {
+ public:
+ TagIdentifier();
+ virtual ~TagIdentifier();
+
+ TagIdentifier(const TagIdentifier& from);
+
+ inline TagIdentifier& operator=(const TagIdentifier& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const TagIdentifier& default_instance();
+
+ void Swap(TagIdentifier* other);
+
+ // implements Message ----------------------------------------------
+
+ TagIdentifier* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional uint32 id = 1;
+ inline bool has_id() const;
+ inline void clear_id();
+ static const int kIdFieldNumber = 1;
+ inline ::google::protobuf::uint32 id() const;
+ inline void set_id(::google::protobuf::uint32 value);
+
+ // optional uint32 type = 2;
+ inline bool has_type() const;
+ inline void clear_type();
+ static const int kTypeFieldNumber = 2;
+ inline ::google::protobuf::uint32 type() const;
+ inline void set_type(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagIdentifier)
+ private:
+ inline void set_has_id();
+ inline void clear_has_id();
+ inline void set_has_type();
+ inline void clear_has_type();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint32 id_;
+ ::google::protobuf::uint32 type_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto();
+ friend void protobuf_AssignDesc_club_5ftag_2eproto();
+ friend void protobuf_ShutdownFile_club_5ftag_2eproto();
+
+ void InitAsDefaultInstance();
+ static TagIdentifier* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API LocalizedTag : public ::google::protobuf::Message {
+ public:
+ LocalizedTag();
+ virtual ~LocalizedTag();
+
+ LocalizedTag(const LocalizedTag& from);
+
+ inline LocalizedTag& operator=(const LocalizedTag& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const LocalizedTag& default_instance();
+
+ void Swap(LocalizedTag* other);
+
+ // implements Message ----------------------------------------------
+
+ LocalizedTag* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1;
+ inline bool has_tag_id() const;
+ inline void clear_tag_id();
+ static const int kTagIdFieldNumber = 1;
+ inline const ::bgs::protocol::club::v1::TagIdentifier& tag_id() const;
+ inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag_id();
+ inline ::bgs::protocol::club::v1::TagIdentifier* release_tag_id();
+ inline void set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id);
+
+ // optional string name = 2;
+ inline bool has_name() const;
+ inline void clear_name();
+ static const int kNameFieldNumber = 2;
+ inline const ::std::string& name() const;
+ inline void set_name(const ::std::string& value);
+ inline void set_name(const char* value);
+ inline void set_name(const char* value, size_t size);
+ inline ::std::string* mutable_name();
+ inline ::std::string* release_name();
+ inline void set_allocated_name(::std::string* name);
+
+ // optional string description = 3;
+ inline bool has_description() const;
+ inline void clear_description();
+ static const int kDescriptionFieldNumber = 3;
+ inline const ::std::string& description() const;
+ inline void set_description(const ::std::string& value);
+ inline void set_description(const char* value);
+ inline void set_description(const char* value, size_t size);
+ inline ::std::string* mutable_description();
+ inline ::std::string* release_description();
+ inline void set_allocated_description(::std::string* description);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.LocalizedTag)
+ private:
+ inline void set_has_tag_id();
+ inline void clear_has_tag_id();
+ inline void set_has_name();
+ inline void clear_has_name();
+ inline void set_has_description();
+ inline void clear_has_description();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::club::v1::TagIdentifier* tag_id_;
+ ::std::string* name_;
+ ::std::string* description_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto();
+ friend void protobuf_AssignDesc_club_5ftag_2eproto();
+ friend void protobuf_ShutdownFile_club_5ftag_2eproto();
+
+ void InitAsDefaultInstance();
+ static LocalizedTag* default_instance_;
+};
+// ===================================================================
+
+// ===================================================================
+
+// ===================================================================
+
+// TagOptions
+
+// optional uint32 action = 1;
+inline bool TagOptions::has_action() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void TagOptions::set_has_action() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void TagOptions::clear_has_action() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void TagOptions::clear_action() {
+ action_ = 0u;
+ clear_has_action();
+}
+inline ::google::protobuf::uint32 TagOptions::action() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.action)
+ return action_;
+}
+inline void TagOptions::set_action(::google::protobuf::uint32 value) {
+ set_has_action();
+ action_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagOptions.action)
+}
+
+// repeated .bgs.protocol.club.v1.TagIdentifier tag = 2;
+inline int TagOptions::tag_size() const {
+ return tag_.size();
+}
+inline void TagOptions::clear_tag() {
+ tag_.Clear();
+}
+inline const ::bgs::protocol::club::v1::TagIdentifier& TagOptions::tag(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.tag)
+ return tag_.Get(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::mutable_tag(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.TagOptions.tag)
+ return tag_.Mutable(index);
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::add_tag() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.TagOptions.tag)
+ return tag_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
+TagOptions::tag() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.TagOptions.tag)
+ return tag_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
+TagOptions::mutable_tag() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.TagOptions.tag)
+ return &tag_;
+}
+
+// -------------------------------------------------------------------
+
+// TagIdentifier
+
+// optional uint32 id = 1;
+inline bool TagIdentifier::has_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void TagIdentifier::set_has_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void TagIdentifier::clear_has_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void TagIdentifier::clear_id() {
+ id_ = 0u;
+ clear_has_id();
+}
+inline ::google::protobuf::uint32 TagIdentifier::id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.id)
+ return id_;
+}
+inline void TagIdentifier::set_id(::google::protobuf::uint32 value) {
+ set_has_id();
+ id_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.id)
+}
+
+// optional uint32 type = 2;
+inline bool TagIdentifier::has_type() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void TagIdentifier::set_has_type() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void TagIdentifier::clear_has_type() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void TagIdentifier::clear_type() {
+ type_ = 0u;
+ clear_has_type();
+}
+inline ::google::protobuf::uint32 TagIdentifier::type() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.type)
+ return type_;
+}
+inline void TagIdentifier::set_type(::google::protobuf::uint32 value) {
+ set_has_type();
+ type_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.type)
+}
+
+// -------------------------------------------------------------------
+
+// LocalizedTag
+
+// optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1;
+inline bool LocalizedTag::has_tag_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void LocalizedTag::set_has_tag_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void LocalizedTag::clear_has_tag_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void LocalizedTag::clear_tag_id() {
+ if (tag_id_ != NULL) tag_id_->::bgs::protocol::club::v1::TagIdentifier::Clear();
+ clear_has_tag_id();
+}
+inline const ::bgs::protocol::club::v1::TagIdentifier& LocalizedTag::tag_id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.tag_id)
+ return tag_id_ != NULL ? *tag_id_ : *default_instance_->tag_id_;
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::mutable_tag_id() {
+ set_has_tag_id();
+ if (tag_id_ == NULL) tag_id_ = new ::bgs::protocol::club::v1::TagIdentifier;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.tag_id)
+ return tag_id_;
+}
+inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::release_tag_id() {
+ clear_has_tag_id();
+ ::bgs::protocol::club::v1::TagIdentifier* temp = tag_id_;
+ tag_id_ = NULL;
+ return temp;
+}
+inline void LocalizedTag::set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id) {
+ delete tag_id_;
+ tag_id_ = tag_id;
+ if (tag_id) {
+ set_has_tag_id();
+ } else {
+ clear_has_tag_id();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.tag_id)
+}
+
+// optional string name = 2;
+inline bool LocalizedTag::has_name() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void LocalizedTag::set_has_name() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void LocalizedTag::clear_has_name() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void LocalizedTag::clear_name() {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_->clear();
+ }
+ clear_has_name();
+}
+inline const ::std::string& LocalizedTag::name() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.name)
+ return *name_;
+}
+inline void LocalizedTag::set_name(const ::std::string& value) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.name)
+}
+inline void LocalizedTag::set_name(const char* value) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.name)
+}
+inline void LocalizedTag::set_name(const char* value, size_t size) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.name)
+}
+inline ::std::string* LocalizedTag::mutable_name() {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.name)
+ return name_;
+}
+inline ::std::string* LocalizedTag::release_name() {
+ clear_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = name_;
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LocalizedTag::set_allocated_name(::std::string* name) {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete name_;
+ }
+ if (name) {
+ set_has_name();
+ name_ = name;
+ } else {
+ clear_has_name();
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.name)
+}
+
+// optional string description = 3;
+inline bool LocalizedTag::has_description() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void LocalizedTag::set_has_description() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void LocalizedTag::clear_has_description() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void LocalizedTag::clear_description() {
+ if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ description_->clear();
+ }
+ clear_has_description();
+}
+inline const ::std::string& LocalizedTag::description() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.description)
+ return *description_;
+}
+inline void LocalizedTag::set_description(const ::std::string& value) {
+ set_has_description();
+ if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ description_ = new ::std::string;
+ }
+ description_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.description)
+}
+inline void LocalizedTag::set_description(const char* value) {
+ set_has_description();
+ if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ description_ = new ::std::string;
+ }
+ description_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.description)
+}
+inline void LocalizedTag::set_description(const char* value, size_t size) {
+ set_has_description();
+ if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ description_ = new ::std::string;
+ }
+ description_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.description)
+}
+inline ::std::string* LocalizedTag::mutable_description() {
+ set_has_description();
+ if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ description_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.description)
+ return description_;
+}
+inline ::std::string* LocalizedTag::release_description() {
+ clear_has_description();
+ if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = description_;
+ description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LocalizedTag::set_allocated_description(::std::string* description) {
+ if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete description_;
+ }
+ if (description) {
+ set_has_description();
+ description_ = description;
+ } else {
+ clear_has_description();
+ description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.description)
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace v1
+} // namespace club
+} // namespace protocol
+} // namespace bgs
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagAction> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagAction>() {
+ return ::bgs::protocol::club::v1::TagAction_descriptor();
+}
+template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagType> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagType>() {
+ return ::bgs::protocol::club::v1::TagType_descriptor();
+}
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_club_5ftag_2eproto__INCLUDED
diff --git a/src/server/proto/Client/club_type.pb.cc b/src/server/proto/Client/club_type.pb.cc
new file mode 100644
index 00000000000..79fe50bd39d
--- /dev/null
+++ b/src/server/proto/Client/club_type.pb.cc
@@ -0,0 +1,185 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: club_type.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "club_type.pb.h"
+
+#include <utility>
+
+#include <google/protobuf/stubs/common.h>
+#include <google/protobuf/stubs/once.h>
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/wire_format_lite_inl.h>
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/generated_message_reflection.h>
+#include <google/protobuf/reflection_ops.h>
+#include <google/protobuf/wire_format.h>
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+namespace club {
+namespace v1 {
+
+namespace {
+
+const ::google::protobuf::Descriptor* UniqueClubType_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ UniqueClubType_reflection_ = NULL;
+
+} // namespace
+
+void protobuf_AssignDesc_club_5ftype_2eproto() {
+ protobuf_AddDesc_club_5ftype_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "club_type.proto");
+ GOOGLE_CHECK(file != NULL);
+ UniqueClubType_descriptor_ = file->message_type(0);
+ static const int UniqueClubType_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, program_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, name_),
+ };
+ UniqueClubType_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ UniqueClubType_descriptor_,
+ UniqueClubType::default_instance_,
+ UniqueClubType_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(UniqueClubType));
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_club_5ftype_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ UniqueClubType_descriptor_, &UniqueClubType::default_instance());
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_club_5ftype_2eproto() {
+ delete UniqueClubType::default_instance_;
+ delete UniqueClubType_reflection_;
+}
+
+void protobuf_AddDesc_club_5ftype_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n\017club_type.proto\022\024bgs.protocol.club.v1\""
+ "/\n\016UniqueClubType\022\017\n\007program\030\001 \001(\007\022\014\n\004na"
+ "me\030\002 \001(\tB\002H\002", 92);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "club_type.proto", &protobuf_RegisterTypes);
+ UniqueClubType::default_instance_ = new UniqueClubType();
+ UniqueClubType::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftype_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_club_5ftype_2eproto {
+ StaticDescriptorInitializer_club_5ftype_2eproto() {
+ protobuf_AddDesc_club_5ftype_2eproto();
+ }
+} static_descriptor_initializer_club_5ftype_2eproto_;
+// ===================================================================
+
+#ifndef _MSC_VER
+const int UniqueClubType::kProgramFieldNumber;
+const int UniqueClubType::kNameFieldNumber;
+#endif // !_MSC_VER
+
+UniqueClubType::UniqueClubType()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UniqueClubType)
+}
+
+void UniqueClubType::InitAsDefaultInstance() {
+}
+
+UniqueClubType::UniqueClubType(const UniqueClubType& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UniqueClubType)
+}
+
+void UniqueClubType::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ program_ = 0u;
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+UniqueClubType::~UniqueClubType() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UniqueClubType)
+ SharedDtor();
+}
+
+void UniqueClubType::SharedDtor() {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete name_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void UniqueClubType::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* UniqueClubType::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return UniqueClubType_descriptor_;
+}
+
+const UniqueClubType& UniqueClubType::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_club_5ftype_2eproto();
+ return *default_instance_;
+}
+
+UniqueClubType* UniqueClubType::default_instance_ = NULL;
+
+UniqueClubType* UniqueClubType::New() const {
+ return new UniqueClubType;
+}
+
+void UniqueClubType::Swap(UniqueClubType* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata UniqueClubType::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = UniqueClubType_descriptor_;
+ metadata.reflection = UniqueClubType_reflection_;
+ return metadata;
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace v1
+} // namespace club
+} // namespace protocol
+} // namespace bgs
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/Client/club_type.pb.h b/src/server/proto/Client/club_type.pb.h
new file mode 100644
index 00000000000..36aa28ebd30
--- /dev/null
+++ b/src/server/proto/Client/club_type.pb.h
@@ -0,0 +1,247 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: club_type.proto
+
+#ifndef PROTOBUF_club_5ftype_2eproto__INCLUDED
+#define PROTOBUF_club_5ftype_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2006000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/message.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/unknown_field_set.h>
+#include "Define.h" // for TC_PROTO_API
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+namespace club {
+namespace v1 {
+
+// Internal implementation detail -- do not call these.
+void TC_PROTO_API protobuf_AddDesc_club_5ftype_2eproto();
+void protobuf_AssignDesc_club_5ftype_2eproto();
+void protobuf_ShutdownFile_club_5ftype_2eproto();
+
+class UniqueClubType;
+
+// ===================================================================
+
+class TC_PROTO_API UniqueClubType : public ::google::protobuf::Message {
+ public:
+ UniqueClubType();
+ virtual ~UniqueClubType();
+
+ UniqueClubType(const UniqueClubType& from);
+
+ inline UniqueClubType& operator=(const UniqueClubType& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const UniqueClubType& default_instance();
+
+ void Swap(UniqueClubType* other);
+
+ // implements Message ----------------------------------------------
+
+ UniqueClubType* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional fixed32 program = 1;
+ inline bool has_program() const;
+ inline void clear_program();
+ static const int kProgramFieldNumber = 1;
+ inline ::google::protobuf::uint32 program() const;
+ inline void set_program(::google::protobuf::uint32 value);
+
+ // optional string name = 2;
+ inline bool has_name() const;
+ inline void clear_name();
+ static const int kNameFieldNumber = 2;
+ inline const ::std::string& name() const;
+ inline void set_name(const ::std::string& value);
+ inline void set_name(const char* value);
+ inline void set_name(const char* value, size_t size);
+ inline ::std::string* mutable_name();
+ inline ::std::string* release_name();
+ inline void set_allocated_name(::std::string* name);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UniqueClubType)
+ private:
+ inline void set_has_program();
+ inline void clear_has_program();
+ inline void set_has_name();
+ inline void clear_has_name();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* name_;
+ ::google::protobuf::uint32 program_;
+ friend void TC_PROTO_API protobuf_AddDesc_club_5ftype_2eproto();
+ friend void protobuf_AssignDesc_club_5ftype_2eproto();
+ friend void protobuf_ShutdownFile_club_5ftype_2eproto();
+
+ void InitAsDefaultInstance();
+ static UniqueClubType* default_instance_;
+};
+// ===================================================================
+
+// ===================================================================
+
+// ===================================================================
+
+// UniqueClubType
+
+// optional fixed32 program = 1;
+inline bool UniqueClubType::has_program() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void UniqueClubType::set_has_program() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void UniqueClubType::clear_has_program() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void UniqueClubType::clear_program() {
+ program_ = 0u;
+ clear_has_program();
+}
+inline ::google::protobuf::uint32 UniqueClubType::program() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.program)
+ return program_;
+}
+inline void UniqueClubType::set_program(::google::protobuf::uint32 value) {
+ set_has_program();
+ program_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.program)
+}
+
+// optional string name = 2;
+inline bool UniqueClubType::has_name() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void UniqueClubType::set_has_name() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void UniqueClubType::clear_has_name() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void UniqueClubType::clear_name() {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_->clear();
+ }
+ clear_has_name();
+}
+inline const ::std::string& UniqueClubType::name() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.name)
+ return *name_;
+}
+inline void UniqueClubType::set_name(const ::std::string& value) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.name)
+}
+inline void UniqueClubType::set_name(const char* value) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.UniqueClubType.name)
+}
+inline void UniqueClubType::set_name(const char* value, size_t size) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.UniqueClubType.name)
+}
+inline ::std::string* UniqueClubType::mutable_name() {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UniqueClubType.name)
+ return name_;
+}
+inline ::std::string* UniqueClubType::release_name() {
+ clear_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = name_;
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void UniqueClubType::set_allocated_name(::std::string* name) {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete name_;
+ }
+ if (name) {
+ set_has_name();
+ name_ = name;
+ } else {
+ clear_has_name();
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UniqueClubType.name)
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace v1
+} // namespace club
+} // namespace protocol
+} // namespace bgs
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_club_5ftype_2eproto__INCLUDED
diff --git a/src/server/proto/Client/club_types.pb.cc b/src/server/proto/Client/club_types.pb.cc
index b6220b3dad9..1a5b76fde65 100644
--- a/src/server/proto/Client/club_types.pb.cc
+++ b/src/server/proto/Client/club_types.pb.cc
@@ -61,6 +61,9 @@ void protobuf_AddDesc_club_5ftypes_2eproto() {
::bgs::protocol::club::v1::protobuf_AddDesc_club_5finvitation_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fban_2eproto();
::bgs::protocol::club::v1::protobuf_AddDesc_club_5fstream_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto();
+ ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fname_5fgenerator_2eproto();
::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto();
::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto();
@@ -75,12 +78,14 @@ void protobuf_AddDesc_club_5ftypes_2eproto() {
".proto\032\017club_role.proto\032\024club_range_set."
"proto\032\017club_core.proto\032\021club_member.prot"
"o\032\025club_invitation.proto\032\016club_ban.proto"
- "\032\021club_stream.proto\032#api/client/v2/attri"
- "bute_types.proto\032\023account_types.proto\032\026e"
- "vent_view_types.proto\032\026invitation_types."
- "proto\032\023message_types.proto\032\017ets_types.pr"
- "oto\032\021voice_types.proto\032\017rpc_types.protoB"
- "\002H\002P\000P\001P\002P\003P\004P\005P\006P\007P\010P\tP\nP\013P\014P\rP\016P\017P\020", 437);
+ "\032\021club_stream.proto\032\017club_type.proto\032\016cl"
+ "ub_tag.proto\032\031club_name_generator.proto\032"
+ "#api/client/v2/attribute_types.proto\032\023ac"
+ "count_types.proto\032\026event_view_types.prot"
+ "o\032\026invitation_types.proto\032\023message_types"
+ ".proto\032\017ets_types.proto\032\021voice_types.pro"
+ "to\032\017rpc_types.protoB\002H\002P\000P\001P\002P\003P\004P\005P\006P\007P"
+ "\010P\tP\nP\013P\014P\rP\016P\017P\020P\021P\022P\023", 503);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_types.proto", &protobuf_RegisterTypes);
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftypes_2eproto);
diff --git a/src/server/proto/Client/club_types.pb.h b/src/server/proto/Client/club_types.pb.h
index c3410dd26e1..babc660a81c 100644
--- a/src/server/proto/Client/club_types.pb.h
+++ b/src/server/proto/Client/club_types.pb.h
@@ -31,6 +31,9 @@
#include "club_invitation.pb.h" // IWYU pragma: export
#include "club_ban.pb.h" // IWYU pragma: export
#include "club_stream.pb.h" // IWYU pragma: export
+#include "club_type.pb.h" // IWYU pragma: export
+#include "club_tag.pb.h" // IWYU pragma: export
+#include "club_name_generator.pb.h" // IWYU pragma: export
#include "api/client/v2/attribute_types.pb.h" // IWYU pragma: export
#include "account_types.pb.h" // IWYU pragma: export
#include "event_view_types.pb.h" // IWYU pragma: export
diff --git a/src/server/proto/Client/connection_service.pb.cc b/src/server/proto/Client/connection_service.pb.cc
index f3678debc72..51b2e012333 100644
--- a/src/server/proto/Client/connection_service.pb.cc
+++ b/src/server/proto/Client/connection_service.pb.cc
@@ -24,6 +24,9 @@ namespace v1 {
namespace {
+const ::google::protobuf::Descriptor* ClientSdkVersionInfo_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ ClientSdkVersionInfo_reflection_ = NULL;
const ::google::protobuf::Descriptor* ConnectRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
ConnectRequest_reflection_ = NULL;
@@ -57,6 +60,7 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* EncryptRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
EncryptRequest_reflection_ = NULL;
+const ::google::protobuf::EnumDescriptor* MeteringLevel_descriptor_ = NULL;
const ::google::protobuf::ServiceDescriptor* ConnectionService_descriptor_ = NULL;
} // namespace
@@ -67,11 +71,30 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
"connection_service.proto");
GOOGLE_CHECK(file != NULL);
- ConnectRequest_descriptor_ = file->message_type(0);
- static const int ConnectRequest_offsets_[3] = {
+ ClientSdkVersionInfo_descriptor_ = file->message_type(0);
+ static const int ClientSdkVersionInfo_offsets_[3] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientSdkVersionInfo, sdk_name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientSdkVersionInfo, sdk_version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientSdkVersionInfo, protocol_version_),
+ };
+ ClientSdkVersionInfo_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ ClientSdkVersionInfo_descriptor_,
+ ClientSdkVersionInfo::default_instance_,
+ ClientSdkVersionInfo_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientSdkVersionInfo, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientSdkVersionInfo, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(ClientSdkVersionInfo));
+ ConnectRequest_descriptor_ = file->message_type(1);
+ static const int ConnectRequest_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectRequest, client_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectRequest, bind_request_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectRequest, use_bindless_rpc_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectRequest, metering_level_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectRequest, client_sdk_info_),
};
ConnectRequest_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -84,7 +107,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ConnectRequest));
- ConnectionMeteringContentHandles_descriptor_ = file->message_type(1);
+ ConnectionMeteringContentHandles_descriptor_ = file->message_type(2);
static const int ConnectionMeteringContentHandles_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectionMeteringContentHandles, content_handle_),
};
@@ -99,8 +122,8 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ConnectionMeteringContentHandles));
- ConnectResponse_descriptor_ = file->message_type(2);
- static const int ConnectResponse_offsets_[8] = {
+ ConnectResponse_descriptor_ = file->message_type(3);
+ static const int ConnectResponse_offsets_[9] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, server_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, client_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, bind_result_),
@@ -109,6 +132,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, server_time_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, use_bindless_rpc_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, binary_content_handle_array_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, ciid_),
};
ConnectResponse_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -121,7 +145,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ConnectResponse));
- BoundService_descriptor_ = file->message_type(3);
+ BoundService_descriptor_ = file->message_type(4);
static const int BoundService_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BoundService, hash_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BoundService, id_),
@@ -137,7 +161,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(BoundService));
- BindRequest_descriptor_ = file->message_type(4);
+ BindRequest_descriptor_ = file->message_type(5);
static const int BindRequest_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BindRequest, deprecated_imported_service_hash_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BindRequest, deprecated_exported_service_),
@@ -155,7 +179,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(BindRequest));
- BindResponse_descriptor_ = file->message_type(5);
+ BindResponse_descriptor_ = file->message_type(6);
static const int BindResponse_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BindResponse, imported_service_id_),
};
@@ -170,7 +194,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(BindResponse));
- EchoRequest_descriptor_ = file->message_type(6);
+ EchoRequest_descriptor_ = file->message_type(7);
static const int EchoRequest_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoRequest, time_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoRequest, network_only_),
@@ -189,7 +213,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(EchoRequest));
- EchoResponse_descriptor_ = file->message_type(7);
+ EchoResponse_descriptor_ = file->message_type(8);
static const int EchoResponse_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoResponse, time_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoResponse, payload_),
@@ -205,7 +229,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(EchoResponse));
- DisconnectRequest_descriptor_ = file->message_type(8);
+ DisconnectRequest_descriptor_ = file->message_type(9);
static const int DisconnectRequest_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DisconnectRequest, error_code_),
};
@@ -220,7 +244,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(DisconnectRequest));
- DisconnectNotification_descriptor_ = file->message_type(9);
+ DisconnectNotification_descriptor_ = file->message_type(10);
static const int DisconnectNotification_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DisconnectNotification, error_code_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DisconnectNotification, reason_),
@@ -236,7 +260,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(DisconnectNotification));
- EncryptRequest_descriptor_ = file->message_type(10);
+ EncryptRequest_descriptor_ = file->message_type(11);
static const int EncryptRequest_offsets_[1] = {
};
EncryptRequest_reflection_ =
@@ -250,6 +274,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(EncryptRequest));
+ MeteringLevel_descriptor_ = file->enum_type(0);
ConnectionService_descriptor_ = file->service(0);
}
@@ -264,6 +289,8 @@ inline void protobuf_AssignDescriptorsOnce() {
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ ClientSdkVersionInfo_descriptor_, &ClientSdkVersionInfo::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
ConnectRequest_descriptor_, &ConnectRequest::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
ConnectionMeteringContentHandles_descriptor_, &ConnectionMeteringContentHandles::default_instance());
@@ -290,6 +317,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
} // namespace
void protobuf_ShutdownFile_connection_5fservice_2eproto() {
+ delete ClientSdkVersionInfo::default_instance_;
+ delete ClientSdkVersionInfo_reflection_;
delete ConnectRequest::default_instance_;
delete ConnectRequest_reflection_;
delete ConnectionMeteringContentHandles::default_instance_;
@@ -322,67 +351,79 @@ void protobuf_AddDesc_connection_5fservice_2eproto() {
::bgs::protocol::protobuf_AddDesc_content_5fhandle_5ftypes_2eproto();
::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_semantic_5fversion_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\030connection_service.proto\022\032bgs.protocol"
".connection.v1\032\032content_handle_types.pro"
- "to\032\017rpc_types.proto\"\233\001\n\016ConnectRequest\022*"
- "\n\tclient_id\030\001 \001(\0132\027.bgs.protocol.Process"
- "Id\022=\n\014bind_request\030\002 \001(\0132\'.bgs.protocol."
- "connection.v1.BindRequest\022\036\n\020use_bindles"
- "s_rpc\030\003 \001(\010:\004true\"W\n ConnectionMeteringC"
- "ontentHandles\0223\n\016content_handle\030\001 \003(\0132\033."
- "bgs.protocol.ContentHandle\"\264\003\n\017ConnectRe"
- "sponse\022*\n\tserver_id\030\001 \002(\0132\027.bgs.protocol"
- ".ProcessId\022*\n\tclient_id\030\002 \001(\0132\027.bgs.prot"
- "ocol.ProcessId\022\023\n\013bind_result\030\003 \001(\r\022\?\n\rb"
- "ind_response\030\004 \001(\0132(.bgs.protocol.connec"
- "tion.v1.BindResponse\022Z\n\024content_handle_a"
- "rray\030\005 \001(\0132<.bgs.protocol.connection.v1."
- "ConnectionMeteringContentHandles\022\023\n\013serv"
- "er_time\030\006 \001(\004\022\037\n\020use_bindless_rpc\030\007 \001(\010:"
- "\005false\022a\n\033binary_content_handle_array\030\010 "
- "\001(\0132<.bgs.protocol.connection.v1.Connect"
- "ionMeteringContentHandles\"(\n\014BoundServic"
- "e\022\014\n\004hash\030\001 \002(\007\022\n\n\002id\030\002 \002(\r\"\230\002\n\013BindRequ"
- "est\022.\n deprecated_imported_service_hash\030"
- "\001 \003(\007B\004\020\001\030\001\022Q\n\033deprecated_exported_servi"
- "ce\030\002 \003(\0132(.bgs.protocol.connection.v1.Bo"
- "undServiceB\002\030\001\022B\n\020exported_service\030\003 \003(\013"
+ "to\032\017rpc_types.proto\032\026semantic_version.pr"
+ "oto\"\225\001\n\024ClientSdkVersionInfo\022\020\n\010sdk_name"
+ "\030\001 \001(\t\0222\n\013sdk_version\030\002 \001(\0132\035.bgs.protoc"
+ "ol.SemanticVersion\0227\n\020protocol_version\030\003"
+ " \001(\0132\035.bgs.protocol.SemanticVersion\"\251\002\n\016"
+ "ConnectRequest\022*\n\tclient_id\030\001 \001(\0132\027.bgs."
+ "protocol.ProcessId\022=\n\014bind_request\030\002 \001(\013"
+ "2\'.bgs.protocol.connection.v1.BindReques"
+ "t\022\036\n\020use_bindless_rpc\030\003 \001(\010:\004true\022A\n\016met"
+ "ering_level\030\004 \001(\0162).bgs.protocol.connect"
+ "ion.v1.MeteringLevel\022I\n\017client_sdk_info\030"
+ "\005 \001(\01320.bgs.protocol.connection.v1.Clien"
+ "tSdkVersionInfo\"W\n ConnectionMeteringCon"
+ "tentHandles\0223\n\016content_handle\030\001 \003(\0132\033.bg"
+ "s.protocol.ContentHandle\"\302\003\n\017ConnectResp"
+ "onse\022*\n\tserver_id\030\001 \002(\0132\027.bgs.protocol.P"
+ "rocessId\022*\n\tclient_id\030\002 \001(\0132\027.bgs.protoc"
+ "ol.ProcessId\022\023\n\013bind_result\030\003 \001(\r\022\?\n\rbin"
+ "d_response\030\004 \001(\0132(.bgs.protocol.connecti"
+ "on.v1.BindResponse\022Z\n\024content_handle_arr"
+ "ay\030\005 \001(\0132<.bgs.protocol.connection.v1.Co"
+ "nnectionMeteringContentHandles\022\023\n\013server"
+ "_time\030\006 \001(\004\022\037\n\020use_bindless_rpc\030\007 \001(\010:\005f"
+ "alse\022a\n\033binary_content_handle_array\030\010 \001("
+ "\0132<.bgs.protocol.connection.v1.Connectio"
+ "nMeteringContentHandles\022\014\n\004ciid\030\t \001(\t\"(\n"
+ "\014BoundService\022\014\n\004hash\030\001 \002(\007\022\n\n\002id\030\002 \002(\r\""
+ "\230\002\n\013BindRequest\022.\n deprecated_imported_s"
+ "ervice_hash\030\001 \003(\007B\004\020\001\030\001\022Q\n\033deprecated_ex"
+ "ported_service\030\002 \003(\0132(.bgs.protocol.conn"
+ "ection.v1.BoundServiceB\002\030\001\022B\n\020exported_s"
+ "ervice\030\003 \003(\0132(.bgs.protocol.connection.v"
+ "1.BoundService\022B\n\020imported_service\030\004 \003(\013"
"2(.bgs.protocol.connection.v1.BoundServi"
- "ce\022B\n\020imported_service\030\004 \003(\0132(.bgs.proto"
- "col.connection.v1.BoundService\"1\n\014BindRe"
- "sponse\022!\n\023imported_service_id\030\001 \003(\rB\004\020\001\030"
- "\001\"\216\001\n\013EchoRequest\022\014\n\004time\030\001 \001(\006\022\033\n\014netwo"
- "rk_only\030\002 \001(\010:\005false\022\017\n\007payload\030\003 \001(\014\022(\n"
- "\007forward\030\004 \001(\0132\027.bgs.protocol.ProcessId\022"
- "\031\n\021forward_client_id\030\005 \001(\t\"-\n\014EchoRespon"
- "se\022\014\n\004time\030\001 \001(\006\022\017\n\007payload\030\002 \001(\014\"\'\n\021Dis"
- "connectRequest\022\022\n\nerror_code\030\001 \002(\r\"<\n\026Di"
- "sconnectNotification\022\022\n\nerror_code\030\001 \002(\r"
- "\022\016\n\006reason\030\002 \001(\t\"\020\n\016EncryptRequest2\375\005\n\021C"
- "onnectionService\022j\n\007Connect\022*.bgs.protoc"
- "ol.connection.v1.ConnectRequest\032+.bgs.pr"
- "otocol.connection.v1.ConnectResponse\"\006\202\371"
- "+\002\010\001\022d\n\004Bind\022\'.bgs.protocol.connection.v"
- "1.BindRequest\032(.bgs.protocol.connection."
- "v1.BindResponse\"\t\210\002\001\202\371+\002\010\002\022a\n\004Echo\022\'.bgs"
- ".protocol.connection.v1.EchoRequest\032(.bg"
- "s.protocol.connection.v1.EchoResponse\"\006\202"
- "\371+\002\010\003\022h\n\017ForceDisconnect\0222.bgs.protocol."
- "connection.v1.DisconnectNotification\032\031.b"
- "gs.protocol.NO_RESPONSE\"\006\202\371+\002\010\004\022D\n\tKeepA"
- "live\022\024.bgs.protocol.NoData\032\031.bgs.protoco"
- "l.NO_RESPONSE\"\006\202\371+\002\010\005\022V\n\007Encrypt\022*.bgs.p"
- "rotocol.connection.v1.EncryptRequest\032\024.b"
- "gs.protocol.NoData\"\t\210\002\001\202\371+\002\010\006\022e\n\021Request"
- "Disconnect\022-.bgs.protocol.connection.v1."
- "DisconnectRequest\032\031.bgs.protocol.NO_RESP"
- "ONSE\"\006\202\371+\002\010\007\032D\202\371+8\n*bnet.protocol.connec"
- "tion.ConnectionService*\nconnection\212\371+\004\010\001"
- "\020\001B=\n\033bnet.protocol.connection.v1B\026Conne"
- "ctionServiceProtoH\002\200\001\000\210\001\001", 2305);
+ "ce\"1\n\014BindResponse\022!\n\023imported_service_i"
+ "d\030\001 \003(\rB\004\020\001\030\001\"\216\001\n\013EchoRequest\022\014\n\004time\030\001 "
+ "\001(\006\022\033\n\014network_only\030\002 \001(\010:\005false\022\017\n\007payl"
+ "oad\030\003 \001(\014\022(\n\007forward\030\004 \001(\0132\027.bgs.protoco"
+ "l.ProcessId\022\031\n\021forward_client_id\030\005 \001(\t\"-"
+ "\n\014EchoResponse\022\014\n\004time\030\001 \001(\006\022\017\n\007payload\030"
+ "\002 \001(\014\"\'\n\021DisconnectRequest\022\022\n\nerror_code"
+ "\030\001 \002(\r\"<\n\026DisconnectNotification\022\022\n\nerro"
+ "r_code\030\001 \002(\r\022\016\n\006reason\030\002 \001(\t\"\020\n\016EncryptR"
+ "equest*J\n\rMeteringLevel\022\031\n\025METERING_LEVE"
+ "L_LEGACY\020\000\022\036\n\032METERING_LEVEL_CATEGORIZED"
+ "\020\0012\373\005\n\021ConnectionService\022j\n\007Connect\022*.bg"
+ "s.protocol.connection.v1.ConnectRequest\032"
+ "+.bgs.protocol.connection.v1.ConnectResp"
+ "onse\"\006\202\371+\002\010\001\022c\n\004Bind\022\'.bgs.protocol.conn"
+ "ection.v1.BindRequest\032(.bgs.protocol.con"
+ "nection.v1.BindResponse\"\010\202\371+\004\010\002P\001\022a\n\004Ech"
+ "o\022\'.bgs.protocol.connection.v1.EchoReque"
+ "st\032(.bgs.protocol.connection.v1.EchoResp"
+ "onse\"\006\202\371+\002\010\003\022h\n\017ForceDisconnect\0222.bgs.pr"
+ "otocol.connection.v1.DisconnectNotificat"
+ "ion\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\004\022D"
+ "\n\tKeepAlive\022\024.bgs.protocol.NoData\032\031.bgs."
+ "protocol.NO_RESPONSE\"\006\202\371+\002\010\005\022U\n\007Encrypt\022"
+ "*.bgs.protocol.connection.v1.EncryptRequ"
+ "est\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006P\001\022e\n\021R"
+ "equestDisconnect\022-.bgs.protocol.connecti"
+ "on.v1.DisconnectRequest\032\031.bgs.protocol.N"
+ "O_RESPONSE\"\006\202\371+\002\010\007\032D\202\371+8\n*bnet.protocol."
+ "connection.ConnectionService*\nconnection"
+ "\212\371+\004\010\001\020\001B<\n\032bgs.protocol.connection.v1B\026"
+ "ConnectionServiceProtoH\002\200\001\000\210\001\001", 2710);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"connection_service.proto", &protobuf_RegisterTypes);
+ ClientSdkVersionInfo::default_instance_ = new ClientSdkVersionInfo();
ConnectRequest::default_instance_ = new ConnectRequest();
ConnectionMeteringContentHandles::default_instance_ = new ConnectionMeteringContentHandles();
ConnectResponse::default_instance_ = new ConnectResponse();
@@ -394,6 +435,7 @@ void protobuf_AddDesc_connection_5fservice_2eproto() {
DisconnectRequest::default_instance_ = new DisconnectRequest();
DisconnectNotification::default_instance_ = new DisconnectNotification();
EncryptRequest::default_instance_ = new EncryptRequest();
+ ClientSdkVersionInfo::default_instance_->InitAsDefaultInstance();
ConnectRequest::default_instance_->InitAsDefaultInstance();
ConnectionMeteringContentHandles::default_instance_->InitAsDefaultInstance();
ConnectResponse::default_instance_->InitAsDefaultInstance();
@@ -414,12 +456,112 @@ struct StaticDescriptorInitializer_connection_5fservice_2eproto {
protobuf_AddDesc_connection_5fservice_2eproto();
}
} static_descriptor_initializer_connection_5fservice_2eproto_;
+const ::google::protobuf::EnumDescriptor* MeteringLevel_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return MeteringLevel_descriptor_;
+}
+bool MeteringLevel_IsValid(int value) {
+ switch(value) {
+ case 0:
+ case 1:
+ return true;
+ default:
+ return false;
+ }
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int ClientSdkVersionInfo::kSdkNameFieldNumber;
+const int ClientSdkVersionInfo::kSdkVersionFieldNumber;
+const int ClientSdkVersionInfo::kProtocolVersionFieldNumber;
+#endif // !_MSC_VER
+
+ClientSdkVersionInfo::ClientSdkVersionInfo()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.connection.v1.ClientSdkVersionInfo)
+}
+
+void ClientSdkVersionInfo::InitAsDefaultInstance() {
+ sdk_version_ = const_cast< ::bgs::protocol::SemanticVersion*>(&::bgs::protocol::SemanticVersion::default_instance());
+ protocol_version_ = const_cast< ::bgs::protocol::SemanticVersion*>(&::bgs::protocol::SemanticVersion::default_instance());
+}
+
+ClientSdkVersionInfo::ClientSdkVersionInfo(const ClientSdkVersionInfo& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.connection.v1.ClientSdkVersionInfo)
+}
+
+void ClientSdkVersionInfo::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ sdk_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ sdk_version_ = NULL;
+ protocol_version_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+ClientSdkVersionInfo::~ClientSdkVersionInfo() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.connection.v1.ClientSdkVersionInfo)
+ SharedDtor();
+}
+
+void ClientSdkVersionInfo::SharedDtor() {
+ if (sdk_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete sdk_name_;
+ }
+ if (this != default_instance_) {
+ delete sdk_version_;
+ delete protocol_version_;
+ }
+}
+
+void ClientSdkVersionInfo::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* ClientSdkVersionInfo::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return ClientSdkVersionInfo_descriptor_;
+}
+
+const ClientSdkVersionInfo& ClientSdkVersionInfo::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_connection_5fservice_2eproto();
+ return *default_instance_;
+}
+
+ClientSdkVersionInfo* ClientSdkVersionInfo::default_instance_ = NULL;
+
+ClientSdkVersionInfo* ClientSdkVersionInfo::New() const {
+ return new ClientSdkVersionInfo;
+}
+
+void ClientSdkVersionInfo::Swap(ClientSdkVersionInfo* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata ClientSdkVersionInfo::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = ClientSdkVersionInfo_descriptor_;
+ metadata.reflection = ClientSdkVersionInfo_reflection_;
+ return metadata;
+}
+
// ===================================================================
#ifndef _MSC_VER
const int ConnectRequest::kClientIdFieldNumber;
const int ConnectRequest::kBindRequestFieldNumber;
const int ConnectRequest::kUseBindlessRpcFieldNumber;
+const int ConnectRequest::kMeteringLevelFieldNumber;
+const int ConnectRequest::kClientSdkInfoFieldNumber;
#endif // !_MSC_VER
ConnectRequest::ConnectRequest()
@@ -431,6 +573,7 @@ ConnectRequest::ConnectRequest()
void ConnectRequest::InitAsDefaultInstance() {
client_id_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
bind_request_ = const_cast< ::bgs::protocol::connection::v1::BindRequest*>(&::bgs::protocol::connection::v1::BindRequest::default_instance());
+ client_sdk_info_ = const_cast< ::bgs::protocol::connection::v1::ClientSdkVersionInfo*>(&::bgs::protocol::connection::v1::ClientSdkVersionInfo::default_instance());
}
ConnectRequest::ConnectRequest(const ConnectRequest& from)
@@ -445,6 +588,8 @@ void ConnectRequest::SharedCtor() {
client_id_ = NULL;
bind_request_ = NULL;
use_bindless_rpc_ = true;
+ metering_level_ = 0;
+ client_sdk_info_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -457,6 +602,7 @@ void ConnectRequest::SharedDtor() {
if (this != default_instance_) {
delete client_id_;
delete bind_request_;
+ delete client_sdk_info_;
}
}
@@ -576,6 +722,7 @@ const int ConnectResponse::kContentHandleArrayFieldNumber;
const int ConnectResponse::kServerTimeFieldNumber;
const int ConnectResponse::kUseBindlessRpcFieldNumber;
const int ConnectResponse::kBinaryContentHandleArrayFieldNumber;
+const int ConnectResponse::kCiidFieldNumber;
#endif // !_MSC_VER
ConnectResponse::ConnectResponse()
@@ -600,6 +747,7 @@ ConnectResponse::ConnectResponse(const ConnectResponse& from)
}
void ConnectResponse::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
_cached_size_ = 0;
server_id_ = NULL;
client_id_ = NULL;
@@ -609,6 +757,7 @@ void ConnectResponse::SharedCtor() {
server_time_ = GOOGLE_ULONGLONG(0);
use_bindless_rpc_ = false;
binary_content_handle_array_ = NULL;
+ ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -618,6 +767,9 @@ ConnectResponse::~ConnectResponse() {
}
void ConnectResponse::SharedDtor() {
+ if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete ciid_;
+ }
if (this != default_instance_) {
delete server_id_;
delete client_id_;
diff --git a/src/server/proto/Client/connection_service.pb.h b/src/server/proto/Client/connection_service.pb.h
index 5f7864ee7f3..7a5c1844e2e 100644
--- a/src/server/proto/Client/connection_service.pb.h
+++ b/src/server/proto/Client/connection_service.pb.h
@@ -23,9 +23,11 @@
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
+#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "content_handle_types.pb.h"
#include "rpc_types.pb.h"
+#include "semantic_version.pb.h"
#include "ServiceBase.h"
#include "MessageBuffer.h"
#include <functional>
@@ -42,6 +44,7 @@ void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto();
void protobuf_AssignDesc_connection_5fservice_2eproto();
void protobuf_ShutdownFile_connection_5fservice_2eproto();
+class ClientSdkVersionInfo;
class ConnectRequest;
class ConnectionMeteringContentHandles;
class ConnectResponse;
@@ -54,8 +57,122 @@ class DisconnectRequest;
class DisconnectNotification;
class EncryptRequest;
+enum MeteringLevel {
+ METERING_LEVEL_LEGACY = 0,
+ METERING_LEVEL_CATEGORIZED = 1
+};
+TC_PROTO_API bool MeteringLevel_IsValid(int value);
+const MeteringLevel MeteringLevel_MIN = METERING_LEVEL_LEGACY;
+const MeteringLevel MeteringLevel_MAX = METERING_LEVEL_CATEGORIZED;
+const int MeteringLevel_ARRAYSIZE = MeteringLevel_MAX + 1;
+
+TC_PROTO_API const ::google::protobuf::EnumDescriptor* MeteringLevel_descriptor();
+inline const ::std::string& MeteringLevel_Name(MeteringLevel value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ MeteringLevel_descriptor(), value);
+}
+inline bool MeteringLevel_Parse(
+ const ::std::string& name, MeteringLevel* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<MeteringLevel>(
+ MeteringLevel_descriptor(), name, value);
+}
// ===================================================================
+class TC_PROTO_API ClientSdkVersionInfo : public ::google::protobuf::Message {
+ public:
+ ClientSdkVersionInfo();
+ virtual ~ClientSdkVersionInfo();
+
+ ClientSdkVersionInfo(const ClientSdkVersionInfo& from);
+
+ inline ClientSdkVersionInfo& operator=(const ClientSdkVersionInfo& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const ClientSdkVersionInfo& default_instance();
+
+ void Swap(ClientSdkVersionInfo* other);
+
+ // implements Message ----------------------------------------------
+
+ ClientSdkVersionInfo* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional string sdk_name = 1;
+ inline bool has_sdk_name() const;
+ inline void clear_sdk_name();
+ static const int kSdkNameFieldNumber = 1;
+ inline const ::std::string& sdk_name() const;
+ inline void set_sdk_name(const ::std::string& value);
+ inline void set_sdk_name(const char* value);
+ inline void set_sdk_name(const char* value, size_t size);
+ inline ::std::string* mutable_sdk_name();
+ inline ::std::string* release_sdk_name();
+ inline void set_allocated_sdk_name(::std::string* sdk_name);
+
+ // optional .bgs.protocol.SemanticVersion sdk_version = 2;
+ inline bool has_sdk_version() const;
+ inline void clear_sdk_version();
+ static const int kSdkVersionFieldNumber = 2;
+ inline const ::bgs::protocol::SemanticVersion& sdk_version() const;
+ inline ::bgs::protocol::SemanticVersion* mutable_sdk_version();
+ inline ::bgs::protocol::SemanticVersion* release_sdk_version();
+ inline void set_allocated_sdk_version(::bgs::protocol::SemanticVersion* sdk_version);
+
+ // optional .bgs.protocol.SemanticVersion protocol_version = 3;
+ inline bool has_protocol_version() const;
+ inline void clear_protocol_version();
+ static const int kProtocolVersionFieldNumber = 3;
+ inline const ::bgs::protocol::SemanticVersion& protocol_version() const;
+ inline ::bgs::protocol::SemanticVersion* mutable_protocol_version();
+ inline ::bgs::protocol::SemanticVersion* release_protocol_version();
+ inline void set_allocated_protocol_version(::bgs::protocol::SemanticVersion* protocol_version);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ClientSdkVersionInfo)
+ private:
+ inline void set_has_sdk_name();
+ inline void clear_has_sdk_name();
+ inline void set_has_sdk_version();
+ inline void clear_has_sdk_version();
+ inline void set_has_protocol_version();
+ inline void clear_has_protocol_version();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* sdk_name_;
+ ::bgs::protocol::SemanticVersion* sdk_version_;
+ ::bgs::protocol::SemanticVersion* protocol_version_;
+ friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto();
+ friend void protobuf_AssignDesc_connection_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_connection_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static ClientSdkVersionInfo* default_instance_;
+};
+// -------------------------------------------------------------------
+
class TC_PROTO_API ConnectRequest : public ::google::protobuf::Message {
public:
ConnectRequest();
@@ -121,6 +238,22 @@ class TC_PROTO_API ConnectRequest : public ::google::protobuf::Message {
inline bool use_bindless_rpc() const;
inline void set_use_bindless_rpc(bool value);
+ // optional .bgs.protocol.connection.v1.MeteringLevel metering_level = 4;
+ inline bool has_metering_level() const;
+ inline void clear_metering_level();
+ static const int kMeteringLevelFieldNumber = 4;
+ inline ::bgs::protocol::connection::v1::MeteringLevel metering_level() const;
+ inline void set_metering_level(::bgs::protocol::connection::v1::MeteringLevel value);
+
+ // optional .bgs.protocol.connection.v1.ClientSdkVersionInfo client_sdk_info = 5;
+ inline bool has_client_sdk_info() const;
+ inline void clear_client_sdk_info();
+ static const int kClientSdkInfoFieldNumber = 5;
+ inline const ::bgs::protocol::connection::v1::ClientSdkVersionInfo& client_sdk_info() const;
+ inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo* mutable_client_sdk_info();
+ inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo* release_client_sdk_info();
+ inline void set_allocated_client_sdk_info(::bgs::protocol::connection::v1::ClientSdkVersionInfo* client_sdk_info);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ConnectRequest)
private:
inline void set_has_client_id();
@@ -129,6 +262,10 @@ class TC_PROTO_API ConnectRequest : public ::google::protobuf::Message {
inline void clear_has_bind_request();
inline void set_has_use_bindless_rpc();
inline void clear_has_use_bindless_rpc();
+ inline void set_has_metering_level();
+ inline void clear_has_metering_level();
+ inline void set_has_client_sdk_info();
+ inline void clear_has_client_sdk_info();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -137,6 +274,8 @@ class TC_PROTO_API ConnectRequest : public ::google::protobuf::Message {
::bgs::protocol::ProcessId* client_id_;
::bgs::protocol::connection::v1::BindRequest* bind_request_;
bool use_bindless_rpc_;
+ int metering_level_;
+ ::bgs::protocol::connection::v1::ClientSdkVersionInfo* client_sdk_info_;
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto();
friend void protobuf_AssignDesc_connection_5fservice_2eproto();
friend void protobuf_ShutdownFile_connection_5fservice_2eproto();
@@ -321,6 +460,18 @@ class TC_PROTO_API ConnectResponse : public ::google::protobuf::Message {
inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* release_binary_content_handle_array();
inline void set_allocated_binary_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* binary_content_handle_array);
+ // optional string ciid = 9;
+ inline bool has_ciid() const;
+ inline void clear_ciid();
+ static const int kCiidFieldNumber = 9;
+ inline const ::std::string& ciid() const;
+ inline void set_ciid(const ::std::string& value);
+ inline void set_ciid(const char* value);
+ inline void set_ciid(const char* value, size_t size);
+ inline ::std::string* mutable_ciid();
+ inline ::std::string* release_ciid();
+ inline void set_allocated_ciid(::std::string* ciid);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ConnectResponse)
private:
inline void set_has_server_id();
@@ -339,6 +490,8 @@ class TC_PROTO_API ConnectResponse : public ::google::protobuf::Message {
inline void clear_has_use_bindless_rpc();
inline void set_has_binary_content_handle_array();
inline void clear_has_binary_content_handle_array();
+ inline void set_has_ciid();
+ inline void clear_has_ciid();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -352,6 +505,7 @@ class TC_PROTO_API ConnectResponse : public ::google::protobuf::Message {
bool use_bindless_rpc_;
::google::protobuf::uint64 server_time_;
::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* binary_content_handle_array_;
+ ::std::string* ciid_;
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto();
friend void protobuf_AssignDesc_connection_5fservice_2eproto();
friend void protobuf_ShutdownFile_connection_5fservice_2eproto();
@@ -1067,6 +1221,168 @@ class TC_PROTO_API ConnectionService : public ServiceBase
// ===================================================================
+// ClientSdkVersionInfo
+
+// optional string sdk_name = 1;
+inline bool ClientSdkVersionInfo::has_sdk_name() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void ClientSdkVersionInfo::set_has_sdk_name() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void ClientSdkVersionInfo::clear_has_sdk_name() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void ClientSdkVersionInfo::clear_sdk_name() {
+ if (sdk_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ sdk_name_->clear();
+ }
+ clear_has_sdk_name();
+}
+inline const ::std::string& ClientSdkVersionInfo::sdk_name() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_name)
+ return *sdk_name_;
+}
+inline void ClientSdkVersionInfo::set_sdk_name(const ::std::string& value) {
+ set_has_sdk_name();
+ if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ sdk_name_ = new ::std::string;
+ }
+ sdk_name_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_name)
+}
+inline void ClientSdkVersionInfo::set_sdk_name(const char* value) {
+ set_has_sdk_name();
+ if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ sdk_name_ = new ::std::string;
+ }
+ sdk_name_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_name)
+}
+inline void ClientSdkVersionInfo::set_sdk_name(const char* value, size_t size) {
+ set_has_sdk_name();
+ if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ sdk_name_ = new ::std::string;
+ }
+ sdk_name_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_name)
+}
+inline ::std::string* ClientSdkVersionInfo::mutable_sdk_name() {
+ set_has_sdk_name();
+ if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ sdk_name_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_name)
+ return sdk_name_;
+}
+inline ::std::string* ClientSdkVersionInfo::release_sdk_name() {
+ clear_has_sdk_name();
+ if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = sdk_name_;
+ sdk_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClientSdkVersionInfo::set_allocated_sdk_name(::std::string* sdk_name) {
+ if (sdk_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete sdk_name_;
+ }
+ if (sdk_name) {
+ set_has_sdk_name();
+ sdk_name_ = sdk_name;
+ } else {
+ clear_has_sdk_name();
+ sdk_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_name)
+}
+
+// optional .bgs.protocol.SemanticVersion sdk_version = 2;
+inline bool ClientSdkVersionInfo::has_sdk_version() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void ClientSdkVersionInfo::set_has_sdk_version() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void ClientSdkVersionInfo::clear_has_sdk_version() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void ClientSdkVersionInfo::clear_sdk_version() {
+ if (sdk_version_ != NULL) sdk_version_->::bgs::protocol::SemanticVersion::Clear();
+ clear_has_sdk_version();
+}
+inline const ::bgs::protocol::SemanticVersion& ClientSdkVersionInfo::sdk_version() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_version)
+ return sdk_version_ != NULL ? *sdk_version_ : *default_instance_->sdk_version_;
+}
+inline ::bgs::protocol::SemanticVersion* ClientSdkVersionInfo::mutable_sdk_version() {
+ set_has_sdk_version();
+ if (sdk_version_ == NULL) sdk_version_ = new ::bgs::protocol::SemanticVersion;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_version)
+ return sdk_version_;
+}
+inline ::bgs::protocol::SemanticVersion* ClientSdkVersionInfo::release_sdk_version() {
+ clear_has_sdk_version();
+ ::bgs::protocol::SemanticVersion* temp = sdk_version_;
+ sdk_version_ = NULL;
+ return temp;
+}
+inline void ClientSdkVersionInfo::set_allocated_sdk_version(::bgs::protocol::SemanticVersion* sdk_version) {
+ delete sdk_version_;
+ sdk_version_ = sdk_version;
+ if (sdk_version) {
+ set_has_sdk_version();
+ } else {
+ clear_has_sdk_version();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ClientSdkVersionInfo.sdk_version)
+}
+
+// optional .bgs.protocol.SemanticVersion protocol_version = 3;
+inline bool ClientSdkVersionInfo::has_protocol_version() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void ClientSdkVersionInfo::set_has_protocol_version() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void ClientSdkVersionInfo::clear_has_protocol_version() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void ClientSdkVersionInfo::clear_protocol_version() {
+ if (protocol_version_ != NULL) protocol_version_->::bgs::protocol::SemanticVersion::Clear();
+ clear_has_protocol_version();
+}
+inline const ::bgs::protocol::SemanticVersion& ClientSdkVersionInfo::protocol_version() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ClientSdkVersionInfo.protocol_version)
+ return protocol_version_ != NULL ? *protocol_version_ : *default_instance_->protocol_version_;
+}
+inline ::bgs::protocol::SemanticVersion* ClientSdkVersionInfo::mutable_protocol_version() {
+ set_has_protocol_version();
+ if (protocol_version_ == NULL) protocol_version_ = new ::bgs::protocol::SemanticVersion;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ClientSdkVersionInfo.protocol_version)
+ return protocol_version_;
+}
+inline ::bgs::protocol::SemanticVersion* ClientSdkVersionInfo::release_protocol_version() {
+ clear_has_protocol_version();
+ ::bgs::protocol::SemanticVersion* temp = protocol_version_;
+ protocol_version_ = NULL;
+ return temp;
+}
+inline void ClientSdkVersionInfo::set_allocated_protocol_version(::bgs::protocol::SemanticVersion* protocol_version) {
+ delete protocol_version_;
+ protocol_version_ = protocol_version;
+ if (protocol_version) {
+ set_has_protocol_version();
+ } else {
+ clear_has_protocol_version();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ClientSdkVersionInfo.protocol_version)
+}
+
+// -------------------------------------------------------------------
+
// ConnectRequest
// optional .bgs.protocol.ProcessId client_id = 1;
@@ -1175,6 +1491,72 @@ inline void ConnectRequest::set_use_bindless_rpc(bool value) {
// @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectRequest.use_bindless_rpc)
}
+// optional .bgs.protocol.connection.v1.MeteringLevel metering_level = 4;
+inline bool ConnectRequest::has_metering_level() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void ConnectRequest::set_has_metering_level() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void ConnectRequest::clear_has_metering_level() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void ConnectRequest::clear_metering_level() {
+ metering_level_ = 0;
+ clear_has_metering_level();
+}
+inline ::bgs::protocol::connection::v1::MeteringLevel ConnectRequest::metering_level() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectRequest.metering_level)
+ return static_cast< ::bgs::protocol::connection::v1::MeteringLevel >(metering_level_);
+}
+inline void ConnectRequest::set_metering_level(::bgs::protocol::connection::v1::MeteringLevel value) {
+ assert(::bgs::protocol::connection::v1::MeteringLevel_IsValid(value));
+ set_has_metering_level();
+ metering_level_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectRequest.metering_level)
+}
+
+// optional .bgs.protocol.connection.v1.ClientSdkVersionInfo client_sdk_info = 5;
+inline bool ConnectRequest::has_client_sdk_info() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void ConnectRequest::set_has_client_sdk_info() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void ConnectRequest::clear_has_client_sdk_info() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void ConnectRequest::clear_client_sdk_info() {
+ if (client_sdk_info_ != NULL) client_sdk_info_->::bgs::protocol::connection::v1::ClientSdkVersionInfo::Clear();
+ clear_has_client_sdk_info();
+}
+inline const ::bgs::protocol::connection::v1::ClientSdkVersionInfo& ConnectRequest::client_sdk_info() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectRequest.client_sdk_info)
+ return client_sdk_info_ != NULL ? *client_sdk_info_ : *default_instance_->client_sdk_info_;
+}
+inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo* ConnectRequest::mutable_client_sdk_info() {
+ set_has_client_sdk_info();
+ if (client_sdk_info_ == NULL) client_sdk_info_ = new ::bgs::protocol::connection::v1::ClientSdkVersionInfo;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectRequest.client_sdk_info)
+ return client_sdk_info_;
+}
+inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo* ConnectRequest::release_client_sdk_info() {
+ clear_has_client_sdk_info();
+ ::bgs::protocol::connection::v1::ClientSdkVersionInfo* temp = client_sdk_info_;
+ client_sdk_info_ = NULL;
+ return temp;
+}
+inline void ConnectRequest::set_allocated_client_sdk_info(::bgs::protocol::connection::v1::ClientSdkVersionInfo* client_sdk_info) {
+ delete client_sdk_info_;
+ client_sdk_info_ = client_sdk_info;
+ if (client_sdk_info) {
+ set_has_client_sdk_info();
+ } else {
+ clear_has_client_sdk_info();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectRequest.client_sdk_info)
+}
+
// -------------------------------------------------------------------
// ConnectionMeteringContentHandles
@@ -1490,6 +1872,82 @@ inline void ConnectResponse::set_allocated_binary_content_handle_array(::bgs::pr
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.binary_content_handle_array)
}
+// optional string ciid = 9;
+inline bool ConnectResponse::has_ciid() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void ConnectResponse::set_has_ciid() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void ConnectResponse::clear_has_ciid() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void ConnectResponse::clear_ciid() {
+ if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ciid_->clear();
+ }
+ clear_has_ciid();
+}
+inline const ::std::string& ConnectResponse::ciid() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.ciid)
+ return *ciid_;
+}
+inline void ConnectResponse::set_ciid(const ::std::string& value) {
+ set_has_ciid();
+ if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ciid_ = new ::std::string;
+ }
+ ciid_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectResponse.ciid)
+}
+inline void ConnectResponse::set_ciid(const char* value) {
+ set_has_ciid();
+ if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ciid_ = new ::std::string;
+ }
+ ciid_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.ConnectResponse.ciid)
+}
+inline void ConnectResponse::set_ciid(const char* value, size_t size) {
+ set_has_ciid();
+ if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ciid_ = new ::std::string;
+ }
+ ciid_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.ConnectResponse.ciid)
+}
+inline ::std::string* ConnectResponse::mutable_ciid() {
+ set_has_ciid();
+ if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ciid_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectResponse.ciid)
+ return ciid_;
+}
+inline ::std::string* ConnectResponse::release_ciid() {
+ clear_has_ciid();
+ if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = ciid_;
+ ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ConnectResponse::set_allocated_ciid(::std::string* ciid) {
+ if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete ciid_;
+ }
+ if (ciid) {
+ set_has_ciid();
+ ciid_ = ciid;
+ } else {
+ clear_has_ciid();
+ ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.ciid)
+}
+
// -------------------------------------------------------------------
// BoundService
@@ -2195,6 +2653,11 @@ inline void DisconnectNotification::set_allocated_reason(::std::string* reason)
#ifndef SWIG
namespace google {
namespace protobuf {
+template <> struct is_proto_enum< ::bgs::protocol::connection::v1::MeteringLevel> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::connection::v1::MeteringLevel>() {
+ return ::bgs::protocol::connection::v1::MeteringLevel_descriptor();
+}
} // namespace google
} // namespace protobuf
#endif // SWIG
diff --git a/src/server/proto/Client/content_handle_types.pb.cc b/src/server/proto/Client/content_handle_types.pb.cc
index 6c487f28a1f..95e52c26fa3 100644
--- a/src/server/proto/Client/content_handle_types.pb.cc
+++ b/src/server/proto/Client/content_handle_types.pb.cc
@@ -24,6 +24,9 @@ namespace {
const ::google::protobuf::Descriptor* ContentHandle_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
ContentHandle_reflection_ = NULL;
+const ::google::protobuf::Descriptor* TitleIconContentHandle_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ TitleIconContentHandle_reflection_ = NULL;
} // namespace
@@ -51,6 +54,22 @@ void protobuf_AssignDesc_content_5fhandle_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ContentHandle));
+ TitleIconContentHandle_descriptor_ = file->message_type(1);
+ static const int TitleIconContentHandle_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TitleIconContentHandle, title_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TitleIconContentHandle, content_handle_),
+ };
+ TitleIconContentHandle_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ TitleIconContentHandle_descriptor_,
+ TitleIconContentHandle::default_instance_,
+ TitleIconContentHandle_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TitleIconContentHandle, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TitleIconContentHandle, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(TitleIconContentHandle));
}
namespace {
@@ -65,6 +84,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
ContentHandle_descriptor_, &ContentHandle::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ TitleIconContentHandle_descriptor_, &TitleIconContentHandle::default_instance());
}
} // namespace
@@ -72,6 +93,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
void protobuf_ShutdownFile_content_5fhandle_5ftypes_2eproto() {
delete ContentHandle::default_instance_;
delete ContentHandle_reflection_;
+ delete TitleIconContentHandle::default_instance_;
+ delete TitleIconContentHandle_reflection_;
}
void protobuf_AddDesc_content_5fhandle_5ftypes_2eproto() {
@@ -84,12 +107,16 @@ void protobuf_AddDesc_content_5fhandle_5ftypes_2eproto() {
"\n\032content_handle_types.proto\022\014bgs.protoc"
"ol\"O\n\rContentHandle\022\016\n\006region\030\001 \002(\007\022\r\n\005u"
"sage\030\002 \002(\007\022\014\n\004hash\030\003 \002(\014\022\021\n\tproto_url\030\004 "
- "\001(\tB%\n\rbnet.protocolB\022ContentHandleProto"
- "H\002", 162);
+ "\001(\t\"_\n\026TitleIconContentHandle\022\020\n\010title_i"
+ "d\030\001 \001(\r\0223\n\016content_handle\030\002 \001(\0132\033.bgs.pr"
+ "otocol.ContentHandleB$\n\014bgs.protocolB\022Co"
+ "ntentHandleProtoH\002", 258);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"content_handle_types.proto", &protobuf_RegisterTypes);
ContentHandle::default_instance_ = new ContentHandle();
+ TitleIconContentHandle::default_instance_ = new TitleIconContentHandle();
ContentHandle::default_instance_->InitAsDefaultInstance();
+ TitleIconContentHandle::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_content_5fhandle_5ftypes_2eproto);
}
@@ -184,6 +211,82 @@ void ContentHandle::Swap(ContentHandle* other) {
return metadata;
}
+// ===================================================================
+
+#ifndef _MSC_VER
+const int TitleIconContentHandle::kTitleIdFieldNumber;
+const int TitleIconContentHandle::kContentHandleFieldNumber;
+#endif // !_MSC_VER
+
+TitleIconContentHandle::TitleIconContentHandle()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.TitleIconContentHandle)
+}
+
+void TitleIconContentHandle::InitAsDefaultInstance() {
+ content_handle_ = const_cast< ::bgs::protocol::ContentHandle*>(&::bgs::protocol::ContentHandle::default_instance());
+}
+
+TitleIconContentHandle::TitleIconContentHandle(const TitleIconContentHandle& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.TitleIconContentHandle)
+}
+
+void TitleIconContentHandle::SharedCtor() {
+ _cached_size_ = 0;
+ title_id_ = 0u;
+ content_handle_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+TitleIconContentHandle::~TitleIconContentHandle() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.TitleIconContentHandle)
+ SharedDtor();
+}
+
+void TitleIconContentHandle::SharedDtor() {
+ if (this != default_instance_) {
+ delete content_handle_;
+ }
+}
+
+void TitleIconContentHandle::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* TitleIconContentHandle::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return TitleIconContentHandle_descriptor_;
+}
+
+const TitleIconContentHandle& TitleIconContentHandle::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_content_5fhandle_5ftypes_2eproto();
+ return *default_instance_;
+}
+
+TitleIconContentHandle* TitleIconContentHandle::default_instance_ = NULL;
+
+TitleIconContentHandle* TitleIconContentHandle::New() const {
+ return new TitleIconContentHandle;
+}
+
+void TitleIconContentHandle::Swap(TitleIconContentHandle* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata TitleIconContentHandle::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = TitleIconContentHandle_descriptor_;
+ metadata.reflection = TitleIconContentHandle_reflection_;
+ return metadata;
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace protocol
diff --git a/src/server/proto/Client/content_handle_types.pb.h b/src/server/proto/Client/content_handle_types.pb.h
index 5835365815b..812e9673e7d 100644
--- a/src/server/proto/Client/content_handle_types.pb.h
+++ b/src/server/proto/Client/content_handle_types.pb.h
@@ -36,6 +36,7 @@ void protobuf_AssignDesc_content_5fhandle_5ftypes_2eproto();
void protobuf_ShutdownFile_content_5fhandle_5ftypes_2eproto();
class ContentHandle;
+class TitleIconContentHandle;
// ===================================================================
@@ -143,6 +144,84 @@ class TC_PROTO_API ContentHandle : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static ContentHandle* default_instance_;
};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API TitleIconContentHandle : public ::google::protobuf::Message {
+ public:
+ TitleIconContentHandle();
+ virtual ~TitleIconContentHandle();
+
+ TitleIconContentHandle(const TitleIconContentHandle& from);
+
+ inline TitleIconContentHandle& operator=(const TitleIconContentHandle& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const TitleIconContentHandle& default_instance();
+
+ void Swap(TitleIconContentHandle* other);
+
+ // implements Message ----------------------------------------------
+
+ TitleIconContentHandle* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional uint32 title_id = 1;
+ inline bool has_title_id() const;
+ inline void clear_title_id();
+ static const int kTitleIdFieldNumber = 1;
+ inline ::google::protobuf::uint32 title_id() const;
+ inline void set_title_id(::google::protobuf::uint32 value);
+
+ // optional .bgs.protocol.ContentHandle content_handle = 2;
+ inline bool has_content_handle() const;
+ inline void clear_content_handle();
+ static const int kContentHandleFieldNumber = 2;
+ inline const ::bgs::protocol::ContentHandle& content_handle() const;
+ inline ::bgs::protocol::ContentHandle* mutable_content_handle();
+ inline ::bgs::protocol::ContentHandle* release_content_handle();
+ inline void set_allocated_content_handle(::bgs::protocol::ContentHandle* content_handle);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.TitleIconContentHandle)
+ private:
+ inline void set_has_title_id();
+ inline void clear_has_title_id();
+ inline void set_has_content_handle();
+ inline void clear_has_content_handle();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::ContentHandle* content_handle_;
+ ::google::protobuf::uint32 title_id_;
+ friend void TC_PROTO_API protobuf_AddDesc_content_5fhandle_5ftypes_2eproto();
+ friend void protobuf_AssignDesc_content_5fhandle_5ftypes_2eproto();
+ friend void protobuf_ShutdownFile_content_5fhandle_5ftypes_2eproto();
+
+ void InitAsDefaultInstance();
+ static TitleIconContentHandle* default_instance_;
+};
// ===================================================================
// ===================================================================
@@ -351,6 +430,75 @@ inline void ContentHandle::set_allocated_proto_url(::std::string* proto_url) {
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.ContentHandle.proto_url)
}
+// -------------------------------------------------------------------
+
+// TitleIconContentHandle
+
+// optional uint32 title_id = 1;
+inline bool TitleIconContentHandle::has_title_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void TitleIconContentHandle::set_has_title_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void TitleIconContentHandle::clear_has_title_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void TitleIconContentHandle::clear_title_id() {
+ title_id_ = 0u;
+ clear_has_title_id();
+}
+inline ::google::protobuf::uint32 TitleIconContentHandle::title_id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.TitleIconContentHandle.title_id)
+ return title_id_;
+}
+inline void TitleIconContentHandle::set_title_id(::google::protobuf::uint32 value) {
+ set_has_title_id();
+ title_id_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.TitleIconContentHandle.title_id)
+}
+
+// optional .bgs.protocol.ContentHandle content_handle = 2;
+inline bool TitleIconContentHandle::has_content_handle() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void TitleIconContentHandle::set_has_content_handle() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void TitleIconContentHandle::clear_has_content_handle() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void TitleIconContentHandle::clear_content_handle() {
+ if (content_handle_ != NULL) content_handle_->::bgs::protocol::ContentHandle::Clear();
+ clear_has_content_handle();
+}
+inline const ::bgs::protocol::ContentHandle& TitleIconContentHandle::content_handle() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.TitleIconContentHandle.content_handle)
+ return content_handle_ != NULL ? *content_handle_ : *default_instance_->content_handle_;
+}
+inline ::bgs::protocol::ContentHandle* TitleIconContentHandle::mutable_content_handle() {
+ set_has_content_handle();
+ if (content_handle_ == NULL) content_handle_ = new ::bgs::protocol::ContentHandle;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.TitleIconContentHandle.content_handle)
+ return content_handle_;
+}
+inline ::bgs::protocol::ContentHandle* TitleIconContentHandle::release_content_handle() {
+ clear_has_content_handle();
+ ::bgs::protocol::ContentHandle* temp = content_handle_;
+ content_handle_ = NULL;
+ return temp;
+}
+inline void TitleIconContentHandle::set_allocated_content_handle(::bgs::protocol::ContentHandle* content_handle) {
+ delete content_handle_;
+ content_handle_ = content_handle;
+ if (content_handle) {
+ set_has_content_handle();
+ } else {
+ clear_has_content_handle();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.TitleIconContentHandle.content_handle)
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace protocol
diff --git a/src/server/proto/Client/entity_types.pb.cc b/src/server/proto/Client/entity_types.pb.cc
index f47f56a5585..56ac2d5c135 100644
--- a/src/server/proto/Client/entity_types.pb.cc
+++ b/src/server/proto/Client/entity_types.pb.cc
@@ -111,8 +111,8 @@ void protobuf_AddDesc_entity_5ftypes_2eproto() {
"\006B\006\202\371+\002\010\002:\006\202\371+\002\010\001\"{\n\010Identity\0224\n\naccount"
"_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\010\212\371+\004:"
"\002\020\001\0229\n\017game_account_id\030\002 \001(\0132\026.bgs.proto"
- "col.EntityIdB\010\212\371+\004:\002\020\002B\036\n\rbnet.protocolB"
- "\013EntityProtoH\002", 334);
+ "col.EntityIdB\010\212\371+\004:\002\020\002B\035\n\014bgs.protocolB\013"
+ "EntityProtoH\002", 333);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"entity_types.proto", &protobuf_RegisterTypes);
EntityId::default_instance_ = new EntityId();
diff --git a/src/server/proto/Client/friends_service.pb.cc b/src/server/proto/Client/friends_service.pb.cc
index c6148502f93..23a065b9976 100644
--- a/src/server/proto/Client/friends_service.pb.cc
+++ b/src/server/proto/Client/friends_service.pb.cc
@@ -592,7 +592,7 @@ void protobuf_AddDesc_friends_5fservice_2eproto() {
"ds.v1.SentInvitation\"v\n!SentInvitationRe"
"movedNotification\022*\n\naccount_id\030\001 \001(\0132\026."
"bgs.protocol.EntityId\022\025\n\rinvitation_id\030\002"
- " \001(\006\022\016\n\006reason\030\003 \001(\r2\230\013\n\016FriendsService\022"
+ " \001(\006\022\016\n\006reason\030\003 \001(\r2\227\013\n\016FriendsService\022"
"l\n\tSubscribe\022).bgs.protocol.friends.v1.S"
"ubscribeRequest\032*.bgs.protocol.friends.v"
"1.SubscribeResponse\"\010\202\371+\004\010\001\020\001\022`\n\016SendInv"
@@ -603,53 +603,53 @@ void protobuf_AddDesc_friends_5fservice_2eproto() {
"bgs.protocol.NoData\"\010\202\371+\004\010\003\020\001\022d\n\020RevokeI"
"nvitation\0220.bgs.protocol.friends.v1.Revo"
"keInvitationRequest\032\024.bgs.protocol.NoDat"
- "a\"\010\202\371+\004\010\004\020\001\022i\n\021DeclineInvitation\0221.bgs.p"
+ "a\"\010\202\371+\004\010\004\020\001\022h\n\021DeclineInvitation\0221.bgs.p"
"rotocol.friends.v1.DeclineInvitationRequ"
- "est\032\024.bgs.protocol.NoData\"\013\210\002\001\202\371+\004\010\005\020\001\022d"
- "\n\020IgnoreInvitation\0220.bgs.protocol.friend"
- "s.v1.IgnoreInvitationRequest\032\024.bgs.proto"
- "col.NoData\"\010\202\371+\004\010\006\020\001\022\\\n\014RemoveFriend\022,.b"
- "gs.protocol.friends.v1.RemoveFriendReque"
- "st\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\010\020\001\022r\n\013Vi"
- "ewFriends\022+.bgs.protocol.friends.v1.View"
- "FriendsRequest\032,.bgs.protocol.friends.v1"
- ".ViewFriendsResponse\"\010\202\371+\004\010\t\020\001\022f\n\021Update"
- "FriendState\0221.bgs.protocol.friends.v1.Up"
- "dateFriendStateRequest\032\024.bgs.protocol.No"
- "Data\"\010\202\371+\004\010\n\020\001\022Z\n\013Unsubscribe\022+.bgs.prot"
- "ocol.friends.v1.UnsubscribeRequest\032\024.bgs"
- ".protocol.NoData\"\010\202\371+\004\010\013\020\001\022j\n\024RevokeAllI"
- "nvitations\0224.bgs.protocol.friends.v1.Rev"
- "okeAllInvitationsRequest\032\024.bgs.protocol."
- "NoData\"\006\202\371+\002\010\014\022v\n\rGetFriendList\022-.bgs.pr"
- "otocol.friends.v1.GetFriendListRequest\032."
- ".bgs.protocol.friends.v1.GetFriendListRe"
- "sponse\"\006\202\371+\002\010\r\022b\n\020CreateFriendship\0220.bgs"
- ".protocol.friends.v1.CreateFriendshipReq"
- "uest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\016\032;\202\371+1"
- "\n$bnet.protocol.friends.FriendsService*\007"
- "friends0\001\212\371+\002\020\0012\314\006\n\017FriendsListener\022_\n\rO"
- "nFriendAdded\022+.bgs.protocol.friends.v1.F"
- "riendNotification\032\031.bgs.protocol.NO_RESP"
- "ONSE\"\006\202\371+\002\010\001\022a\n\017OnFriendRemoved\022+.bgs.pr"
- "otocol.friends.v1.FriendNotification\032\031.b"
- "gs.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\022o\n\031OnRec"
- "eivedInvitationAdded\022/.bgs.protocol.frie"
- "nds.v1.InvitationNotification\032\031.bgs.prot"
- "ocol.NO_RESPONSE\"\006\202\371+\002\010\003\022q\n\033OnReceivedIn"
- "vitationRemoved\022/.bgs.protocol.friends.v"
- "1.InvitationNotification\032\031.bgs.protocol."
- "NO_RESPONSE\"\006\202\371+\002\010\004\022t\n\025OnSentInvitationA"
- "dded\0228.bgs.protocol.friends.v1.SentInvit"
- "ationAddedNotification\032\031.bgs.protocol.NO"
- "_RESPONSE\"\006\202\371+\002\010\005\022x\n\027OnSentInvitationRem"
- "oved\022:.bgs.protocol.friends.v1.SentInvit"
- "ationRemovedNotification\032\031.bgs.protocol."
- "NO_RESPONSE\"\006\202\371+\002\010\006\022p\n\023OnUpdateFriendSta"
- "te\0226.bgs.protocol.friends.v1.UpdateFrien"
- "dStateNotification\032\031.bgs.protocol.NO_RES"
- "PONSE\"\006\202\371+\002\010\007\032/\202\371+%\n#bnet.protocol.frien"
- "ds.FriendsNotify\212\371+\002\010\001B7\n\030bnet.protocol."
+ "est\032\024.bgs.protocol.NoData\"\n\202\371+\006\010\005\020\001P\001\022d\n"
+ "\020IgnoreInvitation\0220.bgs.protocol.friends"
+ ".v1.IgnoreInvitationRequest\032\024.bgs.protoc"
+ "ol.NoData\"\010\202\371+\004\010\006\020\001\022\\\n\014RemoveFriend\022,.bg"
+ "s.protocol.friends.v1.RemoveFriendReques"
+ "t\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\010\020\001\022r\n\013Vie"
+ "wFriends\022+.bgs.protocol.friends.v1.ViewF"
+ "riendsRequest\032,.bgs.protocol.friends.v1."
+ "ViewFriendsResponse\"\010\202\371+\004\010\t\020\001\022f\n\021UpdateF"
+ "riendState\0221.bgs.protocol.friends.v1.Upd"
+ "ateFriendStateRequest\032\024.bgs.protocol.NoD"
+ "ata\"\010\202\371+\004\010\n\020\001\022Z\n\013Unsubscribe\022+.bgs.proto"
+ "col.friends.v1.UnsubscribeRequest\032\024.bgs."
+ "protocol.NoData\"\010\202\371+\004\010\013\020\001\022j\n\024RevokeAllIn"
+ "vitations\0224.bgs.protocol.friends.v1.Revo"
+ "keAllInvitationsRequest\032\024.bgs.protocol.N"
+ "oData\"\006\202\371+\002\010\014\022v\n\rGetFriendList\022-.bgs.pro"
+ "tocol.friends.v1.GetFriendListRequest\032.."
+ "bgs.protocol.friends.v1.GetFriendListRes"
+ "ponse\"\006\202\371+\002\010\r\022b\n\020CreateFriendship\0220.bgs."
+ "protocol.friends.v1.CreateFriendshipRequ"
+ "est\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\016\032;\202\371+1\n"
+ "$bnet.protocol.friends.FriendsService*\007f"
+ "riends0\001\212\371+\002\020\0012\316\006\n\017FriendsListener\022_\n\rOn"
+ "FriendAdded\022+.bgs.protocol.friends.v1.Fr"
+ "iendNotification\032\031.bgs.protocol.NO_RESPO"
+ "NSE\"\006\202\371+\002\010\001\022a\n\017OnFriendRemoved\022+.bgs.pro"
+ "tocol.friends.v1.FriendNotification\032\031.bg"
+ "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\022o\n\031OnRece"
+ "ivedInvitationAdded\022/.bgs.protocol.frien"
+ "ds.v1.InvitationNotification\032\031.bgs.proto"
+ "col.NO_RESPONSE\"\006\202\371+\002\010\003\022q\n\033OnReceivedInv"
+ "itationRemoved\022/.bgs.protocol.friends.v1"
+ ".InvitationNotification\032\031.bgs.protocol.N"
+ "O_RESPONSE\"\006\202\371+\002\010\004\022t\n\025OnSentInvitationAd"
+ "ded\0228.bgs.protocol.friends.v1.SentInvita"
+ "tionAddedNotification\032\031.bgs.protocol.NO_"
+ "RESPONSE\"\006\202\371+\002\010\005\022x\n\027OnSentInvitationRemo"
+ "ved\022:.bgs.protocol.friends.v1.SentInvita"
+ "tionRemovedNotification\032\031.bgs.protocol.N"
+ "O_RESPONSE\"\006\202\371+\002\010\006\022p\n\023OnUpdateFriendStat"
+ "e\0226.bgs.protocol.friends.v1.UpdateFriend"
+ "StateNotification\032\031.bgs.protocol.NO_RESP"
+ "ONSE\"\006\202\371+\002\010\007\0321\202\371+\'\n#bnet.protocol.friend"
+ "s.FriendsNotify8\001\212\371+\002\010\001B6\n\027bgs.protocol."
"friends.v1B\023FriendsServiceProtoH\002\200\001\000\210\001\001", 4839);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"friends_service.proto", &protobuf_RegisterTypes);
diff --git a/src/server/proto/Client/friends_types.pb.cc b/src/server/proto/Client/friends_types.pb.cc
index c6062ec8a1c..4798f62c41d 100644
--- a/src/server/proto/Client/friends_types.pb.cc
+++ b/src/server/proto/Client/friends_types.pb.cc
@@ -153,13 +153,14 @@ void protobuf_AssignDesc_friends_5ftypes_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(SentInvitation));
FriendInvitationParams_descriptor_ = file->message_type(5);
- static const int FriendInvitationParams_offsets_[6] = {
+ static const int FriendInvitationParams_offsets_[7] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, target_email_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, target_battle_tag_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, role_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, attribute_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, target_name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, program_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInvitationParams, target_phone_number_),
};
FriendInvitationParams_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -299,27 +300,28 @@ void protobuf_AddDesc_friends_5ftypes_2eproto() {
"tion\"\223\001\n\016SentInvitation\022\n\n\002id\030\001 \001(\006\022\023\n\013t"
"arget_name\030\002 \001(\t\022\014\n\004role\030\003 \001(\r\022*\n\tattrib"
"ute\030\004 \003(\0132\027.bgs.protocol.Attribute\022\025\n\rcr"
- "eation_time\030\005 \001(\004\022\017\n\007program\030\006 \001(\007\"\265\002\n\026F"
+ "eation_time\030\005 \001(\004\022\017\n\007program\030\006 \001(\007\"\332\002\n\026F"
"riendInvitationParams\022\034\n\014target_email\030\001 "
"\001(\tB\006\202\371+\002\010\001\022!\n\021target_battle_tag\030\002 \001(\tB\006"
"\202\371+\002\010\001\022\034\n\004role\030\006 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022*\n\t"
"attribute\030\010 \003(\0132\027.bgs.protocol.Attribute"
"\022\023\n\013target_name\030\t \001(\t\022\023\n\007program\030\n \001(\007B\002"
- "\030\0012f\n\rfriend_params\022\036.bgs.protocol.Invit"
- "ationParams\030g \001(\0132/.bgs.protocol.friends"
- ".v1.FriendInvitationParams\"\326\002\n\021Subscribe"
- "Response\022\027\n\013max_friends\030\001 \001(\rB\002\030\001\022$\n\030max"
- "_received_invitations\030\002 \001(\rB\002\030\001\022 \n\024max_s"
- "ent_invitations\030\003 \001(\rB\002\030\001\022 \n\004role\030\004 \003(\0132"
- "\022.bgs.protocol.Role\0220\n\007friends\030\005 \003(\0132\037.b"
- "gs.protocol.friends.v1.Friend\022I\n\024receive"
- "d_invitations\030\007 \003(\0132+.bgs.protocol.frien"
- "ds.v1.ReceivedInvitation\022A\n\020sent_invitat"
- "ions\030\010 \003(\0132\'.bgs.protocol.friends.v1.Sen"
- "tInvitation\"F\n\027AcceptInvitationOptions\022\032"
- "\n\004role\030\001 \001(\rB\014\212\371+\010\022\006\n\004\010\000\020\002\022\017\n\007program\030\002 "
- "\001(\007B/\n\030bnet.protocol.friends.v1B\021Friends"
- "TypesProtoH\002P\000", 1894);
+ "\030\001\022#\n\023target_phone_number\030\013 \001(\tB\006\202\371+\002\010\0012"
+ "f\n\rfriend_params\022\036.bgs.protocol.Invitati"
+ "onParams\030g \001(\0132/.bgs.protocol.friends.v1"
+ ".FriendInvitationParams\"\326\002\n\021SubscribeRes"
+ "ponse\022\027\n\013max_friends\030\001 \001(\rB\002\030\001\022$\n\030max_re"
+ "ceived_invitations\030\002 \001(\rB\002\030\001\022 \n\024max_sent"
+ "_invitations\030\003 \001(\rB\002\030\001\022 \n\004role\030\004 \003(\0132\022.b"
+ "gs.protocol.Role\0220\n\007friends\030\005 \003(\0132\037.bgs."
+ "protocol.friends.v1.Friend\022I\n\024received_i"
+ "nvitations\030\007 \003(\0132+.bgs.protocol.friends."
+ "v1.ReceivedInvitation\022A\n\020sent_invitation"
+ "s\030\010 \003(\0132\'.bgs.protocol.friends.v1.SentIn"
+ "vitation\"F\n\027AcceptInvitationOptions\022\032\n\004r"
+ "ole\030\001 \001(\rB\014\212\371+\010\022\006\n\004\010\000\020\002\022\017\n\007program\030\002 \001(\007"
+ "B.\n\027bgs.protocol.friends.v1B\021FriendsType"
+ "sProtoH\002P\000", 1930);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"friends_types.proto", &protobuf_RegisterTypes);
Friend::default_instance_ = new Friend();
@@ -792,6 +794,7 @@ const int FriendInvitationParams::kRoleFieldNumber;
const int FriendInvitationParams::kAttributeFieldNumber;
const int FriendInvitationParams::kTargetNameFieldNumber;
const int FriendInvitationParams::kProgramFieldNumber;
+const int FriendInvitationParams::kTargetPhoneNumberFieldNumber;
#endif // !_MSC_VER
#ifndef _MSC_VER
@@ -823,6 +826,7 @@ void FriendInvitationParams::SharedCtor() {
target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
target_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
program_ = 0u;
+ target_phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -841,6 +845,9 @@ void FriendInvitationParams::SharedDtor() {
if (target_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete target_name_;
}
+ if (target_phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete target_phone_number_;
+ }
if (this != default_instance_) {
}
}
diff --git a/src/server/proto/Client/friends_types.pb.h b/src/server/proto/Client/friends_types.pb.h
index 6a61fba37d9..91139bb2856 100644
--- a/src/server/proto/Client/friends_types.pb.h
+++ b/src/server/proto/Client/friends_types.pb.h
@@ -758,6 +758,18 @@ class TC_PROTO_API FriendInvitationParams : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 program() const PROTOBUF_DEPRECATED;
inline void set_program(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
+ // optional string target_phone_number = 11;
+ inline bool has_target_phone_number() const;
+ inline void clear_target_phone_number();
+ static const int kTargetPhoneNumberFieldNumber = 11;
+ inline const ::std::string& target_phone_number() const;
+ inline void set_target_phone_number(const ::std::string& value);
+ inline void set_target_phone_number(const char* value);
+ inline void set_target_phone_number(const char* value, size_t size);
+ inline ::std::string* mutable_target_phone_number();
+ inline ::std::string* release_target_phone_number();
+ inline void set_allocated_target_phone_number(::std::string* target_phone_number);
+
static const int kFriendParamsFieldNumber = 103;
static ::google::protobuf::internal::ExtensionIdentifier< ::bgs::protocol::InvitationParams,
::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::friends::v1::FriendInvitationParams >, 11, false >
@@ -772,6 +784,8 @@ class TC_PROTO_API FriendInvitationParams : public ::google::protobuf::Message {
inline void clear_has_target_name();
inline void set_has_program();
inline void clear_has_program();
+ inline void set_has_target_phone_number();
+ inline void clear_has_target_phone_number();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -782,6 +796,7 @@ class TC_PROTO_API FriendInvitationParams : public ::google::protobuf::Message {
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_;
::std::string* target_name_;
+ ::std::string* target_phone_number_;
::google::protobuf::uint32 program_;
friend void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto();
friend void protobuf_AssignDesc_friends_5ftypes_2eproto();
@@ -2332,6 +2347,82 @@ inline void FriendInvitationParams::set_program(::google::protobuf::uint32 value
// @@protoc_insertion_point(field_set:bgs.protocol.friends.v1.FriendInvitationParams.program)
}
+// optional string target_phone_number = 11;
+inline bool FriendInvitationParams::has_target_phone_number() const {
+ return (_has_bits_[0] & 0x00000040u) != 0;
+}
+inline void FriendInvitationParams::set_has_target_phone_number() {
+ _has_bits_[0] |= 0x00000040u;
+}
+inline void FriendInvitationParams::clear_has_target_phone_number() {
+ _has_bits_[0] &= ~0x00000040u;
+}
+inline void FriendInvitationParams::clear_target_phone_number() {
+ if (target_phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ target_phone_number_->clear();
+ }
+ clear_has_target_phone_number();
+}
+inline const ::std::string& FriendInvitationParams::target_phone_number() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.FriendInvitationParams.target_phone_number)
+ return *target_phone_number_;
+}
+inline void FriendInvitationParams::set_target_phone_number(const ::std::string& value) {
+ set_has_target_phone_number();
+ if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ target_phone_number_ = new ::std::string;
+ }
+ target_phone_number_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.friends.v1.FriendInvitationParams.target_phone_number)
+}
+inline void FriendInvitationParams::set_target_phone_number(const char* value) {
+ set_has_target_phone_number();
+ if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ target_phone_number_ = new ::std::string;
+ }
+ target_phone_number_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.friends.v1.FriendInvitationParams.target_phone_number)
+}
+inline void FriendInvitationParams::set_target_phone_number(const char* value, size_t size) {
+ set_has_target_phone_number();
+ if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ target_phone_number_ = new ::std::string;
+ }
+ target_phone_number_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.friends.v1.FriendInvitationParams.target_phone_number)
+}
+inline ::std::string* FriendInvitationParams::mutable_target_phone_number() {
+ set_has_target_phone_number();
+ if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ target_phone_number_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.friends.v1.FriendInvitationParams.target_phone_number)
+ return target_phone_number_;
+}
+inline ::std::string* FriendInvitationParams::release_target_phone_number() {
+ clear_has_target_phone_number();
+ if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = target_phone_number_;
+ target_phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void FriendInvitationParams::set_allocated_target_phone_number(::std::string* target_phone_number) {
+ if (target_phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete target_phone_number_;
+ }
+ if (target_phone_number) {
+ set_has_target_phone_number();
+ target_phone_number_ = target_phone_number;
+ } else {
+ clear_has_target_phone_number();
+ target_phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.friends.v1.FriendInvitationParams.target_phone_number)
+}
+
// -------------------------------------------------------------------
// SubscribeResponse
diff --git a/src/server/proto/Client/game_utilities_service.pb.cc b/src/server/proto/Client/game_utilities_service.pb.cc
index 3aa9113e2e2..92013b5c1ed 100644
--- a/src/server/proto/Client/game_utilities_service.pb.cc
+++ b/src/server/proto/Client/game_utilities_service.pb.cc
@@ -71,9 +71,8 @@ void protobuf_AssignDesc_game_5futilities_5fservice_2eproto() {
"game_utilities_service.proto");
GOOGLE_CHECK(file != NULL);
ClientRequest_descriptor_ = file->message_type(0);
- static const int ClientRequest_offsets_[6] = {
+ static const int ClientRequest_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientRequest, attribute_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientRequest, host_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientRequest, account_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientRequest, game_account_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientRequest, program_),
@@ -106,10 +105,9 @@ void protobuf_AssignDesc_game_5futilities_5fservice_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClientResponse));
ServerRequest_descriptor_ = file->message_type(2);
- static const int ServerRequest_offsets_[3] = {
+ static const int ServerRequest_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServerRequest, attribute_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServerRequest, program_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServerRequest, host_),
};
ServerRequest_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -138,11 +136,10 @@ void protobuf_AssignDesc_game_5futilities_5fservice_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ServerResponse));
PresenceChannelCreatedRequest_descriptor_ = file->message_type(4);
- static const int PresenceChannelCreatedRequest_offsets_[4] = {
+ static const int PresenceChannelCreatedRequest_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceChannelCreatedRequest, id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceChannelCreatedRequest, game_account_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceChannelCreatedRequest, account_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PresenceChannelCreatedRequest, host_),
};
PresenceChannelCreatedRequest_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -156,9 +153,8 @@ void protobuf_AssignDesc_game_5futilities_5fservice_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PresenceChannelCreatedRequest));
GameAccountOnlineNotification_descriptor_ = file->message_type(5);
- static const int GameAccountOnlineNotification_offsets_[3] = {
+ static const int GameAccountOnlineNotification_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountOnlineNotification, game_account_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountOnlineNotification, host_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountOnlineNotification, session_id_),
};
GameAccountOnlineNotification_reflection_ =
@@ -173,9 +169,8 @@ void protobuf_AssignDesc_game_5futilities_5fservice_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameAccountOnlineNotification));
GameAccountOfflineNotification_descriptor_ = file->message_type(6);
- static const int GameAccountOfflineNotification_offsets_[3] = {
+ static const int GameAccountOfflineNotification_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountOfflineNotification, game_account_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountOfflineNotification, host_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountOfflineNotification, session_id_),
};
GameAccountOfflineNotification_reflection_ =
@@ -348,74 +343,68 @@ void protobuf_AddDesc_game_5futilities_5fservice_2eproto() {
"\n\034game_utilities_service.proto\022\036bgs.prot"
"ocol.game_utilities.v1\032\025attribute_types."
"proto\032\022entity_types.proto\032\032game_utilitie"
- "s_types.proto\032\017rpc_types.proto\"\235\002\n\rClien"
+ "s_types.proto\032\017rpc_types.proto\"\362\001\n\rClien"
"tRequest\022*\n\tattribute\030\001 \003(\0132\027.bgs.protoc"
- "ol.Attribute\022)\n\004host\030\002 \001(\0132\027.bgs.protoco"
- "l.ProcessIdB\002\030\001\022*\n\naccount_id\030\003 \001(\0132\026.bg"
- "s.protocol.EntityId\022/\n\017game_account_id\030\004"
- " \001(\0132\026.bgs.protocol.EntityId\022\017\n\007program\030"
- "\005 \001(\007\022\?\n\013client_info\030\006 \001(\0132*.bgs.protoco"
- "l.game_utilities.v1.ClientInfo:\006\202\371+\002\010\001\"<"
- "\n\016ClientResponse\022*\n\tattribute\030\001 \003(\0132\027.bg"
- "s.protocol.Attribute\"w\n\rServerRequest\022*\n"
- "\tattribute\030\001 \003(\0132\027.bgs.protocol.Attribut"
- "e\022\017\n\007program\030\002 \002(\007\022)\n\004host\030\003 \001(\0132\027.bgs.p"
- "rotocol.ProcessIdB\002\030\001\"<\n\016ServerResponse\022"
- "*\n\tattribute\030\001 \003(\0132\027.bgs.protocol.Attrib"
- "ute\"\313\001\n\035PresenceChannelCreatedRequest\022\"\n"
- "\002id\030\001 \002(\0132\026.bgs.protocol.EntityId\022/\n\017gam"
- "e_account_id\030\003 \001(\0132\026.bgs.protocol.Entity"
- "Id\022*\n\naccount_id\030\004 \001(\0132\026.bgs.protocol.En"
- "tityId\022)\n\004host\030\005 \001(\0132\027.bgs.protocol.Proc"
- "essIdB\002\030\001\"\217\001\n\035GameAccountOnlineNotificat"
- "ion\022/\n\017game_account_id\030\001 \002(\0132\026.bgs.proto"
- "col.EntityId\022)\n\004host\030\002 \001(\0132\027.bgs.protoco"
- "l.ProcessIdB\002\030\001\022\022\n\nsession_id\030\003 \001(\t\"\220\001\n\036"
- "GameAccountOfflineNotification\022/\n\017game_a"
- "ccount_id\030\001 \002(\0132\026.bgs.protocol.EntityId\022"
- ")\n\004host\030\002 \001(\0132\027.bgs.protocol.ProcessIdB\002"
- "\030\001\022\022\n\nsession_id\030\003 \001(\t\"\212\001\n\037GetAllValuesF"
- "orAttributeRequest\022$\n\rattribute_key\030\001 \001("
- "\tB\r\212\371+\t\"\007\n\005\010\001\020\200\002\022(\n\010agent_id\030\002 \001(\0132\026.bgs"
- ".protocol.EntityId\022\017\n\007program\030\005 \001(\007:\006\202\371+"
- "\002\010\001\"R\n GetAllValuesForAttributeResponse\022"
- ".\n\017attribute_value\030\001 \003(\0132\025.bgs.protocol."
- "Variant\"a\n\030RegisterUtilitiesRequest\022*\n\ta"
- "ttribute\030\001 \003(\0132\027.bgs.protocol.Attribute\022"
- "\031\n\007program\030\002 \001(\007B\010\212\371+\004\022\002\020\000\".\n\031RegisterUt"
- "ilitiesResponse\022\021\n\tclient_id\030\001 \001(\t\"\034\n\032Un"
- "registerUtilitiesRequest2\376\010\n\024GameUtiliti"
- "esService\022}\n\024ProcessClientRequest\022-.bgs."
- "protocol.game_utilities.v1.ClientRequest"
- "\032..bgs.protocol.game_utilities.v1.Client"
- "Response\"\006\202\371+\002\010\001\022u\n\026PresenceChannelCreat"
- "ed\022=.bgs.protocol.game_utilities.v1.Pres"
- "enceChannelCreatedRequest\032\024.bgs.protocol"
- ".NoData\"\006\202\371+\002\010\002\022}\n\024ProcessServerRequest\022"
- "-.bgs.protocol.game_utilities.v1.ServerR"
- "equest\032..bgs.protocol.game_utilities.v1."
- "ServerResponse\"\006\202\371+\002\010\006\022w\n\023OnGameAccountO"
- "nline\022=.bgs.protocol.game_utilities.v1.G"
- "ameAccountOnlineNotification\032\031.bgs.proto"
- "col.NO_RESPONSE\"\006\202\371+\002\010\007\022y\n\024OnGameAccount"
- "Offline\022>.bgs.protocol.game_utilities.v1"
- ".GameAccountOfflineNotification\032\031.bgs.pr"
- "otocol.NO_RESPONSE\"\006\202\371+\002\010\010\022\245\001\n\030GetAllVal"
- "uesForAttribute\022\?.bgs.protocol.game_util"
- "ities.v1.GetAllValuesForAttributeRequest"
- "\032@.bgs.protocol.game_utilities.v1.GetAll"
- "ValuesForAttributeResponse\"\006\202\371+\002\010\n\022\222\001\n\021R"
- "egisterUtilities\0228.bgs.protocol.game_uti"
- "lities.v1.RegisterUtilitiesRequest\0329.bgs"
- ".protocol.game_utilities.v1.RegisterUtil"
- "itiesResponse\"\010\202\371+\004\010\013\020\003\022v\n\023UnregisterUti"
- "lities\022:.bgs.protocol.game_utilities.v1."
- "UnregisterUtilitiesRequest\032\031.bgs.protoco"
- "l.NO_RESPONSE\"\010\202\371+\004\010\014\020\003\032H\202\371+<\n*bnet.prot"
- "ocol.game_utilities.GameUtilities*\016game_"
- "utilities\212\371+\004\010\001\020\001BD\n\037bnet.protocol.game_"
- "utilities.v1B\031GameUtilitiesServiceProtoH"
- "\002\200\001\000\210\001\001", 2807);
+ "ol.Attribute\022*\n\naccount_id\030\003 \001(\0132\026.bgs.p"
+ "rotocol.EntityId\022/\n\017game_account_id\030\004 \001("
+ "\0132\026.bgs.protocol.EntityId\022\017\n\007program\030\005 \001"
+ "(\007\022\?\n\013client_info\030\006 \001(\0132*.bgs.protocol.g"
+ "ame_utilities.v1.ClientInfo:\006\202\371+\002\010\001\"<\n\016C"
+ "lientResponse\022*\n\tattribute\030\001 \003(\0132\027.bgs.p"
+ "rotocol.Attribute\"L\n\rServerRequest\022*\n\tat"
+ "tribute\030\001 \003(\0132\027.bgs.protocol.Attribute\022\017"
+ "\n\007program\030\002 \002(\007\"<\n\016ServerResponse\022*\n\tatt"
+ "ribute\030\001 \003(\0132\027.bgs.protocol.Attribute\"\240\001"
+ "\n\035PresenceChannelCreatedRequest\022\"\n\002id\030\001 "
+ "\002(\0132\026.bgs.protocol.EntityId\022/\n\017game_acco"
+ "unt_id\030\003 \001(\0132\026.bgs.protocol.EntityId\022*\n\n"
+ "account_id\030\004 \001(\0132\026.bgs.protocol.EntityId"
+ "\"d\n\035GameAccountOnlineNotification\022/\n\017gam"
+ "e_account_id\030\001 \002(\0132\026.bgs.protocol.Entity"
+ "Id\022\022\n\nsession_id\030\003 \001(\t\"e\n\036GameAccountOff"
+ "lineNotification\022/\n\017game_account_id\030\001 \002("
+ "\0132\026.bgs.protocol.EntityId\022\022\n\nsession_id\030"
+ "\003 \001(\t\"\212\001\n\037GetAllValuesForAttributeReques"
+ "t\022$\n\rattribute_key\030\001 \001(\tB\r\212\371+\t\"\007\n\005\010\001\020\200\002\022"
+ "(\n\010agent_id\030\002 \001(\0132\026.bgs.protocol.EntityI"
+ "d\022\017\n\007program\030\005 \001(\007:\006\202\371+\002\010\001\"R\n GetAllValu"
+ "esForAttributeResponse\022.\n\017attribute_valu"
+ "e\030\001 \003(\0132\025.bgs.protocol.Variant\"a\n\030Regist"
+ "erUtilitiesRequest\022*\n\tattribute\030\001 \003(\0132\027."
+ "bgs.protocol.Attribute\022\031\n\007program\030\002 \001(\007B"
+ "\010\212\371+\004\022\002\020\000\".\n\031RegisterUtilitiesResponse\022\021"
+ "\n\tclient_id\030\001 \001(\t\"\034\n\032UnregisterUtilities"
+ "Request2\204\t\n\024GameUtilitiesService\022}\n\024Proc"
+ "essClientRequest\022-.bgs.protocol.game_uti"
+ "lities.v1.ClientRequest\032..bgs.protocol.g"
+ "ame_utilities.v1.ClientResponse\"\006\202\371+\002\010\001\022"
+ "u\n\026PresenceChannelCreated\022=.bgs.protocol"
+ ".game_utilities.v1.PresenceChannelCreate"
+ "dRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\002\022}"
+ "\n\024ProcessServerRequest\022-.bgs.protocol.ga"
+ "me_utilities.v1.ServerRequest\032..bgs.prot"
+ "ocol.game_utilities.v1.ServerResponse\"\006\202"
+ "\371+\002\010\006\022z\n\023OnGameAccountOnline\022=.bgs.proto"
+ "col.game_utilities.v1.GameAccountOnlineN"
+ "otification\032\031.bgs.protocol.NO_RESPONSE\"\t"
+ "\210\002\001\202\371+\002\010\007\022|\n\024OnGameAccountOffline\022>.bgs."
+ "protocol.game_utilities.v1.GameAccountOf"
+ "flineNotification\032\031.bgs.protocol.NO_RESP"
+ "ONSE\"\t\210\002\001\202\371+\002\010\010\022\245\001\n\030GetAllValuesForAttri"
+ "bute\022\?.bgs.protocol.game_utilities.v1.Ge"
+ "tAllValuesForAttributeRequest\032@.bgs.prot"
+ "ocol.game_utilities.v1.GetAllValuesForAt"
+ "tributeResponse\"\006\202\371+\002\010\n\022\222\001\n\021RegisterUtil"
+ "ities\0228.bgs.protocol.game_utilities.v1.R"
+ "egisterUtilitiesRequest\0329.bgs.protocol.g"
+ "ame_utilities.v1.RegisterUtilitiesRespon"
+ "se\"\010\202\371+\004\010\013\020\003\022v\n\023UnregisterUtilities\022:.bg"
+ "s.protocol.game_utilities.v1.UnregisterU"
+ "tilitiesRequest\032\031.bgs.protocol.NO_RESPON"
+ "SE\"\010\202\371+\004\010\014\020\003\032H\202\371+<\n*bnet.protocol.game_u"
+ "tilities.GameUtilities*\016game_utilities\212\371"
+ "+\004\010\001\020\001BC\n\036bgs.protocol.game_utilities.v1"
+ "B\031GameUtilitiesServiceProtoH\002\200\001\000\210\001\001", 2595);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"game_utilities_service.proto", &protobuf_RegisterTypes);
ClientRequest::default_instance_ = new ClientRequest();
@@ -455,7 +444,6 @@ struct StaticDescriptorInitializer_game_5futilities_5fservice_2eproto {
#ifndef _MSC_VER
const int ClientRequest::kAttributeFieldNumber;
-const int ClientRequest::kHostFieldNumber;
const int ClientRequest::kAccountIdFieldNumber;
const int ClientRequest::kGameAccountIdFieldNumber;
const int ClientRequest::kProgramFieldNumber;
@@ -469,7 +457,6 @@ ClientRequest::ClientRequest()
}
void ClientRequest::InitAsDefaultInstance() {
- host_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
client_info_ = const_cast< ::bgs::protocol::game_utilities::v1::ClientInfo*>(&::bgs::protocol::game_utilities::v1::ClientInfo::default_instance());
@@ -484,7 +471,6 @@ ClientRequest::ClientRequest(const ClientRequest& from)
void ClientRequest::SharedCtor() {
_cached_size_ = 0;
- host_ = NULL;
account_id_ = NULL;
game_account_id_ = NULL;
program_ = 0u;
@@ -499,7 +485,6 @@ ClientRequest::~ClientRequest() {
void ClientRequest::SharedDtor() {
if (this != default_instance_) {
- delete host_;
delete account_id_;
delete game_account_id_;
delete client_info_;
@@ -616,7 +601,6 @@ void ClientResponse::Swap(ClientResponse* other) {
#ifndef _MSC_VER
const int ServerRequest::kAttributeFieldNumber;
const int ServerRequest::kProgramFieldNumber;
-const int ServerRequest::kHostFieldNumber;
#endif // !_MSC_VER
ServerRequest::ServerRequest()
@@ -626,7 +610,6 @@ ServerRequest::ServerRequest()
}
void ServerRequest::InitAsDefaultInstance() {
- host_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
}
ServerRequest::ServerRequest(const ServerRequest& from)
@@ -639,7 +622,6 @@ ServerRequest::ServerRequest(const ServerRequest& from)
void ServerRequest::SharedCtor() {
_cached_size_ = 0;
program_ = 0u;
- host_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -650,7 +632,6 @@ ServerRequest::~ServerRequest() {
void ServerRequest::SharedDtor() {
if (this != default_instance_) {
- delete host_;
}
}
@@ -765,7 +746,6 @@ void ServerResponse::Swap(ServerResponse* other) {
const int PresenceChannelCreatedRequest::kIdFieldNumber;
const int PresenceChannelCreatedRequest::kGameAccountIdFieldNumber;
const int PresenceChannelCreatedRequest::kAccountIdFieldNumber;
-const int PresenceChannelCreatedRequest::kHostFieldNumber;
#endif // !_MSC_VER
PresenceChannelCreatedRequest::PresenceChannelCreatedRequest()
@@ -778,7 +758,6 @@ void PresenceChannelCreatedRequest::InitAsDefaultInstance() {
id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
- host_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
}
PresenceChannelCreatedRequest::PresenceChannelCreatedRequest(const PresenceChannelCreatedRequest& from)
@@ -793,7 +772,6 @@ void PresenceChannelCreatedRequest::SharedCtor() {
id_ = NULL;
game_account_id_ = NULL;
account_id_ = NULL;
- host_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -807,7 +785,6 @@ void PresenceChannelCreatedRequest::SharedDtor() {
delete id_;
delete game_account_id_;
delete account_id_;
- delete host_;
}
}
@@ -849,7 +826,6 @@ void PresenceChannelCreatedRequest::Swap(PresenceChannelCreatedRequest* other) {
#ifndef _MSC_VER
const int GameAccountOnlineNotification::kGameAccountIdFieldNumber;
-const int GameAccountOnlineNotification::kHostFieldNumber;
const int GameAccountOnlineNotification::kSessionIdFieldNumber;
#endif // !_MSC_VER
@@ -861,7 +837,6 @@ GameAccountOnlineNotification::GameAccountOnlineNotification()
void GameAccountOnlineNotification::InitAsDefaultInstance() {
game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
- host_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
}
GameAccountOnlineNotification::GameAccountOnlineNotification(const GameAccountOnlineNotification& from)
@@ -875,7 +850,6 @@ void GameAccountOnlineNotification::SharedCtor() {
::google::protobuf::internal::GetEmptyString();
_cached_size_ = 0;
game_account_id_ = NULL;
- host_ = NULL;
session_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -891,7 +865,6 @@ void GameAccountOnlineNotification::SharedDtor() {
}
if (this != default_instance_) {
delete game_account_id_;
- delete host_;
}
}
@@ -933,7 +906,6 @@ void GameAccountOnlineNotification::Swap(GameAccountOnlineNotification* other) {
#ifndef _MSC_VER
const int GameAccountOfflineNotification::kGameAccountIdFieldNumber;
-const int GameAccountOfflineNotification::kHostFieldNumber;
const int GameAccountOfflineNotification::kSessionIdFieldNumber;
#endif // !_MSC_VER
@@ -945,7 +917,6 @@ GameAccountOfflineNotification::GameAccountOfflineNotification()
void GameAccountOfflineNotification::InitAsDefaultInstance() {
game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
- host_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
}
GameAccountOfflineNotification::GameAccountOfflineNotification(const GameAccountOfflineNotification& from)
@@ -959,7 +930,6 @@ void GameAccountOfflineNotification::SharedCtor() {
::google::protobuf::internal::GetEmptyString();
_cached_size_ = 0;
game_account_id_ = NULL;
- host_ = NULL;
session_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -975,7 +945,6 @@ void GameAccountOfflineNotification::SharedDtor() {
}
if (this != default_instance_) {
delete game_account_id_;
- delete host_;
}
}
diff --git a/src/server/proto/Client/game_utilities_service.pb.h b/src/server/proto/Client/game_utilities_service.pb.h
index 1d7976177c6..90cbde0c13d 100644
--- a/src/server/proto/Client/game_utilities_service.pb.h
+++ b/src/server/proto/Client/game_utilities_service.pb.h
@@ -111,15 +111,6 @@ class TC_PROTO_API ClientRequest : public ::google::protobuf::Message {
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
mutable_attribute();
- // optional .bgs.protocol.ProcessId host = 2 [deprecated = true];
- inline bool has_host() const PROTOBUF_DEPRECATED;
- inline void clear_host() PROTOBUF_DEPRECATED;
- static const int kHostFieldNumber = 2;
- inline const ::bgs::protocol::ProcessId& host() const PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* mutable_host() PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* release_host() PROTOBUF_DEPRECATED;
- inline void set_allocated_host(::bgs::protocol::ProcessId* host) PROTOBUF_DEPRECATED;
-
// optional .bgs.protocol.EntityId account_id = 3;
inline bool has_account_id() const;
inline void clear_account_id();
@@ -156,8 +147,6 @@ class TC_PROTO_API ClientRequest : public ::google::protobuf::Message {
// @@protoc_insertion_point(class_scope:bgs.protocol.game_utilities.v1.ClientRequest)
private:
- inline void set_has_host();
- inline void clear_has_host();
inline void set_has_account_id();
inline void clear_has_account_id();
inline void set_has_game_account_id();
@@ -172,7 +161,6 @@ class TC_PROTO_API ClientRequest : public ::google::protobuf::Message {
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_;
- ::bgs::protocol::ProcessId* host_;
::bgs::protocol::EntityId* account_id_;
::bgs::protocol::EntityId* game_account_id_;
::bgs::protocol::game_utilities::v1::ClientInfo* client_info_;
@@ -314,28 +302,16 @@ class TC_PROTO_API ServerRequest : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 program() const;
inline void set_program(::google::protobuf::uint32 value);
- // optional .bgs.protocol.ProcessId host = 3 [deprecated = true];
- inline bool has_host() const PROTOBUF_DEPRECATED;
- inline void clear_host() PROTOBUF_DEPRECATED;
- static const int kHostFieldNumber = 3;
- inline const ::bgs::protocol::ProcessId& host() const PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* mutable_host() PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* release_host() PROTOBUF_DEPRECATED;
- inline void set_allocated_host(::bgs::protocol::ProcessId* host) PROTOBUF_DEPRECATED;
-
// @@protoc_insertion_point(class_scope:bgs.protocol.game_utilities.v1.ServerRequest)
private:
inline void set_has_program();
inline void clear_has_program();
- inline void set_has_host();
- inline void clear_has_host();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_;
- ::bgs::protocol::ProcessId* host_;
::google::protobuf::uint32 program_;
friend void TC_PROTO_API protobuf_AddDesc_game_5futilities_5fservice_2eproto();
friend void protobuf_AssignDesc_game_5futilities_5fservice_2eproto();
@@ -482,15 +458,6 @@ class TC_PROTO_API PresenceChannelCreatedRequest : public ::google::protobuf::Me
inline ::bgs::protocol::EntityId* release_account_id();
inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
- // optional .bgs.protocol.ProcessId host = 5 [deprecated = true];
- inline bool has_host() const PROTOBUF_DEPRECATED;
- inline void clear_host() PROTOBUF_DEPRECATED;
- static const int kHostFieldNumber = 5;
- inline const ::bgs::protocol::ProcessId& host() const PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* mutable_host() PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* release_host() PROTOBUF_DEPRECATED;
- inline void set_allocated_host(::bgs::protocol::ProcessId* host) PROTOBUF_DEPRECATED;
-
// @@protoc_insertion_point(class_scope:bgs.protocol.game_utilities.v1.PresenceChannelCreatedRequest)
private:
inline void set_has_id();
@@ -499,8 +466,6 @@ class TC_PROTO_API PresenceChannelCreatedRequest : public ::google::protobuf::Me
inline void clear_has_game_account_id();
inline void set_has_account_id();
inline void clear_has_account_id();
- inline void set_has_host();
- inline void clear_has_host();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -509,7 +474,6 @@ class TC_PROTO_API PresenceChannelCreatedRequest : public ::google::protobuf::Me
::bgs::protocol::EntityId* id_;
::bgs::protocol::EntityId* game_account_id_;
::bgs::protocol::EntityId* account_id_;
- ::bgs::protocol::ProcessId* host_;
friend void TC_PROTO_API protobuf_AddDesc_game_5futilities_5fservice_2eproto();
friend void protobuf_AssignDesc_game_5futilities_5fservice_2eproto();
friend void protobuf_ShutdownFile_game_5futilities_5fservice_2eproto();
@@ -568,15 +532,6 @@ class TC_PROTO_API GameAccountOnlineNotification : public ::google::protobuf::Me
inline ::bgs::protocol::EntityId* release_game_account_id();
inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
- // optional .bgs.protocol.ProcessId host = 2 [deprecated = true];
- inline bool has_host() const PROTOBUF_DEPRECATED;
- inline void clear_host() PROTOBUF_DEPRECATED;
- static const int kHostFieldNumber = 2;
- inline const ::bgs::protocol::ProcessId& host() const PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* mutable_host() PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* release_host() PROTOBUF_DEPRECATED;
- inline void set_allocated_host(::bgs::protocol::ProcessId* host) PROTOBUF_DEPRECATED;
-
// optional string session_id = 3;
inline bool has_session_id() const;
inline void clear_session_id();
@@ -593,8 +548,6 @@ class TC_PROTO_API GameAccountOnlineNotification : public ::google::protobuf::Me
private:
inline void set_has_game_account_id();
inline void clear_has_game_account_id();
- inline void set_has_host();
- inline void clear_has_host();
inline void set_has_session_id();
inline void clear_has_session_id();
@@ -603,7 +556,6 @@ class TC_PROTO_API GameAccountOnlineNotification : public ::google::protobuf::Me
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::bgs::protocol::EntityId* game_account_id_;
- ::bgs::protocol::ProcessId* host_;
::std::string* session_id_;
friend void TC_PROTO_API protobuf_AddDesc_game_5futilities_5fservice_2eproto();
friend void protobuf_AssignDesc_game_5futilities_5fservice_2eproto();
@@ -663,15 +615,6 @@ class TC_PROTO_API GameAccountOfflineNotification : public ::google::protobuf::M
inline ::bgs::protocol::EntityId* release_game_account_id();
inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
- // optional .bgs.protocol.ProcessId host = 2 [deprecated = true];
- inline bool has_host() const PROTOBUF_DEPRECATED;
- inline void clear_host() PROTOBUF_DEPRECATED;
- static const int kHostFieldNumber = 2;
- inline const ::bgs::protocol::ProcessId& host() const PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* mutable_host() PROTOBUF_DEPRECATED;
- inline ::bgs::protocol::ProcessId* release_host() PROTOBUF_DEPRECATED;
- inline void set_allocated_host(::bgs::protocol::ProcessId* host) PROTOBUF_DEPRECATED;
-
// optional string session_id = 3;
inline bool has_session_id() const;
inline void clear_session_id();
@@ -688,8 +631,6 @@ class TC_PROTO_API GameAccountOfflineNotification : public ::google::protobuf::M
private:
inline void set_has_game_account_id();
inline void clear_has_game_account_id();
- inline void set_has_host();
- inline void clear_has_host();
inline void set_has_session_id();
inline void clear_has_session_id();
@@ -698,7 +639,6 @@ class TC_PROTO_API GameAccountOfflineNotification : public ::google::protobuf::M
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::bgs::protocol::EntityId* game_account_id_;
- ::bgs::protocol::ProcessId* host_;
::std::string* session_id_;
friend void TC_PROTO_API protobuf_AddDesc_game_5futilities_5fservice_2eproto();
friend void protobuf_AssignDesc_game_5futilities_5fservice_2eproto();
@@ -1163,56 +1103,15 @@ ClientRequest::mutable_attribute() {
return &attribute_;
}
-// optional .bgs.protocol.ProcessId host = 2 [deprecated = true];
-inline bool ClientRequest::has_host() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ClientRequest::set_has_host() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ClientRequest::clear_has_host() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void ClientRequest::clear_host() {
- if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
- clear_has_host();
-}
-inline const ::bgs::protocol::ProcessId& ClientRequest::host() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.ClientRequest.host)
- return host_ != NULL ? *host_ : *default_instance_->host_;
-}
-inline ::bgs::protocol::ProcessId* ClientRequest::mutable_host() {
- set_has_host();
- if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.ClientRequest.host)
- return host_;
-}
-inline ::bgs::protocol::ProcessId* ClientRequest::release_host() {
- clear_has_host();
- ::bgs::protocol::ProcessId* temp = host_;
- host_ = NULL;
- return temp;
-}
-inline void ClientRequest::set_allocated_host(::bgs::protocol::ProcessId* host) {
- delete host_;
- host_ = host;
- if (host) {
- set_has_host();
- } else {
- clear_has_host();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.ClientRequest.host)
-}
-
// optional .bgs.protocol.EntityId account_id = 3;
inline bool ClientRequest::has_account_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
+ return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ClientRequest::set_has_account_id() {
- _has_bits_[0] |= 0x00000004u;
+ _has_bits_[0] |= 0x00000002u;
}
inline void ClientRequest::clear_has_account_id() {
- _has_bits_[0] &= ~0x00000004u;
+ _has_bits_[0] &= ~0x00000002u;
}
inline void ClientRequest::clear_account_id() {
if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
@@ -1247,13 +1146,13 @@ inline void ClientRequest::set_allocated_account_id(::bgs::protocol::EntityId* a
// optional .bgs.protocol.EntityId game_account_id = 4;
inline bool ClientRequest::has_game_account_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
+ return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void ClientRequest::set_has_game_account_id() {
- _has_bits_[0] |= 0x00000008u;
+ _has_bits_[0] |= 0x00000004u;
}
inline void ClientRequest::clear_has_game_account_id() {
- _has_bits_[0] &= ~0x00000008u;
+ _has_bits_[0] &= ~0x00000004u;
}
inline void ClientRequest::clear_game_account_id() {
if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
@@ -1288,13 +1187,13 @@ inline void ClientRequest::set_allocated_game_account_id(::bgs::protocol::Entity
// optional fixed32 program = 5;
inline bool ClientRequest::has_program() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
+ return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void ClientRequest::set_has_program() {
- _has_bits_[0] |= 0x00000010u;
+ _has_bits_[0] |= 0x00000008u;
}
inline void ClientRequest::clear_has_program() {
- _has_bits_[0] &= ~0x00000010u;
+ _has_bits_[0] &= ~0x00000008u;
}
inline void ClientRequest::clear_program() {
program_ = 0u;
@@ -1312,13 +1211,13 @@ inline void ClientRequest::set_program(::google::protobuf::uint32 value) {
// optional .bgs.protocol.game_utilities.v1.ClientInfo client_info = 6;
inline bool ClientRequest::has_client_info() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
+ return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void ClientRequest::set_has_client_info() {
- _has_bits_[0] |= 0x00000020u;
+ _has_bits_[0] |= 0x00000010u;
}
inline void ClientRequest::clear_has_client_info() {
- _has_bits_[0] &= ~0x00000020u;
+ _has_bits_[0] &= ~0x00000010u;
}
inline void ClientRequest::clear_client_info() {
if (client_info_ != NULL) client_info_->::bgs::protocol::game_utilities::v1::ClientInfo::Clear();
@@ -1443,47 +1342,6 @@ inline void ServerRequest::set_program(::google::protobuf::uint32 value) {
// @@protoc_insertion_point(field_set:bgs.protocol.game_utilities.v1.ServerRequest.program)
}
-// optional .bgs.protocol.ProcessId host = 3 [deprecated = true];
-inline bool ServerRequest::has_host() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void ServerRequest::set_has_host() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void ServerRequest::clear_has_host() {
- _has_bits_[0] &= ~0x00000004u;
-}
-inline void ServerRequest::clear_host() {
- if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
- clear_has_host();
-}
-inline const ::bgs::protocol::ProcessId& ServerRequest::host() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.ServerRequest.host)
- return host_ != NULL ? *host_ : *default_instance_->host_;
-}
-inline ::bgs::protocol::ProcessId* ServerRequest::mutable_host() {
- set_has_host();
- if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.ServerRequest.host)
- return host_;
-}
-inline ::bgs::protocol::ProcessId* ServerRequest::release_host() {
- clear_has_host();
- ::bgs::protocol::ProcessId* temp = host_;
- host_ = NULL;
- return temp;
-}
-inline void ServerRequest::set_allocated_host(::bgs::protocol::ProcessId* host) {
- delete host_;
- host_ = host;
- if (host) {
- set_has_host();
- } else {
- clear_has_host();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.ServerRequest.host)
-}
-
// -------------------------------------------------------------------
// ServerResponse
@@ -1645,47 +1503,6 @@ inline void PresenceChannelCreatedRequest::set_allocated_account_id(::bgs::proto
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.PresenceChannelCreatedRequest.account_id)
}
-// optional .bgs.protocol.ProcessId host = 5 [deprecated = true];
-inline bool PresenceChannelCreatedRequest::has_host() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void PresenceChannelCreatedRequest::set_has_host() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void PresenceChannelCreatedRequest::clear_has_host() {
- _has_bits_[0] &= ~0x00000008u;
-}
-inline void PresenceChannelCreatedRequest::clear_host() {
- if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
- clear_has_host();
-}
-inline const ::bgs::protocol::ProcessId& PresenceChannelCreatedRequest::host() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.PresenceChannelCreatedRequest.host)
- return host_ != NULL ? *host_ : *default_instance_->host_;
-}
-inline ::bgs::protocol::ProcessId* PresenceChannelCreatedRequest::mutable_host() {
- set_has_host();
- if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.PresenceChannelCreatedRequest.host)
- return host_;
-}
-inline ::bgs::protocol::ProcessId* PresenceChannelCreatedRequest::release_host() {
- clear_has_host();
- ::bgs::protocol::ProcessId* temp = host_;
- host_ = NULL;
- return temp;
-}
-inline void PresenceChannelCreatedRequest::set_allocated_host(::bgs::protocol::ProcessId* host) {
- delete host_;
- host_ = host;
- if (host) {
- set_has_host();
- } else {
- clear_has_host();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.PresenceChannelCreatedRequest.host)
-}
-
// -------------------------------------------------------------------
// GameAccountOnlineNotification
@@ -1731,56 +1548,15 @@ inline void GameAccountOnlineNotification::set_allocated_game_account_id(::bgs::
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.GameAccountOnlineNotification.game_account_id)
}
-// optional .bgs.protocol.ProcessId host = 2 [deprecated = true];
-inline bool GameAccountOnlineNotification::has_host() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void GameAccountOnlineNotification::set_has_host() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void GameAccountOnlineNotification::clear_has_host() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void GameAccountOnlineNotification::clear_host() {
- if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
- clear_has_host();
-}
-inline const ::bgs::protocol::ProcessId& GameAccountOnlineNotification::host() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.GameAccountOnlineNotification.host)
- return host_ != NULL ? *host_ : *default_instance_->host_;
-}
-inline ::bgs::protocol::ProcessId* GameAccountOnlineNotification::mutable_host() {
- set_has_host();
- if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.GameAccountOnlineNotification.host)
- return host_;
-}
-inline ::bgs::protocol::ProcessId* GameAccountOnlineNotification::release_host() {
- clear_has_host();
- ::bgs::protocol::ProcessId* temp = host_;
- host_ = NULL;
- return temp;
-}
-inline void GameAccountOnlineNotification::set_allocated_host(::bgs::protocol::ProcessId* host) {
- delete host_;
- host_ = host;
- if (host) {
- set_has_host();
- } else {
- clear_has_host();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.GameAccountOnlineNotification.host)
-}
-
// optional string session_id = 3;
inline bool GameAccountOnlineNotification::has_session_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
+ return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void GameAccountOnlineNotification::set_has_session_id() {
- _has_bits_[0] |= 0x00000004u;
+ _has_bits_[0] |= 0x00000002u;
}
inline void GameAccountOnlineNotification::clear_has_session_id() {
- _has_bits_[0] &= ~0x00000004u;
+ _has_bits_[0] &= ~0x00000002u;
}
inline void GameAccountOnlineNotification::clear_session_id() {
if (session_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
@@ -1893,56 +1669,15 @@ inline void GameAccountOfflineNotification::set_allocated_game_account_id(::bgs:
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.GameAccountOfflineNotification.game_account_id)
}
-// optional .bgs.protocol.ProcessId host = 2 [deprecated = true];
-inline bool GameAccountOfflineNotification::has_host() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void GameAccountOfflineNotification::set_has_host() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void GameAccountOfflineNotification::clear_has_host() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void GameAccountOfflineNotification::clear_host() {
- if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
- clear_has_host();
-}
-inline const ::bgs::protocol::ProcessId& GameAccountOfflineNotification::host() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.GameAccountOfflineNotification.host)
- return host_ != NULL ? *host_ : *default_instance_->host_;
-}
-inline ::bgs::protocol::ProcessId* GameAccountOfflineNotification::mutable_host() {
- set_has_host();
- if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.GameAccountOfflineNotification.host)
- return host_;
-}
-inline ::bgs::protocol::ProcessId* GameAccountOfflineNotification::release_host() {
- clear_has_host();
- ::bgs::protocol::ProcessId* temp = host_;
- host_ = NULL;
- return temp;
-}
-inline void GameAccountOfflineNotification::set_allocated_host(::bgs::protocol::ProcessId* host) {
- delete host_;
- host_ = host;
- if (host) {
- set_has_host();
- } else {
- clear_has_host();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.GameAccountOfflineNotification.host)
-}
-
// optional string session_id = 3;
inline bool GameAccountOfflineNotification::has_session_id() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
+ return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void GameAccountOfflineNotification::set_has_session_id() {
- _has_bits_[0] |= 0x00000004u;
+ _has_bits_[0] |= 0x00000002u;
}
inline void GameAccountOfflineNotification::clear_has_session_id() {
- _has_bits_[0] &= ~0x00000004u;
+ _has_bits_[0] &= ~0x00000002u;
}
inline void GameAccountOfflineNotification::clear_session_id() {
if (session_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
diff --git a/src/server/proto/Client/game_utilities_types.pb.cc b/src/server/proto/Client/game_utilities_types.pb.cc
index e2e100d37ec..d2c7a317d81 100644
--- a/src/server/proto/Client/game_utilities_types.pb.cc
+++ b/src/server/proto/Client/game_utilities_types.pb.cc
@@ -115,9 +115,9 @@ void protobuf_AddDesc_game_5futilities_5ftypes_2eproto() {
"bgs.protocol.Identity\022\016\n\006rating\030\002 \001(\001\022*\n"
"\tattribute\030\003 \003(\0132\027.bgs.protocol.Attribut"
"e\"@\n\nClientInfo\022\026\n\016client_address\030\001 \001(\t\022"
- "\032\n\022privileged_network\030\002 \001(\010B<\n\037bnet.prot"
- "ocol.game_utilities.v1B\027GameUtilitiesTyp"
- "esProtoH\002", 369);
+ "\032\n\022privileged_network\030\002 \001(\010B;\n\036bgs.proto"
+ "col.game_utilities.v1B\027GameUtilitiesType"
+ "sProtoH\002", 368);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"game_utilities_types.proto", &protobuf_RegisterTypes);
PlayerVariables::default_instance_ = new PlayerVariables();
diff --git a/src/server/proto/Client/global_extensions/field_options.pb.cc b/src/server/proto/Client/global_extensions/field_options.pb.cc
index 28f76d48ccb..7fdb22a23bb 100644
--- a/src/server/proto/Client/global_extensions/field_options.pb.cc
+++ b/src/server/proto/Client/global_extensions/field_options.pb.cc
@@ -358,8 +358,8 @@ void protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto() {
"le.protobuf.FieldOptions\030\220\277\005 \001(\0132\035.bgs.p"
"rotocol.BGSFieldOptions:N\n\005valid\022\035.googl"
"e.protobuf.FieldOptions\030\221\277\005 \001(\0132\036.bgs.pr"
- "otocol.FieldRestrictionB$\n\rbnet.protocol"
- "B\021FieldOptionsProtoH\002", 2021);
+ "otocol.FieldRestrictionB#\n\014bgs.protocolB"
+ "\021FieldOptionsProtoH\002", 2020);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"global_extensions/field_options.proto", &protobuf_RegisterTypes);
BGSFieldOptions::default_instance_ = new BGSFieldOptions();
diff --git a/src/server/proto/Client/global_extensions/message_options.pb.cc b/src/server/proto/Client/global_extensions/message_options.pb.cc
index f057eb72ecb..b4018b6b9a0 100644
--- a/src/server/proto/Client/global_extensions/message_options.pb.cc
+++ b/src/server/proto/Client/global_extensions/message_options.pb.cc
@@ -86,8 +86,8 @@ void protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto() {
"_select_shard\030\001 \001(\010\022\030\n\020custom_validator\030"
"\002 \001(\010:[\n\017message_options\022\037.google.protob"
"uf.MessageOptions\030\220\277\005 \001(\0132\037.bgs.protocol"
- ".BGSMessageOptionsB&\n\rbnet.protocolB\023Mes"
- "sageOptionsProtoH\002", 298);
+ ".BGSMessageOptionsB%\n\014bgs.protocolB\023Mess"
+ "ageOptionsProtoH\002", 297);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"global_extensions/message_options.proto", &protobuf_RegisterTypes);
BGSMessageOptions::default_instance_ = new BGSMessageOptions();
diff --git a/src/server/proto/Client/global_extensions/method_options.pb.cc b/src/server/proto/Client/global_extensions/method_options.pb.cc
index 3b980ceb509..9d3c2ea5d03 100644
--- a/src/server/proto/Client/global_extensions/method_options.pb.cc
+++ b/src/server/proto/Client/global_extensions/method_options.pb.cc
@@ -34,7 +34,7 @@ void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto() {
"global_extensions/method_options.proto");
GOOGLE_CHECK(file != NULL);
BGSMethodOptions_descriptor_ = file->message_type(0);
- static const int BGSMethodOptions_offsets_[7] = {
+ static const int BGSMethodOptions_offsets_[10] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, client_identity_routing_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, enable_fanout_),
@@ -42,6 +42,9 @@ void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, forward_key_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, idempotent_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, handle_destination_unreachable_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, custom_region_resolver_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, explicit_region_routing_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, obsolete_),
};
BGSMethodOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -89,16 +92,18 @@ void protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto() {
"\n&global_extensions/method_options.proto"
"\022\014bgs.protocol\032 google/protobuf/descript"
"or.proto\032\037global_extensions/routing.prot"
- "o\"\363\001\n\020BGSMethodOptions\022\n\n\002id\030\001 \001(\r\022H\n\027cl"
+ "o\"\306\002\n\020BGSMethodOptions\022\n\n\002id\030\001 \001(\r\022H\n\027cl"
"ient_identity_routing\030\002 \001(\0162\'.bgs.protoc"
"ol.ClientIdentityRoutingType\022\025\n\renable_f"
"anout\030\003 \001(\010\022!\n\031legacy_fanout_replacement"
"\030\004 \001(\t\022\023\n\013forward_key\030\005 \001(\t\022\022\n\nidempoten"
"t\030\006 \001(\010\022&\n\036handle_destination_unreachabl"
- "e\030\007 \001(\010:X\n\016method_options\022\036.google.proto"
- "buf.MethodOptions\030\220\277\005 \001(\0132\036.bgs.protocol"
- ".BGSMethodOptionsB%\n\rbnet.protocolB\022Meth"
- "odOptionsProtoH\002", 496);
+ "e\030\007 \001(\010\022\036\n\026custom_region_resolver\030\010 \001(\t\022"
+ "\037\n\027explicit_region_routing\030\t \001(\010\022\020\n\010obso"
+ "lete\030\n \001(\010:X\n\016method_options\022\036.google.pr"
+ "otobuf.MethodOptions\030\220\277\005 \001(\0132\036.bgs.proto"
+ "col.BGSMethodOptionsB$\n\014bgs.protocolB\022Me"
+ "thodOptionsProtoH\002", 578);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"global_extensions/method_options.proto", &protobuf_RegisterTypes);
BGSMethodOptions::default_instance_ = new BGSMethodOptions();
@@ -126,6 +131,9 @@ const int BGSMethodOptions::kLegacyFanoutReplacementFieldNumber;
const int BGSMethodOptions::kForwardKeyFieldNumber;
const int BGSMethodOptions::kIdempotentFieldNumber;
const int BGSMethodOptions::kHandleDestinationUnreachableFieldNumber;
+const int BGSMethodOptions::kCustomRegionResolverFieldNumber;
+const int BGSMethodOptions::kExplicitRegionRoutingFieldNumber;
+const int BGSMethodOptions::kObsoleteFieldNumber;
#endif // !_MSC_VER
BGSMethodOptions::BGSMethodOptions()
@@ -154,6 +162,9 @@ void BGSMethodOptions::SharedCtor() {
forward_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
idempotent_ = false;
handle_destination_unreachable_ = false;
+ custom_region_resolver_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ explicit_region_routing_ = false;
+ obsolete_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -169,6 +180,9 @@ void BGSMethodOptions::SharedDtor() {
if (forward_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete forward_key_;
}
+ if (custom_region_resolver_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete custom_region_resolver_;
+ }
if (this != default_instance_) {
}
}
diff --git a/src/server/proto/Client/global_extensions/method_options.pb.h b/src/server/proto/Client/global_extensions/method_options.pb.h
index 0e325e98b09..2e7678a9332 100644
--- a/src/server/proto/Client/global_extensions/method_options.pb.h
+++ b/src/server/proto/Client/global_extensions/method_options.pb.h
@@ -140,6 +140,32 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
inline bool handle_destination_unreachable() const;
inline void set_handle_destination_unreachable(bool value);
+ // optional string custom_region_resolver = 8;
+ inline bool has_custom_region_resolver() const;
+ inline void clear_custom_region_resolver();
+ static const int kCustomRegionResolverFieldNumber = 8;
+ inline const ::std::string& custom_region_resolver() const;
+ inline void set_custom_region_resolver(const ::std::string& value);
+ inline void set_custom_region_resolver(const char* value);
+ inline void set_custom_region_resolver(const char* value, size_t size);
+ inline ::std::string* mutable_custom_region_resolver();
+ inline ::std::string* release_custom_region_resolver();
+ inline void set_allocated_custom_region_resolver(::std::string* custom_region_resolver);
+
+ // optional bool explicit_region_routing = 9;
+ inline bool has_explicit_region_routing() const;
+ inline void clear_explicit_region_routing();
+ static const int kExplicitRegionRoutingFieldNumber = 9;
+ inline bool explicit_region_routing() const;
+ inline void set_explicit_region_routing(bool value);
+
+ // optional bool obsolete = 10;
+ inline bool has_obsolete() const;
+ inline void clear_obsolete();
+ static const int kObsoleteFieldNumber = 10;
+ inline bool obsolete() const;
+ inline void set_obsolete(bool value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.BGSMethodOptions)
private:
inline void set_has_id();
@@ -156,6 +182,12 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
inline void clear_has_idempotent();
inline void set_has_handle_destination_unreachable();
inline void clear_has_handle_destination_unreachable();
+ inline void set_has_custom_region_resolver();
+ inline void clear_has_custom_region_resolver();
+ inline void set_has_explicit_region_routing();
+ inline void clear_has_explicit_region_routing();
+ inline void set_has_obsolete();
+ inline void clear_has_obsolete();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -168,6 +200,9 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
bool enable_fanout_;
bool idempotent_;
bool handle_destination_unreachable_;
+ bool explicit_region_routing_;
+ bool obsolete_;
+ ::std::string* custom_region_resolver_;
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto();
friend void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto();
friend void protobuf_ShutdownFile_global_5fextensions_2fmethod_5foptions_2eproto();
@@ -461,6 +496,130 @@ inline void BGSMethodOptions::set_handle_destination_unreachable(bool value) {
// @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.handle_destination_unreachable)
}
+// optional string custom_region_resolver = 8;
+inline bool BGSMethodOptions::has_custom_region_resolver() const {
+ return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void BGSMethodOptions::set_has_custom_region_resolver() {
+ _has_bits_[0] |= 0x00000080u;
+}
+inline void BGSMethodOptions::clear_has_custom_region_resolver() {
+ _has_bits_[0] &= ~0x00000080u;
+}
+inline void BGSMethodOptions::clear_custom_region_resolver() {
+ if (custom_region_resolver_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ custom_region_resolver_->clear();
+ }
+ clear_has_custom_region_resolver();
+}
+inline const ::std::string& BGSMethodOptions::custom_region_resolver() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.custom_region_resolver)
+ return *custom_region_resolver_;
+}
+inline void BGSMethodOptions::set_custom_region_resolver(const ::std::string& value) {
+ set_has_custom_region_resolver();
+ if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ custom_region_resolver_ = new ::std::string;
+ }
+ custom_region_resolver_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.custom_region_resolver)
+}
+inline void BGSMethodOptions::set_custom_region_resolver(const char* value) {
+ set_has_custom_region_resolver();
+ if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ custom_region_resolver_ = new ::std::string;
+ }
+ custom_region_resolver_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.custom_region_resolver)
+}
+inline void BGSMethodOptions::set_custom_region_resolver(const char* value, size_t size) {
+ set_has_custom_region_resolver();
+ if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ custom_region_resolver_ = new ::std::string;
+ }
+ custom_region_resolver_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.custom_region_resolver)
+}
+inline ::std::string* BGSMethodOptions::mutable_custom_region_resolver() {
+ set_has_custom_region_resolver();
+ if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ custom_region_resolver_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.custom_region_resolver)
+ return custom_region_resolver_;
+}
+inline ::std::string* BGSMethodOptions::release_custom_region_resolver() {
+ clear_has_custom_region_resolver();
+ if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = custom_region_resolver_;
+ custom_region_resolver_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void BGSMethodOptions::set_allocated_custom_region_resolver(::std::string* custom_region_resolver) {
+ if (custom_region_resolver_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete custom_region_resolver_;
+ }
+ if (custom_region_resolver) {
+ set_has_custom_region_resolver();
+ custom_region_resolver_ = custom_region_resolver;
+ } else {
+ clear_has_custom_region_resolver();
+ custom_region_resolver_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.custom_region_resolver)
+}
+
+// optional bool explicit_region_routing = 9;
+inline bool BGSMethodOptions::has_explicit_region_routing() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void BGSMethodOptions::set_has_explicit_region_routing() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void BGSMethodOptions::clear_has_explicit_region_routing() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void BGSMethodOptions::clear_explicit_region_routing() {
+ explicit_region_routing_ = false;
+ clear_has_explicit_region_routing();
+}
+inline bool BGSMethodOptions::explicit_region_routing() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.explicit_region_routing)
+ return explicit_region_routing_;
+}
+inline void BGSMethodOptions::set_explicit_region_routing(bool value) {
+ set_has_explicit_region_routing();
+ explicit_region_routing_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.explicit_region_routing)
+}
+
+// optional bool obsolete = 10;
+inline bool BGSMethodOptions::has_obsolete() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void BGSMethodOptions::set_has_obsolete() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void BGSMethodOptions::clear_has_obsolete() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void BGSMethodOptions::clear_obsolete() {
+ obsolete_ = false;
+ clear_has_obsolete();
+}
+inline bool BGSMethodOptions::obsolete() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.obsolete)
+ return obsolete_;
+}
+inline void BGSMethodOptions::set_obsolete(bool value) {
+ set_has_obsolete();
+ obsolete_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.obsolete)
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace protocol
diff --git a/src/server/proto/Client/global_extensions/service_options.pb.cc b/src/server/proto/Client/global_extensions/service_options.pb.cc
index 1ac7a37bf15..e63be92a696 100644
--- a/src/server/proto/Client/global_extensions/service_options.pb.cc
+++ b/src/server/proto/Client/global_extensions/service_options.pb.cc
@@ -38,13 +38,14 @@ void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto() {
"global_extensions/service_options.proto");
GOOGLE_CHECK(file != NULL);
BGSServiceOptions_descriptor_ = file->message_type(0);
- static const int BGSServiceOptions_offsets_[6] = {
+ static const int BGSServiceOptions_offsets_[7] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, descriptor_name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, version_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, shard_name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, resolve_client_instance_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, api_type_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSServiceOptions, is_global_),
};
BGSServiceOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -112,22 +113,23 @@ void protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto() {
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\'global_extensions/service_options.prot"
"o\022\014bgs.protocol\032 google/protobuf/descrip"
- "tor.proto\"\236\002\n\021BGSServiceOptions\022\027\n\017descr"
+ "tor.proto\"\316\002\n\021BGSServiceOptions\022\027\n\017descr"
"iptor_name\030\001 \001(\t\022\017\n\007version\030\004 \001(\r\022\022\n\nsha"
"rd_name\030\005 \001(\t\022\037\n\027resolve_client_instance"
"\030\006 \001(\010\0229\n\004type\030\007 \001(\0162+.bgs.protocol.BGSS"
"erviceOptions.ServiceType\022\020\n\010api_type\030\010 "
- "\001(\t\"]\n\013ServiceType\022\024\n\020SERVICE_TYPE_RPC\020\000"
- "\022\026\n\022SERVICE_TYPE_EVENT\020\001\022 \n\034SERVICE_TYPE"
- "_EVENT_BROADCAST\020\002\"M\n\021SDKServiceOptions\022"
- "\017\n\007inbound\030\001 \001(\010\022\020\n\010outbound\030\002 \001(\010\022\025\n\rus"
- "e_client_id\030\003 \001(\010:[\n\017service_options\022\037.g"
- "oogle.protobuf.ServiceOptions\030\220\277\005 \001(\0132\037."
- "bgs.protocol.BGSServiceOptions:_\n\023sdk_se"
- "rvice_options\022\037.google.protobuf.ServiceO"
- "ptions\030\221\277\005 \001(\0132\037.bgs.protocol.SDKService"
- "OptionsB&\n\rbnet.protocolB\023ServiceOptions"
- "ProtoH\002", 687);
+ "\001(\t\022\021\n\tis_global\030\t \001(\010\"z\n\013ServiceType\022\024\n"
+ "\020SERVICE_TYPE_RPC\020\000\022\033\n\027SERVICE_TYPE_RPC_"
+ "DIRECT\020\001\022\026\n\022SERVICE_TYPE_EVENT\020\002\022 \n\034SERV"
+ "ICE_TYPE_EVENT_BROADCAST\020\003\"M\n\021SDKService"
+ "Options\022\017\n\007inbound\030\001 \001(\010\022\020\n\010outbound\030\002 \001"
+ "(\010\022\025\n\ruse_client_id\030\003 \001(\010:[\n\017service_opt"
+ "ions\022\037.google.protobuf.ServiceOptions\030\220\277"
+ "\005 \001(\0132\037.bgs.protocol.BGSServiceOptions:_"
+ "\n\023sdk_service_options\022\037.google.protobuf."
+ "ServiceOptions\030\221\277\005 \001(\0132\037.bgs.protocol.SD"
+ "KServiceOptionsB%\n\014bgs.protocolB\023Service"
+ "OptionsProtoH\002", 734);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"global_extensions/service_options.proto", &protobuf_RegisterTypes);
BGSServiceOptions::default_instance_ = new BGSServiceOptions();
@@ -162,6 +164,7 @@ bool BGSServiceOptions_ServiceType_IsValid(int value) {
case 0:
case 1:
case 2:
+ case 3:
return true;
default:
return false;
@@ -170,6 +173,7 @@ bool BGSServiceOptions_ServiceType_IsValid(int value) {
#ifndef _MSC_VER
const BGSServiceOptions_ServiceType BGSServiceOptions::SERVICE_TYPE_RPC;
+const BGSServiceOptions_ServiceType BGSServiceOptions::SERVICE_TYPE_RPC_DIRECT;
const BGSServiceOptions_ServiceType BGSServiceOptions::SERVICE_TYPE_EVENT;
const BGSServiceOptions_ServiceType BGSServiceOptions::SERVICE_TYPE_EVENT_BROADCAST;
const BGSServiceOptions_ServiceType BGSServiceOptions::ServiceType_MIN;
@@ -183,6 +187,7 @@ const int BGSServiceOptions::kShardNameFieldNumber;
const int BGSServiceOptions::kResolveClientInstanceFieldNumber;
const int BGSServiceOptions::kTypeFieldNumber;
const int BGSServiceOptions::kApiTypeFieldNumber;
+const int BGSServiceOptions::kIsGlobalFieldNumber;
#endif // !_MSC_VER
BGSServiceOptions::BGSServiceOptions()
@@ -210,6 +215,7 @@ void BGSServiceOptions::SharedCtor() {
resolve_client_instance_ = false;
type_ = 0;
api_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ is_global_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/global_extensions/service_options.pb.h b/src/server/proto/Client/global_extensions/service_options.pb.h
index 23378f2390b..58177f4a4b9 100644
--- a/src/server/proto/Client/global_extensions/service_options.pb.h
+++ b/src/server/proto/Client/global_extensions/service_options.pb.h
@@ -42,8 +42,9 @@ class SDKServiceOptions;
enum BGSServiceOptions_ServiceType {
BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC = 0,
- BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT = 1,
- BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT_BROADCAST = 2
+ BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC_DIRECT = 1,
+ BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT = 2,
+ BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT_BROADCAST = 3
};
TC_PROTO_API bool BGSServiceOptions_ServiceType_IsValid(int value);
const BGSServiceOptions_ServiceType BGSServiceOptions_ServiceType_ServiceType_MIN = BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC;
@@ -102,6 +103,7 @@ class TC_PROTO_API BGSServiceOptions : public ::google::protobuf::Message {
typedef BGSServiceOptions_ServiceType ServiceType;
static const ServiceType SERVICE_TYPE_RPC = BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC;
+ static const ServiceType SERVICE_TYPE_RPC_DIRECT = BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC_DIRECT;
static const ServiceType SERVICE_TYPE_EVENT = BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT;
static const ServiceType SERVICE_TYPE_EVENT_BROADCAST = BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT_BROADCAST;
static inline bool ServiceType_IsValid(int value) {
@@ -184,6 +186,13 @@ class TC_PROTO_API BGSServiceOptions : public ::google::protobuf::Message {
inline ::std::string* release_api_type();
inline void set_allocated_api_type(::std::string* api_type);
+ // optional bool is_global = 9;
+ inline bool has_is_global() const;
+ inline void clear_is_global();
+ static const int kIsGlobalFieldNumber = 9;
+ inline bool is_global() const;
+ inline void set_is_global(bool value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.BGSServiceOptions)
private:
inline void set_has_descriptor_name();
@@ -198,6 +207,8 @@ class TC_PROTO_API BGSServiceOptions : public ::google::protobuf::Message {
inline void clear_has_type();
inline void set_has_api_type();
inline void clear_has_api_type();
+ inline void set_has_is_global();
+ inline void clear_has_is_global();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -206,9 +217,10 @@ class TC_PROTO_API BGSServiceOptions : public ::google::protobuf::Message {
::std::string* descriptor_name_;
::std::string* shard_name_;
::google::protobuf::uint32 version_;
- bool resolve_client_instance_;
- ::std::string* api_type_;
int type_;
+ ::std::string* api_type_;
+ bool resolve_client_instance_;
+ bool is_global_;
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto();
friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto();
friend void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto();
@@ -620,6 +632,30 @@ inline void BGSServiceOptions::set_allocated_api_type(::std::string* api_type) {
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSServiceOptions.api_type)
}
+// optional bool is_global = 9;
+inline bool BGSServiceOptions::has_is_global() const {
+ return (_has_bits_[0] & 0x00000040u) != 0;
+}
+inline void BGSServiceOptions::set_has_is_global() {
+ _has_bits_[0] |= 0x00000040u;
+}
+inline void BGSServiceOptions::clear_has_is_global() {
+ _has_bits_[0] &= ~0x00000040u;
+}
+inline void BGSServiceOptions::clear_is_global() {
+ is_global_ = false;
+ clear_has_is_global();
+}
+inline bool BGSServiceOptions::is_global() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.is_global)
+ return is_global_;
+}
+inline void BGSServiceOptions::set_is_global(bool value) {
+ set_has_is_global();
+ is_global_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.is_global)
+}
+
// -------------------------------------------------------------------
// SDKServiceOptions
diff --git a/src/server/proto/Client/invitation_types.pb.cc b/src/server/proto/Client/invitation_types.pb.cc
index 408afac9dd2..2dede344f85 100644
--- a/src/server/proto/Client/invitation_types.pb.cc
+++ b/src/server/proto/Client/invitation_types.pb.cc
@@ -134,8 +134,8 @@ void protobuf_AddDesc_invitation_5ftypes_2eproto() {
"PPROVED\020\000\022&\n\"SUGGESTION_REMOVED_REASON_D"
"ECLINED\020\001\022%\n!SUGGESTION_REMOVED_REASON_E"
"XPIRED\020\002\022&\n\"SUGGESTION_REMOVED_REASON_CA"
- "NCELED\020\003B\'\n\rbnet.protocolB\024InvitationTyp"
- "esProtoH\002", 889);
+ "NCELED\020\003B&\n\014bgs.protocolB\024InvitationType"
+ "sProtoH\002", 888);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"invitation_types.proto", &protobuf_RegisterTypes);
Invitation::default_instance_ = new Invitation();
diff --git a/src/server/proto/Client/presence_listener.pb.cc b/src/server/proto/Client/presence_listener.pb.cc
index 55b823f4be6..25d6d1e8222 100644
--- a/src/server/proto/Client/presence_listener.pb.cc
+++ b/src/server/proto/Client/presence_listener.pb.cc
@@ -119,15 +119,15 @@ void protobuf_AddDesc_presence_5flistener_2eproto() {
"resenceState\"\215\001\n\030StateChangedNotificatio"
"n\0229\n\rsubscriber_id\030\001 \001(\0132\".bgs.protocol."
"account.v1.AccountId\0226\n\005state\030\002 \003(\0132\'.bg"
- "s.protocol.presence.v1.PresenceState2\232\002\n"
+ "s.protocol.presence.v1.PresenceState2\234\002\n"
"\020PresenceListener\022c\n\013OnSubscribe\022/.bgs.p"
"rotocol.presence.v1.SubscribeNotificatio"
"n\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\0018\001\022i"
"\n\016OnStateChanged\0222.bgs.protocol.presence"
".v1.StateChangedNotification\032\031.bgs.proto"
- "col.NO_RESPONSE\"\010\202\371+\004\010\0028\001\0326\202\371+,\n*bnet.pr"
- "otocol.presence.v1.PresenceListener\212\371+\002\010"
- "\001B\002H\002", 685);
+ "col.NO_RESPONSE\"\010\202\371+\004\010\0028\001\0328\202\371+.\n*bnet.pr"
+ "otocol.presence.v1.PresenceListener8\001\212\371+"
+ "\002\010\001B\002H\002", 687);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"presence_listener.proto", &protobuf_RegisterTypes);
SubscribeNotification::default_instance_ = new SubscribeNotification();
diff --git a/src/server/proto/Client/resource_service.pb.cc b/src/server/proto/Client/resource_service.pb.cc
index 11be715e690..12e79aa5567 100644
--- a/src/server/proto/Client/resource_service.pb.cc
+++ b/src/server/proto/Client/resource_service.pb.cc
@@ -27,6 +27,12 @@ namespace {
const ::google::protobuf::Descriptor* ContentHandleRequest_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
ContentHandleRequest_reflection_ = NULL;
+const ::google::protobuf::Descriptor* GetTitleIconsRequest_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ GetTitleIconsRequest_reflection_ = NULL;
+const ::google::protobuf::Descriptor* GetTitleIconsResponse_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ GetTitleIconsResponse_reflection_ = NULL;
const ::google::protobuf::ServiceDescriptor* ResourcesService_descriptor_ = NULL;
} // namespace
@@ -54,6 +60,38 @@ void protobuf_AssignDesc_resource_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ContentHandleRequest));
+ GetTitleIconsRequest_descriptor_ = file->message_type(1);
+ static const int GetTitleIconsRequest_offsets_[3] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsRequest, title_ids_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsRequest, usage_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsRequest, version_),
+ };
+ GetTitleIconsRequest_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ GetTitleIconsRequest_descriptor_,
+ GetTitleIconsRequest::default_instance_,
+ GetTitleIconsRequest_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsRequest, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsRequest, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(GetTitleIconsRequest));
+ GetTitleIconsResponse_descriptor_ = file->message_type(2);
+ static const int GetTitleIconsResponse_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsResponse, title_icon_content_handles_),
+ };
+ GetTitleIconsResponse_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ GetTitleIconsResponse_descriptor_,
+ GetTitleIconsResponse::default_instance_,
+ GetTitleIconsResponse_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsResponse, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTitleIconsResponse, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(GetTitleIconsResponse));
ResourcesService_descriptor_ = file->service(0);
}
@@ -69,6 +107,10 @@ void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
ContentHandleRequest_descriptor_, &ContentHandleRequest::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ GetTitleIconsRequest_descriptor_, &GetTitleIconsRequest::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ GetTitleIconsResponse_descriptor_, &GetTitleIconsResponse::default_instance());
}
} // namespace
@@ -76,6 +118,10 @@ void protobuf_RegisterTypes(const ::std::string&) {
void protobuf_ShutdownFile_resource_5fservice_2eproto() {
delete ContentHandleRequest::default_instance_;
delete ContentHandleRequest_reflection_;
+ delete GetTitleIconsRequest::default_instance_;
+ delete GetTitleIconsRequest_reflection_;
+ delete GetTitleIconsResponse::default_instance_;
+ delete GetTitleIconsResponse_reflection_;
}
void protobuf_AddDesc_resource_5fservice_2eproto() {
@@ -91,16 +137,28 @@ void protobuf_AddDesc_resource_5fservice_2eproto() {
"esources.v1\032\032content_handle_types.proto\032"
"\017rpc_types.proto\"\\\n\024ContentHandleRequest"
"\022\017\n\007program\030\001 \002(\007\022\016\n\006stream\030\002 \002(\007\022\033\n\007ver"
- "sion\030\003 \001(\007:\n1701729619:\006\202\371+\002\020\0012\266\001\n\020Resou"
- "rcesService\022h\n\020GetContentHandle\022/.bgs.pr"
- "otocol.resources.v1.ContentHandleRequest"
- "\032\033.bgs.protocol.ContentHandle\"\006\202\371+\002\010\001\0328\202"
- "\371+.\n!bnet.protocol.resources.Resources*\t"
- "resources\212\371+\002\020\001B\005H\002\200\001\000", 382);
+ "sion\030\003 \001(\007:\n1701729619:\006\202\371+\002\020\001\"M\n\024GetTit"
+ "leIconsRequest\022\025\n\ttitle_ids\030\001 \003(\rB\002\020\001\022\r\n"
+ "\005usage\030\002 \001(\r\022\017\n\007version\030\003 \001(\r\"a\n\025GetTitl"
+ "eIconsResponse\022H\n\032title_icon_content_han"
+ "dles\030\001 \003(\0132$.bgs.protocol.TitleIconConte"
+ "ntHandle2\262\002\n\020ResourcesService\022h\n\020GetCont"
+ "entHandle\022/.bgs.protocol.resources.v1.Co"
+ "ntentHandleRequest\032\033.bgs.protocol.Conten"
+ "tHandle\"\006\202\371+\002\010\001\022z\n\rGetTitleIcons\022/.bgs.p"
+ "rotocol.resources.v1.GetTitleIconsReques"
+ "t\0320.bgs.protocol.resources.v1.GetTitleIc"
+ "onsResponse\"\006\202\371+\002\010\002\0328\202\371+.\n!bnet.protocol"
+ ".resources.Resources*\tresources\212\371+\002\020\001B\005H"
+ "\002\200\001\000", 684);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"resource_service.proto", &protobuf_RegisterTypes);
ContentHandleRequest::default_instance_ = new ContentHandleRequest();
+ GetTitleIconsRequest::default_instance_ = new GetTitleIconsRequest();
+ GetTitleIconsResponse::default_instance_ = new GetTitleIconsResponse();
ContentHandleRequest::default_instance_->InitAsDefaultInstance();
+ GetTitleIconsRequest::default_instance_->InitAsDefaultInstance();
+ GetTitleIconsResponse::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_resource_5fservice_2eproto);
}
@@ -188,6 +246,152 @@ void ContentHandleRequest::Swap(ContentHandleRequest* other) {
// ===================================================================
+#ifndef _MSC_VER
+const int GetTitleIconsRequest::kTitleIdsFieldNumber;
+const int GetTitleIconsRequest::kUsageFieldNumber;
+const int GetTitleIconsRequest::kVersionFieldNumber;
+#endif // !_MSC_VER
+
+GetTitleIconsRequest::GetTitleIconsRequest()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.resources.v1.GetTitleIconsRequest)
+}
+
+void GetTitleIconsRequest::InitAsDefaultInstance() {
+}
+
+GetTitleIconsRequest::GetTitleIconsRequest(const GetTitleIconsRequest& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.resources.v1.GetTitleIconsRequest)
+}
+
+void GetTitleIconsRequest::SharedCtor() {
+ _cached_size_ = 0;
+ usage_ = 0u;
+ version_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+GetTitleIconsRequest::~GetTitleIconsRequest() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.resources.v1.GetTitleIconsRequest)
+ SharedDtor();
+}
+
+void GetTitleIconsRequest::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void GetTitleIconsRequest::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* GetTitleIconsRequest::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return GetTitleIconsRequest_descriptor_;
+}
+
+const GetTitleIconsRequest& GetTitleIconsRequest::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_resource_5fservice_2eproto();
+ return *default_instance_;
+}
+
+GetTitleIconsRequest* GetTitleIconsRequest::default_instance_ = NULL;
+
+GetTitleIconsRequest* GetTitleIconsRequest::New() const {
+ return new GetTitleIconsRequest;
+}
+
+void GetTitleIconsRequest::Swap(GetTitleIconsRequest* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata GetTitleIconsRequest::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = GetTitleIconsRequest_descriptor_;
+ metadata.reflection = GetTitleIconsRequest_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int GetTitleIconsResponse::kTitleIconContentHandlesFieldNumber;
+#endif // !_MSC_VER
+
+GetTitleIconsResponse::GetTitleIconsResponse()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.resources.v1.GetTitleIconsResponse)
+}
+
+void GetTitleIconsResponse::InitAsDefaultInstance() {
+}
+
+GetTitleIconsResponse::GetTitleIconsResponse(const GetTitleIconsResponse& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.resources.v1.GetTitleIconsResponse)
+}
+
+void GetTitleIconsResponse::SharedCtor() {
+ _cached_size_ = 0;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+GetTitleIconsResponse::~GetTitleIconsResponse() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.resources.v1.GetTitleIconsResponse)
+ SharedDtor();
+}
+
+void GetTitleIconsResponse::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void GetTitleIconsResponse::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* GetTitleIconsResponse::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return GetTitleIconsResponse_descriptor_;
+}
+
+const GetTitleIconsResponse& GetTitleIconsResponse::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_resource_5fservice_2eproto();
+ return *default_instance_;
+}
+
+GetTitleIconsResponse* GetTitleIconsResponse::default_instance_ = NULL;
+
+GetTitleIconsResponse* GetTitleIconsResponse::New() const {
+ return new GetTitleIconsResponse;
+}
+
+void GetTitleIconsResponse::Swap(GetTitleIconsResponse* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata GetTitleIconsResponse::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = GetTitleIconsResponse_descriptor_;
+ metadata.reflection = GetTitleIconsResponse_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
ResourcesService::ResourcesService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) {
}
@@ -204,6 +408,9 @@ void ResourcesService::CallServerMethod(uint32 token, uint32 methodId, MessageBu
case 1:
ParseAndHandleGetContentHandle(token, methodId, buffer);
break;
+ case 2:
+ ParseAndHandleGetTitleIcons(token, methodId, buffer);
+ break;
default:
LogInvalidMethod(methodId);
SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD);
@@ -216,6 +423,11 @@ uint32 ResourcesService::HandleGetContentHandle(::bgs::protocol::resources::v1::
return ERROR_RPC_NOT_IMPLEMENTED;
}
+uint32 ResourcesService::HandleGetTitleIcons(::bgs::protocol::resources::v1::GetTitleIconsRequest const* request, ::bgs::protocol::resources::v1::GetTitleIconsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
+ LogUnimplementedServerMethod("ResourcesService.GetTitleIcons", request);
+ return ERROR_RPC_NOT_IMPLEMENTED;
+}
+
void ResourcesService::ParseAndHandleGetContentHandle(uint32 token, uint32 methodId, MessageBuffer& buffer) {
::bgs::protocol::resources::v1::ContentHandleRequest request;
if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
@@ -231,6 +443,21 @@ void ResourcesService::ParseAndHandleGetContentHandle(uint32 token, uint32 metho
continuation(this, status, &response);
}
+void ResourcesService::ParseAndHandleGetTitleIcons(uint32 token, uint32 methodId, MessageBuffer& buffer) {
+ ::bgs::protocol::resources::v1::GetTitleIconsRequest request;
+ if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
+ LogFailedParsingRequest("ResourcesService.GetTitleIcons");
+ SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
+ return;
+ }
+ LogCallServerMethod("ResourcesService.GetTitleIcons", "bgs.protocol.resources.v1.GetTitleIconsRequest", &request);
+ std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "ResourcesService.GetTitleIcons", ::bgs::protocol::resources::v1::GetTitleIconsResponse::descriptor());
+ ::bgs::protocol::resources::v1::GetTitleIconsResponse response;
+ uint32 status = HandleGetTitleIcons(&request, &response, continuation);
+ if (continuation)
+ continuation(this, status, &response);
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1
diff --git a/src/server/proto/Client/resource_service.pb.h b/src/server/proto/Client/resource_service.pb.h
index 3c1bfa04564..4623c39fbf6 100644
--- a/src/server/proto/Client/resource_service.pb.h
+++ b/src/server/proto/Client/resource_service.pb.h
@@ -43,6 +43,8 @@ void protobuf_AssignDesc_resource_5fservice_2eproto();
void protobuf_ShutdownFile_resource_5fservice_2eproto();
class ContentHandleRequest;
+class GetTitleIconsRequest;
+class GetTitleIconsResponse;
// ===================================================================
@@ -130,6 +132,164 @@ class TC_PROTO_API ContentHandleRequest : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static ContentHandleRequest* default_instance_;
};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API GetTitleIconsRequest : public ::google::protobuf::Message {
+ public:
+ GetTitleIconsRequest();
+ virtual ~GetTitleIconsRequest();
+
+ GetTitleIconsRequest(const GetTitleIconsRequest& from);
+
+ inline GetTitleIconsRequest& operator=(const GetTitleIconsRequest& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const GetTitleIconsRequest& default_instance();
+
+ void Swap(GetTitleIconsRequest* other);
+
+ // implements Message ----------------------------------------------
+
+ GetTitleIconsRequest* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated uint32 title_ids = 1 [packed = true];
+ inline int title_ids_size() const;
+ inline void clear_title_ids();
+ static const int kTitleIdsFieldNumber = 1;
+ inline ::google::protobuf::uint32 title_ids(int index) const;
+ inline void set_title_ids(int index, ::google::protobuf::uint32 value);
+ inline void add_title_ids(::google::protobuf::uint32 value);
+ inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
+ title_ids() const;
+ inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
+ mutable_title_ids();
+
+ // optional uint32 usage = 2;
+ inline bool has_usage() const;
+ inline void clear_usage();
+ static const int kUsageFieldNumber = 2;
+ inline ::google::protobuf::uint32 usage() const;
+ inline void set_usage(::google::protobuf::uint32 value);
+
+ // optional uint32 version = 3;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 3;
+ inline ::google::protobuf::uint32 version() const;
+ inline void set_version(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.resources.v1.GetTitleIconsRequest)
+ private:
+ inline void set_has_usage();
+ inline void clear_has_usage();
+ inline void set_has_version();
+ inline void clear_has_version();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > title_ids_;
+ ::google::protobuf::uint32 usage_;
+ ::google::protobuf::uint32 version_;
+ friend void TC_PROTO_API protobuf_AddDesc_resource_5fservice_2eproto();
+ friend void protobuf_AssignDesc_resource_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_resource_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static GetTitleIconsRequest* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API GetTitleIconsResponse : public ::google::protobuf::Message {
+ public:
+ GetTitleIconsResponse();
+ virtual ~GetTitleIconsResponse();
+
+ GetTitleIconsResponse(const GetTitleIconsResponse& from);
+
+ inline GetTitleIconsResponse& operator=(const GetTitleIconsResponse& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const GetTitleIconsResponse& default_instance();
+
+ void Swap(GetTitleIconsResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ GetTitleIconsResponse* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .bgs.protocol.TitleIconContentHandle title_icon_content_handles = 1;
+ inline int title_icon_content_handles_size() const;
+ inline void clear_title_icon_content_handles();
+ static const int kTitleIconContentHandlesFieldNumber = 1;
+ inline const ::bgs::protocol::TitleIconContentHandle& title_icon_content_handles(int index) const;
+ inline ::bgs::protocol::TitleIconContentHandle* mutable_title_icon_content_handles(int index);
+ inline ::bgs::protocol::TitleIconContentHandle* add_title_icon_content_handles();
+ inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TitleIconContentHandle >&
+ title_icon_content_handles() const;
+ inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TitleIconContentHandle >*
+ mutable_title_icon_content_handles();
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.resources.v1.GetTitleIconsResponse)
+ private:
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TitleIconContentHandle > title_icon_content_handles_;
+ friend void TC_PROTO_API protobuf_AddDesc_resource_5fservice_2eproto();
+ friend void protobuf_AssignDesc_resource_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_resource_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static GetTitleIconsResponse* default_instance_;
+};
// ===================================================================
class TC_PROTO_API ResourcesService : public ServiceBase
@@ -153,9 +313,11 @@ class TC_PROTO_API ResourcesService : public ServiceBase
protected:
// server methods --------------------------------------------------
virtual uint32 HandleGetContentHandle(::bgs::protocol::resources::v1::ContentHandleRequest const* request, ::bgs::protocol::ContentHandle* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
+ virtual uint32 HandleGetTitleIcons(::bgs::protocol::resources::v1::GetTitleIconsRequest const* request, ::bgs::protocol::resources::v1::GetTitleIconsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
private:
void ParseAndHandleGetContentHandle(uint32 token, uint32 methodId, MessageBuffer& buffer);
+ void ParseAndHandleGetTitleIcons(uint32 token, uint32 methodId, MessageBuffer& buffer);
};
// ===================================================================
@@ -236,6 +398,122 @@ inline void ContentHandleRequest::set_version(::google::protobuf::uint32 value)
// @@protoc_insertion_point(field_set:bgs.protocol.resources.v1.ContentHandleRequest.version)
}
+// -------------------------------------------------------------------
+
+// GetTitleIconsRequest
+
+// repeated uint32 title_ids = 1 [packed = true];
+inline int GetTitleIconsRequest::title_ids_size() const {
+ return title_ids_.size();
+}
+inline void GetTitleIconsRequest::clear_title_ids() {
+ title_ids_.Clear();
+}
+inline ::google::protobuf::uint32 GetTitleIconsRequest::title_ids(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.resources.v1.GetTitleIconsRequest.title_ids)
+ return title_ids_.Get(index);
+}
+inline void GetTitleIconsRequest::set_title_ids(int index, ::google::protobuf::uint32 value) {
+ title_ids_.Set(index, value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.resources.v1.GetTitleIconsRequest.title_ids)
+}
+inline void GetTitleIconsRequest::add_title_ids(::google::protobuf::uint32 value) {
+ title_ids_.Add(value);
+ // @@protoc_insertion_point(field_add:bgs.protocol.resources.v1.GetTitleIconsRequest.title_ids)
+}
+inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
+GetTitleIconsRequest::title_ids() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.resources.v1.GetTitleIconsRequest.title_ids)
+ return title_ids_;
+}
+inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
+GetTitleIconsRequest::mutable_title_ids() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.resources.v1.GetTitleIconsRequest.title_ids)
+ return &title_ids_;
+}
+
+// optional uint32 usage = 2;
+inline bool GetTitleIconsRequest::has_usage() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void GetTitleIconsRequest::set_has_usage() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void GetTitleIconsRequest::clear_has_usage() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void GetTitleIconsRequest::clear_usage() {
+ usage_ = 0u;
+ clear_has_usage();
+}
+inline ::google::protobuf::uint32 GetTitleIconsRequest::usage() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.resources.v1.GetTitleIconsRequest.usage)
+ return usage_;
+}
+inline void GetTitleIconsRequest::set_usage(::google::protobuf::uint32 value) {
+ set_has_usage();
+ usage_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.resources.v1.GetTitleIconsRequest.usage)
+}
+
+// optional uint32 version = 3;
+inline bool GetTitleIconsRequest::has_version() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void GetTitleIconsRequest::set_has_version() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void GetTitleIconsRequest::clear_has_version() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void GetTitleIconsRequest::clear_version() {
+ version_ = 0u;
+ clear_has_version();
+}
+inline ::google::protobuf::uint32 GetTitleIconsRequest::version() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.resources.v1.GetTitleIconsRequest.version)
+ return version_;
+}
+inline void GetTitleIconsRequest::set_version(::google::protobuf::uint32 value) {
+ set_has_version();
+ version_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.resources.v1.GetTitleIconsRequest.version)
+}
+
+// -------------------------------------------------------------------
+
+// GetTitleIconsResponse
+
+// repeated .bgs.protocol.TitleIconContentHandle title_icon_content_handles = 1;
+inline int GetTitleIconsResponse::title_icon_content_handles_size() const {
+ return title_icon_content_handles_.size();
+}
+inline void GetTitleIconsResponse::clear_title_icon_content_handles() {
+ title_icon_content_handles_.Clear();
+}
+inline const ::bgs::protocol::TitleIconContentHandle& GetTitleIconsResponse::title_icon_content_handles(int index) const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.resources.v1.GetTitleIconsResponse.title_icon_content_handles)
+ return title_icon_content_handles_.Get(index);
+}
+inline ::bgs::protocol::TitleIconContentHandle* GetTitleIconsResponse::mutable_title_icon_content_handles(int index) {
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.resources.v1.GetTitleIconsResponse.title_icon_content_handles)
+ return title_icon_content_handles_.Mutable(index);
+}
+inline ::bgs::protocol::TitleIconContentHandle* GetTitleIconsResponse::add_title_icon_content_handles() {
+ // @@protoc_insertion_point(field_add:bgs.protocol.resources.v1.GetTitleIconsResponse.title_icon_content_handles)
+ return title_icon_content_handles_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TitleIconContentHandle >&
+GetTitleIconsResponse::title_icon_content_handles() const {
+ // @@protoc_insertion_point(field_list:bgs.protocol.resources.v1.GetTitleIconsResponse.title_icon_content_handles)
+ return title_icon_content_handles_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TitleIconContentHandle >*
+GetTitleIconsResponse::mutable_title_icon_content_handles() {
+ // @@protoc_insertion_point(field_mutable_list:bgs.protocol.resources.v1.GetTitleIconsResponse.title_icon_content_handles)
+ return &title_icon_content_handles_;
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1
diff --git a/src/server/proto/Client/rpc_config.pb.cc b/src/server/proto/Client/rpc_config.pb.cc
index d8fceaa177b..5e67ee6a963 100644
--- a/src/server/proto/Client/rpc_config.pb.cc
+++ b/src/server/proto/Client/rpc_config.pb.cc
@@ -28,12 +28,6 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* RPCMeterConfig_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
RPCMeterConfig_reflection_ = NULL;
-const ::google::protobuf::Descriptor* ProtocolAlias_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- ProtocolAlias_reflection_ = NULL;
-const ::google::protobuf::Descriptor* ServiceAliases_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- ServiceAliases_reflection_ = NULL;
} // namespace
@@ -91,37 +85,6 @@ void protobuf_AssignDesc_rpc_5fconfig_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(RPCMeterConfig));
- ProtocolAlias_descriptor_ = file->message_type(2);
- static const int ProtocolAlias_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtocolAlias, server_service_name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtocolAlias, client_service_name_),
- };
- ProtocolAlias_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ProtocolAlias_descriptor_,
- ProtocolAlias::default_instance_,
- ProtocolAlias_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtocolAlias, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtocolAlias, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ProtocolAlias));
- ServiceAliases_descriptor_ = file->message_type(3);
- static const int ServiceAliases_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceAliases, protocol_alias_),
- };
- ServiceAliases_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ServiceAliases_descriptor_,
- ServiceAliases::default_instance_,
- ServiceAliases_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceAliases, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceAliases, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ServiceAliases));
}
namespace {
@@ -138,10 +101,6 @@ void protobuf_RegisterTypes(const ::std::string&) {
RPCMethodConfig_descriptor_, &RPCMethodConfig::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
RPCMeterConfig_descriptor_, &RPCMeterConfig::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ProtocolAlias_descriptor_, &ProtocolAlias::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ServiceAliases_descriptor_, &ServiceAliases::default_instance());
}
} // namespace
@@ -151,10 +110,6 @@ void protobuf_ShutdownFile_rpc_5fconfig_2eproto() {
delete RPCMethodConfig_reflection_;
delete RPCMeterConfig::default_instance_;
delete RPCMeterConfig_reflection_;
- delete ProtocolAlias::default_instance_;
- delete ProtocolAlias_reflection_;
- delete ServiceAliases::default_instance_;
- delete ServiceAliases_reflection_;
}
void protobuf_AddDesc_rpc_5fconfig_2eproto() {
@@ -165,35 +120,27 @@ void protobuf_AddDesc_rpc_5fconfig_2eproto() {
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\020rpc_config.proto\022\023bgs.protocol.config\""
- "\213\003\n\017RPCMethodConfig\022\030\n\014service_name\030\001 \001("
+ "\202\003\n\017RPCMethodConfig\022\030\n\014service_name\030\001 \001("
"\tB\002\030\001\022\027\n\013method_name\030\002 \001(\tB\002\030\001\022\032\n\017fixed_"
- "call_cost\030\003 \001(\r:\0011\022\034\n\021fixed_packet_size\030"
- "\004 \001(\r:\0010\022\036\n\023variable_multiplier\030\005 \001(\002:\0010"
- "\022\025\n\nmultiplier\030\006 \001(\002:\0011\022\030\n\020rate_limit_co"
- "unt\030\007 \001(\r\022\032\n\022rate_limit_seconds\030\010 \001(\r\022\027\n"
- "\017max_packet_size\030\t \001(\r\022\030\n\020max_encoded_si"
- "ze\030\n \001(\r\022\017\n\007timeout\030\013 \001(\002\022\023\n\013cap_balance"
- "\030\014 \001(\r\022\034\n\021income_per_second\030\r \001(\002:\0010\022\024\n\014"
- "service_hash\030\016 \001(\r\022\021\n\tmethod_id\030\017 \001(\r\"\255\001"
- "\n\016RPCMeterConfig\0224\n\006method\030\001 \003(\0132$.bgs.p"
- "rotocol.config.RPCMethodConfig\022\034\n\021income"
- "_per_second\030\002 \001(\r:\0011\022\027\n\017initial_balance\030"
- "\003 \001(\r\022\023\n\013cap_balance\030\004 \001(\r\022\031\n\016startup_pe"
- "riod\030\005 \001(\002:\0010\"I\n\rProtocolAlias\022\033\n\023server"
- "_service_name\030\001 \002(\t\022\033\n\023client_service_na"
- "me\030\002 \002(\t\"L\n\016ServiceAliases\022:\n\016protocol_a"
- "lias\030\001 \003(\0132\".bgs.protocol.config.Protoco"
- "lAliasB\002H\002", 770);
+ "call_cost\030\003 \001(\r:\0011\022\031\n\021fixed_packet_size\030"
+ "\004 \001(\r\022\033\n\023variable_multiplier\030\005 \001(\002\022\025\n\nmu"
+ "ltiplier\030\006 \001(\002:\0011\022\030\n\020rate_limit_count\030\007 "
+ "\001(\r\022\032\n\022rate_limit_seconds\030\010 \001(\r\022\027\n\017max_p"
+ "acket_size\030\t \001(\r\022\030\n\020max_encoded_size\030\n \001"
+ "(\r\022\017\n\007timeout\030\013 \001(\002\022\023\n\013cap_balance\030\014 \001(\r"
+ "\022\031\n\021income_per_second\030\r \001(\002\022\024\n\014service_h"
+ "ash\030\016 \001(\r\022\021\n\tmethod_id\030\017 \001(\r\"\252\001\n\016RPCMete"
+ "rConfig\0224\n\006method\030\001 \003(\0132$.bgs.protocol.c"
+ "onfig.RPCMethodConfig\022\034\n\021income_per_seco"
+ "nd\030\002 \001(\r:\0011\022\027\n\017initial_balance\030\003 \001(\r\022\023\n\013"
+ "cap_balance\030\004 \001(\r\022\026\n\016startup_period\030\005 \001("
+ "\002B\002H\002", 605);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"rpc_config.proto", &protobuf_RegisterTypes);
RPCMethodConfig::default_instance_ = new RPCMethodConfig();
RPCMeterConfig::default_instance_ = new RPCMeterConfig();
- ProtocolAlias::default_instance_ = new ProtocolAlias();
- ServiceAliases::default_instance_ = new ServiceAliases();
RPCMethodConfig::default_instance_->InitAsDefaultInstance();
RPCMeterConfig::default_instance_->InitAsDefaultInstance();
- ProtocolAlias::default_instance_->InitAsDefaultInstance();
- ServiceAliases::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_rpc_5fconfig_2eproto);
}
@@ -389,158 +336,6 @@ void RPCMeterConfig::Swap(RPCMeterConfig* other) {
return metadata;
}
-// ===================================================================
-
-#ifndef _MSC_VER
-const int ProtocolAlias::kServerServiceNameFieldNumber;
-const int ProtocolAlias::kClientServiceNameFieldNumber;
-#endif // !_MSC_VER
-
-ProtocolAlias::ProtocolAlias()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.config.ProtocolAlias)
-}
-
-void ProtocolAlias::InitAsDefaultInstance() {
-}
-
-ProtocolAlias::ProtocolAlias(const ProtocolAlias& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.config.ProtocolAlias)
-}
-
-void ProtocolAlias::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- server_service_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- client_service_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-ProtocolAlias::~ProtocolAlias() {
- // @@protoc_insertion_point(destructor:bgs.protocol.config.ProtocolAlias)
- SharedDtor();
-}
-
-void ProtocolAlias::SharedDtor() {
- if (server_service_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete server_service_name_;
- }
- if (client_service_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete client_service_name_;
- }
- if (this != default_instance_) {
- }
-}
-
-void ProtocolAlias::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* ProtocolAlias::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ProtocolAlias_descriptor_;
-}
-
-const ProtocolAlias& ProtocolAlias::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_rpc_5fconfig_2eproto();
- return *default_instance_;
-}
-
-ProtocolAlias* ProtocolAlias::default_instance_ = NULL;
-
-ProtocolAlias* ProtocolAlias::New() const {
- return new ProtocolAlias;
-}
-
-void ProtocolAlias::Swap(ProtocolAlias* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata ProtocolAlias::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ProtocolAlias_descriptor_;
- metadata.reflection = ProtocolAlias_reflection_;
- return metadata;
-}
-
-// ===================================================================
-
-#ifndef _MSC_VER
-const int ServiceAliases::kProtocolAliasFieldNumber;
-#endif // !_MSC_VER
-
-ServiceAliases::ServiceAliases()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.config.ServiceAliases)
-}
-
-void ServiceAliases::InitAsDefaultInstance() {
-}
-
-ServiceAliases::ServiceAliases(const ServiceAliases& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.config.ServiceAliases)
-}
-
-void ServiceAliases::SharedCtor() {
- _cached_size_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-ServiceAliases::~ServiceAliases() {
- // @@protoc_insertion_point(destructor:bgs.protocol.config.ServiceAliases)
- SharedDtor();
-}
-
-void ServiceAliases::SharedDtor() {
- if (this != default_instance_) {
- }
-}
-
-void ServiceAliases::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* ServiceAliases::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ServiceAliases_descriptor_;
-}
-
-const ServiceAliases& ServiceAliases::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_rpc_5fconfig_2eproto();
- return *default_instance_;
-}
-
-ServiceAliases* ServiceAliases::default_instance_ = NULL;
-
-ServiceAliases* ServiceAliases::New() const {
- return new ServiceAliases;
-}
-
-void ServiceAliases::Swap(ServiceAliases* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata ServiceAliases::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ServiceAliases_descriptor_;
- metadata.reflection = ServiceAliases_reflection_;
- return metadata;
-}
-
// @@protoc_insertion_point(namespace_scope)
} // namespace config
diff --git a/src/server/proto/Client/rpc_config.pb.h b/src/server/proto/Client/rpc_config.pb.h
index f72ef718d65..05574470239 100644
--- a/src/server/proto/Client/rpc_config.pb.h
+++ b/src/server/proto/Client/rpc_config.pb.h
@@ -38,8 +38,6 @@ void protobuf_ShutdownFile_rpc_5fconfig_2eproto();
class RPCMethodConfig;
class RPCMeterConfig;
-class ProtocolAlias;
-class ServiceAliases;
// ===================================================================
@@ -114,14 +112,14 @@ class TC_PROTO_API RPCMethodConfig : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 fixed_call_cost() const;
inline void set_fixed_call_cost(::google::protobuf::uint32 value);
- // optional uint32 fixed_packet_size = 4 [default = 0];
+ // optional uint32 fixed_packet_size = 4;
inline bool has_fixed_packet_size() const;
inline void clear_fixed_packet_size();
static const int kFixedPacketSizeFieldNumber = 4;
inline ::google::protobuf::uint32 fixed_packet_size() const;
inline void set_fixed_packet_size(::google::protobuf::uint32 value);
- // optional float variable_multiplier = 5 [default = 0];
+ // optional float variable_multiplier = 5;
inline bool has_variable_multiplier() const;
inline void clear_variable_multiplier();
static const int kVariableMultiplierFieldNumber = 5;
@@ -177,7 +175,7 @@ class TC_PROTO_API RPCMethodConfig : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 cap_balance() const;
inline void set_cap_balance(::google::protobuf::uint32 value);
- // optional float income_per_second = 13 [default = 0];
+ // optional float income_per_second = 13;
inline bool has_income_per_second() const;
inline void clear_income_per_second();
static const int kIncomePerSecondFieldNumber = 13;
@@ -332,7 +330,7 @@ class TC_PROTO_API RPCMeterConfig : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 cap_balance() const;
inline void set_cap_balance(::google::protobuf::uint32 value);
- // optional float startup_period = 5 [default = 0];
+ // optional float startup_period = 5;
inline bool has_startup_period() const;
inline void clear_startup_period();
static const int kStartupPeriodFieldNumber = 5;
@@ -366,161 +364,6 @@ class TC_PROTO_API RPCMeterConfig : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static RPCMeterConfig* default_instance_;
};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API ProtocolAlias : public ::google::protobuf::Message {
- public:
- ProtocolAlias();
- virtual ~ProtocolAlias();
-
- ProtocolAlias(const ProtocolAlias& from);
-
- inline ProtocolAlias& operator=(const ProtocolAlias& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const ProtocolAlias& default_instance();
-
- void Swap(ProtocolAlias* other);
-
- // implements Message ----------------------------------------------
-
- ProtocolAlias* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // required string server_service_name = 1;
- inline bool has_server_service_name() const;
- inline void clear_server_service_name();
- static const int kServerServiceNameFieldNumber = 1;
- inline const ::std::string& server_service_name() const;
- inline void set_server_service_name(const ::std::string& value);
- inline void set_server_service_name(const char* value);
- inline void set_server_service_name(const char* value, size_t size);
- inline ::std::string* mutable_server_service_name();
- inline ::std::string* release_server_service_name();
- inline void set_allocated_server_service_name(::std::string* server_service_name);
-
- // required string client_service_name = 2;
- inline bool has_client_service_name() const;
- inline void clear_client_service_name();
- static const int kClientServiceNameFieldNumber = 2;
- inline const ::std::string& client_service_name() const;
- inline void set_client_service_name(const ::std::string& value);
- inline void set_client_service_name(const char* value);
- inline void set_client_service_name(const char* value, size_t size);
- inline ::std::string* mutable_client_service_name();
- inline ::std::string* release_client_service_name();
- inline void set_allocated_client_service_name(::std::string* client_service_name);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.config.ProtocolAlias)
- private:
- inline void set_has_server_service_name();
- inline void clear_has_server_service_name();
- inline void set_has_client_service_name();
- inline void clear_has_client_service_name();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* server_service_name_;
- ::std::string* client_service_name_;
- friend void TC_PROTO_API protobuf_AddDesc_rpc_5fconfig_2eproto();
- friend void protobuf_AssignDesc_rpc_5fconfig_2eproto();
- friend void protobuf_ShutdownFile_rpc_5fconfig_2eproto();
-
- void InitAsDefaultInstance();
- static ProtocolAlias* default_instance_;
-};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API ServiceAliases : public ::google::protobuf::Message {
- public:
- ServiceAliases();
- virtual ~ServiceAliases();
-
- ServiceAliases(const ServiceAliases& from);
-
- inline ServiceAliases& operator=(const ServiceAliases& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const ServiceAliases& default_instance();
-
- void Swap(ServiceAliases* other);
-
- // implements Message ----------------------------------------------
-
- ServiceAliases* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // repeated .bgs.protocol.config.ProtocolAlias protocol_alias = 1;
- inline int protocol_alias_size() const;
- inline void clear_protocol_alias();
- static const int kProtocolAliasFieldNumber = 1;
- inline const ::bgs::protocol::config::ProtocolAlias& protocol_alias(int index) const;
- inline ::bgs::protocol::config::ProtocolAlias* mutable_protocol_alias(int index);
- inline ::bgs::protocol::config::ProtocolAlias* add_protocol_alias();
- inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::ProtocolAlias >&
- protocol_alias() const;
- inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::ProtocolAlias >*
- mutable_protocol_alias();
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.config.ServiceAliases)
- private:
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::ProtocolAlias > protocol_alias_;
- friend void TC_PROTO_API protobuf_AddDesc_rpc_5fconfig_2eproto();
- friend void protobuf_AssignDesc_rpc_5fconfig_2eproto();
- friend void protobuf_ShutdownFile_rpc_5fconfig_2eproto();
-
- void InitAsDefaultInstance();
- static ServiceAliases* default_instance_;
-};
// ===================================================================
// ===================================================================
@@ -705,7 +548,7 @@ inline void RPCMethodConfig::set_fixed_call_cost(::google::protobuf::uint32 valu
// @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMethodConfig.fixed_call_cost)
}
-// optional uint32 fixed_packet_size = 4 [default = 0];
+// optional uint32 fixed_packet_size = 4;
inline bool RPCMethodConfig::has_fixed_packet_size() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
@@ -729,7 +572,7 @@ inline void RPCMethodConfig::set_fixed_packet_size(::google::protobuf::uint32 va
// @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMethodConfig.fixed_packet_size)
}
-// optional float variable_multiplier = 5 [default = 0];
+// optional float variable_multiplier = 5;
inline bool RPCMethodConfig::has_variable_multiplier() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
@@ -921,7 +764,7 @@ inline void RPCMethodConfig::set_cap_balance(::google::protobuf::uint32 value) {
// @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMethodConfig.cap_balance)
}
-// optional float income_per_second = 13 [default = 0];
+// optional float income_per_second = 13;
inline bool RPCMethodConfig::has_income_per_second() const {
return (_has_bits_[0] & 0x00001000u) != 0;
}
@@ -1099,7 +942,7 @@ inline void RPCMeterConfig::set_cap_balance(::google::protobuf::uint32 value) {
// @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMeterConfig.cap_balance)
}
-// optional float startup_period = 5 [default = 0];
+// optional float startup_period = 5;
inline bool RPCMeterConfig::has_startup_period() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
@@ -1123,196 +966,6 @@ inline void RPCMeterConfig::set_startup_period(float value) {
// @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMeterConfig.startup_period)
}
-// -------------------------------------------------------------------
-
-// ProtocolAlias
-
-// required string server_service_name = 1;
-inline bool ProtocolAlias::has_server_service_name() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ProtocolAlias::set_has_server_service_name() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ProtocolAlias::clear_has_server_service_name() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void ProtocolAlias::clear_server_service_name() {
- if (server_service_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- server_service_name_->clear();
- }
- clear_has_server_service_name();
-}
-inline const ::std::string& ProtocolAlias::server_service_name() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.config.ProtocolAlias.server_service_name)
- return *server_service_name_;
-}
-inline void ProtocolAlias::set_server_service_name(const ::std::string& value) {
- set_has_server_service_name();
- if (server_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- server_service_name_ = new ::std::string;
- }
- server_service_name_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.config.ProtocolAlias.server_service_name)
-}
-inline void ProtocolAlias::set_server_service_name(const char* value) {
- set_has_server_service_name();
- if (server_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- server_service_name_ = new ::std::string;
- }
- server_service_name_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.config.ProtocolAlias.server_service_name)
-}
-inline void ProtocolAlias::set_server_service_name(const char* value, size_t size) {
- set_has_server_service_name();
- if (server_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- server_service_name_ = new ::std::string;
- }
- server_service_name_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.config.ProtocolAlias.server_service_name)
-}
-inline ::std::string* ProtocolAlias::mutable_server_service_name() {
- set_has_server_service_name();
- if (server_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- server_service_name_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.config.ProtocolAlias.server_service_name)
- return server_service_name_;
-}
-inline ::std::string* ProtocolAlias::release_server_service_name() {
- clear_has_server_service_name();
- if (server_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = server_service_name_;
- server_service_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void ProtocolAlias::set_allocated_server_service_name(::std::string* server_service_name) {
- if (server_service_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete server_service_name_;
- }
- if (server_service_name) {
- set_has_server_service_name();
- server_service_name_ = server_service_name;
- } else {
- clear_has_server_service_name();
- server_service_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.config.ProtocolAlias.server_service_name)
-}
-
-// required string client_service_name = 2;
-inline bool ProtocolAlias::has_client_service_name() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ProtocolAlias::set_has_client_service_name() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ProtocolAlias::clear_has_client_service_name() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void ProtocolAlias::clear_client_service_name() {
- if (client_service_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_service_name_->clear();
- }
- clear_has_client_service_name();
-}
-inline const ::std::string& ProtocolAlias::client_service_name() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.config.ProtocolAlias.client_service_name)
- return *client_service_name_;
-}
-inline void ProtocolAlias::set_client_service_name(const ::std::string& value) {
- set_has_client_service_name();
- if (client_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_service_name_ = new ::std::string;
- }
- client_service_name_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.config.ProtocolAlias.client_service_name)
-}
-inline void ProtocolAlias::set_client_service_name(const char* value) {
- set_has_client_service_name();
- if (client_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_service_name_ = new ::std::string;
- }
- client_service_name_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.config.ProtocolAlias.client_service_name)
-}
-inline void ProtocolAlias::set_client_service_name(const char* value, size_t size) {
- set_has_client_service_name();
- if (client_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_service_name_ = new ::std::string;
- }
- client_service_name_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.config.ProtocolAlias.client_service_name)
-}
-inline ::std::string* ProtocolAlias::mutable_client_service_name() {
- set_has_client_service_name();
- if (client_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_service_name_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.config.ProtocolAlias.client_service_name)
- return client_service_name_;
-}
-inline ::std::string* ProtocolAlias::release_client_service_name() {
- clear_has_client_service_name();
- if (client_service_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = client_service_name_;
- client_service_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void ProtocolAlias::set_allocated_client_service_name(::std::string* client_service_name) {
- if (client_service_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete client_service_name_;
- }
- if (client_service_name) {
- set_has_client_service_name();
- client_service_name_ = client_service_name;
- } else {
- clear_has_client_service_name();
- client_service_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.config.ProtocolAlias.client_service_name)
-}
-
-// -------------------------------------------------------------------
-
-// ServiceAliases
-
-// repeated .bgs.protocol.config.ProtocolAlias protocol_alias = 1;
-inline int ServiceAliases::protocol_alias_size() const {
- return protocol_alias_.size();
-}
-inline void ServiceAliases::clear_protocol_alias() {
- protocol_alias_.Clear();
-}
-inline const ::bgs::protocol::config::ProtocolAlias& ServiceAliases::protocol_alias(int index) const {
- // @@protoc_insertion_point(field_get:bgs.protocol.config.ServiceAliases.protocol_alias)
- return protocol_alias_.Get(index);
-}
-inline ::bgs::protocol::config::ProtocolAlias* ServiceAliases::mutable_protocol_alias(int index) {
- // @@protoc_insertion_point(field_mutable:bgs.protocol.config.ServiceAliases.protocol_alias)
- return protocol_alias_.Mutable(index);
-}
-inline ::bgs::protocol::config::ProtocolAlias* ServiceAliases::add_protocol_alias() {
- // @@protoc_insertion_point(field_add:bgs.protocol.config.ServiceAliases.protocol_alias)
- return protocol_alias_.Add();
-}
-inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::ProtocolAlias >&
-ServiceAliases::protocol_alias() const {
- // @@protoc_insertion_point(field_list:bgs.protocol.config.ServiceAliases.protocol_alias)
- return protocol_alias_;
-}
-inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::ProtocolAlias >*
-ServiceAliases::mutable_protocol_alias() {
- // @@protoc_insertion_point(field_mutable_list:bgs.protocol.config.ServiceAliases.protocol_alias)
- return &protocol_alias_;
-}
-
// @@protoc_insertion_point(namespace_scope)
} // namespace config
diff --git a/src/server/proto/Client/rpc_types.pb.cc b/src/server/proto/Client/rpc_types.pb.cc
index 4a2fc1ad028..b184fa210ed 100644
--- a/src/server/proto/Client/rpc_types.pb.cc
+++ b/src/server/proto/Client/rpc_types.pb.cc
@@ -45,9 +45,6 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* Header_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
Header_reflection_ = NULL;
-const ::google::protobuf::Descriptor* KafkaHeader_descriptor_ = NULL;
-const ::google::protobuf::internal::GeneratedMessageReflection*
- KafkaHeader_reflection_ = NULL;
} // namespace
@@ -201,30 +198,6 @@ void protobuf_AssignDesc_rpc_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(Header));
- KafkaHeader_descriptor_ = file->message_type(8);
- static const int KafkaHeader_offsets_[10] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, service_hash_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, method_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, token_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, object_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, size_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, status_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, timeout_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, forward_target_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, return_topic_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, client_id_),
- };
- KafkaHeader_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- KafkaHeader_descriptor_,
- KafkaHeader::default_instance_,
- KafkaHeader_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KafkaHeader, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(KafkaHeader));
}
namespace {
@@ -253,8 +226,6 @@ void protobuf_RegisterTypes(const ::std::string&) {
FanoutTarget_descriptor_, &FanoutTarget::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
Header_descriptor_, &Header::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- KafkaHeader_descriptor_, &KafkaHeader::default_instance());
}
} // namespace
@@ -276,8 +247,6 @@ void protobuf_ShutdownFile_rpc_5ftypes_2eproto() {
delete FanoutTarget_reflection_;
delete Header::default_instance_;
delete Header_reflection_;
- delete KafkaHeader::default_instance_;
- delete KafkaHeader_reflection_;
}
void protobuf_AddDesc_rpc_5ftypes_2eproto() {
@@ -317,14 +286,8 @@ void protobuf_AddDesc_rpc_5ftypes_2eproto() {
"get\022\037\n\027client_id_fanout_target\030\017 \003(\t\022\025\n\r"
"client_record\030\020 \001(\014\022\027\n\017original_sender\030\021"
" \001(\014\022\024\n\014sender_token\030\022 \001(\r\022\024\n\014router_lab"
- "el\030\023 \001(\r\022\024\n\014error_reason\030\024 \001(\t\"\352\001\n\013Kafka"
- "Header\022\024\n\014service_hash\030\001 \001(\007\022\021\n\tmethod_i"
- "d\030\002 \001(\r\022\r\n\005token\030\003 \001(\r\022\024\n\tobject_id\030\004 \001("
- "\004:\0010\022\017\n\004size\030\005 \001(\r:\0010\022\021\n\006status\030\006 \001(\r:\0010"
- "\022\017\n\007timeout\030\007 \001(\004\022/\n\016forward_target\030\010 \001("
- "\0132\027.bgs.protocol.ProcessId\022\024\n\014return_top"
- "ic\030\t \001(\t\022\021\n\tclient_id\030\013 \001(\tB\033\n\rbnet.prot"
- "ocolB\010RpcProtoH\002P\000P\001P\002P\003", 1344);
+ "el\030\023 \001(\r\022\024\n\014error_reason\030\024 \001(\tB\032\n\014bgs.pr"
+ "otocolB\010RpcProtoH\002P\000P\001P\002P\003", 1106);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"rpc_types.proto", &protobuf_RegisterTypes);
NO_RESPONSE::default_instance_ = new NO_RESPONSE();
@@ -335,7 +298,6 @@ void protobuf_AddDesc_rpc_5ftypes_2eproto() {
ErrorInfo::default_instance_ = new ErrorInfo();
FanoutTarget::default_instance_ = new FanoutTarget();
Header::default_instance_ = new Header();
- KafkaHeader::default_instance_ = new KafkaHeader();
NO_RESPONSE::default_instance_->InitAsDefaultInstance();
Address::default_instance_->InitAsDefaultInstance();
ProcessId::default_instance_->InitAsDefaultInstance();
@@ -344,7 +306,6 @@ void protobuf_AddDesc_rpc_5ftypes_2eproto() {
ErrorInfo::default_instance_->InitAsDefaultInstance();
FanoutTarget::default_instance_->InitAsDefaultInstance();
Header::default_instance_->InitAsDefaultInstance();
- KafkaHeader::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_rpc_5ftypes_2eproto);
}
@@ -1002,105 +963,6 @@ void Header::Swap(Header* other) {
return metadata;
}
-// ===================================================================
-
-#ifndef _MSC_VER
-const int KafkaHeader::kServiceHashFieldNumber;
-const int KafkaHeader::kMethodIdFieldNumber;
-const int KafkaHeader::kTokenFieldNumber;
-const int KafkaHeader::kObjectIdFieldNumber;
-const int KafkaHeader::kSizeFieldNumber;
-const int KafkaHeader::kStatusFieldNumber;
-const int KafkaHeader::kTimeoutFieldNumber;
-const int KafkaHeader::kForwardTargetFieldNumber;
-const int KafkaHeader::kReturnTopicFieldNumber;
-const int KafkaHeader::kClientIdFieldNumber;
-#endif // !_MSC_VER
-
-KafkaHeader::KafkaHeader()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:bgs.protocol.KafkaHeader)
-}
-
-void KafkaHeader::InitAsDefaultInstance() {
- forward_target_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance());
-}
-
-KafkaHeader::KafkaHeader(const KafkaHeader& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:bgs.protocol.KafkaHeader)
-}
-
-void KafkaHeader::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- service_hash_ = 0u;
- method_id_ = 0u;
- token_ = 0u;
- object_id_ = GOOGLE_ULONGLONG(0);
- size_ = 0u;
- status_ = 0u;
- timeout_ = GOOGLE_ULONGLONG(0);
- forward_target_ = NULL;
- return_topic_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
-}
-
-KafkaHeader::~KafkaHeader() {
- // @@protoc_insertion_point(destructor:bgs.protocol.KafkaHeader)
- SharedDtor();
-}
-
-void KafkaHeader::SharedDtor() {
- if (return_topic_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete return_topic_;
- }
- if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete client_id_;
- }
- if (this != default_instance_) {
- delete forward_target_;
- }
-}
-
-void KafkaHeader::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* KafkaHeader::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return KafkaHeader_descriptor_;
-}
-
-const KafkaHeader& KafkaHeader::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_rpc_5ftypes_2eproto();
- return *default_instance_;
-}
-
-KafkaHeader* KafkaHeader::default_instance_ = NULL;
-
-KafkaHeader* KafkaHeader::New() const {
- return new KafkaHeader;
-}
-
-void KafkaHeader::Swap(KafkaHeader* other) {
- if (other != this) {
- GetReflection()->Swap(this, other);}
-}
-
-::google::protobuf::Metadata KafkaHeader::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = KafkaHeader_descriptor_;
- metadata.reflection = KafkaHeader_reflection_;
- return metadata;
-}
-
// @@protoc_insertion_point(namespace_scope)
} // namespace protocol
diff --git a/src/server/proto/Client/rpc_types.pb.h b/src/server/proto/Client/rpc_types.pb.h
index e035332b44a..f734c7e1e74 100644
--- a/src/server/proto/Client/rpc_types.pb.h
+++ b/src/server/proto/Client/rpc_types.pb.h
@@ -47,7 +47,6 @@ class NoData;
class ErrorInfo;
class FanoutTarget;
class Header;
-class KafkaHeader;
// ===================================================================
@@ -872,174 +871,6 @@ class TC_PROTO_API Header : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static Header* default_instance_;
};
-// -------------------------------------------------------------------
-
-class TC_PROTO_API KafkaHeader : public ::google::protobuf::Message {
- public:
- KafkaHeader();
- virtual ~KafkaHeader();
-
- KafkaHeader(const KafkaHeader& from);
-
- inline KafkaHeader& operator=(const KafkaHeader& from) {
- CopyFrom(from);
- return *this;
- }
-
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
- static const ::google::protobuf::Descriptor* descriptor();
- static const KafkaHeader& default_instance();
-
- void Swap(KafkaHeader* other);
-
- // implements Message ----------------------------------------------
-
- KafkaHeader* New() const;
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::google::protobuf::Metadata GetMetadata() const;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- // optional fixed32 service_hash = 1;
- inline bool has_service_hash() const;
- inline void clear_service_hash();
- static const int kServiceHashFieldNumber = 1;
- inline ::google::protobuf::uint32 service_hash() const;
- inline void set_service_hash(::google::protobuf::uint32 value);
-
- // optional uint32 method_id = 2;
- inline bool has_method_id() const;
- inline void clear_method_id();
- static const int kMethodIdFieldNumber = 2;
- inline ::google::protobuf::uint32 method_id() const;
- inline void set_method_id(::google::protobuf::uint32 value);
-
- // optional uint32 token = 3;
- inline bool has_token() const;
- inline void clear_token();
- static const int kTokenFieldNumber = 3;
- inline ::google::protobuf::uint32 token() const;
- inline void set_token(::google::protobuf::uint32 value);
-
- // optional uint64 object_id = 4 [default = 0];
- inline bool has_object_id() const;
- inline void clear_object_id();
- static const int kObjectIdFieldNumber = 4;
- inline ::google::protobuf::uint64 object_id() const;
- inline void set_object_id(::google::protobuf::uint64 value);
-
- // optional uint32 size = 5 [default = 0];
- inline bool has_size() const;
- inline void clear_size();
- static const int kSizeFieldNumber = 5;
- inline ::google::protobuf::uint32 size() const;
- inline void set_size(::google::protobuf::uint32 value);
-
- // optional uint32 status = 6 [default = 0];
- inline bool has_status() const;
- inline void clear_status();
- static const int kStatusFieldNumber = 6;
- inline ::google::protobuf::uint32 status() const;
- inline void set_status(::google::protobuf::uint32 value);
-
- // optional uint64 timeout = 7;
- inline bool has_timeout() const;
- inline void clear_timeout();
- static const int kTimeoutFieldNumber = 7;
- inline ::google::protobuf::uint64 timeout() const;
- inline void set_timeout(::google::protobuf::uint64 value);
-
- // optional .bgs.protocol.ProcessId forward_target = 8;
- inline bool has_forward_target() const;
- inline void clear_forward_target();
- static const int kForwardTargetFieldNumber = 8;
- inline const ::bgs::protocol::ProcessId& forward_target() const;
- inline ::bgs::protocol::ProcessId* mutable_forward_target();
- inline ::bgs::protocol::ProcessId* release_forward_target();
- inline void set_allocated_forward_target(::bgs::protocol::ProcessId* forward_target);
-
- // optional string return_topic = 9;
- inline bool has_return_topic() const;
- inline void clear_return_topic();
- static const int kReturnTopicFieldNumber = 9;
- inline const ::std::string& return_topic() const;
- inline void set_return_topic(const ::std::string& value);
- inline void set_return_topic(const char* value);
- inline void set_return_topic(const char* value, size_t size);
- inline ::std::string* mutable_return_topic();
- inline ::std::string* release_return_topic();
- inline void set_allocated_return_topic(::std::string* return_topic);
-
- // optional string client_id = 11;
- inline bool has_client_id() const;
- inline void clear_client_id();
- static const int kClientIdFieldNumber = 11;
- inline const ::std::string& client_id() const;
- inline void set_client_id(const ::std::string& value);
- inline void set_client_id(const char* value);
- inline void set_client_id(const char* value, size_t size);
- inline ::std::string* mutable_client_id();
- inline ::std::string* release_client_id();
- inline void set_allocated_client_id(::std::string* client_id);
-
- // @@protoc_insertion_point(class_scope:bgs.protocol.KafkaHeader)
- private:
- inline void set_has_service_hash();
- inline void clear_has_service_hash();
- inline void set_has_method_id();
- inline void clear_has_method_id();
- inline void set_has_token();
- inline void clear_has_token();
- inline void set_has_object_id();
- inline void clear_has_object_id();
- inline void set_has_size();
- inline void clear_has_size();
- inline void set_has_status();
- inline void clear_has_status();
- inline void set_has_timeout();
- inline void clear_has_timeout();
- inline void set_has_forward_target();
- inline void clear_has_forward_target();
- inline void set_has_return_topic();
- inline void clear_has_return_topic();
- inline void set_has_client_id();
- inline void clear_has_client_id();
-
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::uint32 service_hash_;
- ::google::protobuf::uint32 method_id_;
- ::google::protobuf::uint64 object_id_;
- ::google::protobuf::uint32 token_;
- ::google::protobuf::uint32 size_;
- ::google::protobuf::uint64 timeout_;
- ::bgs::protocol::ProcessId* forward_target_;
- ::std::string* return_topic_;
- ::std::string* client_id_;
- ::google::protobuf::uint32 status_;
- friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto();
- friend void protobuf_AssignDesc_rpc_5ftypes_2eproto();
- friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto();
-
- void InitAsDefaultInstance();
- static KafkaHeader* default_instance_;
-};
// ===================================================================
// ===================================================================
@@ -2290,371 +2121,6 @@ inline void Header::set_allocated_error_reason(::std::string* error_reason) {
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.Header.error_reason)
}
-// -------------------------------------------------------------------
-
-// KafkaHeader
-
-// optional fixed32 service_hash = 1;
-inline bool KafkaHeader::has_service_hash() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void KafkaHeader::set_has_service_hash() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void KafkaHeader::clear_has_service_hash() {
- _has_bits_[0] &= ~0x00000001u;
-}
-inline void KafkaHeader::clear_service_hash() {
- service_hash_ = 0u;
- clear_has_service_hash();
-}
-inline ::google::protobuf::uint32 KafkaHeader::service_hash() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.service_hash)
- return service_hash_;
-}
-inline void KafkaHeader::set_service_hash(::google::protobuf::uint32 value) {
- set_has_service_hash();
- service_hash_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.service_hash)
-}
-
-// optional uint32 method_id = 2;
-inline bool KafkaHeader::has_method_id() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void KafkaHeader::set_has_method_id() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void KafkaHeader::clear_has_method_id() {
- _has_bits_[0] &= ~0x00000002u;
-}
-inline void KafkaHeader::clear_method_id() {
- method_id_ = 0u;
- clear_has_method_id();
-}
-inline ::google::protobuf::uint32 KafkaHeader::method_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.method_id)
- return method_id_;
-}
-inline void KafkaHeader::set_method_id(::google::protobuf::uint32 value) {
- set_has_method_id();
- method_id_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.method_id)
-}
-
-// optional uint32 token = 3;
-inline bool KafkaHeader::has_token() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void KafkaHeader::set_has_token() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void KafkaHeader::clear_has_token() {
- _has_bits_[0] &= ~0x00000004u;
-}
-inline void KafkaHeader::clear_token() {
- token_ = 0u;
- clear_has_token();
-}
-inline ::google::protobuf::uint32 KafkaHeader::token() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.token)
- return token_;
-}
-inline void KafkaHeader::set_token(::google::protobuf::uint32 value) {
- set_has_token();
- token_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.token)
-}
-
-// optional uint64 object_id = 4 [default = 0];
-inline bool KafkaHeader::has_object_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void KafkaHeader::set_has_object_id() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void KafkaHeader::clear_has_object_id() {
- _has_bits_[0] &= ~0x00000008u;
-}
-inline void KafkaHeader::clear_object_id() {
- object_id_ = GOOGLE_ULONGLONG(0);
- clear_has_object_id();
-}
-inline ::google::protobuf::uint64 KafkaHeader::object_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.object_id)
- return object_id_;
-}
-inline void KafkaHeader::set_object_id(::google::protobuf::uint64 value) {
- set_has_object_id();
- object_id_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.object_id)
-}
-
-// optional uint32 size = 5 [default = 0];
-inline bool KafkaHeader::has_size() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void KafkaHeader::set_has_size() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void KafkaHeader::clear_has_size() {
- _has_bits_[0] &= ~0x00000010u;
-}
-inline void KafkaHeader::clear_size() {
- size_ = 0u;
- clear_has_size();
-}
-inline ::google::protobuf::uint32 KafkaHeader::size() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.size)
- return size_;
-}
-inline void KafkaHeader::set_size(::google::protobuf::uint32 value) {
- set_has_size();
- size_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.size)
-}
-
-// optional uint32 status = 6 [default = 0];
-inline bool KafkaHeader::has_status() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
-}
-inline void KafkaHeader::set_has_status() {
- _has_bits_[0] |= 0x00000020u;
-}
-inline void KafkaHeader::clear_has_status() {
- _has_bits_[0] &= ~0x00000020u;
-}
-inline void KafkaHeader::clear_status() {
- status_ = 0u;
- clear_has_status();
-}
-inline ::google::protobuf::uint32 KafkaHeader::status() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.status)
- return status_;
-}
-inline void KafkaHeader::set_status(::google::protobuf::uint32 value) {
- set_has_status();
- status_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.status)
-}
-
-// optional uint64 timeout = 7;
-inline bool KafkaHeader::has_timeout() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
-}
-inline void KafkaHeader::set_has_timeout() {
- _has_bits_[0] |= 0x00000040u;
-}
-inline void KafkaHeader::clear_has_timeout() {
- _has_bits_[0] &= ~0x00000040u;
-}
-inline void KafkaHeader::clear_timeout() {
- timeout_ = GOOGLE_ULONGLONG(0);
- clear_has_timeout();
-}
-inline ::google::protobuf::uint64 KafkaHeader::timeout() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.timeout)
- return timeout_;
-}
-inline void KafkaHeader::set_timeout(::google::protobuf::uint64 value) {
- set_has_timeout();
- timeout_ = value;
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.timeout)
-}
-
-// optional .bgs.protocol.ProcessId forward_target = 8;
-inline bool KafkaHeader::has_forward_target() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
-}
-inline void KafkaHeader::set_has_forward_target() {
- _has_bits_[0] |= 0x00000080u;
-}
-inline void KafkaHeader::clear_has_forward_target() {
- _has_bits_[0] &= ~0x00000080u;
-}
-inline void KafkaHeader::clear_forward_target() {
- if (forward_target_ != NULL) forward_target_->::bgs::protocol::ProcessId::Clear();
- clear_has_forward_target();
-}
-inline const ::bgs::protocol::ProcessId& KafkaHeader::forward_target() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.forward_target)
- return forward_target_ != NULL ? *forward_target_ : *default_instance_->forward_target_;
-}
-inline ::bgs::protocol::ProcessId* KafkaHeader::mutable_forward_target() {
- set_has_forward_target();
- if (forward_target_ == NULL) forward_target_ = new ::bgs::protocol::ProcessId;
- // @@protoc_insertion_point(field_mutable:bgs.protocol.KafkaHeader.forward_target)
- return forward_target_;
-}
-inline ::bgs::protocol::ProcessId* KafkaHeader::release_forward_target() {
- clear_has_forward_target();
- ::bgs::protocol::ProcessId* temp = forward_target_;
- forward_target_ = NULL;
- return temp;
-}
-inline void KafkaHeader::set_allocated_forward_target(::bgs::protocol::ProcessId* forward_target) {
- delete forward_target_;
- forward_target_ = forward_target;
- if (forward_target) {
- set_has_forward_target();
- } else {
- clear_has_forward_target();
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.KafkaHeader.forward_target)
-}
-
-// optional string return_topic = 9;
-inline bool KafkaHeader::has_return_topic() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
-}
-inline void KafkaHeader::set_has_return_topic() {
- _has_bits_[0] |= 0x00000100u;
-}
-inline void KafkaHeader::clear_has_return_topic() {
- _has_bits_[0] &= ~0x00000100u;
-}
-inline void KafkaHeader::clear_return_topic() {
- if (return_topic_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return_topic_->clear();
- }
- clear_has_return_topic();
-}
-inline const ::std::string& KafkaHeader::return_topic() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.return_topic)
- return *return_topic_;
-}
-inline void KafkaHeader::set_return_topic(const ::std::string& value) {
- set_has_return_topic();
- if (return_topic_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return_topic_ = new ::std::string;
- }
- return_topic_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.return_topic)
-}
-inline void KafkaHeader::set_return_topic(const char* value) {
- set_has_return_topic();
- if (return_topic_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return_topic_ = new ::std::string;
- }
- return_topic_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.KafkaHeader.return_topic)
-}
-inline void KafkaHeader::set_return_topic(const char* value, size_t size) {
- set_has_return_topic();
- if (return_topic_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return_topic_ = new ::std::string;
- }
- return_topic_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.KafkaHeader.return_topic)
-}
-inline ::std::string* KafkaHeader::mutable_return_topic() {
- set_has_return_topic();
- if (return_topic_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return_topic_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.KafkaHeader.return_topic)
- return return_topic_;
-}
-inline ::std::string* KafkaHeader::release_return_topic() {
- clear_has_return_topic();
- if (return_topic_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = return_topic_;
- return_topic_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void KafkaHeader::set_allocated_return_topic(::std::string* return_topic) {
- if (return_topic_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete return_topic_;
- }
- if (return_topic) {
- set_has_return_topic();
- return_topic_ = return_topic;
- } else {
- clear_has_return_topic();
- return_topic_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.KafkaHeader.return_topic)
-}
-
-// optional string client_id = 11;
-inline bool KafkaHeader::has_client_id() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
-}
-inline void KafkaHeader::set_has_client_id() {
- _has_bits_[0] |= 0x00000200u;
-}
-inline void KafkaHeader::clear_has_client_id() {
- _has_bits_[0] &= ~0x00000200u;
-}
-inline void KafkaHeader::clear_client_id() {
- if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_id_->clear();
- }
- clear_has_client_id();
-}
-inline const ::std::string& KafkaHeader::client_id() const {
- // @@protoc_insertion_point(field_get:bgs.protocol.KafkaHeader.client_id)
- return *client_id_;
-}
-inline void KafkaHeader::set_client_id(const ::std::string& value) {
- set_has_client_id();
- if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_id_ = new ::std::string;
- }
- client_id_->assign(value);
- // @@protoc_insertion_point(field_set:bgs.protocol.KafkaHeader.client_id)
-}
-inline void KafkaHeader::set_client_id(const char* value) {
- set_has_client_id();
- if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_id_ = new ::std::string;
- }
- client_id_->assign(value);
- // @@protoc_insertion_point(field_set_char:bgs.protocol.KafkaHeader.client_id)
-}
-inline void KafkaHeader::set_client_id(const char* value, size_t size) {
- set_has_client_id();
- if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_id_ = new ::std::string;
- }
- client_id_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:bgs.protocol.KafkaHeader.client_id)
-}
-inline ::std::string* KafkaHeader::mutable_client_id() {
- set_has_client_id();
- if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- client_id_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:bgs.protocol.KafkaHeader.client_id)
- return client_id_;
-}
-inline ::std::string* KafkaHeader::release_client_id() {
- clear_has_client_id();
- if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = client_id_;
- client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
-}
-inline void KafkaHeader::set_allocated_client_id(::std::string* client_id) {
- if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete client_id_;
- }
- if (client_id) {
- set_has_client_id();
- client_id_ = client_id;
- } else {
- clear_has_client_id();
- client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:bgs.protocol.KafkaHeader.client_id)
-}
-
// @@protoc_insertion_point(namespace_scope)
} // namespace protocol
diff --git a/src/server/proto/Client/semantic_version.pb.cc b/src/server/proto/Client/semantic_version.pb.cc
new file mode 100644
index 00000000000..4c070a704c7
--- /dev/null
+++ b/src/server/proto/Client/semantic_version.pb.cc
@@ -0,0 +1,188 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: semantic_version.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "semantic_version.pb.h"
+
+#include <utility>
+
+#include <google/protobuf/stubs/common.h>
+#include <google/protobuf/stubs/once.h>
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/wire_format_lite_inl.h>
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/generated_message_reflection.h>
+#include <google/protobuf/reflection_ops.h>
+#include <google/protobuf/wire_format.h>
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+
+namespace {
+
+const ::google::protobuf::Descriptor* SemanticVersion_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ SemanticVersion_reflection_ = NULL;
+
+} // namespace
+
+void protobuf_AssignDesc_semantic_5fversion_2eproto() {
+ protobuf_AddDesc_semantic_5fversion_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "semantic_version.proto");
+ GOOGLE_CHECK(file != NULL);
+ SemanticVersion_descriptor_ = file->message_type(0);
+ static const int SemanticVersion_offsets_[4] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SemanticVersion, major_version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SemanticVersion, minor_version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SemanticVersion, patch_version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SemanticVersion, version_string_),
+ };
+ SemanticVersion_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ SemanticVersion_descriptor_,
+ SemanticVersion::default_instance_,
+ SemanticVersion_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SemanticVersion, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SemanticVersion, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(SemanticVersion));
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_semantic_5fversion_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ SemanticVersion_descriptor_, &SemanticVersion::default_instance());
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_semantic_5fversion_2eproto() {
+ delete SemanticVersion::default_instance_;
+ delete SemanticVersion_reflection_;
+}
+
+void protobuf_AddDesc_semantic_5fversion_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n\026semantic_version.proto\022\014bgs.protocol\"n"
+ "\n\017SemanticVersion\022\025\n\rmajor_version\030\001 \001(\r"
+ "\022\025\n\rminor_version\030\002 \001(\r\022\025\n\rpatch_version"
+ "\030\003 \001(\r\022\026\n\016version_string\030\004 \001(\tB\002H\002", 154);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "semantic_version.proto", &protobuf_RegisterTypes);
+ SemanticVersion::default_instance_ = new SemanticVersion();
+ SemanticVersion::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_semantic_5fversion_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_semantic_5fversion_2eproto {
+ StaticDescriptorInitializer_semantic_5fversion_2eproto() {
+ protobuf_AddDesc_semantic_5fversion_2eproto();
+ }
+} static_descriptor_initializer_semantic_5fversion_2eproto_;
+// ===================================================================
+
+#ifndef _MSC_VER
+const int SemanticVersion::kMajorVersionFieldNumber;
+const int SemanticVersion::kMinorVersionFieldNumber;
+const int SemanticVersion::kPatchVersionFieldNumber;
+const int SemanticVersion::kVersionStringFieldNumber;
+#endif // !_MSC_VER
+
+SemanticVersion::SemanticVersion()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.SemanticVersion)
+}
+
+void SemanticVersion::InitAsDefaultInstance() {
+}
+
+SemanticVersion::SemanticVersion(const SemanticVersion& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.SemanticVersion)
+}
+
+void SemanticVersion::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ major_version_ = 0u;
+ minor_version_ = 0u;
+ patch_version_ = 0u;
+ version_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+SemanticVersion::~SemanticVersion() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.SemanticVersion)
+ SharedDtor();
+}
+
+void SemanticVersion::SharedDtor() {
+ if (version_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete version_string_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void SemanticVersion::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* SemanticVersion::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return SemanticVersion_descriptor_;
+}
+
+const SemanticVersion& SemanticVersion::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_semantic_5fversion_2eproto();
+ return *default_instance_;
+}
+
+SemanticVersion* SemanticVersion::default_instance_ = NULL;
+
+SemanticVersion* SemanticVersion::New() const {
+ return new SemanticVersion;
+}
+
+void SemanticVersion::Swap(SemanticVersion* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata SemanticVersion::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = SemanticVersion_descriptor_;
+ metadata.reflection = SemanticVersion_reflection_;
+ return metadata;
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace protocol
+} // namespace bgs
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/Client/semantic_version.pb.h b/src/server/proto/Client/semantic_version.pb.h
new file mode 100644
index 00000000000..a594db0e0b9
--- /dev/null
+++ b/src/server/proto/Client/semantic_version.pb.h
@@ -0,0 +1,311 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: semantic_version.proto
+
+#ifndef PROTOBUF_semantic_5fversion_2eproto__INCLUDED
+#define PROTOBUF_semantic_5fversion_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2006000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/message.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/unknown_field_set.h>
+#include "Define.h" // for TC_PROTO_API
+// @@protoc_insertion_point(includes)
+
+namespace bgs {
+namespace protocol {
+
+// Internal implementation detail -- do not call these.
+void TC_PROTO_API protobuf_AddDesc_semantic_5fversion_2eproto();
+void protobuf_AssignDesc_semantic_5fversion_2eproto();
+void protobuf_ShutdownFile_semantic_5fversion_2eproto();
+
+class SemanticVersion;
+
+// ===================================================================
+
+class TC_PROTO_API SemanticVersion : public ::google::protobuf::Message {
+ public:
+ SemanticVersion();
+ virtual ~SemanticVersion();
+
+ SemanticVersion(const SemanticVersion& from);
+
+ inline SemanticVersion& operator=(const SemanticVersion& from) {
+ CopyFrom(from);
+ return *this;
+ }
+
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
+ return _unknown_fields_;
+ }
+
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
+ return &_unknown_fields_;
+ }
+
+ static const ::google::protobuf::Descriptor* descriptor();
+ static const SemanticVersion& default_instance();
+
+ void Swap(SemanticVersion* other);
+
+ // implements Message ----------------------------------------------
+
+ SemanticVersion* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // optional uint32 major_version = 1;
+ inline bool has_major_version() const;
+ inline void clear_major_version();
+ static const int kMajorVersionFieldNumber = 1;
+ inline ::google::protobuf::uint32 major_version() const;
+ inline void set_major_version(::google::protobuf::uint32 value);
+
+ // optional uint32 minor_version = 2;
+ inline bool has_minor_version() const;
+ inline void clear_minor_version();
+ static const int kMinorVersionFieldNumber = 2;
+ inline ::google::protobuf::uint32 minor_version() const;
+ inline void set_minor_version(::google::protobuf::uint32 value);
+
+ // optional uint32 patch_version = 3;
+ inline bool has_patch_version() const;
+ inline void clear_patch_version();
+ static const int kPatchVersionFieldNumber = 3;
+ inline ::google::protobuf::uint32 patch_version() const;
+ inline void set_patch_version(::google::protobuf::uint32 value);
+
+ // optional string version_string = 4;
+ inline bool has_version_string() const;
+ inline void clear_version_string();
+ static const int kVersionStringFieldNumber = 4;
+ inline const ::std::string& version_string() const;
+ inline void set_version_string(const ::std::string& value);
+ inline void set_version_string(const char* value);
+ inline void set_version_string(const char* value, size_t size);
+ inline ::std::string* mutable_version_string();
+ inline ::std::string* release_version_string();
+ inline void set_allocated_version_string(::std::string* version_string);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.SemanticVersion)
+ private:
+ inline void set_has_major_version();
+ inline void clear_has_major_version();
+ inline void set_has_minor_version();
+ inline void clear_has_minor_version();
+ inline void set_has_patch_version();
+ inline void clear_has_patch_version();
+ inline void set_has_version_string();
+ inline void clear_has_version_string();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint32 major_version_;
+ ::google::protobuf::uint32 minor_version_;
+ ::std::string* version_string_;
+ ::google::protobuf::uint32 patch_version_;
+ friend void TC_PROTO_API protobuf_AddDesc_semantic_5fversion_2eproto();
+ friend void protobuf_AssignDesc_semantic_5fversion_2eproto();
+ friend void protobuf_ShutdownFile_semantic_5fversion_2eproto();
+
+ void InitAsDefaultInstance();
+ static SemanticVersion* default_instance_;
+};
+// ===================================================================
+
+// ===================================================================
+
+// ===================================================================
+
+// SemanticVersion
+
+// optional uint32 major_version = 1;
+inline bool SemanticVersion::has_major_version() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void SemanticVersion::set_has_major_version() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void SemanticVersion::clear_has_major_version() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void SemanticVersion::clear_major_version() {
+ major_version_ = 0u;
+ clear_has_major_version();
+}
+inline ::google::protobuf::uint32 SemanticVersion::major_version() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.SemanticVersion.major_version)
+ return major_version_;
+}
+inline void SemanticVersion::set_major_version(::google::protobuf::uint32 value) {
+ set_has_major_version();
+ major_version_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.SemanticVersion.major_version)
+}
+
+// optional uint32 minor_version = 2;
+inline bool SemanticVersion::has_minor_version() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void SemanticVersion::set_has_minor_version() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void SemanticVersion::clear_has_minor_version() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void SemanticVersion::clear_minor_version() {
+ minor_version_ = 0u;
+ clear_has_minor_version();
+}
+inline ::google::protobuf::uint32 SemanticVersion::minor_version() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.SemanticVersion.minor_version)
+ return minor_version_;
+}
+inline void SemanticVersion::set_minor_version(::google::protobuf::uint32 value) {
+ set_has_minor_version();
+ minor_version_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.SemanticVersion.minor_version)
+}
+
+// optional uint32 patch_version = 3;
+inline bool SemanticVersion::has_patch_version() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void SemanticVersion::set_has_patch_version() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void SemanticVersion::clear_has_patch_version() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void SemanticVersion::clear_patch_version() {
+ patch_version_ = 0u;
+ clear_has_patch_version();
+}
+inline ::google::protobuf::uint32 SemanticVersion::patch_version() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.SemanticVersion.patch_version)
+ return patch_version_;
+}
+inline void SemanticVersion::set_patch_version(::google::protobuf::uint32 value) {
+ set_has_patch_version();
+ patch_version_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.SemanticVersion.patch_version)
+}
+
+// optional string version_string = 4;
+inline bool SemanticVersion::has_version_string() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void SemanticVersion::set_has_version_string() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void SemanticVersion::clear_has_version_string() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void SemanticVersion::clear_version_string() {
+ if (version_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_string_->clear();
+ }
+ clear_has_version_string();
+}
+inline const ::std::string& SemanticVersion::version_string() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.SemanticVersion.version_string)
+ return *version_string_;
+}
+inline void SemanticVersion::set_version_string(const ::std::string& value) {
+ set_has_version_string();
+ if (version_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_string_ = new ::std::string;
+ }
+ version_string_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.SemanticVersion.version_string)
+}
+inline void SemanticVersion::set_version_string(const char* value) {
+ set_has_version_string();
+ if (version_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_string_ = new ::std::string;
+ }
+ version_string_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.SemanticVersion.version_string)
+}
+inline void SemanticVersion::set_version_string(const char* value, size_t size) {
+ set_has_version_string();
+ if (version_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_string_ = new ::std::string;
+ }
+ version_string_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.SemanticVersion.version_string)
+}
+inline ::std::string* SemanticVersion::mutable_version_string() {
+ set_has_version_string();
+ if (version_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_string_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.SemanticVersion.version_string)
+ return version_string_;
+}
+inline ::std::string* SemanticVersion::release_version_string() {
+ clear_has_version_string();
+ if (version_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = version_string_;
+ version_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void SemanticVersion::set_allocated_version_string(::std::string* version_string) {
+ if (version_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete version_string_;
+ }
+ if (version_string) {
+ set_has_version_string();
+ version_string_ = version_string;
+ } else {
+ clear_has_version_string();
+ version_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.SemanticVersion.version_string)
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace protocol
+} // namespace bgs
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_semantic_5fversion_2eproto__INCLUDED
diff --git a/src/server/proto/Client/user_manager_service.pb.cc b/src/server/proto/Client/user_manager_service.pb.cc
index bd2c0a0509b..66da6348075 100644
--- a/src/server/proto/Client/user_manager_service.pb.cc
+++ b/src/server/proto/Client/user_manager_service.pb.cc
@@ -379,7 +379,7 @@ void protobuf_AddDesc_user_5fmanager_5fservice_2eproto() {
"er_manager.v1.UnsubscribeRequest\032\024.bgs.p"
"rotocol.NoData\"\006\202\371+\002\0103\032I\202\371+\?\n-bnet.proto"
"col.user_manager.UserManagerService*\014use"
- "r_manager0\001\212\371+\002\020\0012\273\004\n\023UserManagerListene"
+ "r_manager0\001\212\371+\002\020\0012\275\004\n\023UserManagerListene"
"r\022w\n\024OnBlockedPlayerAdded\022<.bgs.protocol"
".user_manager.v1.BlockedPlayerAddedNotif"
"ication\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002"
@@ -392,8 +392,8 @@ void protobuf_AddDesc_user_5fmanager_5fservice_2eproto() {
"\"\006\202\371+\002\010\013\022{\n\026OnRecentPlayersRemoved\022>.bgs"
".protocol.user_manager.v1.RecentPlayersR"
"emovedNotification\032\031.bgs.protocol.NO_RES"
- "PONSE\"\006\202\371+\002\010\014\0328\202\371+.\n,bnet.protocol.user_"
- "manager.UserManagerNotify\212\371+\002\010\001B\005H\002\200\001\000", 2958);
+ "PONSE\"\006\202\371+\002\010\014\032:\202\371+0\n,bnet.protocol.user_"
+ "manager.UserManagerNotify8\001\212\371+\002\010\001B\005H\002\200\001\000", 2960);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"user_manager_service.proto", &protobuf_RegisterTypes);
SubscribeRequest::default_instance_ = new SubscribeRequest();