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.cc607
-rw-r--r--src/server/proto/Client/account_service.pb.h460
-rw-r--r--src/server/proto/Client/account_types.pb.cc640
-rw-r--r--src/server/proto/Client/account_types.pb.h1528
-rw-r--r--src/server/proto/Client/authentication_service.pb.cc112
-rw-r--r--src/server/proto/Client/authentication_service.pb.h91
-rw-r--r--src/server/proto/Client/club_invitation.pb.cc26
-rw-r--r--src/server/proto/Client/club_invitation.pb.h34
-rw-r--r--src/server/proto/Client/club_member.pb.cc72
-rw-r--r--src/server/proto/Client/club_member.pb.h34
-rw-r--r--src/server/proto/Client/connection_service.pb.cc90
-rw-r--r--src/server/proto/Client/connection_service.pb.h34
-rw-r--r--src/server/proto/Client/friends_types.pb.cc69
-rw-r--r--src/server/proto/Client/global_extensions/method_options.pb.cc40
-rw-r--r--src/server/proto/Client/global_extensions/method_options.pb.h127
-rw-r--r--src/server/proto/Client/global_extensions/register_method_types.pb.cc99
-rw-r--r--src/server/proto/Client/global_extensions/register_method_types.pb.h84
-rw-r--r--src/server/proto/Client/invitation_types.pb.cc46
-rw-r--r--src/server/proto/Client/invitation_types.pb.h1
-rw-r--r--src/server/proto/Client/presence_listener.pb.cc37
-rw-r--r--src/server/proto/Client/presence_listener.pb.h68
21 files changed, 3919 insertions, 380 deletions
diff --git a/src/server/proto/Client/account_service.pb.cc b/src/server/proto/Client/account_service.pb.cc
index 4bbfe70b28b..1b9b6a6ee5c 100644
--- a/src/server/proto/Client/account_service.pb.cc
+++ b/src/server/proto/Client/account_service.pb.cc
@@ -87,6 +87,18 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* GetAuthorizedDataResponse_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
GetAuthorizedDataResponse_reflection_ = NULL;
+const ::google::protobuf::Descriptor* GetAccountInfoRequest_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ GetAccountInfoRequest_reflection_ = NULL;
+const ::google::protobuf::Descriptor* GetAccountInfoResponse_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ GetAccountInfoResponse_reflection_ = NULL;
+const ::google::protobuf::Descriptor* GetAccountPlatformRestrictionsRequest_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ GetAccountPlatformRestrictionsRequest_reflection_ = NULL;
+const ::google::protobuf::Descriptor* GetAccountPlatformRestrictionsResponse_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ GetAccountPlatformRestrictionsResponse_reflection_ = NULL;
const ::google::protobuf::Descriptor* AccountStateNotification_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
AccountStateNotification_reflection_ = NULL;
@@ -446,7 +458,67 @@ void protobuf_AssignDesc_account_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GetAuthorizedDataResponse));
- AccountStateNotification_descriptor_ = file->message_type(21);
+ GetAccountInfoRequest_descriptor_ = file->message_type(21);
+ static const int GetAccountInfoRequest_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountInfoRequest, account_id_),
+ };
+ GetAccountInfoRequest_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ GetAccountInfoRequest_descriptor_,
+ GetAccountInfoRequest::default_instance_,
+ GetAccountInfoRequest_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountInfoRequest, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountInfoRequest, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(GetAccountInfoRequest));
+ GetAccountInfoResponse_descriptor_ = file->message_type(22);
+ static const int GetAccountInfoResponse_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountInfoResponse, account_info_),
+ };
+ GetAccountInfoResponse_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ GetAccountInfoResponse_descriptor_,
+ GetAccountInfoResponse::default_instance_,
+ GetAccountInfoResponse_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountInfoResponse, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountInfoResponse, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(GetAccountInfoResponse));
+ GetAccountPlatformRestrictionsRequest_descriptor_ = file->message_type(23);
+ static const int GetAccountPlatformRestrictionsRequest_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountPlatformRestrictionsRequest, account_id_),
+ };
+ GetAccountPlatformRestrictionsRequest_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ GetAccountPlatformRestrictionsRequest_descriptor_,
+ GetAccountPlatformRestrictionsRequest::default_instance_,
+ GetAccountPlatformRestrictionsRequest_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountPlatformRestrictionsRequest, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountPlatformRestrictionsRequest, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(GetAccountPlatformRestrictionsRequest));
+ GetAccountPlatformRestrictionsResponse_descriptor_ = file->message_type(24);
+ static const int GetAccountPlatformRestrictionsResponse_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountPlatformRestrictionsResponse, restriction_info_),
+ };
+ GetAccountPlatformRestrictionsResponse_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ GetAccountPlatformRestrictionsResponse_descriptor_,
+ GetAccountPlatformRestrictionsResponse::default_instance_,
+ GetAccountPlatformRestrictionsResponse_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountPlatformRestrictionsResponse, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetAccountPlatformRestrictionsResponse, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(GetAccountPlatformRestrictionsResponse));
+ AccountStateNotification_descriptor_ = file->message_type(25);
static const int AccountStateNotification_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountStateNotification, account_state_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountStateNotification, subscriber_id_),
@@ -464,7 +536,7 @@ void protobuf_AssignDesc_account_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(AccountStateNotification));
- GameAccountStateNotification_descriptor_ = file->message_type(22);
+ GameAccountStateNotification_descriptor_ = file->message_type(26);
static const int GameAccountStateNotification_offsets_[4] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountStateNotification, game_account_state_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountStateNotification, subscriber_id_),
@@ -482,7 +554,7 @@ void protobuf_AssignDesc_account_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameAccountStateNotification));
- GameAccountNotification_descriptor_ = file->message_type(23);
+ GameAccountNotification_descriptor_ = file->message_type(27);
static const int GameAccountNotification_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountNotification, game_accounts_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountNotification, subscriber_id_),
@@ -499,7 +571,7 @@ void protobuf_AssignDesc_account_5fservice_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(GameAccountNotification));
- GameAccountSessionNotification_descriptor_ = file->message_type(24);
+ GameAccountSessionNotification_descriptor_ = file->message_type(28);
static const int GameAccountSessionNotification_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountSessionNotification, game_account_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountSessionNotification, session_info_),
@@ -572,6 +644,14 @@ void protobuf_RegisterTypes(const ::std::string&) {
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
GetAuthorizedDataResponse_descriptor_, &GetAuthorizedDataResponse::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ GetAccountInfoRequest_descriptor_, &GetAccountInfoRequest::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ GetAccountInfoResponse_descriptor_, &GetAccountInfoResponse::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ GetAccountPlatformRestrictionsRequest_descriptor_, &GetAccountPlatformRestrictionsRequest::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ GetAccountPlatformRestrictionsResponse_descriptor_, &GetAccountPlatformRestrictionsResponse::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
AccountStateNotification_descriptor_, &AccountStateNotification::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
GameAccountStateNotification_descriptor_, &GameAccountStateNotification::default_instance());
@@ -626,6 +706,14 @@ void protobuf_ShutdownFile_account_5fservice_2eproto() {
delete GetAuthorizedDataRequest_reflection_;
delete GetAuthorizedDataResponse::default_instance_;
delete GetAuthorizedDataResponse_reflection_;
+ delete GetAccountInfoRequest::default_instance_;
+ delete GetAccountInfoRequest_reflection_;
+ delete GetAccountInfoResponse::default_instance_;
+ delete GetAccountInfoResponse_reflection_;
+ delete GetAccountPlatformRestrictionsRequest::default_instance_;
+ delete GetAccountPlatformRestrictionsRequest_reflection_;
+ delete GetAccountPlatformRestrictionsResponse::default_instance_;
+ delete GetAccountPlatformRestrictionsResponse_reflection_;
delete AccountStateNotification::default_instance_;
delete AccountStateNotification_reflection_;
delete GameAccountStateNotification::default_instance_;
@@ -711,78 +799,95 @@ void protobuf_AddDesc_account_5fservice_2eproto() {
"ocol.EntityIdB\006\202\371+\002\020\001\022\013\n\003tag\030\002 \003(\t\022\032\n\022pr"
"ivileged_network\030\003 \001(\010\"R\n\031GetAuthorizedD"
"ataResponse\0225\n\004data\030\001 \003(\0132\'.bgs.protocol"
- ".account.v1.AuthorizedData\"\324\001\n\030AccountSt"
- "ateNotification\022<\n\raccount_state\030\001 \001(\0132%"
- ".bgs.protocol.account.v1.AccountState\022\031\n"
- "\rsubscriber_id\030\002 \001(\004B\002\030\001\022\?\n\014account_tags"
- "\030\003 \001(\0132).bgs.protocol.account.v1.Account"
- "FieldTags\022\036\n\026subscription_completed\030\004 \001("
- "\010\"\352\001\n\034GameAccountStateNotification\022E\n\022ga"
- "me_account_state\030\001 \001(\0132).bgs.protocol.ac"
- "count.v1.GameAccountState\022\031\n\rsubscriber_"
- "id\030\002 \001(\004B\002\030\001\022H\n\021game_account_tags\030\003 \001(\0132"
- "-.bgs.protocol.account.v1.GameAccountFie"
- "ldTags\022\036\n\026subscription_completed\030\004 \001(\010\"\262"
- "\001\n\027GameAccountNotification\022\?\n\rgame_accou"
- "nts\030\001 \003(\0132(.bgs.protocol.account.v1.Game"
- "AccountList\022\025\n\rsubscriber_id\030\002 \001(\004\022\?\n\014ac"
- "count_tags\030\003 \001(\0132).bgs.protocol.account."
- "v1.AccountFieldTags\"\250\001\n\036GameAccountSessi"
- "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\314\013\n\016Accou"
- "ntService\022y\n\016ResolveAccount\022..bgs.protoc"
- "ol.account.v1.ResolveAccountRequest\032/.bg"
- "s.protocol.account.v1.ResolveAccountResp"
- "onse\"\006\202\371+\002\010\r\022|\n\tSubscribe\0222.bgs.protocol"
- ".account.v1.SubscriptionUpdateRequest\0323."
- "bgs.protocol.account.v1.SubscriptionUpda"
- "teResponse\"\006\202\371+\002\010\031\022_\n\013Unsubscribe\0222.bgs."
- "protocol.account.v1.SubscriptionUpdateRe"
- "quest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\032\022|\n\017G"
- "etAccountState\022/.bgs.protocol.account.v1"
- ".GetAccountStateRequest\0320.bgs.protocol.a"
- "ccount.v1.GetAccountStateResponse\"\006\202\371+\002\010"
- "\036\022\210\001\n\023GetGameAccountState\0223.bgs.protocol"
- ".account.v1.GetGameAccountStateRequest\0324"
- ".bgs.protocol.account.v1.GetGameAccountS"
- "tateResponse\"\006\202\371+\002\010\037\022p\n\013GetLicenses\022+.bg"
- "s.protocol.account.v1.GetLicensesRequest"
- "\032,.bgs.protocol.account.v1.GetLicensesRe"
- "sponse\"\006\202\371+\002\010 \022\227\001\n\030GetGameTimeRemainingI"
- "nfo\0228.bgs.protocol.account.v1.GetGameTim"
- "eRemainingInfoRequest\0329.bgs.protocol.acc"
- "ount.v1.GetGameTimeRemainingInfoResponse"
- "\"\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\"\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);
+ ".account.v1.AuthorizedData\"K\n\025GetAccount"
+ "InfoRequest\0222\n\naccount_id\030\001 \001(\0132\026.bgs.pr"
+ "otocol.EntityIdB\006\202\371+\002\020\001\"T\n\026GetAccountInf"
+ "oResponse\022:\n\014account_info\030\001 \001(\0132$.bgs.pr"
+ "otocol.account.v1.AccountInfo\"[\n%GetAcco"
+ "untPlatformRestrictionsRequest\0222\n\naccoun"
+ "t_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002"
+ "\020\001\"{\n&GetAccountPlatformRestrictionsResp"
+ "onse\022Q\n\020restriction_info\030\001 \001(\01327.bgs.pro"
+ "tocol.account.v1.AccountPlatformRestrict"
+ "ionInfo\"\324\001\n\030AccountStateNotification\022<\n\r"
+ "account_state\030\001 \001(\0132%.bgs.protocol.accou"
+ "nt.v1.AccountState\022\031\n\rsubscriber_id\030\002 \001("
+ "\004B\002\030\001\022\?\n\014account_tags\030\003 \001(\0132).bgs.protoc"
+ "ol.account.v1.AccountFieldTags\022\036\n\026subscr"
+ "iption_completed\030\004 \001(\010\"\352\001\n\034GameAccountSt"
+ "ateNotification\022E\n\022game_account_state\030\001 "
+ "\001(\0132).bgs.protocol.account.v1.GameAccoun"
+ "tState\022\031\n\rsubscriber_id\030\002 \001(\004B\002\030\001\022H\n\021gam"
+ "e_account_tags\030\003 \001(\0132-.bgs.protocol.acco"
+ "unt.v1.GameAccountFieldTags\022\036\n\026subscript"
+ "ion_completed\030\004 \001(\010\"\262\001\n\027GameAccountNotif"
+ "ication\022\?\n\rgame_accounts\030\001 \003(\0132(.bgs.pro"
+ "tocol.account.v1.GameAccountList\022\025\n\rsubs"
+ "criber_id\030\002 \001(\004\022\?\n\014account_tags\030\003 \001(\0132)."
+ "bgs.protocol.account.v1.AccountFieldTags"
+ "\"\250\001\n\036GameAccountSessionNotification\022@\n\014g"
+ "ame_account\030\001 \001(\0132*.bgs.protocol.account"
+ ".v1.GameAccountHandle\022D\n\014session_info\030\002 "
+ "\001(\0132..bgs.protocol.account.v1.GameSessio"
+ "nUpdateInfo2\363\r\n\016AccountService\022y\n\016Resolv"
+ "eAccount\022..bgs.protocol.account.v1.Resol"
+ "veAccountRequest\032/.bgs.protocol.account."
+ "v1.ResolveAccountResponse\"\006\202\371+\002\010\r\022|\n\tSub"
+ "scribe\0222.bgs.protocol.account.v1.Subscri"
+ "ptionUpdateRequest\0323.bgs.protocol.accoun"
+ "t.v1.SubscriptionUpdateResponse\"\006\202\371+\002\010\031\022"
+ "_\n\013Unsubscribe\0222.bgs.protocol.account.v1"
+ ".SubscriptionUpdateRequest\032\024.bgs.protoco"
+ "l.NoData\"\006\202\371+\002\010\032\022|\n\017GetAccountState\022/.bg"
+ "s.protocol.account.v1.GetAccountStateReq"
+ "uest\0320.bgs.protocol.account.v1.GetAccoun"
+ "tStateResponse\"\006\202\371+\002\010\036\022\210\001\n\023GetGameAccoun"
+ "tState\0223.bgs.protocol.account.v1.GetGame"
+ "AccountStateRequest\0324.bgs.protocol.accou"
+ "nt.v1.GetGameAccountStateResponse\"\006\202\371+\002\010"
+ "\037\022p\n\013GetLicenses\022+.bgs.protocol.account."
+ "v1.GetLicensesRequest\032,.bgs.protocol.acc"
+ "ount.v1.GetLicensesResponse\"\006\202\371+\002\010 \022\227\001\n\030"
+ "GetGameTimeRemainingInfo\0228.bgs.protocol."
+ "account.v1.GetGameTimeRemainingInfoReque"
+ "st\0329.bgs.protocol.account.v1.GetGameTime"
+ "RemainingInfoResponse\"\006\202\371+\002\010!\022\207\001\n\022GetGam"
+ "eSessionInfo\0222.bgs.protocol.account.v1.G"
+ "etGameSessionInfoRequest\0323.bgs.protocol."
+ "account.v1.GetGameSessionInfoResponse\"\010\202"
+ "\371+\004\010\"P\001\022p\n\013GetCAISInfo\022+.bgs.protocol.ac"
+ "count.v1.GetCAISInfoRequest\032,.bgs.protoc"
+ "ol.account.v1.GetCAISInfoResponse\"\006\202\371+\002\010"
+ "#\022\202\001\n\021GetAuthorizedData\0221.bgs.protocol.a"
+ "ccount.v1.GetAuthorizedDataRequest\0322.bgs"
+ ".protocol.account.v1.GetAuthorizedDataRe"
+ "sponse\"\006\202\371+\002\010%\022\216\001\n\025GetSignedAccountState"
+ "\0225.bgs.protocol.account.v1.GetSignedAcco"
+ "untStateRequest\0326.bgs.protocol.account.v"
+ "1.GetSignedAccountStateResponse\"\006\202\371+\002\010,\022"
+ "y\n\016GetAccountInfo\022..bgs.protocol.account"
+ ".v1.GetAccountInfoRequest\032/.bgs.protocol"
+ ".account.v1.GetAccountInfoResponse\"\006\202\371+\002"
+ "\010-\022\251\001\n\036GetAccountPlatformRestrictions\022>."
+ "bgs.protocol.account.v1.GetAccountPlatfo"
+ "rmRestrictionsRequest\032\?.bgs.protocol.acc"
+ "ount.v1.GetAccountPlatformRestrictionsRe"
+ "sponse\"\006\202\371+\002\010.\0329\202\371+/\n$bnet.protocol.acco"
+ "unt.AccountService*\007account\212\371+\002\020\0012\220\004\n\017Ac"
+ "countListener\022m\n\025OnAccountStateUpdated\0221"
+ ".bgs.protocol.account.v1.AccountStateNot"
+ "ification\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371"
+ "+\002\010\001\022u\n\031OnGameAccountStateUpdated\0225.bgs."
+ "protocol.account.v1.GameAccountStateNoti"
+ "fication\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+"
+ "\002\010\002\022n\n\025OnGameAccountsUpdated\0220.bgs.proto"
+ "col.account.v1.GameAccountNotification\032\031"
+ ".bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\003P\001\022t\n\024O"
+ "nGameSessionUpdated\0227.bgs.protocol.accou"
+ "nt.v1.GameAccountSessionNotification\032\031.b"
+ "gs.protocol.NO_RESPONSE\"\010\202\371+\004\010\004P\001\0321\202\371+\'\n"
+ "#bnet.protocol.account.AccountNotify8\001\212\371"
+ "+\002\010\001B\005H\002\200\001\000", 6131);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"account_service.proto", &protobuf_RegisterTypes);
ResolveAccountRequest::default_instance_ = new ResolveAccountRequest();
@@ -806,6 +911,10 @@ void protobuf_AddDesc_account_5fservice_2eproto() {
GetCAISInfoResponse::default_instance_ = new GetCAISInfoResponse();
GetAuthorizedDataRequest::default_instance_ = new GetAuthorizedDataRequest();
GetAuthorizedDataResponse::default_instance_ = new GetAuthorizedDataResponse();
+ GetAccountInfoRequest::default_instance_ = new GetAccountInfoRequest();
+ GetAccountInfoResponse::default_instance_ = new GetAccountInfoResponse();
+ GetAccountPlatformRestrictionsRequest::default_instance_ = new GetAccountPlatformRestrictionsRequest();
+ GetAccountPlatformRestrictionsResponse::default_instance_ = new GetAccountPlatformRestrictionsResponse();
AccountStateNotification::default_instance_ = new AccountStateNotification();
GameAccountStateNotification::default_instance_ = new GameAccountStateNotification();
GameAccountNotification::default_instance_ = new GameAccountNotification();
@@ -831,6 +940,10 @@ void protobuf_AddDesc_account_5fservice_2eproto() {
GetCAISInfoResponse::default_instance_->InitAsDefaultInstance();
GetAuthorizedDataRequest::default_instance_->InitAsDefaultInstance();
GetAuthorizedDataResponse::default_instance_->InitAsDefaultInstance();
+ GetAccountInfoRequest::default_instance_->InitAsDefaultInstance();
+ GetAccountInfoResponse::default_instance_->InitAsDefaultInstance();
+ GetAccountPlatformRestrictionsRequest::default_instance_->InitAsDefaultInstance();
+ GetAccountPlatformRestrictionsResponse::default_instance_->InitAsDefaultInstance();
AccountStateNotification::default_instance_->InitAsDefaultInstance();
GameAccountStateNotification::default_instance_->InitAsDefaultInstance();
GameAccountNotification::default_instance_->InitAsDefaultInstance();
@@ -2453,6 +2566,302 @@ void GetAuthorizedDataResponse::Swap(GetAuthorizedDataResponse* other) {
// ===================================================================
#ifndef _MSC_VER
+const int GetAccountInfoRequest::kAccountIdFieldNumber;
+#endif // !_MSC_VER
+
+GetAccountInfoRequest::GetAccountInfoRequest()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.GetAccountInfoRequest)
+}
+
+void GetAccountInfoRequest::InitAsDefaultInstance() {
+ account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
+}
+
+GetAccountInfoRequest::GetAccountInfoRequest(const GetAccountInfoRequest& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.GetAccountInfoRequest)
+}
+
+void GetAccountInfoRequest::SharedCtor() {
+ _cached_size_ = 0;
+ account_id_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+GetAccountInfoRequest::~GetAccountInfoRequest() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.GetAccountInfoRequest)
+ SharedDtor();
+}
+
+void GetAccountInfoRequest::SharedDtor() {
+ if (this != default_instance_) {
+ delete account_id_;
+ }
+}
+
+void GetAccountInfoRequest::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* GetAccountInfoRequest::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return GetAccountInfoRequest_descriptor_;
+}
+
+const GetAccountInfoRequest& GetAccountInfoRequest::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5fservice_2eproto();
+ return *default_instance_;
+}
+
+GetAccountInfoRequest* GetAccountInfoRequest::default_instance_ = NULL;
+
+GetAccountInfoRequest* GetAccountInfoRequest::New() const {
+ return new GetAccountInfoRequest;
+}
+
+void GetAccountInfoRequest::Swap(GetAccountInfoRequest* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata GetAccountInfoRequest::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = GetAccountInfoRequest_descriptor_;
+ metadata.reflection = GetAccountInfoRequest_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int GetAccountInfoResponse::kAccountInfoFieldNumber;
+#endif // !_MSC_VER
+
+GetAccountInfoResponse::GetAccountInfoResponse()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.GetAccountInfoResponse)
+}
+
+void GetAccountInfoResponse::InitAsDefaultInstance() {
+ account_info_ = const_cast< ::bgs::protocol::account::v1::AccountInfo*>(&::bgs::protocol::account::v1::AccountInfo::default_instance());
+}
+
+GetAccountInfoResponse::GetAccountInfoResponse(const GetAccountInfoResponse& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.GetAccountInfoResponse)
+}
+
+void GetAccountInfoResponse::SharedCtor() {
+ _cached_size_ = 0;
+ account_info_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+GetAccountInfoResponse::~GetAccountInfoResponse() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.GetAccountInfoResponse)
+ SharedDtor();
+}
+
+void GetAccountInfoResponse::SharedDtor() {
+ if (this != default_instance_) {
+ delete account_info_;
+ }
+}
+
+void GetAccountInfoResponse::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* GetAccountInfoResponse::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return GetAccountInfoResponse_descriptor_;
+}
+
+const GetAccountInfoResponse& GetAccountInfoResponse::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5fservice_2eproto();
+ return *default_instance_;
+}
+
+GetAccountInfoResponse* GetAccountInfoResponse::default_instance_ = NULL;
+
+GetAccountInfoResponse* GetAccountInfoResponse::New() const {
+ return new GetAccountInfoResponse;
+}
+
+void GetAccountInfoResponse::Swap(GetAccountInfoResponse* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata GetAccountInfoResponse::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = GetAccountInfoResponse_descriptor_;
+ metadata.reflection = GetAccountInfoResponse_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int GetAccountPlatformRestrictionsRequest::kAccountIdFieldNumber;
+#endif // !_MSC_VER
+
+GetAccountPlatformRestrictionsRequest::GetAccountPlatformRestrictionsRequest()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest)
+}
+
+void GetAccountPlatformRestrictionsRequest::InitAsDefaultInstance() {
+ account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance());
+}
+
+GetAccountPlatformRestrictionsRequest::GetAccountPlatformRestrictionsRequest(const GetAccountPlatformRestrictionsRequest& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest)
+}
+
+void GetAccountPlatformRestrictionsRequest::SharedCtor() {
+ _cached_size_ = 0;
+ account_id_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+GetAccountPlatformRestrictionsRequest::~GetAccountPlatformRestrictionsRequest() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest)
+ SharedDtor();
+}
+
+void GetAccountPlatformRestrictionsRequest::SharedDtor() {
+ if (this != default_instance_) {
+ delete account_id_;
+ }
+}
+
+void GetAccountPlatformRestrictionsRequest::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* GetAccountPlatformRestrictionsRequest::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return GetAccountPlatformRestrictionsRequest_descriptor_;
+}
+
+const GetAccountPlatformRestrictionsRequest& GetAccountPlatformRestrictionsRequest::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5fservice_2eproto();
+ return *default_instance_;
+}
+
+GetAccountPlatformRestrictionsRequest* GetAccountPlatformRestrictionsRequest::default_instance_ = NULL;
+
+GetAccountPlatformRestrictionsRequest* GetAccountPlatformRestrictionsRequest::New() const {
+ return new GetAccountPlatformRestrictionsRequest;
+}
+
+void GetAccountPlatformRestrictionsRequest::Swap(GetAccountPlatformRestrictionsRequest* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata GetAccountPlatformRestrictionsRequest::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = GetAccountPlatformRestrictionsRequest_descriptor_;
+ metadata.reflection = GetAccountPlatformRestrictionsRequest_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int GetAccountPlatformRestrictionsResponse::kRestrictionInfoFieldNumber;
+#endif // !_MSC_VER
+
+GetAccountPlatformRestrictionsResponse::GetAccountPlatformRestrictionsResponse()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse)
+}
+
+void GetAccountPlatformRestrictionsResponse::InitAsDefaultInstance() {
+ restriction_info_ = const_cast< ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo*>(&::bgs::protocol::account::v1::AccountPlatformRestrictionInfo::default_instance());
+}
+
+GetAccountPlatformRestrictionsResponse::GetAccountPlatformRestrictionsResponse(const GetAccountPlatformRestrictionsResponse& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse)
+}
+
+void GetAccountPlatformRestrictionsResponse::SharedCtor() {
+ _cached_size_ = 0;
+ restriction_info_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+GetAccountPlatformRestrictionsResponse::~GetAccountPlatformRestrictionsResponse() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse)
+ SharedDtor();
+}
+
+void GetAccountPlatformRestrictionsResponse::SharedDtor() {
+ if (this != default_instance_) {
+ delete restriction_info_;
+ }
+}
+
+void GetAccountPlatformRestrictionsResponse::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* GetAccountPlatformRestrictionsResponse::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return GetAccountPlatformRestrictionsResponse_descriptor_;
+}
+
+const GetAccountPlatformRestrictionsResponse& GetAccountPlatformRestrictionsResponse::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5fservice_2eproto();
+ return *default_instance_;
+}
+
+GetAccountPlatformRestrictionsResponse* GetAccountPlatformRestrictionsResponse::default_instance_ = NULL;
+
+GetAccountPlatformRestrictionsResponse* GetAccountPlatformRestrictionsResponse::New() const {
+ return new GetAccountPlatformRestrictionsResponse;
+}
+
+void GetAccountPlatformRestrictionsResponse::Swap(GetAccountPlatformRestrictionsResponse* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata GetAccountPlatformRestrictionsResponse::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = GetAccountPlatformRestrictionsResponse_descriptor_;
+ metadata.reflection = GetAccountPlatformRestrictionsResponse_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
const int AccountStateNotification::kAccountStateFieldNumber;
const int AccountStateNotification::kSubscriberIdFieldNumber;
const int AccountStateNotification::kAccountTagsFieldNumber;
@@ -2817,6 +3226,12 @@ void AccountService::CallServerMethod(uint32 token, uint32 methodId, MessageBuff
case 44:
ParseAndHandleGetSignedAccountState(token, methodId, buffer);
break;
+ case 45:
+ ParseAndHandleGetAccountInfo(token, methodId, buffer);
+ break;
+ case 46:
+ ParseAndHandleGetAccountPlatformRestrictions(token, methodId, buffer);
+ break;
default:
LogInvalidMethod(methodId);
SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD);
@@ -2879,6 +3294,16 @@ uint32 AccountService::HandleGetSignedAccountState(::bgs::protocol::account::v1:
return ERROR_RPC_NOT_IMPLEMENTED;
}
+uint32 AccountService::HandleGetAccountInfo(::bgs::protocol::account::v1::GetAccountInfoRequest const* request, ::bgs::protocol::account::v1::GetAccountInfoResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
+ LogUnimplementedServerMethod("AccountService.GetAccountInfo", request);
+ return ERROR_RPC_NOT_IMPLEMENTED;
+}
+
+uint32 AccountService::HandleGetAccountPlatformRestrictions(::bgs::protocol::account::v1::GetAccountPlatformRestrictionsRequest const* request, ::bgs::protocol::account::v1::GetAccountPlatformRestrictionsResponse* /*response*/, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) {
+ LogUnimplementedServerMethod("AccountService.GetAccountPlatformRestrictions", request);
+ return ERROR_RPC_NOT_IMPLEMENTED;
+}
+
void AccountService::ParseAndHandleResolveAccount(uint32 token, uint32 methodId, MessageBuffer& buffer) {
::bgs::protocol::account::v1::ResolveAccountRequest request;
if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
@@ -3044,6 +3469,36 @@ void AccountService::ParseAndHandleGetSignedAccountState(uint32 token, uint32 me
continuation(this, status, &response);
}
+void AccountService::ParseAndHandleGetAccountInfo(uint32 token, uint32 methodId, MessageBuffer& buffer) {
+ ::bgs::protocol::account::v1::GetAccountInfoRequest request;
+ if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
+ LogFailedParsingRequest("AccountService.GetAccountInfo");
+ SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
+ return;
+ }
+ LogCallServerMethod("AccountService.GetAccountInfo", "bgs.protocol.account.v1.GetAccountInfoRequest", &request);
+ std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AccountService.GetAccountInfo", ::bgs::protocol::account::v1::GetAccountInfoResponse::descriptor());
+ ::bgs::protocol::account::v1::GetAccountInfoResponse response;
+ uint32 status = HandleGetAccountInfo(&request, &response, continuation);
+ if (continuation)
+ continuation(this, status, &response);
+}
+
+void AccountService::ParseAndHandleGetAccountPlatformRestrictions(uint32 token, uint32 methodId, MessageBuffer& buffer) {
+ ::bgs::protocol::account::v1::GetAccountPlatformRestrictionsRequest request;
+ if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) {
+ LogFailedParsingRequest("AccountService.GetAccountPlatformRestrictions");
+ SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST);
+ return;
+ }
+ LogCallServerMethod("AccountService.GetAccountPlatformRestrictions", "bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest", &request);
+ std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)> continuation = CreateServerContinuation(token, methodId, "AccountService.GetAccountPlatformRestrictions", ::bgs::protocol::account::v1::GetAccountPlatformRestrictionsResponse::descriptor());
+ ::bgs::protocol::account::v1::GetAccountPlatformRestrictionsResponse response;
+ uint32 status = HandleGetAccountPlatformRestrictions(&request, &response, continuation);
+ if (continuation)
+ continuation(this, status, &response);
+}
+
// ===================================================================
AccountListener::AccountListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) {
diff --git a/src/server/proto/Client/account_service.pb.h b/src/server/proto/Client/account_service.pb.h
index 0467512cc27..8f790456010 100644
--- a/src/server/proto/Client/account_service.pb.h
+++ b/src/server/proto/Client/account_service.pb.h
@@ -64,6 +64,10 @@ class GetCAISInfoRequest;
class GetCAISInfoResponse;
class GetAuthorizedDataRequest;
class GetAuthorizedDataResponse;
+class GetAccountInfoRequest;
+class GetAccountInfoResponse;
+class GetAccountPlatformRestrictionsRequest;
+class GetAccountPlatformRestrictionsResponse;
class AccountStateNotification;
class GameAccountStateNotification;
class GameAccountNotification;
@@ -1744,6 +1748,278 @@ class TC_PROTO_API GetAuthorizedDataResponse : public ::google::protobuf::Messag
};
// -------------------------------------------------------------------
+class TC_PROTO_API GetAccountInfoRequest : public ::google::protobuf::Message {
+ public:
+ GetAccountInfoRequest();
+ virtual ~GetAccountInfoRequest();
+
+ GetAccountInfoRequest(const GetAccountInfoRequest& from);
+
+ inline GetAccountInfoRequest& operator=(const GetAccountInfoRequest& 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 GetAccountInfoRequest& default_instance();
+
+ void Swap(GetAccountInfoRequest* other);
+
+ // implements Message ----------------------------------------------
+
+ GetAccountInfoRequest* 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.EntityId account_id = 1;
+ inline bool has_account_id() const;
+ inline void clear_account_id();
+ static const int kAccountIdFieldNumber = 1;
+ inline const ::bgs::protocol::EntityId& account_id() const;
+ inline ::bgs::protocol::EntityId* mutable_account_id();
+ inline ::bgs::protocol::EntityId* release_account_id();
+ inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountInfoRequest)
+ private:
+ inline void set_has_account_id();
+ inline void clear_has_account_id();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::EntityId* account_id_;
+ friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto();
+ friend void protobuf_AssignDesc_account_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_account_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static GetAccountInfoRequest* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API GetAccountInfoResponse : public ::google::protobuf::Message {
+ public:
+ GetAccountInfoResponse();
+ virtual ~GetAccountInfoResponse();
+
+ GetAccountInfoResponse(const GetAccountInfoResponse& from);
+
+ inline GetAccountInfoResponse& operator=(const GetAccountInfoResponse& 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 GetAccountInfoResponse& default_instance();
+
+ void Swap(GetAccountInfoResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ GetAccountInfoResponse* 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.account.v1.AccountInfo account_info = 1;
+ inline bool has_account_info() const;
+ inline void clear_account_info();
+ static const int kAccountInfoFieldNumber = 1;
+ inline const ::bgs::protocol::account::v1::AccountInfo& account_info() const;
+ inline ::bgs::protocol::account::v1::AccountInfo* mutable_account_info();
+ inline ::bgs::protocol::account::v1::AccountInfo* release_account_info();
+ inline void set_allocated_account_info(::bgs::protocol::account::v1::AccountInfo* account_info);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountInfoResponse)
+ private:
+ inline void set_has_account_info();
+ inline void clear_has_account_info();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::account::v1::AccountInfo* account_info_;
+ friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto();
+ friend void protobuf_AssignDesc_account_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_account_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static GetAccountInfoResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API GetAccountPlatformRestrictionsRequest : public ::google::protobuf::Message {
+ public:
+ GetAccountPlatformRestrictionsRequest();
+ virtual ~GetAccountPlatformRestrictionsRequest();
+
+ GetAccountPlatformRestrictionsRequest(const GetAccountPlatformRestrictionsRequest& from);
+
+ inline GetAccountPlatformRestrictionsRequest& operator=(const GetAccountPlatformRestrictionsRequest& 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 GetAccountPlatformRestrictionsRequest& default_instance();
+
+ void Swap(GetAccountPlatformRestrictionsRequest* other);
+
+ // implements Message ----------------------------------------------
+
+ GetAccountPlatformRestrictionsRequest* 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.EntityId account_id = 1;
+ inline bool has_account_id() const;
+ inline void clear_account_id();
+ static const int kAccountIdFieldNumber = 1;
+ inline const ::bgs::protocol::EntityId& account_id() const;
+ inline ::bgs::protocol::EntityId* mutable_account_id();
+ inline ::bgs::protocol::EntityId* release_account_id();
+ inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest)
+ private:
+ inline void set_has_account_id();
+ inline void clear_has_account_id();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::EntityId* account_id_;
+ friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto();
+ friend void protobuf_AssignDesc_account_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_account_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static GetAccountPlatformRestrictionsRequest* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API GetAccountPlatformRestrictionsResponse : public ::google::protobuf::Message {
+ public:
+ GetAccountPlatformRestrictionsResponse();
+ virtual ~GetAccountPlatformRestrictionsResponse();
+
+ GetAccountPlatformRestrictionsResponse(const GetAccountPlatformRestrictionsResponse& from);
+
+ inline GetAccountPlatformRestrictionsResponse& operator=(const GetAccountPlatformRestrictionsResponse& 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 GetAccountPlatformRestrictionsResponse& default_instance();
+
+ void Swap(GetAccountPlatformRestrictionsResponse* other);
+
+ // implements Message ----------------------------------------------
+
+ GetAccountPlatformRestrictionsResponse* 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.account.v1.AccountPlatformRestrictionInfo restriction_info = 1;
+ inline bool has_restriction_info() const;
+ inline void clear_restriction_info();
+ static const int kRestrictionInfoFieldNumber = 1;
+ inline const ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo& restriction_info() const;
+ inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* mutable_restriction_info();
+ inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* release_restriction_info();
+ inline void set_allocated_restriction_info(::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* restriction_info);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse)
+ private:
+ inline void set_has_restriction_info();
+ inline void clear_has_restriction_info();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* restriction_info_;
+ friend void TC_PROTO_API protobuf_AddDesc_account_5fservice_2eproto();
+ friend void protobuf_AssignDesc_account_5fservice_2eproto();
+ friend void protobuf_ShutdownFile_account_5fservice_2eproto();
+
+ void InitAsDefaultInstance();
+ static GetAccountPlatformRestrictionsResponse* default_instance_;
+};
+// -------------------------------------------------------------------
+
class TC_PROTO_API AccountStateNotification : public ::google::protobuf::Message {
public:
AccountStateNotification();
@@ -2146,6 +2422,8 @@ class TC_PROTO_API AccountService : public ServiceBase
virtual uint32 HandleGetCAISInfo(::bgs::protocol::account::v1::GetCAISInfoRequest const* request, ::bgs::protocol::account::v1::GetCAISInfoResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
virtual uint32 HandleGetAuthorizedData(::bgs::protocol::account::v1::GetAuthorizedDataRequest const* request, ::bgs::protocol::account::v1::GetAuthorizedDataResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
virtual uint32 HandleGetSignedAccountState(::bgs::protocol::account::v1::GetSignedAccountStateRequest const* request, ::bgs::protocol::account::v1::GetSignedAccountStateResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
+ virtual uint32 HandleGetAccountInfo(::bgs::protocol::account::v1::GetAccountInfoRequest const* request, ::bgs::protocol::account::v1::GetAccountInfoResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
+ virtual uint32 HandleGetAccountPlatformRestrictions(::bgs::protocol::account::v1::GetAccountPlatformRestrictionsRequest const* request, ::bgs::protocol::account::v1::GetAccountPlatformRestrictionsResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
private:
void ParseAndHandleResolveAccount(uint32 token, uint32 methodId, MessageBuffer& buffer);
@@ -2159,6 +2437,8 @@ class TC_PROTO_API AccountService : public ServiceBase
void ParseAndHandleGetCAISInfo(uint32 token, uint32 methodId, MessageBuffer& buffer);
void ParseAndHandleGetAuthorizedData(uint32 token, uint32 methodId, MessageBuffer& buffer);
void ParseAndHandleGetSignedAccountState(uint32 token, uint32 methodId, MessageBuffer& buffer);
+ void ParseAndHandleGetAccountInfo(uint32 token, uint32 methodId, MessageBuffer& buffer);
+ void ParseAndHandleGetAccountPlatformRestrictions(uint32 token, uint32 methodId, MessageBuffer& buffer);
};
// -------------------------------------------------------------------
@@ -3850,6 +4130,186 @@ GetAuthorizedDataResponse::mutable_data() {
// -------------------------------------------------------------------
+// GetAccountInfoRequest
+
+// optional .bgs.protocol.EntityId account_id = 1;
+inline bool GetAccountInfoRequest::has_account_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void GetAccountInfoRequest::set_has_account_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void GetAccountInfoRequest::clear_has_account_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void GetAccountInfoRequest::clear_account_id() {
+ if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
+ clear_has_account_id();
+}
+inline const ::bgs::protocol::EntityId& GetAccountInfoRequest::account_id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountInfoRequest.account_id)
+ return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
+}
+inline ::bgs::protocol::EntityId* GetAccountInfoRequest::mutable_account_id() {
+ set_has_account_id();
+ if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountInfoRequest.account_id)
+ return account_id_;
+}
+inline ::bgs::protocol::EntityId* GetAccountInfoRequest::release_account_id() {
+ clear_has_account_id();
+ ::bgs::protocol::EntityId* temp = account_id_;
+ account_id_ = NULL;
+ return temp;
+}
+inline void GetAccountInfoRequest::set_allocated_account_id(::bgs::protocol::EntityId* account_id) {
+ delete account_id_;
+ account_id_ = account_id;
+ if (account_id) {
+ set_has_account_id();
+ } else {
+ clear_has_account_id();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountInfoRequest.account_id)
+}
+
+// -------------------------------------------------------------------
+
+// GetAccountInfoResponse
+
+// optional .bgs.protocol.account.v1.AccountInfo account_info = 1;
+inline bool GetAccountInfoResponse::has_account_info() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void GetAccountInfoResponse::set_has_account_info() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void GetAccountInfoResponse::clear_has_account_info() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void GetAccountInfoResponse::clear_account_info() {
+ if (account_info_ != NULL) account_info_->::bgs::protocol::account::v1::AccountInfo::Clear();
+ clear_has_account_info();
+}
+inline const ::bgs::protocol::account::v1::AccountInfo& GetAccountInfoResponse::account_info() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountInfoResponse.account_info)
+ return account_info_ != NULL ? *account_info_ : *default_instance_->account_info_;
+}
+inline ::bgs::protocol::account::v1::AccountInfo* GetAccountInfoResponse::mutable_account_info() {
+ set_has_account_info();
+ if (account_info_ == NULL) account_info_ = new ::bgs::protocol::account::v1::AccountInfo;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountInfoResponse.account_info)
+ return account_info_;
+}
+inline ::bgs::protocol::account::v1::AccountInfo* GetAccountInfoResponse::release_account_info() {
+ clear_has_account_info();
+ ::bgs::protocol::account::v1::AccountInfo* temp = account_info_;
+ account_info_ = NULL;
+ return temp;
+}
+inline void GetAccountInfoResponse::set_allocated_account_info(::bgs::protocol::account::v1::AccountInfo* account_info) {
+ delete account_info_;
+ account_info_ = account_info;
+ if (account_info) {
+ set_has_account_info();
+ } else {
+ clear_has_account_info();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountInfoResponse.account_info)
+}
+
+// -------------------------------------------------------------------
+
+// GetAccountPlatformRestrictionsRequest
+
+// optional .bgs.protocol.EntityId account_id = 1;
+inline bool GetAccountPlatformRestrictionsRequest::has_account_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void GetAccountPlatformRestrictionsRequest::set_has_account_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void GetAccountPlatformRestrictionsRequest::clear_has_account_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void GetAccountPlatformRestrictionsRequest::clear_account_id() {
+ if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
+ clear_has_account_id();
+}
+inline const ::bgs::protocol::EntityId& GetAccountPlatformRestrictionsRequest::account_id() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest.account_id)
+ return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
+}
+inline ::bgs::protocol::EntityId* GetAccountPlatformRestrictionsRequest::mutable_account_id() {
+ set_has_account_id();
+ if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest.account_id)
+ return account_id_;
+}
+inline ::bgs::protocol::EntityId* GetAccountPlatformRestrictionsRequest::release_account_id() {
+ clear_has_account_id();
+ ::bgs::protocol::EntityId* temp = account_id_;
+ account_id_ = NULL;
+ return temp;
+}
+inline void GetAccountPlatformRestrictionsRequest::set_allocated_account_id(::bgs::protocol::EntityId* account_id) {
+ delete account_id_;
+ account_id_ = account_id;
+ if (account_id) {
+ set_has_account_id();
+ } else {
+ clear_has_account_id();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountPlatformRestrictionsRequest.account_id)
+}
+
+// -------------------------------------------------------------------
+
+// GetAccountPlatformRestrictionsResponse
+
+// optional .bgs.protocol.account.v1.AccountPlatformRestrictionInfo restriction_info = 1;
+inline bool GetAccountPlatformRestrictionsResponse::has_restriction_info() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void GetAccountPlatformRestrictionsResponse::set_has_restriction_info() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void GetAccountPlatformRestrictionsResponse::clear_has_restriction_info() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void GetAccountPlatformRestrictionsResponse::clear_restriction_info() {
+ if (restriction_info_ != NULL) restriction_info_->::bgs::protocol::account::v1::AccountPlatformRestrictionInfo::Clear();
+ clear_has_restriction_info();
+}
+inline const ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo& GetAccountPlatformRestrictionsResponse::restriction_info() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse.restriction_info)
+ return restriction_info_ != NULL ? *restriction_info_ : *default_instance_->restriction_info_;
+}
+inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* GetAccountPlatformRestrictionsResponse::mutable_restriction_info() {
+ set_has_restriction_info();
+ if (restriction_info_ == NULL) restriction_info_ = new ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse.restriction_info)
+ return restriction_info_;
+}
+inline ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* GetAccountPlatformRestrictionsResponse::release_restriction_info() {
+ clear_has_restriction_info();
+ ::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* temp = restriction_info_;
+ restriction_info_ = NULL;
+ return temp;
+}
+inline void GetAccountPlatformRestrictionsResponse::set_allocated_restriction_info(::bgs::protocol::account::v1::AccountPlatformRestrictionInfo* restriction_info) {
+ delete restriction_info_;
+ restriction_info_ = restriction_info;
+ if (restriction_info) {
+ set_has_restriction_info();
+ } else {
+ clear_has_restriction_info();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GetAccountPlatformRestrictionsResponse.restriction_info)
+}
+
+// -------------------------------------------------------------------
+
// AccountStateNotification
// optional .bgs.protocol.account.v1.AccountState account_state = 1;
diff --git a/src/server/proto/Client/account_types.pb.cc b/src/server/proto/Client/account_types.pb.cc
index 57af58a4aeb..b13c05a9733 100644
--- a/src/server/proto/Client/account_types.pb.cc
+++ b/src/server/proto/Client/account_types.pb.cc
@@ -134,6 +134,18 @@ struct IgrIdOneofInstance {
const ::google::protobuf::Descriptor* IgrAddress_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
IgrAddress_reflection_ = NULL;
+const ::google::protobuf::Descriptor* AccountPrivacySetting_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ AccountPrivacySetting_reflection_ = NULL;
+const ::google::protobuf::Descriptor* AccountInfo_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ AccountInfo_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RestrictionStatus_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RestrictionStatus_reflection_ = NULL;
+const ::google::protobuf::Descriptor* AccountPlatformRestrictionInfo_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ AccountPlatformRestrictionInfo_reflection_ = NULL;
const ::google::protobuf::EnumDescriptor* IdentityVerificationStatus_descriptor_ = NULL;
} // namespace
@@ -792,6 +804,86 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(IgrAddress));
+ AccountPrivacySetting_descriptor_ = file->message_type(35);
+ static const int AccountPrivacySetting_offsets_[4] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPrivacySetting, is_using_rid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPrivacySetting, is_visible_for_view_friends_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPrivacySetting, is_hidden_from_friend_finder_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPrivacySetting, only_allow_friend_whispers_),
+ };
+ AccountPrivacySetting_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ AccountPrivacySetting_descriptor_,
+ AccountPrivacySetting::default_instance_,
+ AccountPrivacySetting_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPrivacySetting, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPrivacySetting, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(AccountPrivacySetting));
+ AccountInfo_descriptor_ = file->message_type(36);
+ static const int AccountInfo_offsets_[16] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, battle_tag_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, email_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, phone_number_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, full_name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, birthdate_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, country_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, default_currency_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, preferred_region_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, ratings_board_minimum_age_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, has_parental_control_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, is_email_verified_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, is_sms_protected_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, is_headless_account_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, is_employee_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, is_test_account_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, privacy_setting_),
+ };
+ AccountInfo_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ AccountInfo_descriptor_,
+ AccountInfo::default_instance_,
+ AccountInfo_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountInfo, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(AccountInfo));
+ RestrictionStatus_descriptor_ = file->message_type(37);
+ static const int RestrictionStatus_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RestrictionStatus, active_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RestrictionStatus, expiration_us_),
+ };
+ RestrictionStatus_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RestrictionStatus_descriptor_,
+ RestrictionStatus::default_instance_,
+ RestrictionStatus_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RestrictionStatus, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RestrictionStatus, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RestrictionStatus));
+ AccountPlatformRestrictionInfo_descriptor_ = file->message_type(38);
+ static const int AccountPlatformRestrictionInfo_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPlatformRestrictionInfo, squelched_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPlatformRestrictionInfo, legal_country_feature_restrictions_applied_),
+ };
+ AccountPlatformRestrictionInfo_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ AccountPlatformRestrictionInfo_descriptor_,
+ AccountPlatformRestrictionInfo::default_instance_,
+ AccountPlatformRestrictionInfo_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPlatformRestrictionInfo, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AccountPlatformRestrictionInfo, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(AccountPlatformRestrictionInfo));
IdentityVerificationStatus_descriptor_ = file->enum_type(0);
}
@@ -875,6 +967,14 @@ void protobuf_RegisterTypes(const ::std::string&) {
IgrId_descriptor_, &IgrId::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
IgrAddress_descriptor_, &IgrAddress::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ AccountPrivacySetting_descriptor_, &AccountPrivacySetting::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ AccountInfo_descriptor_, &AccountInfo::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RestrictionStatus_descriptor_, &RestrictionStatus::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ AccountPlatformRestrictionInfo_descriptor_, &AccountPlatformRestrictionInfo::default_instance());
}
} // namespace
@@ -951,6 +1051,14 @@ void protobuf_ShutdownFile_account_5ftypes_2eproto() {
delete IgrId_reflection_;
delete IgrAddress::default_instance_;
delete IgrAddress_reflection_;
+ delete AccountPrivacySetting::default_instance_;
+ delete AccountPrivacySetting_reflection_;
+ delete AccountInfo::default_instance_;
+ delete AccountInfo_reflection_;
+ delete RestrictionStatus::default_instance_;
+ delete RestrictionStatus_reflection_;
+ delete AccountPlatformRestrictionInfo::default_instance_;
+ delete AccountPlatformRestrictionInfo_reflection_;
}
void protobuf_AddDesc_account_5ftypes_2eproto() {
@@ -1046,84 +1154,106 @@ void protobuf_AddDesc_account_5ftypes_2eproto() {
"\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"
+ "\003(\010\022\020\n\010timezone\030\002 \001(\t\"\374\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);
+ "\001(\r\022\037\n\023last_logout_time_ms\030\014 \001(\004B\002\030\001\"\205\001\n"
+ "\014GameTimeInfo\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_s"
+ "ubscription\030\006 \001(\010\022!\n\031is_recurring_subscr"
+ "iption\030\007 \001(\010\"\261\001\n\025GameTimeRemainingInfo\022\031"
+ "\n\021minutes_remaining\030\001 \001(\r\022(\n parental_da"
+ "ily_minutes_remaining\030\002 \001(\r\022)\n!parental_"
+ "weekly_minutes_remaining\030\003 \001(\r\022(\n\034second"
+ "s_remaining_until_kick\030\004 \001(\rB\002\030\001\"\220\001\n\nGam"
+ "eStatus\022\024\n\014is_suspended\030\004 \001(\010\022\021\n\tis_bann"
+ "ed\030\005 \001(\010\022\032\n\022suspension_expires\030\006 \001(\004\022\017\n\007"
+ "program\030\007 \001(\007\022\021\n\tis_locked\030\010 \001(\010\022\031\n\021is_b"
+ "am_unlockable\030\t \001(\010\"\033\n\007RAFInfo\022\020\n\010raf_in"
+ "fo\030\001 \001(\014\"\250\002\n\017GameSessionInfo\022\026\n\nstart_ti"
+ "me\030\003 \001(\rB\002\030\001\022>\n\010location\030\004 \001(\0132,.bgs.pro"
+ "tocol.account.v1.GameSessionLocation\022\026\n\016"
+ "has_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\016"
+ "start_time_sec\030\010 \001(\004\022.\n\006igr_id\030\t \001(\0132\036.b"
+ "gs.protocol.account.v1.IgrId\022\023\n\013platform"
+ "_id\030\n \001(\007\022\020\n\010igr_paid\030\013 \001(\010\"D\n\025GameSessi"
+ "onUpdateInfo\022+\n\004cais\030\010 \001(\0132\035.bgs.protoco"
+ "l.account.v1.CAIS\"H\n\023GameSessionLocation"
+ "\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_hear"
+ "d_time\030\003 \001(\004\"]\n\017GameAccountList\022\016\n\006regio"
+ "n\030\003 \001(\r\022:\n\006handle\030\004 \003(\0132*.bgs.protocol.a"
+ "ccount.v1.GameAccountHandle\"\231\001\n\016Security"
+ "Status\022\033\n\023sms_protect_enabled\030\001 \001(\010\022\026\n\016e"
+ "mail_verified\030\002 \001(\010\022\035\n\025authenticator_ena"
+ "bled\030\003 \001(\010\022\023\n\013sqa_enabled\030\004 \001(\010\022\036\n\026authe"
+ "nticator_required\030\005 \001(\010\"\251\004\n\014AccountState"
+ "\022E\n\022account_level_info\030\001 \001(\0132).bgs.proto"
+ "col.account.v1.AccountLevelInfo\022:\n\014priva"
+ "cy_info\030\002 \001(\0132$.bgs.protocol.account.v1."
+ "PrivacyInfo\022K\n\025parental_control_info\030\003 \001"
+ "(\0132,.bgs.protocol.account.v1.ParentalCon"
+ "trolInfo\022\?\n\017game_level_info\030\005 \003(\0132&.bgs."
+ "protocol.account.v1.GameLevelInfo\0228\n\013gam"
+ "e_status\030\006 \003(\0132#.bgs.protocol.account.v1"
+ ".GameStatus\022\?\n\rgame_accounts\030\007 \003(\0132(.bgs"
+ ".protocol.account.v1.GameAccountList\022@\n\017"
+ "security_status\030\010 \001(\0132\'.bgs.protocol.acc"
+ "ount.v1.SecurityStatus\022K\n\021government_cur"
+ "few\030\t \001(\01320.bgs.protocol.account.v1.Play"
+ "ScheduleRestriction\"\223\001\n\022AccountStateTagg"
+ "ed\022<\n\raccount_state\030\001 \001(\0132%.bgs.protocol"
+ ".account.v1.AccountState\022\?\n\014account_tags"
+ "\030\002 \001(\0132).bgs.protocol.account.v1.Account"
+ "FieldTags\"\200\002\n\020GameAccountState\022\?\n\017game_l"
+ "evel_info\030\001 \001(\0132&.bgs.protocol.account.v"
+ "1.GameLevelInfo\022=\n\016game_time_info\030\002 \001(\0132"
+ "%.bgs.protocol.account.v1.GameTimeInfo\0228"
+ "\n\013game_status\030\003 \001(\0132#.bgs.protocol.accou"
+ "nt.v1.GameStatus\0222\n\010raf_info\030\004 \001(\0132 .bgs"
+ ".protocol.account.v1.RAFInfo\"\251\001\n\026GameAcc"
+ "ountStateTagged\022E\n\022game_account_state\030\001 "
+ "\001(\0132).bgs.protocol.account.v1.GameAccoun"
+ "tState\022H\n\021game_account_tags\030\002 \001(\0132-.bgs."
+ "protocol.account.v1.GameAccountFieldTags"
+ "\"/\n\016AuthorizedData\022\014\n\004data\030\001 \001(\t\022\017\n\007lice"
+ "nse\030\002 \003(\r\"~\n\005IgrId\022F\n\014game_account\030\001 \001(\013"
+ "2*.bgs.protocol.account.v1.GameAccountHa"
+ "ndleB\002\030\001H\000\022\025\n\013external_id\030\002 \001(\007H\000\022\016\n\004uui"
+ "d\030\003 \001(\tH\000B\006\n\004type\"4\n\nIgrAddress\022\026\n\016clien"
+ "t_address\030\001 \001(\t\022\016\n\006region\030\002 \001(\r\"\234\001\n\025Acco"
+ "untPrivacySetting\022\024\n\014is_using_rid\030\001 \001(\010\022"
+ "#\n\033is_visible_for_view_friends\030\002 \001(\010\022$\n\034"
+ "is_hidden_from_friend_finder\030\003 \001(\010\022\"\n\032on"
+ "ly_allow_friend_whispers\030\004 \001(\010\"\343\003\n\013Accou"
+ "ntInfo\022\032\n\nbattle_tag\030\001 \001(\tB\006\202\371+\002\010\001\022\025\n\005em"
+ "ail\030\002 \001(\tB\006\202\371+\002\010\001\022\034\n\014phone_number\030\003 \001(\tB"
+ "\006\202\371+\002\010\001\022\031\n\tfull_name\030\004 \001(\tB\006\202\371+\002\010\001\022\031\n\tbi"
+ "rthdate\030\005 \001(\tB\006\202\371+\002\010\001\022\017\n\007country\030\006 \001(\t\022\030"
+ "\n\020default_currency\030\007 \001(\t\022\030\n\020preferred_re"
+ "gion\030\010 \001(\r\022!\n\031ratings_board_minimum_age\030"
+ "\t \001(\r\022\034\n\024has_parental_control\030\n \001(\010\022\031\n\021i"
+ "s_email_verified\030\013 \001(\010\022\030\n\020is_sms_protect"
+ "ed\030\014 \001(\010\022\033\n\023is_headless_account\030\r \001(\010\022\023\n"
+ "\013is_employee\030\016 \001(\010\022\027\n\017is_test_account\030\017 "
+ "\001(\010\022G\n\017privacy_setting\030\020 \001(\0132..bgs.proto"
+ "col.account.v1.AccountPrivacySetting\":\n\021"
+ "RestrictionStatus\022\016\n\006active\030\001 \001(\010\022\025\n\rexp"
+ "iration_us\030\002 \001(\004\"\277\001\n\036AccountPlatformRest"
+ "rictionInfo\022=\n\tsquelched\030\002 \001(\0132*.bgs.pro"
+ "tocol.account.v1.RestrictionStatus\022^\n*le"
+ "gal_country_feature_restrictions_applied"
+ "\030\003 \001(\0132*.bgs.protocol.account.v1.Restric"
+ "tionStatus*\265\001\n\032IdentityVerificationStatu"
+ "s\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\016IDENT_UNDER_18\020\003\022\020"
+ "\n\014IDENT_FAILED\020\004\022\021\n\rIDENT_SUCCESS\020\005\022\022\n\016I"
+ "DENT_SUCC_MNL\020\006\022\021\n\rIDENT_UNKNOWN\020\007B\002H\002", 7318);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"account_types.proto", &protobuf_RegisterTypes);
AccountId::default_instance_ = new AccountId();
@@ -1162,6 +1292,10 @@ void protobuf_AddDesc_account_5ftypes_2eproto() {
IgrId::default_instance_ = new IgrId();
IgrId_default_oneof_instance_ = new IgrIdOneofInstance;
IgrAddress::default_instance_ = new IgrAddress();
+ AccountPrivacySetting::default_instance_ = new AccountPrivacySetting();
+ AccountInfo::default_instance_ = new AccountInfo();
+ RestrictionStatus::default_instance_ = new RestrictionStatus();
+ AccountPlatformRestrictionInfo::default_instance_ = new AccountPlatformRestrictionInfo();
AccountId::default_instance_->InitAsDefaultInstance();
AccountLicense::default_instance_->InitAsDefaultInstance();
GameAccountHandle::default_instance_->InitAsDefaultInstance();
@@ -1197,6 +1331,10 @@ void protobuf_AddDesc_account_5ftypes_2eproto() {
AuthorizedData::default_instance_->InitAsDefaultInstance();
IgrId::default_instance_->InitAsDefaultInstance();
IgrAddress::default_instance_->InitAsDefaultInstance();
+ AccountPrivacySetting::default_instance_->InitAsDefaultInstance();
+ AccountInfo::default_instance_->InitAsDefaultInstance();
+ RestrictionStatus::default_instance_->InitAsDefaultInstance();
+ AccountPlatformRestrictionInfo::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_account_5ftypes_2eproto);
}
@@ -4130,6 +4268,362 @@ void IgrAddress::Swap(IgrAddress* other) {
return metadata;
}
+// ===================================================================
+
+#ifndef _MSC_VER
+const int AccountPrivacySetting::kIsUsingRidFieldNumber;
+const int AccountPrivacySetting::kIsVisibleForViewFriendsFieldNumber;
+const int AccountPrivacySetting::kIsHiddenFromFriendFinderFieldNumber;
+const int AccountPrivacySetting::kOnlyAllowFriendWhispersFieldNumber;
+#endif // !_MSC_VER
+
+AccountPrivacySetting::AccountPrivacySetting()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.AccountPrivacySetting)
+}
+
+void AccountPrivacySetting::InitAsDefaultInstance() {
+}
+
+AccountPrivacySetting::AccountPrivacySetting(const AccountPrivacySetting& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.AccountPrivacySetting)
+}
+
+void AccountPrivacySetting::SharedCtor() {
+ _cached_size_ = 0;
+ is_using_rid_ = false;
+ is_visible_for_view_friends_ = false;
+ is_hidden_from_friend_finder_ = false;
+ only_allow_friend_whispers_ = false;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+AccountPrivacySetting::~AccountPrivacySetting() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.AccountPrivacySetting)
+ SharedDtor();
+}
+
+void AccountPrivacySetting::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void AccountPrivacySetting::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* AccountPrivacySetting::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return AccountPrivacySetting_descriptor_;
+}
+
+const AccountPrivacySetting& AccountPrivacySetting::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5ftypes_2eproto();
+ return *default_instance_;
+}
+
+AccountPrivacySetting* AccountPrivacySetting::default_instance_ = NULL;
+
+AccountPrivacySetting* AccountPrivacySetting::New() const {
+ return new AccountPrivacySetting;
+}
+
+void AccountPrivacySetting::Swap(AccountPrivacySetting* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata AccountPrivacySetting::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = AccountPrivacySetting_descriptor_;
+ metadata.reflection = AccountPrivacySetting_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int AccountInfo::kBattleTagFieldNumber;
+const int AccountInfo::kEmailFieldNumber;
+const int AccountInfo::kPhoneNumberFieldNumber;
+const int AccountInfo::kFullNameFieldNumber;
+const int AccountInfo::kBirthdateFieldNumber;
+const int AccountInfo::kCountryFieldNumber;
+const int AccountInfo::kDefaultCurrencyFieldNumber;
+const int AccountInfo::kPreferredRegionFieldNumber;
+const int AccountInfo::kRatingsBoardMinimumAgeFieldNumber;
+const int AccountInfo::kHasParentalControlFieldNumber;
+const int AccountInfo::kIsEmailVerifiedFieldNumber;
+const int AccountInfo::kIsSmsProtectedFieldNumber;
+const int AccountInfo::kIsHeadlessAccountFieldNumber;
+const int AccountInfo::kIsEmployeeFieldNumber;
+const int AccountInfo::kIsTestAccountFieldNumber;
+const int AccountInfo::kPrivacySettingFieldNumber;
+#endif // !_MSC_VER
+
+AccountInfo::AccountInfo()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.AccountInfo)
+}
+
+void AccountInfo::InitAsDefaultInstance() {
+ privacy_setting_ = const_cast< ::bgs::protocol::account::v1::AccountPrivacySetting*>(&::bgs::protocol::account::v1::AccountPrivacySetting::default_instance());
+}
+
+AccountInfo::AccountInfo(const AccountInfo& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.AccountInfo)
+}
+
+void AccountInfo::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ birthdate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ preferred_region_ = 0u;
+ ratings_board_minimum_age_ = 0u;
+ has_parental_control_ = false;
+ is_email_verified_ = false;
+ is_sms_protected_ = false;
+ is_headless_account_ = false;
+ is_employee_ = false;
+ is_test_account_ = false;
+ privacy_setting_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+AccountInfo::~AccountInfo() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.AccountInfo)
+ SharedDtor();
+}
+
+void AccountInfo::SharedDtor() {
+ if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete battle_tag_;
+ }
+ if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete email_;
+ }
+ if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete phone_number_;
+ }
+ if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete full_name_;
+ }
+ if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete birthdate_;
+ }
+ if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete country_;
+ }
+ if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete default_currency_;
+ }
+ if (this != default_instance_) {
+ delete privacy_setting_;
+ }
+}
+
+void AccountInfo::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* AccountInfo::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return AccountInfo_descriptor_;
+}
+
+const AccountInfo& AccountInfo::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5ftypes_2eproto();
+ return *default_instance_;
+}
+
+AccountInfo* AccountInfo::default_instance_ = NULL;
+
+AccountInfo* AccountInfo::New() const {
+ return new AccountInfo;
+}
+
+void AccountInfo::Swap(AccountInfo* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata AccountInfo::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = AccountInfo_descriptor_;
+ metadata.reflection = AccountInfo_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RestrictionStatus::kActiveFieldNumber;
+const int RestrictionStatus::kExpirationUsFieldNumber;
+#endif // !_MSC_VER
+
+RestrictionStatus::RestrictionStatus()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.RestrictionStatus)
+}
+
+void RestrictionStatus::InitAsDefaultInstance() {
+}
+
+RestrictionStatus::RestrictionStatus(const RestrictionStatus& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.RestrictionStatus)
+}
+
+void RestrictionStatus::SharedCtor() {
+ _cached_size_ = 0;
+ active_ = false;
+ expiration_us_ = GOOGLE_ULONGLONG(0);
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RestrictionStatus::~RestrictionStatus() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.RestrictionStatus)
+ SharedDtor();
+}
+
+void RestrictionStatus::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RestrictionStatus::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RestrictionStatus::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RestrictionStatus_descriptor_;
+}
+
+const RestrictionStatus& RestrictionStatus::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5ftypes_2eproto();
+ return *default_instance_;
+}
+
+RestrictionStatus* RestrictionStatus::default_instance_ = NULL;
+
+RestrictionStatus* RestrictionStatus::New() const {
+ return new RestrictionStatus;
+}
+
+void RestrictionStatus::Swap(RestrictionStatus* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RestrictionStatus::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RestrictionStatus_descriptor_;
+ metadata.reflection = RestrictionStatus_reflection_;
+ return metadata;
+}
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int AccountPlatformRestrictionInfo::kSquelchedFieldNumber;
+const int AccountPlatformRestrictionInfo::kLegalCountryFeatureRestrictionsAppliedFieldNumber;
+#endif // !_MSC_VER
+
+AccountPlatformRestrictionInfo::AccountPlatformRestrictionInfo()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:bgs.protocol.account.v1.AccountPlatformRestrictionInfo)
+}
+
+void AccountPlatformRestrictionInfo::InitAsDefaultInstance() {
+ squelched_ = const_cast< ::bgs::protocol::account::v1::RestrictionStatus*>(&::bgs::protocol::account::v1::RestrictionStatus::default_instance());
+ legal_country_feature_restrictions_applied_ = const_cast< ::bgs::protocol::account::v1::RestrictionStatus*>(&::bgs::protocol::account::v1::RestrictionStatus::default_instance());
+}
+
+AccountPlatformRestrictionInfo::AccountPlatformRestrictionInfo(const AccountPlatformRestrictionInfo& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v1.AccountPlatformRestrictionInfo)
+}
+
+void AccountPlatformRestrictionInfo::SharedCtor() {
+ _cached_size_ = 0;
+ squelched_ = NULL;
+ legal_country_feature_restrictions_applied_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+AccountPlatformRestrictionInfo::~AccountPlatformRestrictionInfo() {
+ // @@protoc_insertion_point(destructor:bgs.protocol.account.v1.AccountPlatformRestrictionInfo)
+ SharedDtor();
+}
+
+void AccountPlatformRestrictionInfo::SharedDtor() {
+ if (this != default_instance_) {
+ delete squelched_;
+ delete legal_country_feature_restrictions_applied_;
+ }
+}
+
+void AccountPlatformRestrictionInfo::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* AccountPlatformRestrictionInfo::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return AccountPlatformRestrictionInfo_descriptor_;
+}
+
+const AccountPlatformRestrictionInfo& AccountPlatformRestrictionInfo::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_account_5ftypes_2eproto();
+ return *default_instance_;
+}
+
+AccountPlatformRestrictionInfo* AccountPlatformRestrictionInfo::default_instance_ = NULL;
+
+AccountPlatformRestrictionInfo* AccountPlatformRestrictionInfo::New() const {
+ return new AccountPlatformRestrictionInfo;
+}
+
+void AccountPlatformRestrictionInfo::Swap(AccountPlatformRestrictionInfo* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata AccountPlatformRestrictionInfo::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = AccountPlatformRestrictionInfo_descriptor_;
+ metadata.reflection = AccountPlatformRestrictionInfo_reflection_;
+ return metadata;
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1
diff --git a/src/server/proto/Client/account_types.pb.h b/src/server/proto/Client/account_types.pb.h
index b40f53fb0e4..8d200d6d925 100644
--- a/src/server/proto/Client/account_types.pb.h
+++ b/src/server/proto/Client/account_types.pb.h
@@ -76,6 +76,10 @@ class GameAccountStateTagged;
class AuthorizedData;
class IgrId;
class IgrAddress;
+class AccountPrivacySetting;
+class AccountInfo;
+class RestrictionStatus;
+class AccountPlatformRestrictionInfo;
enum PrivacyInfo_GameInfoPrivacy {
PrivacyInfo_GameInfoPrivacy_PRIVACY_ME = 0,
@@ -2141,12 +2145,12 @@ class TC_PROTO_API GameLevelInfo : public ::google::protobuf::Message {
inline ::google::protobuf::uint32 realm_permissions() const;
inline void set_realm_permissions(::google::protobuf::uint32 value);
- // optional uint64 last_logout_time_ms = 12;
- inline bool has_last_logout_time_ms() const;
- inline void clear_last_logout_time_ms();
+ // optional uint64 last_logout_time_ms = 12 [deprecated = true];
+ inline bool has_last_logout_time_ms() const PROTOBUF_DEPRECATED;
+ inline void clear_last_logout_time_ms() PROTOBUF_DEPRECATED;
static const int kLastLogoutTimeMsFieldNumber = 12;
- inline ::google::protobuf::uint64 last_logout_time_ms() const;
- inline void set_last_logout_time_ms(::google::protobuf::uint64 value);
+ inline ::google::protobuf::uint64 last_logout_time_ms() const PROTOBUF_DEPRECATED;
+ inline void set_last_logout_time_ms(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED;
// @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameLevelInfo)
private:
@@ -3841,6 +3845,511 @@ class TC_PROTO_API IgrAddress : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static IgrAddress* default_instance_;
};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API AccountPrivacySetting : public ::google::protobuf::Message {
+ public:
+ AccountPrivacySetting();
+ virtual ~AccountPrivacySetting();
+
+ AccountPrivacySetting(const AccountPrivacySetting& from);
+
+ inline AccountPrivacySetting& operator=(const AccountPrivacySetting& 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 AccountPrivacySetting& default_instance();
+
+ void Swap(AccountPrivacySetting* other);
+
+ // implements Message ----------------------------------------------
+
+ AccountPrivacySetting* 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_using_rid = 1;
+ inline bool has_is_using_rid() const;
+ inline void clear_is_using_rid();
+ static const int kIsUsingRidFieldNumber = 1;
+ inline bool is_using_rid() const;
+ inline void set_is_using_rid(bool value);
+
+ // optional bool is_visible_for_view_friends = 2;
+ inline bool has_is_visible_for_view_friends() const;
+ inline void clear_is_visible_for_view_friends();
+ static const int kIsVisibleForViewFriendsFieldNumber = 2;
+ inline bool is_visible_for_view_friends() const;
+ inline void set_is_visible_for_view_friends(bool value);
+
+ // optional bool is_hidden_from_friend_finder = 3;
+ inline bool has_is_hidden_from_friend_finder() const;
+ inline void clear_is_hidden_from_friend_finder();
+ static const int kIsHiddenFromFriendFinderFieldNumber = 3;
+ inline bool is_hidden_from_friend_finder() const;
+ inline void set_is_hidden_from_friend_finder(bool value);
+
+ // optional bool only_allow_friend_whispers = 4;
+ inline bool has_only_allow_friend_whispers() const;
+ inline void clear_only_allow_friend_whispers();
+ static const int kOnlyAllowFriendWhispersFieldNumber = 4;
+ inline bool only_allow_friend_whispers() const;
+ inline void set_only_allow_friend_whispers(bool value);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountPrivacySetting)
+ private:
+ inline void set_has_is_using_rid();
+ inline void clear_has_is_using_rid();
+ inline void set_has_is_visible_for_view_friends();
+ inline void clear_has_is_visible_for_view_friends();
+ inline void set_has_is_hidden_from_friend_finder();
+ inline void clear_has_is_hidden_from_friend_finder();
+ inline void set_has_only_allow_friend_whispers();
+ inline void clear_has_only_allow_friend_whispers();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ bool is_using_rid_;
+ bool is_visible_for_view_friends_;
+ bool is_hidden_from_friend_finder_;
+ bool only_allow_friend_whispers_;
+ 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 AccountPrivacySetting* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API AccountInfo : public ::google::protobuf::Message {
+ public:
+ AccountInfo();
+ virtual ~AccountInfo();
+
+ AccountInfo(const AccountInfo& from);
+
+ inline AccountInfo& operator=(const AccountInfo& 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 AccountInfo& default_instance();
+
+ void Swap(AccountInfo* other);
+
+ // implements Message ----------------------------------------------
+
+ AccountInfo* 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 battle_tag = 1;
+ inline bool has_battle_tag() const;
+ inline void clear_battle_tag();
+ static const int kBattleTagFieldNumber = 1;
+ inline const ::std::string& battle_tag() const;
+ inline void set_battle_tag(const ::std::string& value);
+ inline void set_battle_tag(const char* value);
+ inline void set_battle_tag(const char* value, size_t size);
+ inline ::std::string* mutable_battle_tag();
+ inline ::std::string* release_battle_tag();
+ inline void set_allocated_battle_tag(::std::string* battle_tag);
+
+ // optional string email = 2;
+ inline bool has_email() const;
+ inline void clear_email();
+ static const int kEmailFieldNumber = 2;
+ inline const ::std::string& email() const;
+ inline void set_email(const ::std::string& value);
+ inline void set_email(const char* value);
+ inline void set_email(const char* value, size_t size);
+ inline ::std::string* mutable_email();
+ inline ::std::string* release_email();
+ inline void set_allocated_email(::std::string* email);
+
+ // optional string phone_number = 3;
+ inline bool has_phone_number() const;
+ inline void clear_phone_number();
+ static const int kPhoneNumberFieldNumber = 3;
+ inline const ::std::string& phone_number() const;
+ inline void set_phone_number(const ::std::string& value);
+ inline void set_phone_number(const char* value);
+ inline void set_phone_number(const char* value, size_t size);
+ inline ::std::string* mutable_phone_number();
+ inline ::std::string* release_phone_number();
+ inline void set_allocated_phone_number(::std::string* phone_number);
+
+ // optional string full_name = 4;
+ inline bool has_full_name() const;
+ inline void clear_full_name();
+ static const int kFullNameFieldNumber = 4;
+ inline const ::std::string& full_name() const;
+ inline void set_full_name(const ::std::string& value);
+ inline void set_full_name(const char* value);
+ inline void set_full_name(const char* value, size_t size);
+ inline ::std::string* mutable_full_name();
+ inline ::std::string* release_full_name();
+ inline void set_allocated_full_name(::std::string* full_name);
+
+ // optional string birthdate = 5;
+ inline bool has_birthdate() const;
+ inline void clear_birthdate();
+ static const int kBirthdateFieldNumber = 5;
+ 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 string country = 6;
+ inline bool has_country() const;
+ inline void clear_country();
+ static const int kCountryFieldNumber = 6;
+ inline const ::std::string& country() const;
+ inline void set_country(const ::std::string& value);
+ inline void set_country(const char* value);
+ inline void set_country(const char* value, size_t size);
+ inline ::std::string* mutable_country();
+ inline ::std::string* release_country();
+ inline void set_allocated_country(::std::string* country);
+
+ // optional string default_currency = 7;
+ inline bool has_default_currency() const;
+ inline void clear_default_currency();
+ static const int kDefaultCurrencyFieldNumber = 7;
+ inline const ::std::string& default_currency() const;
+ inline void set_default_currency(const ::std::string& value);
+ inline void set_default_currency(const char* value);
+ inline void set_default_currency(const char* value, size_t size);
+ inline ::std::string* mutable_default_currency();
+ inline ::std::string* release_default_currency();
+ inline void set_allocated_default_currency(::std::string* default_currency);
+
+ // optional uint32 preferred_region = 8;
+ inline bool has_preferred_region() const;
+ inline void clear_preferred_region();
+ static const int kPreferredRegionFieldNumber = 8;
+ inline ::google::protobuf::uint32 preferred_region() const;
+ inline void set_preferred_region(::google::protobuf::uint32 value);
+
+ // optional uint32 ratings_board_minimum_age = 9;
+ inline bool has_ratings_board_minimum_age() const;
+ inline void clear_ratings_board_minimum_age();
+ static const int kRatingsBoardMinimumAgeFieldNumber = 9;
+ inline ::google::protobuf::uint32 ratings_board_minimum_age() const;
+ inline void set_ratings_board_minimum_age(::google::protobuf::uint32 value);
+
+ // optional bool has_parental_control = 10;
+ inline bool has_has_parental_control() const;
+ inline void clear_has_parental_control();
+ static const int kHasParentalControlFieldNumber = 10;
+ inline bool has_parental_control() const;
+ inline void set_has_parental_control(bool value);
+
+ // optional bool is_email_verified = 11;
+ inline bool has_is_email_verified() const;
+ inline void clear_is_email_verified();
+ static const int kIsEmailVerifiedFieldNumber = 11;
+ inline bool is_email_verified() const;
+ inline void set_is_email_verified(bool value);
+
+ // optional bool is_sms_protected = 12;
+ inline bool has_is_sms_protected() const;
+ inline void clear_is_sms_protected();
+ static const int kIsSmsProtectedFieldNumber = 12;
+ inline bool is_sms_protected() const;
+ inline void set_is_sms_protected(bool value);
+
+ // optional bool is_headless_account = 13;
+ inline bool has_is_headless_account() const;
+ inline void clear_is_headless_account();
+ static const int kIsHeadlessAccountFieldNumber = 13;
+ inline bool is_headless_account() const;
+ inline void set_is_headless_account(bool value);
+
+ // optional bool is_employee = 14;
+ inline bool has_is_employee() const;
+ inline void clear_is_employee();
+ static const int kIsEmployeeFieldNumber = 14;
+ inline bool is_employee() const;
+ inline void set_is_employee(bool value);
+
+ // optional bool is_test_account = 15;
+ inline bool has_is_test_account() const;
+ inline void clear_is_test_account();
+ static const int kIsTestAccountFieldNumber = 15;
+ inline bool is_test_account() const;
+ inline void set_is_test_account(bool value);
+
+ // optional .bgs.protocol.account.v1.AccountPrivacySetting privacy_setting = 16;
+ inline bool has_privacy_setting() const;
+ inline void clear_privacy_setting();
+ static const int kPrivacySettingFieldNumber = 16;
+ inline const ::bgs::protocol::account::v1::AccountPrivacySetting& privacy_setting() const;
+ inline ::bgs::protocol::account::v1::AccountPrivacySetting* mutable_privacy_setting();
+ inline ::bgs::protocol::account::v1::AccountPrivacySetting* release_privacy_setting();
+ inline void set_allocated_privacy_setting(::bgs::protocol::account::v1::AccountPrivacySetting* privacy_setting);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountInfo)
+ private:
+ inline void set_has_battle_tag();
+ inline void clear_has_battle_tag();
+ inline void set_has_email();
+ inline void clear_has_email();
+ inline void set_has_phone_number();
+ inline void clear_has_phone_number();
+ inline void set_has_full_name();
+ inline void clear_has_full_name();
+ inline void set_has_birthdate();
+ inline void clear_has_birthdate();
+ inline void set_has_country();
+ inline void clear_has_country();
+ inline void set_has_default_currency();
+ inline void clear_has_default_currency();
+ inline void set_has_preferred_region();
+ inline void clear_has_preferred_region();
+ inline void set_has_ratings_board_minimum_age();
+ inline void clear_has_ratings_board_minimum_age();
+ inline void set_has_has_parental_control();
+ inline void clear_has_has_parental_control();
+ inline void set_has_is_email_verified();
+ inline void clear_has_is_email_verified();
+ inline void set_has_is_sms_protected();
+ inline void clear_has_is_sms_protected();
+ inline void set_has_is_headless_account();
+ inline void clear_has_is_headless_account();
+ inline void set_has_is_employee();
+ inline void clear_has_is_employee();
+ inline void set_has_is_test_account();
+ inline void clear_has_is_test_account();
+ inline void set_has_privacy_setting();
+ inline void clear_has_privacy_setting();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* battle_tag_;
+ ::std::string* email_;
+ ::std::string* phone_number_;
+ ::std::string* full_name_;
+ ::std::string* birthdate_;
+ ::std::string* country_;
+ ::std::string* default_currency_;
+ ::google::protobuf::uint32 preferred_region_;
+ ::google::protobuf::uint32 ratings_board_minimum_age_;
+ bool has_parental_control_;
+ bool is_email_verified_;
+ bool is_sms_protected_;
+ bool is_headless_account_;
+ bool is_employee_;
+ bool is_test_account_;
+ ::bgs::protocol::account::v1::AccountPrivacySetting* privacy_setting_;
+ 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 AccountInfo* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API RestrictionStatus : public ::google::protobuf::Message {
+ public:
+ RestrictionStatus();
+ virtual ~RestrictionStatus();
+
+ RestrictionStatus(const RestrictionStatus& from);
+
+ inline RestrictionStatus& operator=(const RestrictionStatus& 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 RestrictionStatus& default_instance();
+
+ void Swap(RestrictionStatus* other);
+
+ // implements Message ----------------------------------------------
+
+ RestrictionStatus* 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 active = 1;
+ inline bool has_active() const;
+ inline void clear_active();
+ static const int kActiveFieldNumber = 1;
+ inline bool active() const;
+ inline void set_active(bool value);
+
+ // optional uint64 expiration_us = 2;
+ inline bool has_expiration_us() const;
+ inline void clear_expiration_us();
+ static const int kExpirationUsFieldNumber = 2;
+ inline ::google::protobuf::uint64 expiration_us() const;
+ inline void set_expiration_us(::google::protobuf::uint64 value);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.RestrictionStatus)
+ private:
+ inline void set_has_active();
+ inline void clear_has_active();
+ inline void set_has_expiration_us();
+ inline void clear_has_expiration_us();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint64 expiration_us_;
+ bool active_;
+ 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 RestrictionStatus* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_PROTO_API AccountPlatformRestrictionInfo : public ::google::protobuf::Message {
+ public:
+ AccountPlatformRestrictionInfo();
+ virtual ~AccountPlatformRestrictionInfo();
+
+ AccountPlatformRestrictionInfo(const AccountPlatformRestrictionInfo& from);
+
+ inline AccountPlatformRestrictionInfo& operator=(const AccountPlatformRestrictionInfo& 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 AccountPlatformRestrictionInfo& default_instance();
+
+ void Swap(AccountPlatformRestrictionInfo* other);
+
+ // implements Message ----------------------------------------------
+
+ AccountPlatformRestrictionInfo* 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.account.v1.RestrictionStatus squelched = 2;
+ inline bool has_squelched() const;
+ inline void clear_squelched();
+ static const int kSquelchedFieldNumber = 2;
+ inline const ::bgs::protocol::account::v1::RestrictionStatus& squelched() const;
+ inline ::bgs::protocol::account::v1::RestrictionStatus* mutable_squelched();
+ inline ::bgs::protocol::account::v1::RestrictionStatus* release_squelched();
+ inline void set_allocated_squelched(::bgs::protocol::account::v1::RestrictionStatus* squelched);
+
+ // optional .bgs.protocol.account.v1.RestrictionStatus legal_country_feature_restrictions_applied = 3;
+ inline bool has_legal_country_feature_restrictions_applied() const;
+ inline void clear_legal_country_feature_restrictions_applied();
+ static const int kLegalCountryFeatureRestrictionsAppliedFieldNumber = 3;
+ inline const ::bgs::protocol::account::v1::RestrictionStatus& legal_country_feature_restrictions_applied() const;
+ inline ::bgs::protocol::account::v1::RestrictionStatus* mutable_legal_country_feature_restrictions_applied();
+ inline ::bgs::protocol::account::v1::RestrictionStatus* release_legal_country_feature_restrictions_applied();
+ inline void set_allocated_legal_country_feature_restrictions_applied(::bgs::protocol::account::v1::RestrictionStatus* legal_country_feature_restrictions_applied);
+
+ // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.AccountPlatformRestrictionInfo)
+ private:
+ inline void set_has_squelched();
+ inline void clear_has_squelched();
+ inline void set_has_legal_country_feature_restrictions_applied();
+ inline void clear_has_legal_country_feature_restrictions_applied();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::bgs::protocol::account::v1::RestrictionStatus* squelched_;
+ ::bgs::protocol::account::v1::RestrictionStatus* legal_country_feature_restrictions_applied_;
+ 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 AccountPlatformRestrictionInfo* default_instance_;
+};
// ===================================================================
// ===================================================================
@@ -6952,7 +7461,7 @@ inline void GameLevelInfo::set_realm_permissions(::google::protobuf::uint32 valu
// @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameLevelInfo.realm_permissions)
}
-// optional uint64 last_logout_time_ms = 12;
+// optional uint64 last_logout_time_ms = 12 [deprecated = true];
inline bool GameLevelInfo::has_last_logout_time_ms() const {
return (_has_bits_[0] & 0x00000100u) != 0;
}
@@ -9147,6 +9656,1013 @@ inline void IgrAddress::set_region(::google::protobuf::uint32 value) {
// @@protoc_insertion_point(field_set:bgs.protocol.account.v1.IgrAddress.region)
}
+// -------------------------------------------------------------------
+
+// AccountPrivacySetting
+
+// optional bool is_using_rid = 1;
+inline bool AccountPrivacySetting::has_is_using_rid() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void AccountPrivacySetting::set_has_is_using_rid() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void AccountPrivacySetting::clear_has_is_using_rid() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void AccountPrivacySetting::clear_is_using_rid() {
+ is_using_rid_ = false;
+ clear_has_is_using_rid();
+}
+inline bool AccountPrivacySetting::is_using_rid() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_using_rid)
+ return is_using_rid_;
+}
+inline void AccountPrivacySetting::set_is_using_rid(bool value) {
+ set_has_is_using_rid();
+ is_using_rid_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_using_rid)
+}
+
+// optional bool is_visible_for_view_friends = 2;
+inline bool AccountPrivacySetting::has_is_visible_for_view_friends() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void AccountPrivacySetting::set_has_is_visible_for_view_friends() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void AccountPrivacySetting::clear_has_is_visible_for_view_friends() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void AccountPrivacySetting::clear_is_visible_for_view_friends() {
+ is_visible_for_view_friends_ = false;
+ clear_has_is_visible_for_view_friends();
+}
+inline bool AccountPrivacySetting::is_visible_for_view_friends() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_visible_for_view_friends)
+ return is_visible_for_view_friends_;
+}
+inline void AccountPrivacySetting::set_is_visible_for_view_friends(bool value) {
+ set_has_is_visible_for_view_friends();
+ is_visible_for_view_friends_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_visible_for_view_friends)
+}
+
+// optional bool is_hidden_from_friend_finder = 3;
+inline bool AccountPrivacySetting::has_is_hidden_from_friend_finder() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void AccountPrivacySetting::set_has_is_hidden_from_friend_finder() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void AccountPrivacySetting::clear_has_is_hidden_from_friend_finder() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void AccountPrivacySetting::clear_is_hidden_from_friend_finder() {
+ is_hidden_from_friend_finder_ = false;
+ clear_has_is_hidden_from_friend_finder();
+}
+inline bool AccountPrivacySetting::is_hidden_from_friend_finder() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.is_hidden_from_friend_finder)
+ return is_hidden_from_friend_finder_;
+}
+inline void AccountPrivacySetting::set_is_hidden_from_friend_finder(bool value) {
+ set_has_is_hidden_from_friend_finder();
+ is_hidden_from_friend_finder_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.is_hidden_from_friend_finder)
+}
+
+// optional bool only_allow_friend_whispers = 4;
+inline bool AccountPrivacySetting::has_only_allow_friend_whispers() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void AccountPrivacySetting::set_has_only_allow_friend_whispers() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void AccountPrivacySetting::clear_has_only_allow_friend_whispers() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void AccountPrivacySetting::clear_only_allow_friend_whispers() {
+ only_allow_friend_whispers_ = false;
+ clear_has_only_allow_friend_whispers();
+}
+inline bool AccountPrivacySetting::only_allow_friend_whispers() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPrivacySetting.only_allow_friend_whispers)
+ return only_allow_friend_whispers_;
+}
+inline void AccountPrivacySetting::set_only_allow_friend_whispers(bool value) {
+ set_has_only_allow_friend_whispers();
+ only_allow_friend_whispers_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountPrivacySetting.only_allow_friend_whispers)
+}
+
+// -------------------------------------------------------------------
+
+// AccountInfo
+
+// optional string battle_tag = 1;
+inline bool AccountInfo::has_battle_tag() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void AccountInfo::set_has_battle_tag() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void AccountInfo::clear_has_battle_tag() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void AccountInfo::clear_battle_tag() {
+ if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ battle_tag_->clear();
+ }
+ clear_has_battle_tag();
+}
+inline const ::std::string& AccountInfo::battle_tag() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.battle_tag)
+ return *battle_tag_;
+}
+inline void AccountInfo::set_battle_tag(const ::std::string& value) {
+ set_has_battle_tag();
+ if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ battle_tag_ = new ::std::string;
+ }
+ battle_tag_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.battle_tag)
+}
+inline void AccountInfo::set_battle_tag(const char* value) {
+ set_has_battle_tag();
+ if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ battle_tag_ = new ::std::string;
+ }
+ battle_tag_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.battle_tag)
+}
+inline void AccountInfo::set_battle_tag(const char* value, size_t size) {
+ set_has_battle_tag();
+ if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ battle_tag_ = new ::std::string;
+ }
+ battle_tag_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.battle_tag)
+}
+inline ::std::string* AccountInfo::mutable_battle_tag() {
+ set_has_battle_tag();
+ if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ battle_tag_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.battle_tag)
+ return battle_tag_;
+}
+inline ::std::string* AccountInfo::release_battle_tag() {
+ clear_has_battle_tag();
+ if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = battle_tag_;
+ battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountInfo::set_allocated_battle_tag(::std::string* battle_tag) {
+ if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete battle_tag_;
+ }
+ if (battle_tag) {
+ set_has_battle_tag();
+ battle_tag_ = battle_tag;
+ } else {
+ clear_has_battle_tag();
+ battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.battle_tag)
+}
+
+// optional string email = 2;
+inline bool AccountInfo::has_email() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void AccountInfo::set_has_email() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void AccountInfo::clear_has_email() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void AccountInfo::clear_email() {
+ if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ email_->clear();
+ }
+ clear_has_email();
+}
+inline const ::std::string& AccountInfo::email() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.email)
+ return *email_;
+}
+inline void AccountInfo::set_email(const ::std::string& value) {
+ set_has_email();
+ if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ email_ = new ::std::string;
+ }
+ email_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.email)
+}
+inline void AccountInfo::set_email(const char* value) {
+ set_has_email();
+ if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ email_ = new ::std::string;
+ }
+ email_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.email)
+}
+inline void AccountInfo::set_email(const char* value, size_t size) {
+ set_has_email();
+ if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ email_ = new ::std::string;
+ }
+ email_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.email)
+}
+inline ::std::string* AccountInfo::mutable_email() {
+ set_has_email();
+ if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ email_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.email)
+ return email_;
+}
+inline ::std::string* AccountInfo::release_email() {
+ clear_has_email();
+ if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = email_;
+ email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountInfo::set_allocated_email(::std::string* email) {
+ if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete email_;
+ }
+ if (email) {
+ set_has_email();
+ email_ = email;
+ } else {
+ clear_has_email();
+ email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.email)
+}
+
+// optional string phone_number = 3;
+inline bool AccountInfo::has_phone_number() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void AccountInfo::set_has_phone_number() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void AccountInfo::clear_has_phone_number() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void AccountInfo::clear_phone_number() {
+ if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ phone_number_->clear();
+ }
+ clear_has_phone_number();
+}
+inline const ::std::string& AccountInfo::phone_number() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.phone_number)
+ return *phone_number_;
+}
+inline void AccountInfo::set_phone_number(const ::std::string& value) {
+ set_has_phone_number();
+ if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ phone_number_ = new ::std::string;
+ }
+ phone_number_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.phone_number)
+}
+inline void AccountInfo::set_phone_number(const char* value) {
+ set_has_phone_number();
+ if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ phone_number_ = new ::std::string;
+ }
+ phone_number_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.phone_number)
+}
+inline void AccountInfo::set_phone_number(const char* value, size_t size) {
+ set_has_phone_number();
+ if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ phone_number_ = new ::std::string;
+ }
+ phone_number_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.phone_number)
+}
+inline ::std::string* AccountInfo::mutable_phone_number() {
+ set_has_phone_number();
+ if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ phone_number_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.phone_number)
+ return phone_number_;
+}
+inline ::std::string* AccountInfo::release_phone_number() {
+ clear_has_phone_number();
+ if (phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = phone_number_;
+ phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountInfo::set_allocated_phone_number(::std::string* phone_number) {
+ if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete phone_number_;
+ }
+ if (phone_number) {
+ set_has_phone_number();
+ phone_number_ = phone_number;
+ } else {
+ clear_has_phone_number();
+ phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.phone_number)
+}
+
+// optional string full_name = 4;
+inline bool AccountInfo::has_full_name() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void AccountInfo::set_has_full_name() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void AccountInfo::clear_has_full_name() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void AccountInfo::clear_full_name() {
+ if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ full_name_->clear();
+ }
+ clear_has_full_name();
+}
+inline const ::std::string& AccountInfo::full_name() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.full_name)
+ return *full_name_;
+}
+inline void AccountInfo::set_full_name(const ::std::string& value) {
+ set_has_full_name();
+ if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ full_name_ = new ::std::string;
+ }
+ full_name_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.full_name)
+}
+inline void AccountInfo::set_full_name(const char* value) {
+ set_has_full_name();
+ if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ full_name_ = new ::std::string;
+ }
+ full_name_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.full_name)
+}
+inline void AccountInfo::set_full_name(const char* value, size_t size) {
+ set_has_full_name();
+ if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ full_name_ = new ::std::string;
+ }
+ full_name_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.full_name)
+}
+inline ::std::string* AccountInfo::mutable_full_name() {
+ set_has_full_name();
+ if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ full_name_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.full_name)
+ return full_name_;
+}
+inline ::std::string* AccountInfo::release_full_name() {
+ clear_has_full_name();
+ if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = full_name_;
+ full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountInfo::set_allocated_full_name(::std::string* full_name) {
+ if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete full_name_;
+ }
+ if (full_name) {
+ set_has_full_name();
+ full_name_ = full_name;
+ } else {
+ clear_has_full_name();
+ full_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.full_name)
+}
+
+// optional string birthdate = 5;
+inline bool AccountInfo::has_birthdate() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void AccountInfo::set_has_birthdate() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void AccountInfo::clear_has_birthdate() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void AccountInfo::clear_birthdate() {
+ if (birthdate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_->clear();
+ }
+ clear_has_birthdate();
+}
+inline const ::std::string& AccountInfo::birthdate() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.birthdate)
+ return *birthdate_;
+}
+inline void AccountInfo::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.AccountInfo.birthdate)
+}
+inline void AccountInfo::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.AccountInfo.birthdate)
+}
+inline void AccountInfo::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.AccountInfo.birthdate)
+}
+inline ::std::string* AccountInfo::mutable_birthdate() {
+ set_has_birthdate();
+ if (birthdate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ birthdate_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.birthdate)
+ return birthdate_;
+}
+inline ::std::string* AccountInfo::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 AccountInfo::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.AccountInfo.birthdate)
+}
+
+// optional string country = 6;
+inline bool AccountInfo::has_country() const {
+ return (_has_bits_[0] & 0x00000020u) != 0;
+}
+inline void AccountInfo::set_has_country() {
+ _has_bits_[0] |= 0x00000020u;
+}
+inline void AccountInfo::clear_has_country() {
+ _has_bits_[0] &= ~0x00000020u;
+}
+inline void AccountInfo::clear_country() {
+ if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ country_->clear();
+ }
+ clear_has_country();
+}
+inline const ::std::string& AccountInfo::country() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.country)
+ return *country_;
+}
+inline void AccountInfo::set_country(const ::std::string& value) {
+ set_has_country();
+ if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ country_ = new ::std::string;
+ }
+ country_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.country)
+}
+inline void AccountInfo::set_country(const char* value) {
+ set_has_country();
+ if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ country_ = new ::std::string;
+ }
+ country_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.country)
+}
+inline void AccountInfo::set_country(const char* value, size_t size) {
+ set_has_country();
+ if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ country_ = new ::std::string;
+ }
+ country_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.country)
+}
+inline ::std::string* AccountInfo::mutable_country() {
+ set_has_country();
+ if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ country_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.country)
+ return country_;
+}
+inline ::std::string* AccountInfo::release_country() {
+ clear_has_country();
+ if (country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = country_;
+ country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountInfo::set_allocated_country(::std::string* country) {
+ if (country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete country_;
+ }
+ if (country) {
+ set_has_country();
+ country_ = country;
+ } else {
+ clear_has_country();
+ country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.country)
+}
+
+// optional string default_currency = 7;
+inline bool AccountInfo::has_default_currency() const {
+ return (_has_bits_[0] & 0x00000040u) != 0;
+}
+inline void AccountInfo::set_has_default_currency() {
+ _has_bits_[0] |= 0x00000040u;
+}
+inline void AccountInfo::clear_has_default_currency() {
+ _has_bits_[0] &= ~0x00000040u;
+}
+inline void AccountInfo::clear_default_currency() {
+ if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ default_currency_->clear();
+ }
+ clear_has_default_currency();
+}
+inline const ::std::string& AccountInfo::default_currency() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.default_currency)
+ return *default_currency_;
+}
+inline void AccountInfo::set_default_currency(const ::std::string& value) {
+ set_has_default_currency();
+ if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ default_currency_ = new ::std::string;
+ }
+ default_currency_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.default_currency)
+}
+inline void AccountInfo::set_default_currency(const char* value) {
+ set_has_default_currency();
+ if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ default_currency_ = new ::std::string;
+ }
+ default_currency_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.AccountInfo.default_currency)
+}
+inline void AccountInfo::set_default_currency(const char* value, size_t size) {
+ set_has_default_currency();
+ if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ default_currency_ = new ::std::string;
+ }
+ default_currency_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.AccountInfo.default_currency)
+}
+inline ::std::string* AccountInfo::mutable_default_currency() {
+ set_has_default_currency();
+ if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ default_currency_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.default_currency)
+ return default_currency_;
+}
+inline ::std::string* AccountInfo::release_default_currency() {
+ clear_has_default_currency();
+ if (default_currency_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = default_currency_;
+ default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void AccountInfo::set_allocated_default_currency(::std::string* default_currency) {
+ if (default_currency_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete default_currency_;
+ }
+ if (default_currency) {
+ set_has_default_currency();
+ default_currency_ = default_currency;
+ } else {
+ clear_has_default_currency();
+ default_currency_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.default_currency)
+}
+
+// optional uint32 preferred_region = 8;
+inline bool AccountInfo::has_preferred_region() const {
+ return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void AccountInfo::set_has_preferred_region() {
+ _has_bits_[0] |= 0x00000080u;
+}
+inline void AccountInfo::clear_has_preferred_region() {
+ _has_bits_[0] &= ~0x00000080u;
+}
+inline void AccountInfo::clear_preferred_region() {
+ preferred_region_ = 0u;
+ clear_has_preferred_region();
+}
+inline ::google::protobuf::uint32 AccountInfo::preferred_region() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.preferred_region)
+ return preferred_region_;
+}
+inline void AccountInfo::set_preferred_region(::google::protobuf::uint32 value) {
+ set_has_preferred_region();
+ preferred_region_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.preferred_region)
+}
+
+// optional uint32 ratings_board_minimum_age = 9;
+inline bool AccountInfo::has_ratings_board_minimum_age() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void AccountInfo::set_has_ratings_board_minimum_age() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void AccountInfo::clear_has_ratings_board_minimum_age() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void AccountInfo::clear_ratings_board_minimum_age() {
+ ratings_board_minimum_age_ = 0u;
+ clear_has_ratings_board_minimum_age();
+}
+inline ::google::protobuf::uint32 AccountInfo::ratings_board_minimum_age() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.ratings_board_minimum_age)
+ return ratings_board_minimum_age_;
+}
+inline void AccountInfo::set_ratings_board_minimum_age(::google::protobuf::uint32 value) {
+ set_has_ratings_board_minimum_age();
+ ratings_board_minimum_age_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.ratings_board_minimum_age)
+}
+
+// optional bool has_parental_control = 10;
+inline bool AccountInfo::has_has_parental_control() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void AccountInfo::set_has_has_parental_control() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void AccountInfo::clear_has_has_parental_control() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void AccountInfo::clear_has_parental_control() {
+ has_parental_control_ = false;
+ clear_has_has_parental_control();
+}
+inline bool AccountInfo::has_parental_control() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.has_parental_control)
+ return has_parental_control_;
+}
+inline void AccountInfo::set_has_parental_control(bool value) {
+ set_has_has_parental_control();
+ has_parental_control_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.has_parental_control)
+}
+
+// optional bool is_email_verified = 11;
+inline bool AccountInfo::has_is_email_verified() const {
+ return (_has_bits_[0] & 0x00000400u) != 0;
+}
+inline void AccountInfo::set_has_is_email_verified() {
+ _has_bits_[0] |= 0x00000400u;
+}
+inline void AccountInfo::clear_has_is_email_verified() {
+ _has_bits_[0] &= ~0x00000400u;
+}
+inline void AccountInfo::clear_is_email_verified() {
+ is_email_verified_ = false;
+ clear_has_is_email_verified();
+}
+inline bool AccountInfo::is_email_verified() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_email_verified)
+ return is_email_verified_;
+}
+inline void AccountInfo::set_is_email_verified(bool value) {
+ set_has_is_email_verified();
+ is_email_verified_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_email_verified)
+}
+
+// optional bool is_sms_protected = 12;
+inline bool AccountInfo::has_is_sms_protected() const {
+ return (_has_bits_[0] & 0x00000800u) != 0;
+}
+inline void AccountInfo::set_has_is_sms_protected() {
+ _has_bits_[0] |= 0x00000800u;
+}
+inline void AccountInfo::clear_has_is_sms_protected() {
+ _has_bits_[0] &= ~0x00000800u;
+}
+inline void AccountInfo::clear_is_sms_protected() {
+ is_sms_protected_ = false;
+ clear_has_is_sms_protected();
+}
+inline bool AccountInfo::is_sms_protected() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_sms_protected)
+ return is_sms_protected_;
+}
+inline void AccountInfo::set_is_sms_protected(bool value) {
+ set_has_is_sms_protected();
+ is_sms_protected_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_sms_protected)
+}
+
+// optional bool is_headless_account = 13;
+inline bool AccountInfo::has_is_headless_account() const {
+ return (_has_bits_[0] & 0x00001000u) != 0;
+}
+inline void AccountInfo::set_has_is_headless_account() {
+ _has_bits_[0] |= 0x00001000u;
+}
+inline void AccountInfo::clear_has_is_headless_account() {
+ _has_bits_[0] &= ~0x00001000u;
+}
+inline void AccountInfo::clear_is_headless_account() {
+ is_headless_account_ = false;
+ clear_has_is_headless_account();
+}
+inline bool AccountInfo::is_headless_account() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_headless_account)
+ return is_headless_account_;
+}
+inline void AccountInfo::set_is_headless_account(bool value) {
+ set_has_is_headless_account();
+ is_headless_account_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_headless_account)
+}
+
+// optional bool is_employee = 14;
+inline bool AccountInfo::has_is_employee() const {
+ return (_has_bits_[0] & 0x00002000u) != 0;
+}
+inline void AccountInfo::set_has_is_employee() {
+ _has_bits_[0] |= 0x00002000u;
+}
+inline void AccountInfo::clear_has_is_employee() {
+ _has_bits_[0] &= ~0x00002000u;
+}
+inline void AccountInfo::clear_is_employee() {
+ is_employee_ = false;
+ clear_has_is_employee();
+}
+inline bool AccountInfo::is_employee() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_employee)
+ return is_employee_;
+}
+inline void AccountInfo::set_is_employee(bool value) {
+ set_has_is_employee();
+ is_employee_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_employee)
+}
+
+// optional bool is_test_account = 15;
+inline bool AccountInfo::has_is_test_account() const {
+ return (_has_bits_[0] & 0x00004000u) != 0;
+}
+inline void AccountInfo::set_has_is_test_account() {
+ _has_bits_[0] |= 0x00004000u;
+}
+inline void AccountInfo::clear_has_is_test_account() {
+ _has_bits_[0] &= ~0x00004000u;
+}
+inline void AccountInfo::clear_is_test_account() {
+ is_test_account_ = false;
+ clear_has_is_test_account();
+}
+inline bool AccountInfo::is_test_account() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.is_test_account)
+ return is_test_account_;
+}
+inline void AccountInfo::set_is_test_account(bool value) {
+ set_has_is_test_account();
+ is_test_account_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.AccountInfo.is_test_account)
+}
+
+// optional .bgs.protocol.account.v1.AccountPrivacySetting privacy_setting = 16;
+inline bool AccountInfo::has_privacy_setting() const {
+ return (_has_bits_[0] & 0x00008000u) != 0;
+}
+inline void AccountInfo::set_has_privacy_setting() {
+ _has_bits_[0] |= 0x00008000u;
+}
+inline void AccountInfo::clear_has_privacy_setting() {
+ _has_bits_[0] &= ~0x00008000u;
+}
+inline void AccountInfo::clear_privacy_setting() {
+ if (privacy_setting_ != NULL) privacy_setting_->::bgs::protocol::account::v1::AccountPrivacySetting::Clear();
+ clear_has_privacy_setting();
+}
+inline const ::bgs::protocol::account::v1::AccountPrivacySetting& AccountInfo::privacy_setting() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountInfo.privacy_setting)
+ return privacy_setting_ != NULL ? *privacy_setting_ : *default_instance_->privacy_setting_;
+}
+inline ::bgs::protocol::account::v1::AccountPrivacySetting* AccountInfo::mutable_privacy_setting() {
+ set_has_privacy_setting();
+ if (privacy_setting_ == NULL) privacy_setting_ = new ::bgs::protocol::account::v1::AccountPrivacySetting;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountInfo.privacy_setting)
+ return privacy_setting_;
+}
+inline ::bgs::protocol::account::v1::AccountPrivacySetting* AccountInfo::release_privacy_setting() {
+ clear_has_privacy_setting();
+ ::bgs::protocol::account::v1::AccountPrivacySetting* temp = privacy_setting_;
+ privacy_setting_ = NULL;
+ return temp;
+}
+inline void AccountInfo::set_allocated_privacy_setting(::bgs::protocol::account::v1::AccountPrivacySetting* privacy_setting) {
+ delete privacy_setting_;
+ privacy_setting_ = privacy_setting;
+ if (privacy_setting) {
+ set_has_privacy_setting();
+ } else {
+ clear_has_privacy_setting();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountInfo.privacy_setting)
+}
+
+// -------------------------------------------------------------------
+
+// RestrictionStatus
+
+// optional bool active = 1;
+inline bool RestrictionStatus::has_active() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RestrictionStatus::set_has_active() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RestrictionStatus::clear_has_active() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RestrictionStatus::clear_active() {
+ active_ = false;
+ clear_has_active();
+}
+inline bool RestrictionStatus::active() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RestrictionStatus.active)
+ return active_;
+}
+inline void RestrictionStatus::set_active(bool value) {
+ set_has_active();
+ active_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RestrictionStatus.active)
+}
+
+// optional uint64 expiration_us = 2;
+inline bool RestrictionStatus::has_expiration_us() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void RestrictionStatus::set_has_expiration_us() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void RestrictionStatus::clear_has_expiration_us() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void RestrictionStatus::clear_expiration_us() {
+ expiration_us_ = GOOGLE_ULONGLONG(0);
+ clear_has_expiration_us();
+}
+inline ::google::protobuf::uint64 RestrictionStatus::expiration_us() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.RestrictionStatus.expiration_us)
+ return expiration_us_;
+}
+inline void RestrictionStatus::set_expiration_us(::google::protobuf::uint64 value) {
+ set_has_expiration_us();
+ expiration_us_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.RestrictionStatus.expiration_us)
+}
+
+// -------------------------------------------------------------------
+
+// AccountPlatformRestrictionInfo
+
+// optional .bgs.protocol.account.v1.RestrictionStatus squelched = 2;
+inline bool AccountPlatformRestrictionInfo::has_squelched() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void AccountPlatformRestrictionInfo::set_has_squelched() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void AccountPlatformRestrictionInfo::clear_has_squelched() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void AccountPlatformRestrictionInfo::clear_squelched() {
+ if (squelched_ != NULL) squelched_->::bgs::protocol::account::v1::RestrictionStatus::Clear();
+ clear_has_squelched();
+}
+inline const ::bgs::protocol::account::v1::RestrictionStatus& AccountPlatformRestrictionInfo::squelched() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
+ return squelched_ != NULL ? *squelched_ : *default_instance_->squelched_;
+}
+inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::mutable_squelched() {
+ set_has_squelched();
+ if (squelched_ == NULL) squelched_ = new ::bgs::protocol::account::v1::RestrictionStatus;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
+ return squelched_;
+}
+inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::release_squelched() {
+ clear_has_squelched();
+ ::bgs::protocol::account::v1::RestrictionStatus* temp = squelched_;
+ squelched_ = NULL;
+ return temp;
+}
+inline void AccountPlatformRestrictionInfo::set_allocated_squelched(::bgs::protocol::account::v1::RestrictionStatus* squelched) {
+ delete squelched_;
+ squelched_ = squelched;
+ if (squelched) {
+ set_has_squelched();
+ } else {
+ clear_has_squelched();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.squelched)
+}
+
+// optional .bgs.protocol.account.v1.RestrictionStatus legal_country_feature_restrictions_applied = 3;
+inline bool AccountPlatformRestrictionInfo::has_legal_country_feature_restrictions_applied() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void AccountPlatformRestrictionInfo::set_has_legal_country_feature_restrictions_applied() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void AccountPlatformRestrictionInfo::clear_has_legal_country_feature_restrictions_applied() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void AccountPlatformRestrictionInfo::clear_legal_country_feature_restrictions_applied() {
+ if (legal_country_feature_restrictions_applied_ != NULL) legal_country_feature_restrictions_applied_->::bgs::protocol::account::v1::RestrictionStatus::Clear();
+ clear_has_legal_country_feature_restrictions_applied();
+}
+inline const ::bgs::protocol::account::v1::RestrictionStatus& AccountPlatformRestrictionInfo::legal_country_feature_restrictions_applied() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
+ return legal_country_feature_restrictions_applied_ != NULL ? *legal_country_feature_restrictions_applied_ : *default_instance_->legal_country_feature_restrictions_applied_;
+}
+inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::mutable_legal_country_feature_restrictions_applied() {
+ set_has_legal_country_feature_restrictions_applied();
+ if (legal_country_feature_restrictions_applied_ == NULL) legal_country_feature_restrictions_applied_ = new ::bgs::protocol::account::v1::RestrictionStatus;
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
+ return legal_country_feature_restrictions_applied_;
+}
+inline ::bgs::protocol::account::v1::RestrictionStatus* AccountPlatformRestrictionInfo::release_legal_country_feature_restrictions_applied() {
+ clear_has_legal_country_feature_restrictions_applied();
+ ::bgs::protocol::account::v1::RestrictionStatus* temp = legal_country_feature_restrictions_applied_;
+ legal_country_feature_restrictions_applied_ = NULL;
+ return temp;
+}
+inline void AccountPlatformRestrictionInfo::set_allocated_legal_country_feature_restrictions_applied(::bgs::protocol::account::v1::RestrictionStatus* legal_country_feature_restrictions_applied) {
+ delete legal_country_feature_restrictions_applied_;
+ legal_country_feature_restrictions_applied_ = legal_country_feature_restrictions_applied;
+ if (legal_country_feature_restrictions_applied) {
+ set_has_legal_country_feature_restrictions_applied();
+ } else {
+ clear_has_legal_country_feature_restrictions_applied();
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.AccountPlatformRestrictionInfo.legal_country_feature_restrictions_applied)
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1
diff --git a/src/server/proto/Client/authentication_service.pb.cc b/src/server/proto/Client/authentication_service.pb.cc
index 7b91dadb933..9418d99a8f4 100644
--- a/src/server/proto/Client/authentication_service.pb.cc
+++ b/src/server/proto/Client/authentication_service.pb.cc
@@ -66,7 +66,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
"authentication_service.proto");
GOOGLE_CHECK(file != NULL);
LogonRequest_descriptor_ = file->message_type(0);
- static const int LogonRequest_offsets_[12] = {
+ static const int LogonRequest_offsets_[13] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, program_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, platform_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, locale_),
@@ -79,6 +79,7 @@ void protobuf_AssignDesc_authentication_5fservice_2eproto() {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, user_agent_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, device_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, phone_number_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LogonRequest, auth_platform_),
};
LogonRequest_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -314,7 +315,7 @@ void protobuf_AddDesc_authentication_5fservice_2eproto() {
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\034authentication_service.proto\022\036bgs.prot"
"ocol.authentication.v1\032\022entity_types.pro"
- "to\032\017rpc_types.proto\"\264\002\n\014LogonRequest\022\017\n\007"
+ "to\032\017rpc_types.proto\"\313\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"
@@ -322,58 +323,58 @@ void protobuf_AddDesc_authentication_5fservice_2eproto() {
"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"
+ "(\tB\006\202\371+\002\010\001\022\025\n\rauth_platform\030\021 \001(\t\"\275\002\n\013Lo"
+ "gonResult\022\022\n\nerror_code\030\001 \002(\r\022*\n\naccount"
+ "_id\030\002 \001(\0132\026.bgs.protocol.EntityId\022/\n\017gam"
+ "e_account_id\030\003 \003(\0132\026.bgs.protocol.Entity"
+ "Id\022\025\n\005email\030\004 \001(\tB\006\202\371+\002\010\001\022\030\n\020available_r"
+ "egion\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_count"
+ "ry\030\010 \001(\t\022\023\n\013session_key\030\t \001(\014\022\027\n\017restric"
+ "ted_mode\030\n \001(\010\022\021\n\tclient_id\030\013 \001(\t\"(\n\022Log"
+ "onUpdateRequest\022\022\n\nerror_code\030\001 \002(\r\"a\n\027L"
+ "ogonQueueUpdateRequest\022\020\n\010position\030\001 \002(\r"
+ "\022\026\n\016estimated_time\030\002 \002(\004\022\034\n\024eta_deviatio"
+ "n_in_sec\030\003 \002(\004\"=\n\030ServerStateChangeReque"
+ "st\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\027VersionInfoNotification\022A\n\014versio"
+ "n_info\030\001 \001(\0132+.bgs.protocol.authenticati"
+ "on.v1.VersionInfo\"0\n\035GenerateWebCredenti"
+ "alsRequest\022\017\n\007program\030\001 \001(\007\"9\n\036GenerateW"
+ "ebCredentialsResponse\022\027\n\017web_credentials"
+ "\030\001 \001(\014\"6\n\033VerifyWebCredentialsRequest\022\027\n"
+ "\017web_credentials\030\001 \001(\0142\312\005\n\026Authenticatio"
+ "nListener\022r\n\023OnServerStateChange\0228.bgs.p"
+ "rotocol.authentication.v1.ServerStateCha"
+ "ngeRequest\032\031.bgs.protocol.NO_RESPONSE\"\006\202"
+ "\371+\002\010\004\022a\n\017OnLogonComplete\022+.bgs.protocol."
+ "authentication.v1.LogonResult\032\031.bgs.prot"
+ "ocol.NO_RESPONSE\"\006\202\371+\002\010\005\022f\n\rOnLogonUpdat"
+ "e\0222.bgs.protocol.authentication.v1.Logon"
+ "UpdateRequest\032\031.bgs.protocol.NO_RESPONSE"
+ "\"\006\202\371+\002\010\n\022r\n\024OnVersionInfoUpdated\0227.bgs.p"
+ "rotocol.authentication.v1.VersionInfoNot"
+ "ification\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371"
+ "+\002\010\013\022p\n\022OnLogonQueueUpdate\0227.bgs.protoco"
+ "l.authentication.v1.LogonQueueUpdateRequ"
+ "est\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\014\022J"
+ "\n\017OnLogonQueueEnd\022\024.bgs.protocol.NoData\032"
+ "\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\r\032\?\202\371+5"
+ "\n1bnet.protocol.authentication.Authentic"
+ "ationClient8\001\212\371+\002\010\0012\302\003\n\025AuthenticationSe"
+ "rvice\022S\n\005Logon\022,.bgs.protocol.authentica"
+ "tion.v1.LogonRequest\032\024.bgs.protocol.NoDa"
+ "ta\"\006\202\371+\002\010\001\022q\n\024VerifyWebCredentials\022;.bgs"
+ ".protocol.authentication.v1.VerifyWebCre"
+ "dentialsRequest\032\024.bgs.protocol.NoData\"\006\202"
+ "\371+\002\010\007\022\237\001\n\026GenerateWebCredentials\022=.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);
+ "dentialsRequest\032>.bgs.protocol.authentic"
+ "ation.v1.GenerateWebCredentialsResponse\""
+ "\006\202\371+\002\010\010\032\?\202\371+5\n1bnet.protocol.authenticat"
+ "ion.AuthenticationServer8\001\212\371+\002\020\001B\005H\002\200\001\000", 2479);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"authentication_service.proto", &protobuf_RegisterTypes);
LogonRequest::default_instance_ = new LogonRequest();
@@ -420,6 +421,7 @@ const int LogonRequest::kCachedWebCredentialsFieldNumber;
const int LogonRequest::kUserAgentFieldNumber;
const int LogonRequest::kDeviceIdFieldNumber;
const int LogonRequest::kPhoneNumberFieldNumber;
+const int LogonRequest::kAuthPlatformFieldNumber;
#endif // !_MSC_VER
LogonRequest::LogonRequest()
@@ -453,6 +455,7 @@ void LogonRequest::SharedCtor() {
user_agent_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
device_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
phone_number_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ auth_platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -489,6 +492,9 @@ void LogonRequest::SharedDtor() {
if (phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete phone_number_;
}
+ if (auth_platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete auth_platform_;
+ }
if (this != default_instance_) {
}
}
diff --git a/src/server/proto/Client/authentication_service.pb.h b/src/server/proto/Client/authentication_service.pb.h
index bc9d3a451de..28d5b0b534f 100644
--- a/src/server/proto/Client/authentication_service.pb.h
+++ b/src/server/proto/Client/authentication_service.pb.h
@@ -224,6 +224,18 @@ class TC_PROTO_API LogonRequest : public ::google::protobuf::Message {
inline ::std::string* release_phone_number();
inline void set_allocated_phone_number(::std::string* phone_number);
+ // optional string auth_platform = 17;
+ inline bool has_auth_platform() const;
+ inline void clear_auth_platform();
+ static const int kAuthPlatformFieldNumber = 17;
+ inline const ::std::string& auth_platform() const;
+ inline void set_auth_platform(const ::std::string& value);
+ inline void set_auth_platform(const char* value);
+ inline void set_auth_platform(const char* value, size_t size);
+ inline ::std::string* mutable_auth_platform();
+ inline ::std::string* release_auth_platform();
+ inline void set_allocated_auth_platform(::std::string* auth_platform);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.authentication.v1.LogonRequest)
private:
inline void set_has_program();
@@ -250,6 +262,8 @@ class TC_PROTO_API LogonRequest : public ::google::protobuf::Message {
inline void clear_has_device_id();
inline void set_has_phone_number();
inline void clear_has_phone_number();
+ inline void set_has_auth_platform();
+ inline void clear_has_auth_platform();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -267,6 +281,7 @@ class TC_PROTO_API LogonRequest : public ::google::protobuf::Message {
::std::string* user_agent_;
::std::string* device_id_;
::std::string* phone_number_;
+ ::std::string* auth_platform_;
friend void TC_PROTO_API protobuf_AddDesc_authentication_5fservice_2eproto();
friend void protobuf_AssignDesc_authentication_5fservice_2eproto();
friend void protobuf_ShutdownFile_authentication_5fservice_2eproto();
@@ -1901,6 +1916,82 @@ inline void LogonRequest::set_allocated_phone_number(::std::string* phone_number
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.phone_number)
}
+// optional string auth_platform = 17;
+inline bool LogonRequest::has_auth_platform() const {
+ return (_has_bits_[0] & 0x00001000u) != 0;
+}
+inline void LogonRequest::set_has_auth_platform() {
+ _has_bits_[0] |= 0x00001000u;
+}
+inline void LogonRequest::clear_has_auth_platform() {
+ _has_bits_[0] &= ~0x00001000u;
+}
+inline void LogonRequest::clear_auth_platform() {
+ if (auth_platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ auth_platform_->clear();
+ }
+ clear_has_auth_platform();
+}
+inline const ::std::string& LogonRequest::auth_platform() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.authentication.v1.LogonRequest.auth_platform)
+ return *auth_platform_;
+}
+inline void LogonRequest::set_auth_platform(const ::std::string& value) {
+ set_has_auth_platform();
+ if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ auth_platform_ = new ::std::string;
+ }
+ auth_platform_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.authentication.v1.LogonRequest.auth_platform)
+}
+inline void LogonRequest::set_auth_platform(const char* value) {
+ set_has_auth_platform();
+ if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ auth_platform_ = new ::std::string;
+ }
+ auth_platform_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.authentication.v1.LogonRequest.auth_platform)
+}
+inline void LogonRequest::set_auth_platform(const char* value, size_t size) {
+ set_has_auth_platform();
+ if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ auth_platform_ = new ::std::string;
+ }
+ auth_platform_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.authentication.v1.LogonRequest.auth_platform)
+}
+inline ::std::string* LogonRequest::mutable_auth_platform() {
+ set_has_auth_platform();
+ if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ auth_platform_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.authentication.v1.LogonRequest.auth_platform)
+ return auth_platform_;
+}
+inline ::std::string* LogonRequest::release_auth_platform() {
+ clear_has_auth_platform();
+ if (auth_platform_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = auth_platform_;
+ auth_platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LogonRequest::set_allocated_auth_platform(::std::string* auth_platform) {
+ if (auth_platform_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete auth_platform_;
+ }
+ if (auth_platform) {
+ set_has_auth_platform();
+ auth_platform_ = auth_platform;
+ } else {
+ clear_has_auth_platform();
+ auth_platform_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.authentication.v1.LogonRequest.auth_platform)
+}
+
// -------------------------------------------------------------------
// LogonResult
diff --git a/src/server/proto/Client/club_invitation.pb.cc b/src/server/proto/Client/club_invitation.pb.cc
index 8ba0d30b41a..16a7e624e3d 100644
--- a/src/server/proto/Client/club_invitation.pb.cc
+++ b/src/server/proto/Client/club_invitation.pb.cc
@@ -150,11 +150,12 @@ void protobuf_AssignDesc_club_5finvitation_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ClubSuggestion));
CreateTicketOptions_descriptor_ = file->message_type(5);
- static const int CreateTicketOptions_offsets_[4] = {
+ static const int CreateTicketOptions_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, slot_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, attribute_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, allowed_redeem_count_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, expiration_time_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, join_club_source_),
};
CreateTicketOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -280,20 +281,21 @@ void protobuf_AddDesc_club_5finvitation_2eproto() {
"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"
+ "\001(\004\022\027\n\017expiration_time\030\010 \001(\004\"\331\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);
+ "\022.\n\020join_club_source\030\005 \001(\rB\024\202\371+\020*\016JoinCl"
+ "ubSource\"\320\002\n\nClubTicket\022\n\n\002id\030\001 \001(\t\0228\n\007c"
+ "reator\030\002 \001(\0132\'.bgs.protocol.club.v1.Memb"
+ "erDescription\0223\n\004club\030\003 \001(\0132%.bgs.protoc"
+ "ol.club.v1.ClubDescription\022,\n\004slot\030\004 \001(\013"
+ "2\036.bgs.protocol.club.v1.ClubSlot\022-\n\tattr"
+ "ibute\030\005 \003(\0132\032.bgs.protocol.v2.Attribute\022"
+ "\034\n\024current_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\017expiration_time\030\t \001(\004B\002H\002P\000", 1873);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_invitation.proto", &protobuf_RegisterTypes);
ClubSlot::default_instance_ = new ClubSlot();
@@ -748,6 +750,7 @@ const int CreateTicketOptions::kSlotFieldNumber;
const int CreateTicketOptions::kAttributeFieldNumber;
const int CreateTicketOptions::kAllowedRedeemCountFieldNumber;
const int CreateTicketOptions::kExpirationTimeFieldNumber;
+const int CreateTicketOptions::kJoinClubSourceFieldNumber;
#endif // !_MSC_VER
CreateTicketOptions::CreateTicketOptions()
@@ -772,6 +775,7 @@ void CreateTicketOptions::SharedCtor() {
slot_ = NULL;
allowed_redeem_count_ = 0u;
expiration_time_ = GOOGLE_ULONGLONG(0);
+ 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 205ec712b8d..a07a62131d9 100644
--- a/src/server/proto/Client/club_invitation.pb.h
+++ b/src/server/proto/Client/club_invitation.pb.h
@@ -702,6 +702,13 @@ class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message {
inline ::google::protobuf::uint64 expiration_time() const;
inline void set_expiration_time(::google::protobuf::uint64 value);
+ // optional uint32 join_club_source = 5;
+ inline bool has_join_club_source() const;
+ inline void clear_join_club_source();
+ static const int kJoinClubSourceFieldNumber = 5;
+ 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.CreateTicketOptions)
private:
inline void set_has_slot();
@@ -710,6 +717,8 @@ class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message {
inline void clear_has_allowed_redeem_count();
inline void set_has_expiration_time();
inline void clear_has_expiration_time();
+ inline void set_has_join_club_source();
+ inline void clear_has_join_club_source();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -719,6 +728,7 @@ class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message {
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
::google::protobuf::uint64 expiration_time_;
::google::protobuf::uint32 allowed_redeem_count_;
+ ::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();
@@ -1885,6 +1895,30 @@ inline void CreateTicketOptions::set_expiration_time(::google::protobuf::uint64
// @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateTicketOptions.expiration_time)
}
+// optional uint32 join_club_source = 5;
+inline bool CreateTicketOptions::has_join_club_source() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void CreateTicketOptions::set_has_join_club_source() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void CreateTicketOptions::clear_has_join_club_source() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void CreateTicketOptions::clear_join_club_source() {
+ join_club_source_ = 0u;
+ clear_has_join_club_source();
+}
+inline ::google::protobuf::uint32 CreateTicketOptions::join_club_source() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.join_club_source)
+ return join_club_source_;
+}
+inline void CreateTicketOptions::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.CreateTicketOptions.join_club_source)
+}
+
// -------------------------------------------------------------------
// ClubTicket
diff --git a/src/server/proto/Client/club_member.pb.cc b/src/server/proto/Client/club_member.pb.cc
index 40824ffa79b..dabc89aa63d 100644
--- a/src/server/proto/Client/club_member.pb.cc
+++ b/src/server/proto/Client/club_member.pb.cc
@@ -188,9 +188,10 @@ void protobuf_AssignDesc_club_5fmember_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(MemberVoiceState));
CreateMemberOptions_descriptor_ = file->message_type(6);
- static const int CreateMemberOptions_offsets_[2] = {
+ static const int CreateMemberOptions_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, attribute_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, join_club_source_),
};
CreateMemberOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -456,39 +457,40 @@ void protobuf_AddDesc_club_5fmember_2eproto() {
"\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);
+ "MicrophoneState\022\016\n\006active\030\005 \001(\010\"\240\001\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\022.\n\020join_club_"
+ "source\030\003 \001(\rB\024\202\371+\020*\016JoinClubSource\"[\n\021Me"
+ "mberDescription\022*\n\002id\030\001 \001(\0132\036.bgs.protoc"
+ "ol.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\004rol"
+ "e\030\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\"U\n\016RoleAssignmen"
+ "t\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club"
+ ".v1.MemberId\022\020\n\004role\030\002 \003(\rB\002\020\001\"}\n\031Member"
+ "AttributeAssignment\0221\n\tmember_id\030\001 \001(\0132\036"
+ ".bgs.protocol.club.v1.MemberId\022-\n\tattrib"
+ "ute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\"Q\n"
+ "\026SubscriberStateOptions\0227\n\005voice\030\001 \001(\0132("
+ ".bgs.protocol.club.v1.MemberVoiceOptions"
+ "\"\225\001\n\031SubscriberStateAssignment\0221\n\tmember"
+ "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI"
+ "d\022\016\n\006active\030\002 \001(\010\0225\n\005voice\030\003 \001(\0132&.bgs.p"
+ "rotocol.club.v1.MemberVoiceState\"\341\001\n\022Mem"
+ "berStateOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs"
+ ".protocol.v2.Attribute\022;\n\016presence_level"
+ "\030\002 \001(\0162#.bgs.protocol.club.v1.PresenceLe"
+ "vel\022\026\n\016moderator_mute\030\003 \001(\010\0229\n\rwhisper_l"
+ "evel\030\004 \001(\0162\".bgs.protocol.club.v1.Whispe"
+ "rLevel\022\014\n\004note\030\005 \001(\t\"\227\002\n\025MemberStateAssi"
+ "gnment\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol"
+ ".club.v1.MemberId\022-\n\tattribute\030\002 \003(\0132\032.b"
+ "gs.protocol.v2.Attribute\022;\n\016presence_lev"
+ "el\030\003 \001(\0162#.bgs.protocol.club.v1.Presence"
+ "Level\022\026\n\016moderator_mute\030\004 \001(\010\0229\n\rwhisper"
+ "_level\030\005 \001(\0162\".bgs.protocol.club.v1.Whis"
+ "perLevel\022\014\n\004note\030\006 \001(\tB\002H\002P\000", 2468);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"club_member.proto", &protobuf_RegisterTypes);
Member::default_instance_ = new Member();
@@ -1026,6 +1028,7 @@ void MemberVoiceState::Swap(MemberVoiceState* other) {
#ifndef _MSC_VER
const int CreateMemberOptions::kIdFieldNumber;
const int CreateMemberOptions::kAttributeFieldNumber;
+const int CreateMemberOptions::kJoinClubSourceFieldNumber;
#endif // !_MSC_VER
CreateMemberOptions::CreateMemberOptions()
@@ -1048,6 +1051,7 @@ CreateMemberOptions::CreateMemberOptions(const CreateMemberOptions& from)
void CreateMemberOptions::SharedCtor() {
_cached_size_ = 0;
id_ = NULL;
+ join_club_source_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/club_member.pb.h b/src/server/proto/Client/club_member.pb.h
index bfe2dc6ef9a..48d329c370d 100644
--- a/src/server/proto/Client/club_member.pb.h
+++ b/src/server/proto/Client/club_member.pb.h
@@ -747,10 +747,19 @@ class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message {
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
mutable_attribute();
+ // optional uint32 join_club_source = 3;
+ inline bool has_join_club_source() const;
+ inline void clear_join_club_source();
+ static const int kJoinClubSourceFieldNumber = 3;
+ 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.CreateMemberOptions)
private:
inline void set_has_id();
inline void clear_has_id();
+ inline void set_has_join_club_source();
+ inline void clear_has_join_club_source();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -758,6 +767,7 @@ class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message {
mutable int _cached_size_;
::bgs::protocol::club::v1::MemberId* id_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
+ ::google::protobuf::uint32 join_club_source_;
friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto();
friend void protobuf_AssignDesc_club_5fmember_2eproto();
friend void protobuf_ShutdownFile_club_5fmember_2eproto();
@@ -2475,6 +2485,30 @@ CreateMemberOptions::mutable_attribute() {
return &attribute_;
}
+// optional uint32 join_club_source = 3;
+inline bool CreateMemberOptions::has_join_club_source() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void CreateMemberOptions::set_has_join_club_source() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void CreateMemberOptions::clear_has_join_club_source() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void CreateMemberOptions::clear_join_club_source() {
+ join_club_source_ = 0u;
+ clear_has_join_club_source();
+}
+inline ::google::protobuf::uint32 CreateMemberOptions::join_club_source() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMemberOptions.join_club_source)
+ return join_club_source_;
+}
+inline void CreateMemberOptions::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.CreateMemberOptions.join_club_source)
+}
+
// -------------------------------------------------------------------
// MemberDescription
diff --git a/src/server/proto/Client/connection_service.pb.cc b/src/server/proto/Client/connection_service.pb.cc
index 51b2e012333..d8656fd14cb 100644
--- a/src/server/proto/Client/connection_service.pb.cc
+++ b/src/server/proto/Client/connection_service.pb.cc
@@ -123,7 +123,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(ConnectionMeteringContentHandles));
ConnectResponse_descriptor_ = file->message_type(3);
- static const int ConnectResponse_offsets_[9] = {
+ static const int ConnectResponse_offsets_[10] = {
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_),
@@ -133,6 +133,7 @@ void protobuf_AssignDesc_connection_5fservice_2eproto() {
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_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConnectResponse, connected_region_),
};
ConnectResponse_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -369,7 +370,7 @@ void protobuf_AddDesc_connection_5fservice_2eproto() {
"\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"
+ "s.protocol.ContentHandle\"\334\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"
@@ -380,47 +381,48 @@ void protobuf_AddDesc_connection_5fservice_2eproto() {
"_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\"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);
+ "nMeteringContentHandles\022\014\n\004ciid\030\t \001(\t\022\030\n"
+ "\020connected_region\030\n \001(\r\"(\n\014BoundService\022"
+ "\014\n\004hash\030\001 \002(\007\022\n\n\002id\030\002 \002(\r\"\230\002\n\013BindReques"
+ "t\022.\n deprecated_imported_service_hash\030\001 "
+ "\003(\007B\004\020\001\030\001\022Q\n\033deprecated_exported_service"
+ "\030\002 \003(\0132(.bgs.protocol.connection.v1.Boun"
+ "dServiceB\002\030\001\022B\n\020exported_service\030\003 \003(\0132("
+ ".bgs.protocol.connection.v1.BoundService"
+ "\022B\n\020imported_service\030\004 \003(\0132(.bgs.protoco"
+ "l.connection.v1.BoundService\"1\n\014BindResp"
+ "onse\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\014network"
+ "_only\030\002 \001(\010:\005false\022\017\n\007payload\030\003 \001(\014\022(\n\007f"
+ "orward\030\004 \001(\0132\027.bgs.protocol.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\021Disco"
+ "nnectRequest\022\022\n\nerror_code\030\001 \002(\r\"<\n\026Disc"
+ "onnectNotification\022\022\n\nerror_code\030\001 \002(\r\022\016"
+ "\n\006reason\030\002 \001(\t\"\020\n\016EncryptRequest*J\n\rMete"
+ "ringLevel\022\031\n\025METERING_LEVEL_LEGACY\020\000\022\036\n\032"
+ "METERING_LEVEL_CATEGORIZED\020\0012\373\005\n\021Connect"
+ "ionService\022j\n\007Connect\022*.bgs.protocol.con"
+ "nection.v1.ConnectRequest\032+.bgs.protocol"
+ ".connection.v1.ConnectResponse\"\006\202\371+\002\010\001\022c"
+ "\n\004Bind\022\'.bgs.protocol.connection.v1.Bind"
+ "Request\032(.bgs.protocol.connection.v1.Bin"
+ "dResponse\"\010\202\371+\004\010\002P\001\022a\n\004Echo\022\'.bgs.protoc"
+ "ol.connection.v1.EchoRequest\032(.bgs.proto"
+ "col.connection.v1.EchoResponse\"\006\202\371+\002\010\003\022h"
+ "\n\017ForceDisconnect\0222.bgs.protocol.connect"
+ "ion.v1.DisconnectNotification\032\031.bgs.prot"
+ "ocol.NO_RESPONSE\"\006\202\371+\002\010\004\022D\n\tKeepAlive\022\024."
+ "bgs.protocol.NoData\032\031.bgs.protocol.NO_RE"
+ "SPONSE\"\006\202\371+\002\010\005\022U\n\007Encrypt\022*.bgs.protocol"
+ ".connection.v1.EncryptRequest\032\024.bgs.prot"
+ "ocol.NoData\"\010\202\371+\004\010\006P\001\022e\n\021RequestDisconne"
+ "ct\022-.bgs.protocol.connection.v1.Disconne"
+ "ctRequest\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371"
+ "+\002\010\007\032D\202\371+8\n*bnet.protocol.connection.Con"
+ "nectionService*\nconnection\212\371+\004\010\001\020\001B<\n\032bg"
+ "s.protocol.connection.v1B\026ConnectionServ"
+ "iceProtoH\002\200\001\000\210\001\001", 2736);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"connection_service.proto", &protobuf_RegisterTypes);
ClientSdkVersionInfo::default_instance_ = new ClientSdkVersionInfo();
@@ -723,6 +725,7 @@ const int ConnectResponse::kServerTimeFieldNumber;
const int ConnectResponse::kUseBindlessRpcFieldNumber;
const int ConnectResponse::kBinaryContentHandleArrayFieldNumber;
const int ConnectResponse::kCiidFieldNumber;
+const int ConnectResponse::kConnectedRegionFieldNumber;
#endif // !_MSC_VER
ConnectResponse::ConnectResponse()
@@ -758,6 +761,7 @@ void ConnectResponse::SharedCtor() {
use_bindless_rpc_ = false;
binary_content_handle_array_ = NULL;
ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ connected_region_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/connection_service.pb.h b/src/server/proto/Client/connection_service.pb.h
index 7a5c1844e2e..0c05ed44cbb 100644
--- a/src/server/proto/Client/connection_service.pb.h
+++ b/src/server/proto/Client/connection_service.pb.h
@@ -472,6 +472,13 @@ class TC_PROTO_API ConnectResponse : public ::google::protobuf::Message {
inline ::std::string* release_ciid();
inline void set_allocated_ciid(::std::string* ciid);
+ // optional uint32 connected_region = 10;
+ inline bool has_connected_region() const;
+ inline void clear_connected_region();
+ static const int kConnectedRegionFieldNumber = 10;
+ inline ::google::protobuf::uint32 connected_region() const;
+ inline void set_connected_region(::google::protobuf::uint32 value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ConnectResponse)
private:
inline void set_has_server_id();
@@ -492,6 +499,8 @@ class TC_PROTO_API ConnectResponse : public ::google::protobuf::Message {
inline void clear_has_binary_content_handle_array();
inline void set_has_ciid();
inline void clear_has_ciid();
+ inline void set_has_connected_region();
+ inline void clear_has_connected_region();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -506,6 +515,7 @@ class TC_PROTO_API ConnectResponse : public ::google::protobuf::Message {
::google::protobuf::uint64 server_time_;
::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* binary_content_handle_array_;
::std::string* ciid_;
+ ::google::protobuf::uint32 connected_region_;
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto();
friend void protobuf_AssignDesc_connection_5fservice_2eproto();
friend void protobuf_ShutdownFile_connection_5fservice_2eproto();
@@ -1948,6 +1958,30 @@ inline void ConnectResponse::set_allocated_ciid(::std::string* ciid) {
// @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.ciid)
}
+// optional uint32 connected_region = 10;
+inline bool ConnectResponse::has_connected_region() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void ConnectResponse::set_has_connected_region() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void ConnectResponse::clear_has_connected_region() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void ConnectResponse::clear_connected_region() {
+ connected_region_ = 0u;
+ clear_has_connected_region();
+}
+inline ::google::protobuf::uint32 ConnectResponse::connected_region() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.connected_region)
+ return connected_region_;
+}
+inline void ConnectResponse::set_connected_region(::google::protobuf::uint32 value) {
+ set_has_connected_region();
+ connected_region_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectResponse.connected_region)
+}
+
// -------------------------------------------------------------------
// BoundService
diff --git a/src/server/proto/Client/friends_types.pb.cc b/src/server/proto/Client/friends_types.pb.cc
index 4798f62c41d..57db0de4ad3 100644
--- a/src/server/proto/Client/friends_types.pb.cc
+++ b/src/server/proto/Client/friends_types.pb.cc
@@ -286,42 +286,43 @@ void protobuf_AddDesc_friends_5ftypes_2eproto() {
"\026.bgs.protocol.EntityId\022\034\n\004role\030\003 \003(\rB\016\020"
"\001\212\371+\010*\006\n\004\010\001\020\001\022\022\n\nprivileges\030\004 \001(\004\022\031\n\tful"
"l_name\030\006 \001(\tB\006\202\371+\002\010\001\022\032\n\nbattle_tag\030\007 \001(\t"
- "B\006\202\371+\002\010\001\"\337\001\n\022ReceivedInvitation\022\n\n\002id\030\001 "
+ "B\006\202\371+\002\010\001\"\357\001\n\022ReceivedInvitation\022\n\n\002id\030\001 "
"\002(\006\0220\n\020inviter_identity\030\002 \002(\0132\026.bgs.prot"
"ocol.Identity\0220\n\020invitee_identity\030\003 \002(\0132"
- "\026.bgs.protocol.Identity\022\024\n\014inviter_name\030"
- "\004 \001(\t\022\024\n\014invitee_name\030\005 \001(\t\022\025\n\rcreation_"
- "time\030\007 \001(\004\022\017\n\007program\030\t \001(\007*\005\010d\020\220N\"\317\001\n\020F"
- "riendInvitation\022\034\n\004role\030\002 \003(\rB\016\020\001\212\371+\010*\006\n"
- "\004\010\001\020\001\022*\n\tattribute\030\003 \003(\0132\027.bgs.protocol."
- "Attribute2q\n\021friend_invitation\022+.bgs.pro"
- "tocol.friends.v1.ReceivedInvitation\030g \001("
- "\0132).bgs.protocol.friends.v1.FriendInvita"
- "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\"\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\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);
+ "\026.bgs.protocol.Identity\022\034\n\014inviter_name\030"
+ "\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_name\030\005 \001(\tB\006\202\371+"
+ "\002\010\001\022\025\n\rcreation_time\030\007 \001(\004\022\017\n\007program\030\t "
+ "\001(\007*\005\010d\020\220N\"\317\001\n\020FriendInvitation\022\034\n\004role\030"
+ "\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022*\n\tattribute\030\003 \003(\013"
+ "2\027.bgs.protocol.Attribute2q\n\021friend_invi"
+ "tation\022+.bgs.protocol.friends.v1.Receive"
+ "dInvitation\030g \001(\0132).bgs.protocol.friends"
+ ".v1.FriendInvitation\"\233\001\n\016SentInvitation\022"
+ "\n\n\002id\030\001 \001(\006\022\033\n\013target_name\030\002 \001(\tB\006\202\371+\002\010\001"
+ "\022\014\n\004role\030\003 \001(\r\022*\n\tattribute\030\004 \003(\0132\027.bgs."
+ "protocol.Attribute\022\025\n\rcreation_time\030\005 \001("
+ "\004\022\017\n\007program\030\006 \001(\007\"\342\002\n\026FriendInvitationP"
+ "arams\022\034\n\014target_email\030\001 \001(\tB\006\202\371+\002\010\001\022!\n\021t"
+ "arget_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\tattribute\030\010 \003(\0132"
+ "\027.bgs.protocol.Attribute\022\033\n\013target_name\030"
+ "\t \001(\tB\006\202\371+\002\010\001\022\023\n\007program\030\n \001(\007B\002\030\001\022#\n\023ta"
+ "rget_phone_number\030\013 \001(\tB\006\202\371+\002\010\0012f\n\rfrien"
+ "d_params\022\036.bgs.protocol.InvitationParams"
+ "\030g \001(\0132/.bgs.protocol.friends.v1.FriendI"
+ "nvitationParams\"\326\002\n\021SubscribeResponse\022\027\n"
+ "\013max_friends\030\001 \001(\rB\002\030\001\022$\n\030max_received_i"
+ "nvitations\030\002 \001(\rB\002\030\001\022 \n\024max_sent_invitat"
+ "ions\030\003 \001(\rB\002\030\001\022 \n\004role\030\004 \003(\0132\022.bgs.proto"
+ "col.Role\0220\n\007friends\030\005 \003(\0132\037.bgs.protocol"
+ ".friends.v1.Friend\022I\n\024received_invitatio"
+ "ns\030\007 \003(\0132+.bgs.protocol.friends.v1.Recei"
+ "vedInvitation\022A\n\020sent_invitations\030\010 \003(\0132"
+ "\'.bgs.protocol.friends.v1.SentInvitation"
+ "\"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\027bgs."
+ "protocol.friends.v1B\021FriendsTypesProtoH\002"
+ "P\000", 1962);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"friends_types.proto", &protobuf_RegisterTypes);
Friend::default_instance_ = new Friend();
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 9d3c2ea5d03..c585877cae5 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_[10] = {
+ static const int BGSMethodOptions_offsets_[12] = {
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_),
@@ -45,6 +45,8 @@ void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto() {
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_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, client_register_type_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, forward_key_proto_file_),
};
BGSMethodOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -88,22 +90,27 @@ void protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto() {
::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
::bgs::protocol::protobuf_AddDesc_global_5fextensions_2frouting_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n&global_extensions/method_options.proto"
"\022\014bgs.protocol\032 google/protobuf/descript"
"or.proto\032\037global_extensions/routing.prot"
- "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\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);
+ "o\032-global_extensions/register_method_typ"
+ "es.proto\"\254\003\n\020BGSMethodOptions\022\n\n\002id\030\001 \001("
+ "\r\022H\n\027client_identity_routing\030\002 \001(\0162\'.bgs"
+ ".protocol.ClientIdentityRoutingType\022\025\n\re"
+ "nable_fanout\030\003 \001(\010\022!\n\031legacy_fanout_repl"
+ "acement\030\004 \001(\t\022\023\n\013forward_key\030\005 \001(\t\022\022\n\nid"
+ "empotent\030\006 \001(\010\022&\n\036handle_destination_unr"
+ "eachable\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\010obsolete\030\n \001(\010\022D\n\024client_register_typ"
+ "e\030\013 \001(\0162&.bgs.protocol.ClientRegisterMet"
+ "hodType\022\036\n\026forward_key_proto_file\030\014 \001(\t:"
+ "X\n\016method_options\022\036.google.protobuf.Meth"
+ "odOptions\030\220\277\005 \001(\0132\036.bgs.protocol.BGSMeth"
+ "odOptionsB$\n\014bgs.protocolB\022MethodOptions"
+ "ProtoH\002", 727);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"global_extensions/method_options.proto", &protobuf_RegisterTypes);
BGSMethodOptions::default_instance_ = new BGSMethodOptions();
@@ -134,6 +141,8 @@ const int BGSMethodOptions::kHandleDestinationUnreachableFieldNumber;
const int BGSMethodOptions::kCustomRegionResolverFieldNumber;
const int BGSMethodOptions::kExplicitRegionRoutingFieldNumber;
const int BGSMethodOptions::kObsoleteFieldNumber;
+const int BGSMethodOptions::kClientRegisterTypeFieldNumber;
+const int BGSMethodOptions::kForwardKeyProtoFileFieldNumber;
#endif // !_MSC_VER
BGSMethodOptions::BGSMethodOptions()
@@ -165,6 +174,8 @@ void BGSMethodOptions::SharedCtor() {
custom_region_resolver_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
explicit_region_routing_ = false;
obsolete_ = false;
+ client_register_type_ = 0;
+ forward_key_proto_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -183,6 +194,9 @@ void BGSMethodOptions::SharedDtor() {
if (custom_region_resolver_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
delete custom_region_resolver_;
}
+ if (forward_key_proto_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete forward_key_proto_file_;
+ }
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 2e7678a9332..467890d838d 100644
--- a/src/server/proto/Client/global_extensions/method_options.pb.h
+++ b/src/server/proto/Client/global_extensions/method_options.pb.h
@@ -26,6 +26,7 @@
#include <google/protobuf/unknown_field_set.h>
#include "google/protobuf/descriptor.pb.h"
#include "global_extensions/routing.pb.h"
+#include "global_extensions/register_method_types.pb.h"
#include "Define.h" // for TC_PROTO_API
// @@protoc_insertion_point(includes)
@@ -166,6 +167,25 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
inline bool obsolete() const;
inline void set_obsolete(bool value);
+ // optional .bgs.protocol.ClientRegisterMethodType client_register_type = 11;
+ inline bool has_client_register_type() const;
+ inline void clear_client_register_type();
+ static const int kClientRegisterTypeFieldNumber = 11;
+ inline ::bgs::protocol::ClientRegisterMethodType client_register_type() const;
+ inline void set_client_register_type(::bgs::protocol::ClientRegisterMethodType value);
+
+ // optional string forward_key_proto_file = 12;
+ inline bool has_forward_key_proto_file() const;
+ inline void clear_forward_key_proto_file();
+ static const int kForwardKeyProtoFileFieldNumber = 12;
+ inline const ::std::string& forward_key_proto_file() const;
+ inline void set_forward_key_proto_file(const ::std::string& value);
+ inline void set_forward_key_proto_file(const char* value);
+ inline void set_forward_key_proto_file(const char* value, size_t size);
+ inline ::std::string* mutable_forward_key_proto_file();
+ inline ::std::string* release_forward_key_proto_file();
+ inline void set_allocated_forward_key_proto_file(::std::string* forward_key_proto_file);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.BGSMethodOptions)
private:
inline void set_has_id();
@@ -188,6 +208,10 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
inline void clear_has_explicit_region_routing();
inline void set_has_obsolete();
inline void clear_has_obsolete();
+ inline void set_has_client_register_type();
+ inline void clear_has_client_register_type();
+ inline void set_has_forward_key_proto_file();
+ inline void clear_has_forward_key_proto_file();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -203,6 +227,8 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
bool explicit_region_routing_;
bool obsolete_;
::std::string* custom_region_resolver_;
+ ::std::string* forward_key_proto_file_;
+ int client_register_type_;
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();
@@ -620,6 +646,107 @@ inline void BGSMethodOptions::set_obsolete(bool value) {
// @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.obsolete)
}
+// optional .bgs.protocol.ClientRegisterMethodType client_register_type = 11;
+inline bool BGSMethodOptions::has_client_register_type() const {
+ return (_has_bits_[0] & 0x00000400u) != 0;
+}
+inline void BGSMethodOptions::set_has_client_register_type() {
+ _has_bits_[0] |= 0x00000400u;
+}
+inline void BGSMethodOptions::clear_has_client_register_type() {
+ _has_bits_[0] &= ~0x00000400u;
+}
+inline void BGSMethodOptions::clear_client_register_type() {
+ client_register_type_ = 0;
+ clear_has_client_register_type();
+}
+inline ::bgs::protocol::ClientRegisterMethodType BGSMethodOptions::client_register_type() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.client_register_type)
+ return static_cast< ::bgs::protocol::ClientRegisterMethodType >(client_register_type_);
+}
+inline void BGSMethodOptions::set_client_register_type(::bgs::protocol::ClientRegisterMethodType value) {
+ assert(::bgs::protocol::ClientRegisterMethodType_IsValid(value));
+ set_has_client_register_type();
+ client_register_type_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.client_register_type)
+}
+
+// optional string forward_key_proto_file = 12;
+inline bool BGSMethodOptions::has_forward_key_proto_file() const {
+ return (_has_bits_[0] & 0x00000800u) != 0;
+}
+inline void BGSMethodOptions::set_has_forward_key_proto_file() {
+ _has_bits_[0] |= 0x00000800u;
+}
+inline void BGSMethodOptions::clear_has_forward_key_proto_file() {
+ _has_bits_[0] &= ~0x00000800u;
+}
+inline void BGSMethodOptions::clear_forward_key_proto_file() {
+ if (forward_key_proto_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ forward_key_proto_file_->clear();
+ }
+ clear_has_forward_key_proto_file();
+}
+inline const ::std::string& BGSMethodOptions::forward_key_proto_file() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
+ return *forward_key_proto_file_;
+}
+inline void BGSMethodOptions::set_forward_key_proto_file(const ::std::string& value) {
+ set_has_forward_key_proto_file();
+ if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ forward_key_proto_file_ = new ::std::string;
+ }
+ forward_key_proto_file_->assign(value);
+ // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
+}
+inline void BGSMethodOptions::set_forward_key_proto_file(const char* value) {
+ set_has_forward_key_proto_file();
+ if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ forward_key_proto_file_ = new ::std::string;
+ }
+ forward_key_proto_file_->assign(value);
+ // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
+}
+inline void BGSMethodOptions::set_forward_key_proto_file(const char* value, size_t size) {
+ set_has_forward_key_proto_file();
+ if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ forward_key_proto_file_ = new ::std::string;
+ }
+ forward_key_proto_file_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
+}
+inline ::std::string* BGSMethodOptions::mutable_forward_key_proto_file() {
+ set_has_forward_key_proto_file();
+ if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ forward_key_proto_file_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
+ return forward_key_proto_file_;
+}
+inline ::std::string* BGSMethodOptions::release_forward_key_proto_file() {
+ clear_has_forward_key_proto_file();
+ if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = forward_key_proto_file_;
+ forward_key_proto_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void BGSMethodOptions::set_allocated_forward_key_proto_file(::std::string* forward_key_proto_file) {
+ if (forward_key_proto_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete forward_key_proto_file_;
+ }
+ if (forward_key_proto_file) {
+ set_has_forward_key_proto_file();
+ forward_key_proto_file_ = forward_key_proto_file;
+ } else {
+ clear_has_forward_key_proto_file();
+ forward_key_proto_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace protocol
diff --git a/src/server/proto/Client/global_extensions/register_method_types.pb.cc b/src/server/proto/Client/global_extensions/register_method_types.pb.cc
new file mode 100644
index 00000000000..489a3697e63
--- /dev/null
+++ b/src/server/proto/Client/global_extensions/register_method_types.pb.cc
@@ -0,0 +1,99 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: global_extensions/register_method_types.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "global_extensions/register_method_types.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::EnumDescriptor* ClientRegisterMethodType_descriptor_ = NULL;
+
+} // namespace
+
+void protobuf_AssignDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto() {
+ protobuf_AddDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "global_extensions/register_method_types.proto");
+ GOOGLE_CHECK(file != NULL);
+ ClientRegisterMethodType_descriptor_ = file->enum_type(0);
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto() {
+}
+
+void protobuf_AddDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n-global_extensions/register_method_type"
+ "s.proto\022\014bgs.protocol*\245\001\n\030ClientRegister"
+ "MethodType\022\030\n\024REGISTER_CLIENT_NONE\020\000\022\036\n\032"
+ "REGISTER_CLIENT_REGISTERED\020\001\022 \n\034REGISTER"
+ "_CLIENT_UNREGISTERED\020\002\022-\n)REGISTER_CLIEN"
+ "T_UNREGISTERED_NOTIFICATION\020\003B\002H\002", 233);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "global_extensions/register_method_types.proto", &protobuf_RegisterTypes);
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto {
+ StaticDescriptorInitializer_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto() {
+ protobuf_AddDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto();
+ }
+} static_descriptor_initializer_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto_;
+const ::google::protobuf::EnumDescriptor* ClientRegisterMethodType_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return ClientRegisterMethodType_descriptor_;
+}
+bool ClientRegisterMethodType_IsValid(int value) {
+ switch(value) {
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ return true;
+ default:
+ return false;
+ }
+}
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace protocol
+} // namespace bgs
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/Client/global_extensions/register_method_types.pb.h b/src/server/proto/Client/global_extensions/register_method_types.pb.h
new file mode 100644
index 00000000000..78dacd41dcb
--- /dev/null
+++ b/src/server/proto/Client/global_extensions/register_method_types.pb.h
@@ -0,0 +1,84 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: global_extensions/register_method_types.proto
+
+#ifndef PROTOBUF_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto__INCLUDED
+#define PROTOBUF_global_5fextensions_2fregister_5fmethod_5ftypes_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/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/generated_enum_reflection.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_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto();
+void protobuf_AssignDesc_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto();
+void protobuf_ShutdownFile_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto();
+
+enum ClientRegisterMethodType {
+ REGISTER_CLIENT_NONE = 0,
+ REGISTER_CLIENT_REGISTERED = 1,
+ REGISTER_CLIENT_UNREGISTERED = 2,
+ REGISTER_CLIENT_UNREGISTERED_NOTIFICATION = 3
+};
+TC_PROTO_API bool ClientRegisterMethodType_IsValid(int value);
+const ClientRegisterMethodType ClientRegisterMethodType_MIN = REGISTER_CLIENT_NONE;
+const ClientRegisterMethodType ClientRegisterMethodType_MAX = REGISTER_CLIENT_UNREGISTERED_NOTIFICATION;
+const int ClientRegisterMethodType_ARRAYSIZE = ClientRegisterMethodType_MAX + 1;
+
+TC_PROTO_API const ::google::protobuf::EnumDescriptor* ClientRegisterMethodType_descriptor();
+inline const ::std::string& ClientRegisterMethodType_Name(ClientRegisterMethodType value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ ClientRegisterMethodType_descriptor(), value);
+}
+inline bool ClientRegisterMethodType_Parse(
+ const ::std::string& name, ClientRegisterMethodType* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<ClientRegisterMethodType>(
+ ClientRegisterMethodType_descriptor(), name, value);
+}
+// ===================================================================
+
+// ===================================================================
+
+// ===================================================================
+
+// ===================================================================
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace protocol
+} // namespace bgs
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+template <> struct is_proto_enum< ::bgs::protocol::ClientRegisterMethodType> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::ClientRegisterMethodType>() {
+ return ::bgs::protocol::ClientRegisterMethodType_descriptor();
+}
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_global_5fextensions_2fregister_5fmethod_5ftypes_2eproto__INCLUDED
diff --git a/src/server/proto/Client/invitation_types.pb.cc b/src/server/proto/Client/invitation_types.pb.cc
index 2dede344f85..800d4a6439d 100644
--- a/src/server/proto/Client/invitation_types.pb.cc
+++ b/src/server/proto/Client/invitation_types.pb.cc
@@ -112,30 +112,32 @@ void protobuf_AddDesc_invitation_5ftypes_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto();
+ ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\026invitation_types.proto\022\014bgs.protocol\032\022"
- "entity_types.proto\"\373\001\n\nInvitation\022\n\n\002id\030"
- "\001 \002(\006\0220\n\020inviter_identity\030\002 \002(\0132\026.bgs.pr"
- "otocol.Identity\0220\n\020invitee_identity\030\003 \002("
- "\0132\026.bgs.protocol.Identity\022\024\n\014inviter_nam"
- "e\030\004 \001(\t\022\024\n\014invitee_name\030\005 \001(\t\022\032\n\022invitat"
- "ion_message\030\006 \001(\t\022\025\n\rcreation_time\030\007 \001(\004"
- "\022\027\n\017expiration_time\030\010 \001(\004*\005\010d\020\220N\"R\n\020Invi"
- "tationParams\022\036\n\022invitation_message\030\001 \001(\t"
- "B\002\030\001\022\027\n\017expiration_time\030\002 \001(\004*\005\010d\020\220N*\206\002\n"
- "\027InvitationRemovedReason\022&\n\"INVITATION_R"
- "EMOVED_REASON_ACCEPTED\020\000\022&\n\"INVITATION_R"
- "EMOVED_REASON_DECLINED\020\001\022%\n!INVITATION_R"
- "EMOVED_REASON_REVOKED\020\002\022%\n!INVITATION_RE"
- "MOVED_REASON_IGNORED\020\003\022%\n!INVITATION_REM"
- "OVED_REASON_EXPIRED\020\004\022&\n\"INVITATION_REMO"
- "VED_REASON_CANCELED\020\005*\270\001\n\027SuggestionRemo"
- "vedReason\022&\n\"SUGGESTION_REMOVED_REASON_A"
- "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\014bgs.protocolB\024InvitationType"
- "sProtoH\002", 888);
+ "entity_types.proto\032%global_extensions/fi"
+ "eld_options.proto\"\213\002\n\nInvitation\022\n\n\002id\030\001"
+ " \002(\006\0220\n\020inviter_identity\030\002 \002(\0132\026.bgs.pro"
+ "tocol.Identity\0220\n\020invitee_identity\030\003 \002(\013"
+ "2\026.bgs.protocol.Identity\022\034\n\014inviter_name"
+ "\030\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_name\030\005 \001(\tB\006\202\371"
+ "+\002\010\001\022\032\n\022invitation_message\030\006 \001(\t\022\025\n\rcrea"
+ "tion_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001(\004"
+ "*\005\010d\020\220N\"R\n\020InvitationParams\022\036\n\022invitatio"
+ "n_message\030\001 \001(\tB\002\030\001\022\027\n\017expiration_time\030\002"
+ " \001(\004*\005\010d\020\220N*\206\002\n\027InvitationRemovedReason\022"
+ "&\n\"INVITATION_REMOVED_REASON_ACCEPTED\020\000\022"
+ "&\n\"INVITATION_REMOVED_REASON_DECLINED\020\001\022"
+ "%\n!INVITATION_REMOVED_REASON_REVOKED\020\002\022%"
+ "\n!INVITATION_REMOVED_REASON_IGNORED\020\003\022%\n"
+ "!INVITATION_REMOVED_REASON_EXPIRED\020\004\022&\n\""
+ "INVITATION_REMOVED_REASON_CANCELED\020\005*\270\001\n"
+ "\027SuggestionRemovedReason\022&\n\"SUGGESTION_R"
+ "EMOVED_REASON_APPROVED\020\000\022&\n\"SUGGESTION_R"
+ "EMOVED_REASON_DECLINED\020\001\022%\n!SUGGESTION_R"
+ "EMOVED_REASON_EXPIRED\020\002\022&\n\"SUGGESTION_RE"
+ "MOVED_REASON_CANCELED\020\003B&\n\014bgs.protocolB"
+ "\024InvitationTypesProtoH\002", 943);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"invitation_types.proto", &protobuf_RegisterTypes);
Invitation::default_instance_ = new Invitation();
diff --git a/src/server/proto/Client/invitation_types.pb.h b/src/server/proto/Client/invitation_types.pb.h
index 32ceb4fa6be..b3262f28b72 100644
--- a/src/server/proto/Client/invitation_types.pb.h
+++ b/src/server/proto/Client/invitation_types.pb.h
@@ -26,6 +26,7 @@
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "entity_types.pb.h"
+#include "global_extensions/field_options.pb.h"
#include "Define.h" // for TC_PROTO_API
// @@protoc_insertion_point(includes)
diff --git a/src/server/proto/Client/presence_listener.pb.cc b/src/server/proto/Client/presence_listener.pb.cc
index 25d6d1e8222..603b57902e8 100644
--- a/src/server/proto/Client/presence_listener.pb.cc
+++ b/src/server/proto/Client/presence_listener.pb.cc
@@ -41,9 +41,10 @@ void protobuf_AssignDesc_presence_5flistener_2eproto() {
"presence_listener.proto");
GOOGLE_CHECK(file != NULL);
SubscribeNotification_descriptor_ = file->message_type(0);
- static const int SubscribeNotification_offsets_[2] = {
+ static const int SubscribeNotification_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, subscriber_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, state_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, subscriber_program_),
};
SubscribeNotification_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -57,9 +58,10 @@ void protobuf_AssignDesc_presence_5flistener_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
sizeof(SubscribeNotification));
StateChangedNotification_descriptor_ = file->message_type(1);
- static const int StateChangedNotification_offsets_[2] = {
+ static const int StateChangedNotification_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, subscriber_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, state_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, subscriber_program_),
};
StateChangedNotification_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@@ -112,22 +114,23 @@ void protobuf_AddDesc_presence_5flistener_2eproto() {
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\027presence_listener.proto\022\030bgs.protocol."
"presence.v1\032\024presence_types.proto\032\023accou"
- "nt_types.proto\032\017rpc_types.proto\"\212\001\n\025Subs"
+ "nt_types.proto\032\017rpc_types.proto\"\246\001\n\025Subs"
"cribeNotification\0229\n\rsubscriber_id\030\001 \001(\013"
"2\".bgs.protocol.account.v1.AccountId\0226\n\005"
"state\030\002 \003(\0132\'.bgs.protocol.presence.v1.P"
- "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\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\0328\202\371+.\n*bnet.pr"
- "otocol.presence.v1.PresenceListener8\001\212\371+"
- "\002\010\001B\002H\002", 687);
+ "resenceState\022\032\n\022subscriber_program\030\003 \001(\r"
+ "\"\251\001\n\030StateChangedNotification\0229\n\rsubscri"
+ "ber_id\030\001 \001(\0132\".bgs.protocol.account.v1.A"
+ "ccountId\0226\n\005state\030\002 \003(\0132\'.bgs.protocol.p"
+ "resence.v1.PresenceState\022\032\n\022subscriber_p"
+ "rogram\030\003 \001(\r2\234\002\n\020PresenceListener\022c\n\013OnS"
+ "ubscribe\022/.bgs.protocol.presence.v1.Subs"
+ "cribeNotification\032\031.bgs.protocol.NO_RESP"
+ "ONSE\"\010\202\371+\004\010\0018\001\022i\n\016OnStateChanged\0222.bgs.p"
+ "rotocol.presence.v1.StateChangedNotifica"
+ "tion\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\0028"
+ "\001\0328\202\371+.\n*bnet.protocol.presence.v1.Prese"
+ "nceListener8\001\212\371+\002\010\001B\002H\002", 743);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"presence_listener.proto", &protobuf_RegisterTypes);
SubscribeNotification::default_instance_ = new SubscribeNotification();
@@ -148,6 +151,7 @@ struct StaticDescriptorInitializer_presence_5flistener_2eproto {
#ifndef _MSC_VER
const int SubscribeNotification::kSubscriberIdFieldNumber;
const int SubscribeNotification::kStateFieldNumber;
+const int SubscribeNotification::kSubscriberProgramFieldNumber;
#endif // !_MSC_VER
SubscribeNotification::SubscribeNotification()
@@ -170,6 +174,7 @@ SubscribeNotification::SubscribeNotification(const SubscribeNotification& from)
void SubscribeNotification::SharedCtor() {
_cached_size_ = 0;
subscriber_id_ = NULL;
+ subscriber_program_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@@ -223,6 +228,7 @@ void SubscribeNotification::Swap(SubscribeNotification* other) {
#ifndef _MSC_VER
const int StateChangedNotification::kSubscriberIdFieldNumber;
const int StateChangedNotification::kStateFieldNumber;
+const int StateChangedNotification::kSubscriberProgramFieldNumber;
#endif // !_MSC_VER
StateChangedNotification::StateChangedNotification()
@@ -245,6 +251,7 @@ StateChangedNotification::StateChangedNotification(const StateChangedNotificatio
void StateChangedNotification::SharedCtor() {
_cached_size_ = 0;
subscriber_id_ = NULL;
+ subscriber_program_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
diff --git a/src/server/proto/Client/presence_listener.pb.h b/src/server/proto/Client/presence_listener.pb.h
index b69337ff7fd..c297f6a888b 100644
--- a/src/server/proto/Client/presence_listener.pb.h
+++ b/src/server/proto/Client/presence_listener.pb.h
@@ -109,10 +109,19 @@ class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message {
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >*
mutable_state();
+ // optional uint32 subscriber_program = 3;
+ inline bool has_subscriber_program() const;
+ inline void clear_subscriber_program();
+ static const int kSubscriberProgramFieldNumber = 3;
+ inline ::google::protobuf::uint32 subscriber_program() const;
+ inline void set_subscriber_program(::google::protobuf::uint32 value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.SubscribeNotification)
private:
inline void set_has_subscriber_id();
inline void clear_has_subscriber_id();
+ inline void set_has_subscriber_program();
+ inline void clear_has_subscriber_program();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -120,6 +129,7 @@ class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message {
mutable int _cached_size_;
::bgs::protocol::account::v1::AccountId* subscriber_id_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > state_;
+ ::google::protobuf::uint32 subscriber_program_;
friend void TC_PROTO_API protobuf_AddDesc_presence_5flistener_2eproto();
friend void protobuf_AssignDesc_presence_5flistener_2eproto();
friend void protobuf_ShutdownFile_presence_5flistener_2eproto();
@@ -190,10 +200,19 @@ class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState >*
mutable_state();
+ // optional uint32 subscriber_program = 3;
+ inline bool has_subscriber_program() const;
+ inline void clear_subscriber_program();
+ static const int kSubscriberProgramFieldNumber = 3;
+ inline ::google::protobuf::uint32 subscriber_program() const;
+ inline void set_subscriber_program(::google::protobuf::uint32 value);
+
// @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.StateChangedNotification)
private:
inline void set_has_subscriber_id();
inline void clear_has_subscriber_id();
+ inline void set_has_subscriber_program();
+ inline void clear_has_subscriber_program();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@@ -201,6 +220,7 @@ class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message
mutable int _cached_size_;
::bgs::protocol::account::v1::AccountId* subscriber_id_;
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::PresenceState > state_;
+ ::google::protobuf::uint32 subscriber_program_;
friend void TC_PROTO_API protobuf_AddDesc_presence_5flistener_2eproto();
friend void protobuf_AssignDesc_presence_5flistener_2eproto();
friend void protobuf_ShutdownFile_presence_5flistener_2eproto();
@@ -310,6 +330,30 @@ SubscribeNotification::mutable_state() {
return &state_;
}
+// optional uint32 subscriber_program = 3;
+inline bool SubscribeNotification::has_subscriber_program() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void SubscribeNotification::set_has_subscriber_program() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void SubscribeNotification::clear_has_subscriber_program() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void SubscribeNotification::clear_subscriber_program() {
+ subscriber_program_ = 0u;
+ clear_has_subscriber_program();
+}
+inline ::google::protobuf::uint32 SubscribeNotification::subscriber_program() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.SubscribeNotification.subscriber_program)
+ return subscriber_program_;
+}
+inline void SubscribeNotification::set_subscriber_program(::google::protobuf::uint32 value) {
+ set_has_subscriber_program();
+ subscriber_program_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.SubscribeNotification.subscriber_program)
+}
+
// -------------------------------------------------------------------
// StateChangedNotification
@@ -385,6 +429,30 @@ StateChangedNotification::mutable_state() {
return &state_;
}
+// optional uint32 subscriber_program = 3;
+inline bool StateChangedNotification::has_subscriber_program() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void StateChangedNotification::set_has_subscriber_program() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void StateChangedNotification::clear_has_subscriber_program() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void StateChangedNotification::clear_subscriber_program() {
+ subscriber_program_ = 0u;
+ clear_has_subscriber_program();
+}
+inline ::google::protobuf::uint32 StateChangedNotification::subscriber_program() const {
+ // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.StateChangedNotification.subscriber_program)
+ return subscriber_program_;
+}
+inline void StateChangedNotification::set_subscriber_program(::google::protobuf::uint32 value) {
+ set_has_subscriber_program();
+ subscriber_program_ = value;
+ // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.StateChangedNotification.subscriber_program)
+}
+
// @@protoc_insertion_point(namespace_scope)
} // namespace v1