update proto

This commit is contained in:
luis
2026-06-23 19:03:23 -03:00
parent ef468ee6b2
commit 6df074c768
7 changed files with 10446 additions and 10558 deletions
-5
View File
@@ -30,11 +30,6 @@ target_link_libraries(proto
common common
protobuf) protobuf)
# Add /FS flag for Windows to enable synchronous PDB writes (prevents C1041 errors with parallel compilation)
if(MSVC)
target_compile_options(proto PRIVATE /FS)
endif()
set_target_properties(proto set_target_properties(proto
PROPERTIES PROPERTIES
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS} COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
+10 -20
View File
@@ -463,8 +463,7 @@ namespace Battlenet {
void ErrorResponse::Swap(ErrorResponse* other) { void ErrorResponse::Swap(ErrorResponse* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata ErrorResponse::GetMetadata() const { ::google::protobuf::Metadata ErrorResponse::GetMetadata() const {
@@ -552,8 +551,7 @@ namespace Battlenet {
void FormInput::Swap(FormInput* other) { void FormInput::Swap(FormInput* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata FormInput::GetMetadata() const { ::google::protobuf::Metadata FormInput::GetMetadata() const {
@@ -637,8 +635,7 @@ namespace Battlenet {
void FormInputs::Swap(FormInputs* other) { void FormInputs::Swap(FormInputs* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata FormInputs::GetMetadata() const { ::google::protobuf::Metadata FormInputs::GetMetadata() const {
@@ -719,8 +716,7 @@ namespace Battlenet {
void FormInputValue::Swap(FormInputValue* other) { void FormInputValue::Swap(FormInputValue* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata FormInputValue::GetMetadata() const { ::google::protobuf::Metadata FormInputValue::GetMetadata() const {
@@ -809,8 +805,7 @@ namespace Battlenet {
void LoginForm::Swap(LoginForm* other) { void LoginForm::Swap(LoginForm* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata LoginForm::GetMetadata() const { ::google::protobuf::Metadata LoginForm::GetMetadata() const {
@@ -917,8 +912,7 @@ namespace Battlenet {
void SrpLoginChallenge::Swap(SrpLoginChallenge* other) { void SrpLoginChallenge::Swap(SrpLoginChallenge* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata SrpLoginChallenge::GetMetadata() const { ::google::protobuf::Metadata SrpLoginChallenge::GetMetadata() const {
@@ -1021,8 +1015,7 @@ namespace Battlenet {
void LoginResult::Swap(LoginResult* other) { void LoginResult::Swap(LoginResult* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata LoginResult::GetMetadata() const { ::google::protobuf::Metadata LoginResult::GetMetadata() const {
@@ -1096,8 +1089,7 @@ namespace Battlenet {
void LoginRefreshResult::Swap(LoginRefreshResult* other) { void LoginRefreshResult::Swap(LoginRefreshResult* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata LoginRefreshResult::GetMetadata() const { ::google::protobuf::Metadata LoginRefreshResult::GetMetadata() const {
@@ -1186,8 +1178,7 @@ namespace Battlenet {
void GameAccountInfo::Swap(GameAccountInfo* other) { void GameAccountInfo::Swap(GameAccountInfo* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata GameAccountInfo::GetMetadata() const { ::google::protobuf::Metadata GameAccountInfo::GetMetadata() const {
@@ -1258,8 +1249,7 @@ namespace Battlenet {
void GameAccountList::Swap(GameAccountList* other) { void GameAccountList::Swap(GameAccountList* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata GameAccountList::GetMetadata() const { ::google::protobuf::Metadata GameAccountList::GetMetadata() const {
+48 -96
View File
@@ -1244,8 +1244,7 @@ namespace Battlenet {
clear_has_input_id(); clear_has_input_id();
if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = input_id_; ::std::string* temp = input_id_;
input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1258,8 +1257,7 @@ namespace Battlenet {
if (input_id) { if (input_id) {
set_has_input_id(); set_has_input_id();
input_id_ = input_id; input_id_ = input_id;
} } else {
else {
clear_has_input_id(); clear_has_input_id();
input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1322,8 +1320,7 @@ namespace Battlenet {
clear_has_type(); clear_has_type();
if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = type_; ::std::string* temp = type_;
type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1336,8 +1333,7 @@ namespace Battlenet {
if (type) { if (type) {
set_has_type(); set_has_type();
type_ = type; type_ = type;
} } else {
else {
clear_has_type(); clear_has_type();
type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1400,8 +1396,7 @@ namespace Battlenet {
clear_has_label(); clear_has_label();
if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = label_; ::std::string* temp = label_;
label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1414,8 +1409,7 @@ namespace Battlenet {
if (label) { if (label) {
set_has_label(); set_has_label();
label_ = label; label_ = label;
} } else {
else {
clear_has_label(); clear_has_label();
label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1561,8 +1555,7 @@ namespace Battlenet {
clear_has_srp_url(); clear_has_srp_url();
if (srp_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (srp_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = srp_url_; ::std::string* temp = srp_url_;
srp_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); srp_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1575,8 +1568,7 @@ namespace Battlenet {
if (srp_url) { if (srp_url) {
set_has_srp_url(); set_has_srp_url();
srp_url_ = srp_url; srp_url_ = srp_url;
} } else {
else {
clear_has_srp_url(); clear_has_srp_url();
srp_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); srp_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1639,8 +1631,7 @@ namespace Battlenet {
clear_has_srp_js(); clear_has_srp_js();
if (srp_js_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (srp_js_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = srp_js_; ::std::string* temp = srp_js_;
srp_js_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); srp_js_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1653,8 +1644,7 @@ namespace Battlenet {
if (srp_js) { if (srp_js) {
set_has_srp_js(); set_has_srp_js();
srp_js_ = srp_js; srp_js_ = srp_js;
} } else {
else {
clear_has_srp_js(); clear_has_srp_js();
srp_js_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); srp_js_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1721,8 +1711,7 @@ namespace Battlenet {
clear_has_input_id(); clear_has_input_id();
if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = input_id_; ::std::string* temp = input_id_;
input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1735,8 +1724,7 @@ namespace Battlenet {
if (input_id) { if (input_id) {
set_has_input_id(); set_has_input_id();
input_id_ = input_id; input_id_ = input_id;
} } else {
else {
clear_has_input_id(); clear_has_input_id();
input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1799,8 +1787,7 @@ namespace Battlenet {
clear_has_value(); clear_has_value();
if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = value_; ::std::string* temp = value_;
value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1813,8 +1800,7 @@ namespace Battlenet {
if (value) { if (value) {
set_has_value(); set_has_value();
value_ = value; value_ = value;
} } else {
else {
clear_has_value(); clear_has_value();
value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1881,8 +1867,7 @@ namespace Battlenet {
clear_has_platform_id(); clear_has_platform_id();
if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = platform_id_; ::std::string* temp = platform_id_;
platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1895,8 +1880,7 @@ namespace Battlenet {
if (platform_id) { if (platform_id) {
set_has_platform_id(); set_has_platform_id();
platform_id_ = platform_id; platform_id_ = platform_id;
} } else {
else {
clear_has_platform_id(); clear_has_platform_id();
platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -1959,8 +1943,7 @@ namespace Battlenet {
clear_has_program_id(); clear_has_program_id();
if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = program_id_; ::std::string* temp = program_id_;
program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -1973,8 +1956,7 @@ namespace Battlenet {
if (program_id) { if (program_id) {
set_has_program_id(); set_has_program_id();
program_id_ = program_id; program_id_ = program_id;
} } else {
else {
clear_has_program_id(); clear_has_program_id();
program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2037,8 +2019,7 @@ namespace Battlenet {
clear_has_version(); clear_has_version();
if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = version_; ::std::string* temp = version_;
version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2051,8 +2032,7 @@ namespace Battlenet {
if (version) { if (version) {
set_has_version(); set_has_version();
version_ = version; version_ = version;
} } else {
else {
clear_has_version(); clear_has_version();
version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2221,8 +2201,7 @@ namespace Battlenet {
clear_has_modulus(); clear_has_modulus();
if (modulus_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (modulus_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = modulus_; ::std::string* temp = modulus_;
modulus_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); modulus_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2235,8 +2214,7 @@ namespace Battlenet {
if (modulus) { if (modulus) {
set_has_modulus(); set_has_modulus();
modulus_ = modulus; modulus_ = modulus;
} } else {
else {
clear_has_modulus(); clear_has_modulus();
modulus_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); modulus_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2299,8 +2277,7 @@ namespace Battlenet {
clear_has_generator(); clear_has_generator();
if (generator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (generator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = generator_; ::std::string* temp = generator_;
generator_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); generator_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2313,8 +2290,7 @@ namespace Battlenet {
if (generator) { if (generator) {
set_has_generator(); set_has_generator();
generator_ = generator; generator_ = generator;
} } else {
else {
clear_has_generator(); clear_has_generator();
generator_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); generator_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2377,8 +2353,7 @@ namespace Battlenet {
clear_has_hash_function(); clear_has_hash_function();
if (hash_function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (hash_function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = hash_function_; ::std::string* temp = hash_function_;
hash_function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); hash_function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2391,8 +2366,7 @@ namespace Battlenet {
if (hash_function) { if (hash_function) {
set_has_hash_function(); set_has_hash_function();
hash_function_ = hash_function; hash_function_ = hash_function;
} } else {
else {
clear_has_hash_function(); clear_has_hash_function();
hash_function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); hash_function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2455,8 +2429,7 @@ namespace Battlenet {
clear_has_username(); clear_has_username();
if (username_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (username_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = username_; ::std::string* temp = username_;
username_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2469,8 +2442,7 @@ namespace Battlenet {
if (username) { if (username) {
set_has_username(); set_has_username();
username_ = username; username_ = username;
} } else {
else {
clear_has_username(); clear_has_username();
username_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); username_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2533,8 +2505,7 @@ namespace Battlenet {
clear_has_salt(); clear_has_salt();
if (salt_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (salt_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = salt_; ::std::string* temp = salt_;
salt_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); salt_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2547,8 +2518,7 @@ namespace Battlenet {
if (salt) { if (salt) {
set_has_salt(); set_has_salt();
salt_ = salt; salt_ = salt;
} } else {
else {
clear_has_salt(); clear_has_salt();
salt_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); salt_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2611,8 +2581,7 @@ namespace Battlenet {
clear_has_public_b(); clear_has_public_b();
if (public_b_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (public_b_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = public_b_; ::std::string* temp = public_b_;
public_b_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); public_b_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2625,8 +2594,7 @@ namespace Battlenet {
if (public_b) { if (public_b) {
set_has_public_b(); set_has_public_b();
public_b_ = public_b; public_b_ = public_b;
} } else {
else {
clear_has_public_b(); clear_has_public_b();
public_b_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); public_b_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2742,8 +2710,7 @@ namespace Battlenet {
clear_has_error_code(); clear_has_error_code();
if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = error_code_; ::std::string* temp = error_code_;
error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2756,8 +2723,7 @@ namespace Battlenet {
if (error_code) { if (error_code) {
set_has_error_code(); set_has_error_code();
error_code_ = error_code; error_code_ = error_code;
} } else {
else {
clear_has_error_code(); clear_has_error_code();
error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2820,8 +2786,7 @@ namespace Battlenet {
clear_has_error_message(); clear_has_error_message();
if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = error_message_; ::std::string* temp = error_message_;
error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2834,8 +2799,7 @@ namespace Battlenet {
if (error_message) { if (error_message) {
set_has_error_message(); set_has_error_message();
error_message_ = error_message; error_message_ = error_message;
} } else {
else {
clear_has_error_message(); clear_has_error_message();
error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2898,8 +2862,7 @@ namespace Battlenet {
clear_has_url(); clear_has_url();
if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = url_; ::std::string* temp = url_;
url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2912,8 +2875,7 @@ namespace Battlenet {
if (url) { if (url) {
set_has_url(); set_has_url();
url_ = url; url_ = url;
} } else {
else {
clear_has_url(); clear_has_url();
url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2976,8 +2938,7 @@ namespace Battlenet {
clear_has_login_ticket(); clear_has_login_ticket();
if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = login_ticket_; ::std::string* temp = login_ticket_;
login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2990,8 +2951,7 @@ namespace Battlenet {
if (login_ticket) { if (login_ticket) {
set_has_login_ticket(); set_has_login_ticket();
login_ticket_ = login_ticket; login_ticket_ = login_ticket;
} } else {
else {
clear_has_login_ticket(); clear_has_login_ticket();
login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3054,8 +3014,7 @@ namespace Battlenet {
clear_has_server_evidence_m2(); clear_has_server_evidence_m2();
if (server_evidence_m2_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (server_evidence_m2_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = server_evidence_m2_; ::std::string* temp = server_evidence_m2_;
server_evidence_m2_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); server_evidence_m2_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3068,8 +3027,7 @@ namespace Battlenet {
if (server_evidence_m2) { if (server_evidence_m2) {
set_has_server_evidence_m2(); set_has_server_evidence_m2();
server_evidence_m2_ = server_evidence_m2; server_evidence_m2_ = server_evidence_m2;
} } else {
else {
clear_has_server_evidence_m2(); clear_has_server_evidence_m2();
server_evidence_m2_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); server_evidence_m2_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3132,8 +3090,7 @@ namespace Battlenet {
clear_has_next_url(); clear_has_next_url();
if (next_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (next_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = next_url_; ::std::string* temp = next_url_;
next_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); next_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3146,8 +3103,7 @@ namespace Battlenet {
if (next_url) { if (next_url) {
set_has_next_url(); set_has_next_url();
next_url_ = next_url; next_url_ = next_url;
} } else {
else {
clear_has_next_url(); clear_has_next_url();
next_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); next_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3266,8 +3222,7 @@ namespace Battlenet {
clear_has_display_name(); clear_has_display_name();
if (display_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (display_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = display_name_; ::std::string* temp = display_name_;
display_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); display_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3280,8 +3235,7 @@ namespace Battlenet {
if (display_name) { if (display_name) {
set_has_display_name(); set_has_display_name();
display_name_ = display_name; display_name_ = display_name;
} } else {
else {
clear_has_display_name(); clear_has_display_name();
display_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); display_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3440,8 +3394,7 @@ namespace Battlenet {
clear_has_suspension_reason(); clear_has_suspension_reason();
if (suspension_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (suspension_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = suspension_reason_; ::std::string* temp = suspension_reason_;
suspension_reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); suspension_reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3454,8 +3407,7 @@ namespace Battlenet {
if (suspension_reason) { if (suspension_reason) {
set_has_suspension_reason(); set_has_suspension_reason();
suspension_reason_ = suspension_reason; suspension_reason_ = suspension_reason;
} } else {
else {
clear_has_suspension_reason(); clear_has_suspension_reason();
suspension_reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); suspension_reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
+18 -36
View File
@@ -661,8 +661,7 @@ namespace JSON {
void RealmListTicketIdentity::Swap(RealmListTicketIdentity* other) { void RealmListTicketIdentity::Swap(RealmListTicketIdentity* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmListTicketIdentity::GetMetadata() const { ::google::protobuf::Metadata RealmListTicketIdentity::GetMetadata() const {
@@ -740,8 +739,7 @@ namespace JSON {
void ClientVersion::Swap(ClientVersion* other) { void ClientVersion::Swap(ClientVersion* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata ClientVersion::GetMetadata() const { ::google::protobuf::Metadata ClientVersion::GetMetadata() const {
@@ -854,8 +852,7 @@ namespace JSON {
void ClientInformation::Swap(ClientInformation* other) { void ClientInformation::Swap(ClientInformation* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata ClientInformation::GetMetadata() const { ::google::protobuf::Metadata ClientInformation::GetMetadata() const {
@@ -929,8 +926,7 @@ namespace JSON {
void RealmListTicketClientInformation::Swap(RealmListTicketClientInformation* other) { void RealmListTicketClientInformation::Swap(RealmListTicketClientInformation* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmListTicketClientInformation::GetMetadata() const { ::google::protobuf::Metadata RealmListTicketClientInformation::GetMetadata() const {
@@ -1004,8 +1000,7 @@ namespace JSON {
void RealmCharacterCountEntry::Swap(RealmCharacterCountEntry* other) { void RealmCharacterCountEntry::Swap(RealmCharacterCountEntry* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmCharacterCountEntry::GetMetadata() const { ::google::protobuf::Metadata RealmCharacterCountEntry::GetMetadata() const {
@@ -1076,8 +1071,7 @@ namespace JSON {
void RealmCharacterCountList::Swap(RealmCharacterCountList* other) { void RealmCharacterCountList::Swap(RealmCharacterCountList* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmCharacterCountList::GetMetadata() const { ::google::protobuf::Metadata RealmCharacterCountList::GetMetadata() const {
@@ -1151,8 +1145,7 @@ namespace JSON {
void RealmListRAFInfo::Swap(RealmListRAFInfo* other) { void RealmListRAFInfo::Swap(RealmListRAFInfo* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmListRAFInfo::GetMetadata() const { ::google::protobuf::Metadata RealmListRAFInfo::GetMetadata() const {
@@ -1252,8 +1245,7 @@ namespace JSON {
void RealmEntry::Swap(RealmEntry* other) { void RealmEntry::Swap(RealmEntry* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmEntry::GetMetadata() const { ::google::protobuf::Metadata RealmEntry::GetMetadata() const {
@@ -1331,8 +1323,7 @@ namespace JSON {
void RealmListUpdatePart::Swap(RealmListUpdatePart* other) { void RealmListUpdatePart::Swap(RealmListUpdatePart* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmListUpdatePart::GetMetadata() const { ::google::protobuf::Metadata RealmListUpdatePart::GetMetadata() const {
@@ -1403,8 +1394,7 @@ namespace JSON {
void RealmListUpdates::Swap(RealmListUpdates* other) { void RealmListUpdates::Swap(RealmListUpdates* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmListUpdates::GetMetadata() const { ::google::protobuf::Metadata RealmListUpdates::GetMetadata() const {
@@ -1477,8 +1467,7 @@ namespace JSON {
void UtilityInfo::Swap(UtilityInfo* other) { void UtilityInfo::Swap(UtilityInfo* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata UtilityInfo::GetMetadata() const { ::google::protobuf::Metadata UtilityInfo::GetMetadata() const {
@@ -1566,8 +1555,7 @@ namespace JSON {
void BleepToken::Swap(BleepToken* other) { void BleepToken::Swap(BleepToken* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata BleepToken::GetMetadata() const { ::google::protobuf::Metadata BleepToken::GetMetadata() const {
@@ -1649,8 +1637,7 @@ namespace JSON {
void IPAddress::Swap(IPAddress* other) { void IPAddress::Swap(IPAddress* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata IPAddress::GetMetadata() const { ::google::protobuf::Metadata IPAddress::GetMetadata() const {
@@ -1723,8 +1710,7 @@ namespace JSON {
void RealmIPAddressFamily::Swap(RealmIPAddressFamily* other) { void RealmIPAddressFamily::Swap(RealmIPAddressFamily* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmIPAddressFamily::GetMetadata() const { ::google::protobuf::Metadata RealmIPAddressFamily::GetMetadata() const {
@@ -1795,8 +1781,7 @@ namespace JSON {
void RealmListServerIPAddresses::Swap(RealmListServerIPAddresses* other) { void RealmListServerIPAddresses::Swap(RealmListServerIPAddresses* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmListServerIPAddresses::GetMetadata() const { ::google::protobuf::Metadata RealmListServerIPAddresses::GetMetadata() const {
@@ -1878,8 +1863,7 @@ namespace JSON {
void RealmJoinTicket::Swap(RealmJoinTicket* other) { void RealmJoinTicket::Swap(RealmJoinTicket* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata RealmJoinTicket::GetMetadata() const { ::google::protobuf::Metadata RealmJoinTicket::GetMetadata() const {
@@ -1971,8 +1955,7 @@ namespace JSON {
void BleepProxy::Swap(BleepProxy* other) { void BleepProxy::Swap(BleepProxy* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata BleepProxy::GetMetadata() const { ::google::protobuf::Metadata BleepProxy::GetMetadata() const {
@@ -2043,8 +2026,7 @@ namespace JSON {
void BleepProxyList::Swap(BleepProxyList* other) { void BleepProxyList::Swap(BleepProxyList* other) {
if (other != this) { if (other != this) {
GetReflection()->Swap(this, other); GetReflection()->Swap(this, other);}
}
} }
::google::protobuf::Metadata BleepProxyList::GetMetadata() const { ::google::protobuf::Metadata BleepProxyList::GetMetadata() const {
+31 -62
View File
@@ -2045,8 +2045,7 @@ namespace JSON {
clear_has_buildvariant(); clear_has_buildvariant();
if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = buildvariant_; ::std::string* temp = buildvariant_;
buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2059,8 +2058,7 @@ namespace JSON {
if (buildvariant) { if (buildvariant) {
set_has_buildvariant(); set_has_buildvariant();
buildvariant_ = buildvariant; buildvariant_ = buildvariant;
} } else {
else {
clear_has_buildvariant(); clear_has_buildvariant();
buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2147,8 +2145,7 @@ namespace JSON {
clear_has_timezone(); clear_has_timezone();
if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = timezone_; ::std::string* temp = timezone_;
timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2161,8 +2158,7 @@ namespace JSON {
if (timezone) { if (timezone) {
set_has_timezone(); set_has_timezone();
timezone_ = timezone; timezone_ = timezone;
} } else {
else {
clear_has_timezone(); clear_has_timezone();
timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2300,8 +2296,7 @@ namespace JSON {
version_ = version; version_ = version;
if (version) { if (version) {
set_has_version(); set_has_version();
} } else {
else {
clear_has_version(); clear_has_version();
} }
// @@protoc_insertion_point(field_set_allocated:JSON.RealmList.ClientInformation.version) // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.ClientInformation.version)
@@ -2363,8 +2358,7 @@ namespace JSON {
clear_has_secret(); clear_has_secret();
if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = secret_; ::std::string* temp = secret_;
secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2377,8 +2371,7 @@ namespace JSON {
if (secret) { if (secret) {
set_has_secret(); set_has_secret();
secret_ = secret; secret_ = secret;
} } else {
else {
clear_has_secret(); clear_has_secret();
secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2465,8 +2458,7 @@ namespace JSON {
clear_has_systemversion(); clear_has_systemversion();
if (systemversion_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (systemversion_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = systemversion_; ::std::string* temp = systemversion_;
systemversion_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); systemversion_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2479,8 +2471,7 @@ namespace JSON {
if (systemversion) { if (systemversion) {
set_has_systemversion(); set_has_systemversion();
systemversion_ = systemversion; systemversion_ = systemversion;
} } else {
else {
clear_has_systemversion(); clear_has_systemversion();
systemversion_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); systemversion_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -2574,8 +2565,7 @@ namespace JSON {
info_ = info; info_ = info;
if (info) { if (info) {
set_has_info(); set_has_info();
} } else {
else {
clear_has_info(); clear_has_info();
} }
// @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmListTicketClientInformation.info) // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmListTicketClientInformation.info)
@@ -2854,8 +2844,7 @@ namespace JSON {
version_ = version; version_ = version;
if (version) { if (version) {
set_has_version(); set_has_version();
} } else {
else {
clear_has_version(); clear_has_version();
} }
// @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmEntry.version) // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmEntry.version)
@@ -2965,8 +2954,7 @@ namespace JSON {
clear_has_name(); clear_has_name();
if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = name_; ::std::string* temp = name_;
name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -2979,8 +2967,7 @@ namespace JSON {
if (name) { if (name) {
set_has_name(); set_has_name();
name_ = name; name_ = name;
} } else {
else {
clear_has_name(); clear_has_name();
name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3146,8 +3133,7 @@ namespace JSON {
update_ = update; update_ = update;
if (update) { if (update) {
set_has_update(); set_has_update();
} } else {
else {
clear_has_update(); clear_has_update();
} }
// @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmListUpdatePart.update) // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmListUpdatePart.update)
@@ -3353,8 +3339,7 @@ namespace JSON {
clear_has_address(); clear_has_address();
if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = address_; ::std::string* temp = address_;
address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3367,8 +3352,7 @@ namespace JSON {
if (address) { if (address) {
set_has_address(); set_has_address();
address_ = address; address_ = address;
} } else {
else {
clear_has_address(); clear_has_address();
address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3431,8 +3415,7 @@ namespace JSON {
clear_has_token(); clear_has_token();
if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = token_; ::std::string* temp = token_;
token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3445,8 +3428,7 @@ namespace JSON {
if (token) { if (token) {
set_has_token(); set_has_token();
token_ = token; token_ = token;
} } else {
else {
clear_has_token(); clear_has_token();
token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3509,8 +3491,7 @@ namespace JSON {
clear_has_proxy_id(); clear_has_proxy_id();
if (proxy_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (proxy_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = proxy_id_; ::std::string* temp = proxy_id_;
proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3523,8 +3504,7 @@ namespace JSON {
if (proxy_id) { if (proxy_id) {
set_has_proxy_id(); set_has_proxy_id();
proxy_id_ = proxy_id; proxy_id_ = proxy_id;
} } else {
else {
clear_has_proxy_id(); clear_has_proxy_id();
proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3591,8 +3571,7 @@ namespace JSON {
clear_has_ip(); clear_has_ip();
if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = ip_; ::std::string* temp = ip_;
ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3605,8 +3584,7 @@ namespace JSON {
if (ip) { if (ip) {
set_has_ip(); set_has_ip();
ip_ = ip; ip_ = ip;
} } else {
else {
clear_has_ip(); clear_has_ip();
ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -3672,8 +3650,7 @@ namespace JSON {
token_ = token; token_ = token;
if (token) { if (token) {
set_has_token(); set_has_token();
} } else {
else {
clear_has_token(); clear_has_token();
} }
// @@protoc_insertion_point(field_set_allocated:JSON.RealmList.IPAddress.token) // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.IPAddress.token)
@@ -3831,8 +3808,7 @@ namespace JSON {
clear_has_gameaccount(); clear_has_gameaccount();
if (gameaccount_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (gameaccount_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = gameaccount_; ::std::string* temp = gameaccount_;
gameaccount_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); gameaccount_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -3845,8 +3821,7 @@ namespace JSON {
if (gameaccount) { if (gameaccount) {
set_has_gameaccount(); set_has_gameaccount();
gameaccount_ = gameaccount; gameaccount_ = gameaccount;
} } else {
else {
clear_has_gameaccount(); clear_has_gameaccount();
gameaccount_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); gameaccount_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -4033,8 +4008,7 @@ namespace JSON {
clear_has_address(); clear_has_address();
if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = address_; ::std::string* temp = address_;
address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -4047,8 +4021,7 @@ namespace JSON {
if (address) { if (address) {
set_has_address(); set_has_address();
address_ = address; address_ = address;
} } else {
else {
clear_has_address(); clear_has_address();
address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -4111,8 +4084,7 @@ namespace JSON {
clear_has_ping_token(); clear_has_ping_token();
if (ping_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (ping_token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = ping_token_; ::std::string* temp = ping_token_;
ping_token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ping_token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -4125,8 +4097,7 @@ namespace JSON {
if (ping_token) { if (ping_token) {
set_has_ping_token(); set_has_ping_token();
ping_token_ = ping_token; ping_token_ = ping_token;
} } else {
else {
clear_has_ping_token(); clear_has_ping_token();
ping_token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ping_token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }
@@ -4213,8 +4184,7 @@ namespace JSON {
clear_has_proxy_id(); clear_has_proxy_id();
if (proxy_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { if (proxy_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
return NULL; return NULL;
} } else {
else {
::std::string* temp = proxy_id_; ::std::string* temp = proxy_id_;
proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
return temp; return temp;
@@ -4227,8 +4197,7 @@ namespace JSON {
if (proxy_id) { if (proxy_id) {
set_has_proxy_id(); set_has_proxy_id();
proxy_id_ = proxy_id; proxy_id_ = proxy_id;
} } else {
else {
clear_has_proxy_id(); clear_has_proxy_id();
proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); proxy_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
} }