aboutsummaryrefslogtreecommitdiff
path: root/src/server/proto
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-03-28 17:12:57 +0200
committerShauren <shauren.trinity@gmail.com>2016-03-28 17:12:57 +0200
commitdde620c402daf4ea8d132fb72a77eabc22f7a6d0 (patch)
tree7c12161d7a22915736b0c9a106de896eeb283399 /src/server/proto
parent619669c6209441fc2fb5b483d553badee8c30ad5 (diff)
Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
Diffstat (limited to 'src/server/proto')
-rw-r--r--src/server/proto/Login/Login.pb.cc695
-rw-r--r--src/server/proto/Login/Login.pb.h1701
-rw-r--r--src/server/proto/Login/Login.proto48
-rw-r--r--src/server/proto/PrecompiledHeaders/protoPCH.h2
-rw-r--r--src/server/proto/RealmList/RealmList.pb.cc1381
-rw-r--r--src/server/proto/RealmList/RealmList.pb.h2483
-rw-r--r--src/server/proto/RealmList/RealmList.proto79
7 files changed, 6389 insertions, 0 deletions
diff --git a/src/server/proto/Login/Login.pb.cc b/src/server/proto/Login/Login.pb.cc
new file mode 100644
index 00000000000..7e1cd22b1ec
--- /dev/null
+++ b/src/server/proto/Login/Login.pb.cc
@@ -0,0 +1,695 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: Login.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "Login.pb.h"
+
+#include <algorithm>
+#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>
+#include "Log.h"
+// @@protoc_insertion_point(includes)
+
+// Fix stupid windows.h included from Log.h->Common.h
+#ifdef SendMessage
+#undef SendMessage
+#endif
+
+namespace Battlenet {
+namespace JSON {
+namespace Login {
+
+namespace {
+
+const ::google::protobuf::Descriptor* FormInput_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ FormInput_reflection_ = NULL;
+const ::google::protobuf::Descriptor* FormInputs_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ FormInputs_reflection_ = NULL;
+const ::google::protobuf::Descriptor* FormInputValue_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ FormInputValue_reflection_ = NULL;
+const ::google::protobuf::Descriptor* LoginForm_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ LoginForm_reflection_ = NULL;
+const ::google::protobuf::Descriptor* LoginResult_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ LoginResult_reflection_ = NULL;
+const ::google::protobuf::EnumDescriptor* FormType_descriptor_ = NULL;
+const ::google::protobuf::EnumDescriptor* AuthenticationState_descriptor_ = NULL;
+
+} // namespace
+
+
+void protobuf_AssignDesc_Login_2eproto() {
+ protobuf_AddDesc_Login_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "Login.proto");
+ GOOGLE_CHECK(file != NULL);
+ FormInput_descriptor_ = file->message_type(0);
+ static const int FormInput_offsets_[4] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInput, input_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInput, type_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInput, label_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInput, max_length_),
+ };
+ FormInput_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ FormInput_descriptor_,
+ FormInput::default_instance_,
+ FormInput_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInput, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInput, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(FormInput));
+ FormInputs_descriptor_ = file->message_type(1);
+ static const int FormInputs_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputs, type_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputs, inputs_),
+ };
+ FormInputs_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ FormInputs_descriptor_,
+ FormInputs::default_instance_,
+ FormInputs_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputs, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputs, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(FormInputs));
+ FormInputValue_descriptor_ = file->message_type(2);
+ static const int FormInputValue_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputValue, input_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputValue, value_),
+ };
+ FormInputValue_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ FormInputValue_descriptor_,
+ FormInputValue::default_instance_,
+ FormInputValue_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputValue, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FormInputValue, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(FormInputValue));
+ LoginForm_descriptor_ = file->message_type(3);
+ static const int LoginForm_offsets_[4] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginForm, platform_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginForm, program_id_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginForm, version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginForm, inputs_),
+ };
+ LoginForm_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ LoginForm_descriptor_,
+ LoginForm::default_instance_,
+ LoginForm_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginForm, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginForm, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(LoginForm));
+ LoginResult_descriptor_ = file->message_type(4);
+ static const int LoginResult_offsets_[5] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, authentication_state_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, error_code_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, error_message_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, url_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, login_ticket_),
+ };
+ LoginResult_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ LoginResult_descriptor_,
+ LoginResult::default_instance_,
+ LoginResult_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LoginResult, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(LoginResult));
+ FormType_descriptor_ = file->enum_type(0);
+ AuthenticationState_descriptor_ = file->enum_type(1);
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_Login_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ FormInput_descriptor_, &FormInput::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ FormInputs_descriptor_, &FormInputs::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ FormInputValue_descriptor_, &FormInputValue::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ LoginForm_descriptor_, &LoginForm::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ LoginResult_descriptor_, &LoginResult::default_instance());
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_Login_2eproto() {
+ delete FormInput::default_instance_;
+ delete FormInput_reflection_;
+ delete FormInputs::default_instance_;
+ delete FormInputs_reflection_;
+ delete FormInputValue::default_instance_;
+ delete FormInputValue_reflection_;
+ delete LoginForm::default_instance_;
+ delete LoginForm_reflection_;
+ delete LoginResult::default_instance_;
+ delete LoginResult_reflection_;
+}
+
+void protobuf_AddDesc_Login_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n\013Login.proto\022\024Battlenet.JSON.Login\"N\n\tF"
+ "ormInput\022\020\n\010input_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\t"
+ "\022\r\n\005label\030\003 \002(\t\022\022\n\nmax_length\030\004 \001(\r\"k\n\nF"
+ "ormInputs\022,\n\004type\030\001 \002(\0162\036.Battlenet.JSON"
+ ".Login.FormType\022/\n\006inputs\030\002 \003(\0132\037.Battle"
+ "net.JSON.Login.FormInput\"1\n\016FormInputVal"
+ "ue\022\020\n\010input_id\030\001 \002(\t\022\r\n\005value\030\002 \002(\t\"{\n\tL"
+ "oginForm\022\023\n\013platform_id\030\001 \002(\t\022\022\n\nprogram"
+ "_id\030\002 \002(\t\022\017\n\007version\030\003 \002(\t\0224\n\006inputs\030\004 \003"
+ "(\0132$.Battlenet.JSON.Login.FormInputValue"
+ "\"\244\001\n\013LoginResult\022G\n\024authentication_state"
+ "\030\001 \002(\0162).Battlenet.JSON.Login.Authentica"
+ "tionState\022\022\n\nerror_code\030\002 \001(\t\022\025\n\rerror_m"
+ "essage\030\003 \001(\t\022\013\n\003url\030\004 \001(\t\022\024\n\014login_ticke"
+ "t\030\005 \001(\t*\032\n\010FormType\022\016\n\nLOGIN_FORM\020\001*H\n\023A"
+ "uthenticationState\022\t\n\005LOGIN\020\001\022\t\n\005LEGAL\020\002"
+ "\022\021\n\rAUTHENTICATOR\020\003\022\010\n\004DONE\020\004B\002H\002", 673);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "Login.proto", &protobuf_RegisterTypes);
+ FormInput::default_instance_ = new FormInput();
+ FormInputs::default_instance_ = new FormInputs();
+ FormInputValue::default_instance_ = new FormInputValue();
+ LoginForm::default_instance_ = new LoginForm();
+ LoginResult::default_instance_ = new LoginResult();
+ FormInput::default_instance_->InitAsDefaultInstance();
+ FormInputs::default_instance_->InitAsDefaultInstance();
+ FormInputValue::default_instance_->InitAsDefaultInstance();
+ LoginForm::default_instance_->InitAsDefaultInstance();
+ LoginResult::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_Login_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_Login_2eproto {
+ StaticDescriptorInitializer_Login_2eproto() {
+ protobuf_AddDesc_Login_2eproto();
+ }
+} static_descriptor_initializer_Login_2eproto_;
+const ::google::protobuf::EnumDescriptor* FormType_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return FormType_descriptor_;
+}
+bool FormType_IsValid(int value) {
+ switch(value) {
+ case 1:
+ return true;
+ default:
+ return false;
+ }
+}
+
+const ::google::protobuf::EnumDescriptor* AuthenticationState_descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return AuthenticationState_descriptor_;
+}
+bool AuthenticationState_IsValid(int value) {
+ switch(value) {
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ return true;
+ default:
+ return false;
+ }
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int FormInput::kInputIdFieldNumber;
+const int FormInput::kTypeFieldNumber;
+const int FormInput::kLabelFieldNumber;
+const int FormInput::kMaxLengthFieldNumber;
+#endif // !_MSC_VER
+
+FormInput::FormInput()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Battlenet.JSON.Login.FormInput)
+}
+
+void FormInput::InitAsDefaultInstance() {
+}
+
+FormInput::FormInput(const FormInput& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:Battlenet.JSON.Login.FormInput)
+}
+
+void FormInput::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ max_length_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+FormInput::~FormInput() {
+ // @@protoc_insertion_point(destructor:Battlenet.JSON.Login.FormInput)
+ SharedDtor();
+}
+
+void FormInput::SharedDtor() {
+ if (input_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete input_id_;
+ }
+ if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete type_;
+ }
+ if (label_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete label_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void FormInput::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* FormInput::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return FormInput_descriptor_;
+}
+
+const FormInput& FormInput::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_Login_2eproto();
+ return *default_instance_;
+}
+
+FormInput* FormInput::default_instance_ = NULL;
+
+FormInput* FormInput::New() const {
+ return new FormInput;
+}
+
+void FormInput::Swap(FormInput* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata FormInput::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = FormInput_descriptor_;
+ metadata.reflection = FormInput_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int FormInputs::kTypeFieldNumber;
+const int FormInputs::kInputsFieldNumber;
+#endif // !_MSC_VER
+
+FormInputs::FormInputs()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Battlenet.JSON.Login.FormInputs)
+}
+
+void FormInputs::InitAsDefaultInstance() {
+}
+
+FormInputs::FormInputs(const FormInputs& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:Battlenet.JSON.Login.FormInputs)
+}
+
+void FormInputs::SharedCtor() {
+ _cached_size_ = 0;
+ type_ = 1;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+FormInputs::~FormInputs() {
+ // @@protoc_insertion_point(destructor:Battlenet.JSON.Login.FormInputs)
+ SharedDtor();
+}
+
+void FormInputs::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void FormInputs::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* FormInputs::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return FormInputs_descriptor_;
+}
+
+const FormInputs& FormInputs::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_Login_2eproto();
+ return *default_instance_;
+}
+
+FormInputs* FormInputs::default_instance_ = NULL;
+
+FormInputs* FormInputs::New() const {
+ return new FormInputs;
+}
+
+void FormInputs::Swap(FormInputs* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata FormInputs::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = FormInputs_descriptor_;
+ metadata.reflection = FormInputs_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int FormInputValue::kInputIdFieldNumber;
+const int FormInputValue::kValueFieldNumber;
+#endif // !_MSC_VER
+
+FormInputValue::FormInputValue()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Battlenet.JSON.Login.FormInputValue)
+}
+
+void FormInputValue::InitAsDefaultInstance() {
+}
+
+FormInputValue::FormInputValue(const FormInputValue& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:Battlenet.JSON.Login.FormInputValue)
+}
+
+void FormInputValue::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+FormInputValue::~FormInputValue() {
+ // @@protoc_insertion_point(destructor:Battlenet.JSON.Login.FormInputValue)
+ SharedDtor();
+}
+
+void FormInputValue::SharedDtor() {
+ if (input_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete input_id_;
+ }
+ if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete value_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void FormInputValue::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* FormInputValue::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return FormInputValue_descriptor_;
+}
+
+const FormInputValue& FormInputValue::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_Login_2eproto();
+ return *default_instance_;
+}
+
+FormInputValue* FormInputValue::default_instance_ = NULL;
+
+FormInputValue* FormInputValue::New() const {
+ return new FormInputValue;
+}
+
+void FormInputValue::Swap(FormInputValue* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata FormInputValue::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = FormInputValue_descriptor_;
+ metadata.reflection = FormInputValue_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int LoginForm::kPlatformIdFieldNumber;
+const int LoginForm::kProgramIdFieldNumber;
+const int LoginForm::kVersionFieldNumber;
+const int LoginForm::kInputsFieldNumber;
+#endif // !_MSC_VER
+
+LoginForm::LoginForm()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Battlenet.JSON.Login.LoginForm)
+}
+
+void LoginForm::InitAsDefaultInstance() {
+}
+
+LoginForm::LoginForm(const LoginForm& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:Battlenet.JSON.Login.LoginForm)
+}
+
+void LoginForm::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+LoginForm::~LoginForm() {
+ // @@protoc_insertion_point(destructor:Battlenet.JSON.Login.LoginForm)
+ SharedDtor();
+}
+
+void LoginForm::SharedDtor() {
+ if (platform_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete platform_id_;
+ }
+ if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete program_id_;
+ }
+ if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete version_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void LoginForm::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* LoginForm::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return LoginForm_descriptor_;
+}
+
+const LoginForm& LoginForm::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_Login_2eproto();
+ return *default_instance_;
+}
+
+LoginForm* LoginForm::default_instance_ = NULL;
+
+LoginForm* LoginForm::New() const {
+ return new LoginForm;
+}
+
+void LoginForm::Swap(LoginForm* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata LoginForm::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = LoginForm_descriptor_;
+ metadata.reflection = LoginForm_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int LoginResult::kAuthenticationStateFieldNumber;
+const int LoginResult::kErrorCodeFieldNumber;
+const int LoginResult::kErrorMessageFieldNumber;
+const int LoginResult::kUrlFieldNumber;
+const int LoginResult::kLoginTicketFieldNumber;
+#endif // !_MSC_VER
+
+LoginResult::LoginResult()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Battlenet.JSON.Login.LoginResult)
+}
+
+void LoginResult::InitAsDefaultInstance() {
+}
+
+LoginResult::LoginResult(const LoginResult& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:Battlenet.JSON.Login.LoginResult)
+}
+
+void LoginResult::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ authentication_state_ = 1;
+ error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+LoginResult::~LoginResult() {
+ // @@protoc_insertion_point(destructor:Battlenet.JSON.Login.LoginResult)
+ SharedDtor();
+}
+
+void LoginResult::SharedDtor() {
+ if (error_code_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete error_code_;
+ }
+ if (error_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete error_message_;
+ }
+ if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete url_;
+ }
+ if (login_ticket_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete login_ticket_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void LoginResult::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* LoginResult::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return LoginResult_descriptor_;
+}
+
+const LoginResult& LoginResult::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_Login_2eproto();
+ return *default_instance_;
+}
+
+LoginResult* LoginResult::default_instance_ = NULL;
+
+LoginResult* LoginResult::New() const {
+ return new LoginResult;
+}
+
+void LoginResult::Swap(LoginResult* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata LoginResult::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = LoginResult_descriptor_;
+ metadata.reflection = LoginResult_reflection_;
+ return metadata;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace Login
+} // namespace JSON
+} // namespace Battlenet
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/Login/Login.pb.h b/src/server/proto/Login/Login.pb.h
new file mode 100644
index 00000000000..1f14385afde
--- /dev/null
+++ b/src/server/proto/Login/Login.pb.h
@@ -0,0 +1,1701 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: Login.proto
+
+#ifndef PROTOBUF_Login_2eproto__INCLUDED
+#define PROTOBUF_Login_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2006000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/message.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/generated_enum_reflection.h>
+#include <google/protobuf/unknown_field_set.h>
+#include "Define.h" // for TC_SHARED_API
+// @@protoc_insertion_point(includes)
+
+namespace Battlenet {
+namespace JSON {
+namespace Login {
+
+// Internal implementation detail -- do not call these.
+void TC_SHARED_API protobuf_AddDesc_Login_2eproto();
+void protobuf_AssignDesc_Login_2eproto();
+void protobuf_ShutdownFile_Login_2eproto();
+
+class FormInput;
+class FormInputs;
+class FormInputValue;
+class LoginForm;
+class LoginResult;
+
+enum FormType {
+ LOGIN_FORM = 1
+};
+TC_SHARED_API bool FormType_IsValid(int value);
+const FormType FormType_MIN = LOGIN_FORM;
+const FormType FormType_MAX = LOGIN_FORM;
+const int FormType_ARRAYSIZE = FormType_MAX + 1;
+
+TC_SHARED_API const ::google::protobuf::EnumDescriptor* FormType_descriptor();
+inline const ::std::string& FormType_Name(FormType value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ FormType_descriptor(), value);
+}
+inline bool FormType_Parse(
+ const ::std::string& name, FormType* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<FormType>(
+ FormType_descriptor(), name, value);
+}
+enum AuthenticationState {
+ LOGIN = 1,
+ LEGAL = 2,
+ AUTHENTICATOR = 3,
+ DONE = 4
+};
+TC_SHARED_API bool AuthenticationState_IsValid(int value);
+const AuthenticationState AuthenticationState_MIN = LOGIN;
+const AuthenticationState AuthenticationState_MAX = DONE;
+const int AuthenticationState_ARRAYSIZE = AuthenticationState_MAX + 1;
+
+TC_SHARED_API const ::google::protobuf::EnumDescriptor* AuthenticationState_descriptor();
+inline const ::std::string& AuthenticationState_Name(AuthenticationState value) {
+ return ::google::protobuf::internal::NameOfEnum(
+ AuthenticationState_descriptor(), value);
+}
+inline bool AuthenticationState_Parse(
+ const ::std::string& name, AuthenticationState* value) {
+ return ::google::protobuf::internal::ParseNamedEnum<AuthenticationState>(
+ AuthenticationState_descriptor(), name, value);
+}
+// ===================================================================
+
+class TC_SHARED_API FormInput : public ::google::protobuf::Message {
+ public:
+ FormInput();
+ virtual ~FormInput();
+
+ FormInput(const FormInput& from);
+
+ inline FormInput& operator=(const FormInput& 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 FormInput& default_instance();
+
+ void Swap(FormInput* other);
+
+ // implements Message ----------------------------------------------
+
+ FormInput* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required string input_id = 1;
+ inline bool has_input_id() const;
+ inline void clear_input_id();
+ static const int kInputIdFieldNumber = 1;
+ inline const ::std::string& input_id() const;
+ inline void set_input_id(const ::std::string& value);
+ inline void set_input_id(const char* value);
+ inline void set_input_id(const char* value, size_t size);
+ inline ::std::string* mutable_input_id();
+ inline ::std::string* release_input_id();
+ inline void set_allocated_input_id(::std::string* input_id);
+
+ // required string type = 2;
+ inline bool has_type() const;
+ inline void clear_type();
+ static const int kTypeFieldNumber = 2;
+ inline const ::std::string& type() const;
+ inline void set_type(const ::std::string& value);
+ inline void set_type(const char* value);
+ inline void set_type(const char* value, size_t size);
+ inline ::std::string* mutable_type();
+ inline ::std::string* release_type();
+ inline void set_allocated_type(::std::string* type);
+
+ // required string label = 3;
+ inline bool has_label() const;
+ inline void clear_label();
+ static const int kLabelFieldNumber = 3;
+ inline const ::std::string& label() const;
+ inline void set_label(const ::std::string& value);
+ inline void set_label(const char* value);
+ inline void set_label(const char* value, size_t size);
+ inline ::std::string* mutable_label();
+ inline ::std::string* release_label();
+ inline void set_allocated_label(::std::string* label);
+
+ // optional uint32 max_length = 4;
+ inline bool has_max_length() const;
+ inline void clear_max_length();
+ static const int kMaxLengthFieldNumber = 4;
+ inline ::google::protobuf::uint32 max_length() const;
+ inline void set_max_length(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:Battlenet.JSON.Login.FormInput)
+ private:
+ inline void set_has_input_id();
+ inline void clear_has_input_id();
+ inline void set_has_type();
+ inline void clear_has_type();
+ inline void set_has_label();
+ inline void clear_has_label();
+ inline void set_has_max_length();
+ inline void clear_has_max_length();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* input_id_;
+ ::std::string* type_;
+ ::std::string* label_;
+ ::google::protobuf::uint32 max_length_;
+ friend void TC_SHARED_API protobuf_AddDesc_Login_2eproto();
+ friend void protobuf_AssignDesc_Login_2eproto();
+ friend void protobuf_ShutdownFile_Login_2eproto();
+
+ void InitAsDefaultInstance();
+ static FormInput* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API FormInputs : public ::google::protobuf::Message {
+ public:
+ FormInputs();
+ virtual ~FormInputs();
+
+ FormInputs(const FormInputs& from);
+
+ inline FormInputs& operator=(const FormInputs& 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 FormInputs& default_instance();
+
+ void Swap(FormInputs* other);
+
+ // implements Message ----------------------------------------------
+
+ FormInputs* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required .Battlenet.JSON.Login.FormType type = 1;
+ inline bool has_type() const;
+ inline void clear_type();
+ static const int kTypeFieldNumber = 1;
+ inline ::Battlenet::JSON::Login::FormType type() const;
+ inline void set_type(::Battlenet::JSON::Login::FormType value);
+
+ // repeated .Battlenet.JSON.Login.FormInput inputs = 2;
+ inline int inputs_size() const;
+ inline void clear_inputs();
+ static const int kInputsFieldNumber = 2;
+ inline const ::Battlenet::JSON::Login::FormInput& inputs(int index) const;
+ inline ::Battlenet::JSON::Login::FormInput* mutable_inputs(int index);
+ inline ::Battlenet::JSON::Login::FormInput* add_inputs();
+ inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >&
+ inputs() const;
+ inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >*
+ mutable_inputs();
+
+ // @@protoc_insertion_point(class_scope:Battlenet.JSON.Login.FormInputs)
+ private:
+ inline void set_has_type();
+ inline void clear_has_type();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput > inputs_;
+ int type_;
+ friend void TC_SHARED_API protobuf_AddDesc_Login_2eproto();
+ friend void protobuf_AssignDesc_Login_2eproto();
+ friend void protobuf_ShutdownFile_Login_2eproto();
+
+ void InitAsDefaultInstance();
+ static FormInputs* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API FormInputValue : public ::google::protobuf::Message {
+ public:
+ FormInputValue();
+ virtual ~FormInputValue();
+
+ FormInputValue(const FormInputValue& from);
+
+ inline FormInputValue& operator=(const FormInputValue& 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 FormInputValue& default_instance();
+
+ void Swap(FormInputValue* other);
+
+ // implements Message ----------------------------------------------
+
+ FormInputValue* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required string input_id = 1;
+ inline bool has_input_id() const;
+ inline void clear_input_id();
+ static const int kInputIdFieldNumber = 1;
+ inline const ::std::string& input_id() const;
+ inline void set_input_id(const ::std::string& value);
+ inline void set_input_id(const char* value);
+ inline void set_input_id(const char* value, size_t size);
+ inline ::std::string* mutable_input_id();
+ inline ::std::string* release_input_id();
+ inline void set_allocated_input_id(::std::string* input_id);
+
+ // required string value = 2;
+ inline bool has_value() const;
+ inline void clear_value();
+ static const int kValueFieldNumber = 2;
+ inline const ::std::string& value() const;
+ inline void set_value(const ::std::string& value);
+ inline void set_value(const char* value);
+ inline void set_value(const char* value, size_t size);
+ inline ::std::string* mutable_value();
+ inline ::std::string* release_value();
+ inline void set_allocated_value(::std::string* value);
+
+ // @@protoc_insertion_point(class_scope:Battlenet.JSON.Login.FormInputValue)
+ private:
+ inline void set_has_input_id();
+ inline void clear_has_input_id();
+ inline void set_has_value();
+ inline void clear_has_value();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* input_id_;
+ ::std::string* value_;
+ friend void TC_SHARED_API protobuf_AddDesc_Login_2eproto();
+ friend void protobuf_AssignDesc_Login_2eproto();
+ friend void protobuf_ShutdownFile_Login_2eproto();
+
+ void InitAsDefaultInstance();
+ static FormInputValue* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API LoginForm : public ::google::protobuf::Message {
+ public:
+ LoginForm();
+ virtual ~LoginForm();
+
+ LoginForm(const LoginForm& from);
+
+ inline LoginForm& operator=(const LoginForm& 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 LoginForm& default_instance();
+
+ void Swap(LoginForm* other);
+
+ // implements Message ----------------------------------------------
+
+ LoginForm* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required string platform_id = 1;
+ inline bool has_platform_id() const;
+ inline void clear_platform_id();
+ static const int kPlatformIdFieldNumber = 1;
+ inline const ::std::string& platform_id() const;
+ inline void set_platform_id(const ::std::string& value);
+ inline void set_platform_id(const char* value);
+ inline void set_platform_id(const char* value, size_t size);
+ inline ::std::string* mutable_platform_id();
+ inline ::std::string* release_platform_id();
+ inline void set_allocated_platform_id(::std::string* platform_id);
+
+ // required string program_id = 2;
+ inline bool has_program_id() const;
+ inline void clear_program_id();
+ static const int kProgramIdFieldNumber = 2;
+ inline const ::std::string& program_id() const;
+ inline void set_program_id(const ::std::string& value);
+ inline void set_program_id(const char* value);
+ inline void set_program_id(const char* value, size_t size);
+ inline ::std::string* mutable_program_id();
+ inline ::std::string* release_program_id();
+ inline void set_allocated_program_id(::std::string* program_id);
+
+ // required string version = 3;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 3;
+ inline const ::std::string& version() const;
+ inline void set_version(const ::std::string& value);
+ inline void set_version(const char* value);
+ inline void set_version(const char* value, size_t size);
+ inline ::std::string* mutable_version();
+ inline ::std::string* release_version();
+ inline void set_allocated_version(::std::string* version);
+
+ // repeated .Battlenet.JSON.Login.FormInputValue inputs = 4;
+ inline int inputs_size() const;
+ inline void clear_inputs();
+ static const int kInputsFieldNumber = 4;
+ inline const ::Battlenet::JSON::Login::FormInputValue& inputs(int index) const;
+ inline ::Battlenet::JSON::Login::FormInputValue* mutable_inputs(int index);
+ inline ::Battlenet::JSON::Login::FormInputValue* add_inputs();
+ inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >&
+ inputs() const;
+ inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >*
+ mutable_inputs();
+
+ // @@protoc_insertion_point(class_scope:Battlenet.JSON.Login.LoginForm)
+ private:
+ inline void set_has_platform_id();
+ inline void clear_has_platform_id();
+ inline void set_has_program_id();
+ inline void clear_has_program_id();
+ inline void set_has_version();
+ inline void clear_has_version();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* platform_id_;
+ ::std::string* program_id_;
+ ::std::string* version_;
+ ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue > inputs_;
+ friend void TC_SHARED_API protobuf_AddDesc_Login_2eproto();
+ friend void protobuf_AssignDesc_Login_2eproto();
+ friend void protobuf_ShutdownFile_Login_2eproto();
+
+ void InitAsDefaultInstance();
+ static LoginForm* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API LoginResult : public ::google::protobuf::Message {
+ public:
+ LoginResult();
+ virtual ~LoginResult();
+
+ LoginResult(const LoginResult& from);
+
+ inline LoginResult& operator=(const LoginResult& 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 LoginResult& default_instance();
+
+ void Swap(LoginResult* other);
+
+ // implements Message ----------------------------------------------
+
+ LoginResult* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required .Battlenet.JSON.Login.AuthenticationState authentication_state = 1;
+ inline bool has_authentication_state() const;
+ inline void clear_authentication_state();
+ static const int kAuthenticationStateFieldNumber = 1;
+ inline ::Battlenet::JSON::Login::AuthenticationState authentication_state() const;
+ inline void set_authentication_state(::Battlenet::JSON::Login::AuthenticationState value);
+
+ // optional string error_code = 2;
+ inline bool has_error_code() const;
+ inline void clear_error_code();
+ static const int kErrorCodeFieldNumber = 2;
+ inline const ::std::string& error_code() const;
+ inline void set_error_code(const ::std::string& value);
+ inline void set_error_code(const char* value);
+ inline void set_error_code(const char* value, size_t size);
+ inline ::std::string* mutable_error_code();
+ inline ::std::string* release_error_code();
+ inline void set_allocated_error_code(::std::string* error_code);
+
+ // optional string error_message = 3;
+ inline bool has_error_message() const;
+ inline void clear_error_message();
+ static const int kErrorMessageFieldNumber = 3;
+ inline const ::std::string& error_message() const;
+ inline void set_error_message(const ::std::string& value);
+ inline void set_error_message(const char* value);
+ inline void set_error_message(const char* value, size_t size);
+ inline ::std::string* mutable_error_message();
+ inline ::std::string* release_error_message();
+ inline void set_allocated_error_message(::std::string* error_message);
+
+ // optional string url = 4;
+ inline bool has_url() const;
+ inline void clear_url();
+ static const int kUrlFieldNumber = 4;
+ inline const ::std::string& url() const;
+ inline void set_url(const ::std::string& value);
+ inline void set_url(const char* value);
+ inline void set_url(const char* value, size_t size);
+ inline ::std::string* mutable_url();
+ inline ::std::string* release_url();
+ inline void set_allocated_url(::std::string* url);
+
+ // optional string login_ticket = 5;
+ inline bool has_login_ticket() const;
+ inline void clear_login_ticket();
+ static const int kLoginTicketFieldNumber = 5;
+ inline const ::std::string& login_ticket() const;
+ inline void set_login_ticket(const ::std::string& value);
+ inline void set_login_ticket(const char* value);
+ inline void set_login_ticket(const char* value, size_t size);
+ inline ::std::string* mutable_login_ticket();
+ inline ::std::string* release_login_ticket();
+ inline void set_allocated_login_ticket(::std::string* login_ticket);
+
+ // @@protoc_insertion_point(class_scope:Battlenet.JSON.Login.LoginResult)
+ private:
+ inline void set_has_authentication_state();
+ inline void clear_has_authentication_state();
+ inline void set_has_error_code();
+ inline void clear_has_error_code();
+ inline void set_has_error_message();
+ inline void clear_has_error_message();
+ inline void set_has_url();
+ inline void clear_has_url();
+ inline void set_has_login_ticket();
+ inline void clear_has_login_ticket();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* error_code_;
+ ::std::string* error_message_;
+ ::std::string* url_;
+ ::std::string* login_ticket_;
+ int authentication_state_;
+ friend void TC_SHARED_API protobuf_AddDesc_Login_2eproto();
+ friend void protobuf_AssignDesc_Login_2eproto();
+ friend void protobuf_ShutdownFile_Login_2eproto();
+
+ void InitAsDefaultInstance();
+ static LoginResult* default_instance_;
+};
+// ===================================================================
+
+
+// ===================================================================
+
+
+// ===================================================================
+
+// FormInput
+
+// required string input_id = 1;
+inline bool FormInput::has_input_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void FormInput::set_has_input_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void FormInput::clear_has_input_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void FormInput::clear_input_id() {
+ if (input_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_->clear();
+ }
+ clear_has_input_id();
+}
+inline const ::std::string& FormInput::input_id() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInput.input_id)
+ return *input_id_;
+}
+inline void FormInput::set_input_id(const ::std::string& value) {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ input_id_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInput.input_id)
+}
+inline void FormInput::set_input_id(const char* value) {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ input_id_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.FormInput.input_id)
+}
+inline void FormInput::set_input_id(const char* value, size_t size) {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ input_id_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.FormInput.input_id)
+}
+inline ::std::string* FormInput::mutable_input_id() {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.FormInput.input_id)
+ return input_id_;
+}
+inline ::std::string* FormInput::release_input_id() {
+ clear_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = input_id_;
+ input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void FormInput::set_allocated_input_id(::std::string* input_id) {
+ if (input_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete input_id_;
+ }
+ if (input_id) {
+ set_has_input_id();
+ input_id_ = input_id;
+ } else {
+ clear_has_input_id();
+ input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.FormInput.input_id)
+}
+
+// required string type = 2;
+inline bool FormInput::has_type() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void FormInput::set_has_type() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void FormInput::clear_has_type() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void FormInput::clear_type() {
+ if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ type_->clear();
+ }
+ clear_has_type();
+}
+inline const ::std::string& FormInput::type() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInput.type)
+ return *type_;
+}
+inline void FormInput::set_type(const ::std::string& value) {
+ set_has_type();
+ if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ type_ = new ::std::string;
+ }
+ type_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInput.type)
+}
+inline void FormInput::set_type(const char* value) {
+ set_has_type();
+ if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ type_ = new ::std::string;
+ }
+ type_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.FormInput.type)
+}
+inline void FormInput::set_type(const char* value, size_t size) {
+ set_has_type();
+ if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ type_ = new ::std::string;
+ }
+ type_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.FormInput.type)
+}
+inline ::std::string* FormInput::mutable_type() {
+ set_has_type();
+ if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ type_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.FormInput.type)
+ return type_;
+}
+inline ::std::string* FormInput::release_type() {
+ clear_has_type();
+ if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = type_;
+ type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void FormInput::set_allocated_type(::std::string* type) {
+ if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete type_;
+ }
+ if (type) {
+ set_has_type();
+ type_ = type;
+ } else {
+ clear_has_type();
+ type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.FormInput.type)
+}
+
+// required string label = 3;
+inline bool FormInput::has_label() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void FormInput::set_has_label() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void FormInput::clear_has_label() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void FormInput::clear_label() {
+ if (label_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ label_->clear();
+ }
+ clear_has_label();
+}
+inline const ::std::string& FormInput::label() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInput.label)
+ return *label_;
+}
+inline void FormInput::set_label(const ::std::string& value) {
+ set_has_label();
+ if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ label_ = new ::std::string;
+ }
+ label_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInput.label)
+}
+inline void FormInput::set_label(const char* value) {
+ set_has_label();
+ if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ label_ = new ::std::string;
+ }
+ label_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.FormInput.label)
+}
+inline void FormInput::set_label(const char* value, size_t size) {
+ set_has_label();
+ if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ label_ = new ::std::string;
+ }
+ label_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.FormInput.label)
+}
+inline ::std::string* FormInput::mutable_label() {
+ set_has_label();
+ if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ label_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.FormInput.label)
+ return label_;
+}
+inline ::std::string* FormInput::release_label() {
+ clear_has_label();
+ if (label_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = label_;
+ label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void FormInput::set_allocated_label(::std::string* label) {
+ if (label_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete label_;
+ }
+ if (label) {
+ set_has_label();
+ label_ = label;
+ } else {
+ clear_has_label();
+ label_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.FormInput.label)
+}
+
+// optional uint32 max_length = 4;
+inline bool FormInput::has_max_length() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void FormInput::set_has_max_length() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void FormInput::clear_has_max_length() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void FormInput::clear_max_length() {
+ max_length_ = 0u;
+ clear_has_max_length();
+}
+inline ::google::protobuf::uint32 FormInput::max_length() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInput.max_length)
+ return max_length_;
+}
+inline void FormInput::set_max_length(::google::protobuf::uint32 value) {
+ set_has_max_length();
+ max_length_ = value;
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInput.max_length)
+}
+
+// -------------------------------------------------------------------
+
+// FormInputs
+
+// required .Battlenet.JSON.Login.FormType type = 1;
+inline bool FormInputs::has_type() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void FormInputs::set_has_type() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void FormInputs::clear_has_type() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void FormInputs::clear_type() {
+ type_ = 1;
+ clear_has_type();
+}
+inline ::Battlenet::JSON::Login::FormType FormInputs::type() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInputs.type)
+ return static_cast< ::Battlenet::JSON::Login::FormType >(type_);
+}
+inline void FormInputs::set_type(::Battlenet::JSON::Login::FormType value) {
+ assert(::Battlenet::JSON::Login::FormType_IsValid(value));
+ set_has_type();
+ type_ = value;
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInputs.type)
+}
+
+// repeated .Battlenet.JSON.Login.FormInput inputs = 2;
+inline int FormInputs::inputs_size() const {
+ return inputs_.size();
+}
+inline void FormInputs::clear_inputs() {
+ inputs_.Clear();
+}
+inline const ::Battlenet::JSON::Login::FormInput& FormInputs::inputs(int index) const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInputs.inputs)
+ return inputs_.Get(index);
+}
+inline ::Battlenet::JSON::Login::FormInput* FormInputs::mutable_inputs(int index) {
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.FormInputs.inputs)
+ return inputs_.Mutable(index);
+}
+inline ::Battlenet::JSON::Login::FormInput* FormInputs::add_inputs() {
+ // @@protoc_insertion_point(field_add:Battlenet.JSON.Login.FormInputs.inputs)
+ return inputs_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >&
+FormInputs::inputs() const {
+ // @@protoc_insertion_point(field_list:Battlenet.JSON.Login.FormInputs.inputs)
+ return inputs_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInput >*
+FormInputs::mutable_inputs() {
+ // @@protoc_insertion_point(field_mutable_list:Battlenet.JSON.Login.FormInputs.inputs)
+ return &inputs_;
+}
+
+// -------------------------------------------------------------------
+
+// FormInputValue
+
+// required string input_id = 1;
+inline bool FormInputValue::has_input_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void FormInputValue::set_has_input_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void FormInputValue::clear_has_input_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void FormInputValue::clear_input_id() {
+ if (input_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_->clear();
+ }
+ clear_has_input_id();
+}
+inline const ::std::string& FormInputValue::input_id() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInputValue.input_id)
+ return *input_id_;
+}
+inline void FormInputValue::set_input_id(const ::std::string& value) {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ input_id_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInputValue.input_id)
+}
+inline void FormInputValue::set_input_id(const char* value) {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ input_id_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.FormInputValue.input_id)
+}
+inline void FormInputValue::set_input_id(const char* value, size_t size) {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ input_id_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.FormInputValue.input_id)
+}
+inline ::std::string* FormInputValue::mutable_input_id() {
+ set_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ input_id_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.FormInputValue.input_id)
+ return input_id_;
+}
+inline ::std::string* FormInputValue::release_input_id() {
+ clear_has_input_id();
+ if (input_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = input_id_;
+ input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void FormInputValue::set_allocated_input_id(::std::string* input_id) {
+ if (input_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete input_id_;
+ }
+ if (input_id) {
+ set_has_input_id();
+ input_id_ = input_id;
+ } else {
+ clear_has_input_id();
+ input_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.FormInputValue.input_id)
+}
+
+// required string value = 2;
+inline bool FormInputValue::has_value() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void FormInputValue::set_has_value() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void FormInputValue::clear_has_value() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void FormInputValue::clear_value() {
+ if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ value_->clear();
+ }
+ clear_has_value();
+}
+inline const ::std::string& FormInputValue::value() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.FormInputValue.value)
+ return *value_;
+}
+inline void FormInputValue::set_value(const ::std::string& value) {
+ set_has_value();
+ if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ value_ = new ::std::string;
+ }
+ value_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.FormInputValue.value)
+}
+inline void FormInputValue::set_value(const char* value) {
+ set_has_value();
+ if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ value_ = new ::std::string;
+ }
+ value_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.FormInputValue.value)
+}
+inline void FormInputValue::set_value(const char* value, size_t size) {
+ set_has_value();
+ if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ value_ = new ::std::string;
+ }
+ value_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.FormInputValue.value)
+}
+inline ::std::string* FormInputValue::mutable_value() {
+ set_has_value();
+ if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ value_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.FormInputValue.value)
+ return value_;
+}
+inline ::std::string* FormInputValue::release_value() {
+ clear_has_value();
+ if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = value_;
+ value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void FormInputValue::set_allocated_value(::std::string* value) {
+ if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete value_;
+ }
+ if (value) {
+ set_has_value();
+ value_ = value;
+ } else {
+ clear_has_value();
+ value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.FormInputValue.value)
+}
+
+// -------------------------------------------------------------------
+
+// LoginForm
+
+// required string platform_id = 1;
+inline bool LoginForm::has_platform_id() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void LoginForm::set_has_platform_id() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void LoginForm::clear_has_platform_id() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void LoginForm::clear_platform_id() {
+ if (platform_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ platform_id_->clear();
+ }
+ clear_has_platform_id();
+}
+inline const ::std::string& LoginForm::platform_id() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginForm.platform_id)
+ return *platform_id_;
+}
+inline void LoginForm::set_platform_id(const ::std::string& value) {
+ set_has_platform_id();
+ if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ platform_id_ = new ::std::string;
+ }
+ platform_id_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginForm.platform_id)
+}
+inline void LoginForm::set_platform_id(const char* value) {
+ set_has_platform_id();
+ if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ platform_id_ = new ::std::string;
+ }
+ platform_id_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginForm.platform_id)
+}
+inline void LoginForm::set_platform_id(const char* value, size_t size) {
+ set_has_platform_id();
+ if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ platform_id_ = new ::std::string;
+ }
+ platform_id_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginForm.platform_id)
+}
+inline ::std::string* LoginForm::mutable_platform_id() {
+ set_has_platform_id();
+ if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ platform_id_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginForm.platform_id)
+ return platform_id_;
+}
+inline ::std::string* LoginForm::release_platform_id() {
+ clear_has_platform_id();
+ if (platform_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = platform_id_;
+ platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginForm::set_allocated_platform_id(::std::string* platform_id) {
+ if (platform_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete platform_id_;
+ }
+ if (platform_id) {
+ set_has_platform_id();
+ platform_id_ = platform_id;
+ } else {
+ clear_has_platform_id();
+ platform_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginForm.platform_id)
+}
+
+// required string program_id = 2;
+inline bool LoginForm::has_program_id() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void LoginForm::set_has_program_id() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void LoginForm::clear_has_program_id() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void LoginForm::clear_program_id() {
+ if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ program_id_->clear();
+ }
+ clear_has_program_id();
+}
+inline const ::std::string& LoginForm::program_id() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginForm.program_id)
+ return *program_id_;
+}
+inline void LoginForm::set_program_id(const ::std::string& value) {
+ set_has_program_id();
+ if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ program_id_ = new ::std::string;
+ }
+ program_id_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginForm.program_id)
+}
+inline void LoginForm::set_program_id(const char* value) {
+ set_has_program_id();
+ if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ program_id_ = new ::std::string;
+ }
+ program_id_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginForm.program_id)
+}
+inline void LoginForm::set_program_id(const char* value, size_t size) {
+ set_has_program_id();
+ if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ program_id_ = new ::std::string;
+ }
+ program_id_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginForm.program_id)
+}
+inline ::std::string* LoginForm::mutable_program_id() {
+ set_has_program_id();
+ if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ program_id_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginForm.program_id)
+ return program_id_;
+}
+inline ::std::string* LoginForm::release_program_id() {
+ clear_has_program_id();
+ if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = program_id_;
+ program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginForm::set_allocated_program_id(::std::string* program_id) {
+ if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete program_id_;
+ }
+ if (program_id) {
+ set_has_program_id();
+ program_id_ = program_id;
+ } else {
+ clear_has_program_id();
+ program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginForm.program_id)
+}
+
+// required string version = 3;
+inline bool LoginForm::has_version() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void LoginForm::set_has_version() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void LoginForm::clear_has_version() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void LoginForm::clear_version() {
+ if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_->clear();
+ }
+ clear_has_version();
+}
+inline const ::std::string& LoginForm::version() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginForm.version)
+ return *version_;
+}
+inline void LoginForm::set_version(const ::std::string& value) {
+ set_has_version();
+ if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_ = new ::std::string;
+ }
+ version_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginForm.version)
+}
+inline void LoginForm::set_version(const char* value) {
+ set_has_version();
+ if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_ = new ::std::string;
+ }
+ version_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginForm.version)
+}
+inline void LoginForm::set_version(const char* value, size_t size) {
+ set_has_version();
+ if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_ = new ::std::string;
+ }
+ version_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginForm.version)
+}
+inline ::std::string* LoginForm::mutable_version() {
+ set_has_version();
+ if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ version_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginForm.version)
+ return version_;
+}
+inline ::std::string* LoginForm::release_version() {
+ clear_has_version();
+ if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = version_;
+ version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginForm::set_allocated_version(::std::string* version) {
+ if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete version_;
+ }
+ if (version) {
+ set_has_version();
+ version_ = version;
+ } else {
+ clear_has_version();
+ version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginForm.version)
+}
+
+// repeated .Battlenet.JSON.Login.FormInputValue inputs = 4;
+inline int LoginForm::inputs_size() const {
+ return inputs_.size();
+}
+inline void LoginForm::clear_inputs() {
+ inputs_.Clear();
+}
+inline const ::Battlenet::JSON::Login::FormInputValue& LoginForm::inputs(int index) const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginForm.inputs)
+ return inputs_.Get(index);
+}
+inline ::Battlenet::JSON::Login::FormInputValue* LoginForm::mutable_inputs(int index) {
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginForm.inputs)
+ return inputs_.Mutable(index);
+}
+inline ::Battlenet::JSON::Login::FormInputValue* LoginForm::add_inputs() {
+ // @@protoc_insertion_point(field_add:Battlenet.JSON.Login.LoginForm.inputs)
+ return inputs_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >&
+LoginForm::inputs() const {
+ // @@protoc_insertion_point(field_list:Battlenet.JSON.Login.LoginForm.inputs)
+ return inputs_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::Battlenet::JSON::Login::FormInputValue >*
+LoginForm::mutable_inputs() {
+ // @@protoc_insertion_point(field_mutable_list:Battlenet.JSON.Login.LoginForm.inputs)
+ return &inputs_;
+}
+
+// -------------------------------------------------------------------
+
+// LoginResult
+
+// required .Battlenet.JSON.Login.AuthenticationState authentication_state = 1;
+inline bool LoginResult::has_authentication_state() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void LoginResult::set_has_authentication_state() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void LoginResult::clear_has_authentication_state() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void LoginResult::clear_authentication_state() {
+ authentication_state_ = 1;
+ clear_has_authentication_state();
+}
+inline ::Battlenet::JSON::Login::AuthenticationState LoginResult::authentication_state() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginResult.authentication_state)
+ return static_cast< ::Battlenet::JSON::Login::AuthenticationState >(authentication_state_);
+}
+inline void LoginResult::set_authentication_state(::Battlenet::JSON::Login::AuthenticationState value) {
+ assert(::Battlenet::JSON::Login::AuthenticationState_IsValid(value));
+ set_has_authentication_state();
+ authentication_state_ = value;
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginResult.authentication_state)
+}
+
+// optional string error_code = 2;
+inline bool LoginResult::has_error_code() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void LoginResult::set_has_error_code() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void LoginResult::clear_has_error_code() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void LoginResult::clear_error_code() {
+ if (error_code_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_code_->clear();
+ }
+ clear_has_error_code();
+}
+inline const ::std::string& LoginResult::error_code() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginResult.error_code)
+ return *error_code_;
+}
+inline void LoginResult::set_error_code(const ::std::string& value) {
+ set_has_error_code();
+ if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_code_ = new ::std::string;
+ }
+ error_code_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginResult.error_code)
+}
+inline void LoginResult::set_error_code(const char* value) {
+ set_has_error_code();
+ if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_code_ = new ::std::string;
+ }
+ error_code_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginResult.error_code)
+}
+inline void LoginResult::set_error_code(const char* value, size_t size) {
+ set_has_error_code();
+ if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_code_ = new ::std::string;
+ }
+ error_code_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginResult.error_code)
+}
+inline ::std::string* LoginResult::mutable_error_code() {
+ set_has_error_code();
+ if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_code_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginResult.error_code)
+ return error_code_;
+}
+inline ::std::string* LoginResult::release_error_code() {
+ clear_has_error_code();
+ if (error_code_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = error_code_;
+ error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginResult::set_allocated_error_code(::std::string* error_code) {
+ if (error_code_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete error_code_;
+ }
+ if (error_code) {
+ set_has_error_code();
+ error_code_ = error_code;
+ } else {
+ clear_has_error_code();
+ error_code_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginResult.error_code)
+}
+
+// optional string error_message = 3;
+inline bool LoginResult::has_error_message() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void LoginResult::set_has_error_message() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void LoginResult::clear_has_error_message() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void LoginResult::clear_error_message() {
+ if (error_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_message_->clear();
+ }
+ clear_has_error_message();
+}
+inline const ::std::string& LoginResult::error_message() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginResult.error_message)
+ return *error_message_;
+}
+inline void LoginResult::set_error_message(const ::std::string& value) {
+ set_has_error_message();
+ if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginResult.error_message)
+}
+inline void LoginResult::set_error_message(const char* value) {
+ set_has_error_message();
+ if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginResult.error_message)
+}
+inline void LoginResult::set_error_message(const char* value, size_t size) {
+ set_has_error_message();
+ if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_message_ = new ::std::string;
+ }
+ error_message_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginResult.error_message)
+}
+inline ::std::string* LoginResult::mutable_error_message() {
+ set_has_error_message();
+ if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ error_message_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginResult.error_message)
+ return error_message_;
+}
+inline ::std::string* LoginResult::release_error_message() {
+ clear_has_error_message();
+ if (error_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = error_message_;
+ error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginResult::set_allocated_error_message(::std::string* error_message) {
+ if (error_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete error_message_;
+ }
+ if (error_message) {
+ set_has_error_message();
+ error_message_ = error_message;
+ } else {
+ clear_has_error_message();
+ error_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginResult.error_message)
+}
+
+// optional string url = 4;
+inline bool LoginResult::has_url() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void LoginResult::set_has_url() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void LoginResult::clear_has_url() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void LoginResult::clear_url() {
+ if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ url_->clear();
+ }
+ clear_has_url();
+}
+inline const ::std::string& LoginResult::url() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginResult.url)
+ return *url_;
+}
+inline void LoginResult::set_url(const ::std::string& value) {
+ set_has_url();
+ if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ url_ = new ::std::string;
+ }
+ url_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginResult.url)
+}
+inline void LoginResult::set_url(const char* value) {
+ set_has_url();
+ if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ url_ = new ::std::string;
+ }
+ url_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginResult.url)
+}
+inline void LoginResult::set_url(const char* value, size_t size) {
+ set_has_url();
+ if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ url_ = new ::std::string;
+ }
+ url_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginResult.url)
+}
+inline ::std::string* LoginResult::mutable_url() {
+ set_has_url();
+ if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ url_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginResult.url)
+ return url_;
+}
+inline ::std::string* LoginResult::release_url() {
+ clear_has_url();
+ if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = url_;
+ url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginResult::set_allocated_url(::std::string* url) {
+ if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete url_;
+ }
+ if (url) {
+ set_has_url();
+ url_ = url;
+ } else {
+ clear_has_url();
+ url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginResult.url)
+}
+
+// optional string login_ticket = 5;
+inline bool LoginResult::has_login_ticket() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void LoginResult::set_has_login_ticket() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void LoginResult::clear_has_login_ticket() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void LoginResult::clear_login_ticket() {
+ if (login_ticket_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ login_ticket_->clear();
+ }
+ clear_has_login_ticket();
+}
+inline const ::std::string& LoginResult::login_ticket() const {
+ // @@protoc_insertion_point(field_get:Battlenet.JSON.Login.LoginResult.login_ticket)
+ return *login_ticket_;
+}
+inline void LoginResult::set_login_ticket(const ::std::string& value) {
+ set_has_login_ticket();
+ if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ login_ticket_ = new ::std::string;
+ }
+ login_ticket_->assign(value);
+ // @@protoc_insertion_point(field_set:Battlenet.JSON.Login.LoginResult.login_ticket)
+}
+inline void LoginResult::set_login_ticket(const char* value) {
+ set_has_login_ticket();
+ if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ login_ticket_ = new ::std::string;
+ }
+ login_ticket_->assign(value);
+ // @@protoc_insertion_point(field_set_char:Battlenet.JSON.Login.LoginResult.login_ticket)
+}
+inline void LoginResult::set_login_ticket(const char* value, size_t size) {
+ set_has_login_ticket();
+ if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ login_ticket_ = new ::std::string;
+ }
+ login_ticket_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:Battlenet.JSON.Login.LoginResult.login_ticket)
+}
+inline ::std::string* LoginResult::mutable_login_ticket() {
+ set_has_login_ticket();
+ if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ login_ticket_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:Battlenet.JSON.Login.LoginResult.login_ticket)
+ return login_ticket_;
+}
+inline ::std::string* LoginResult::release_login_ticket() {
+ clear_has_login_ticket();
+ if (login_ticket_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = login_ticket_;
+ login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void LoginResult::set_allocated_login_ticket(::std::string* login_ticket) {
+ if (login_ticket_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete login_ticket_;
+ }
+ if (login_ticket) {
+ set_has_login_ticket();
+ login_ticket_ = login_ticket;
+ } else {
+ clear_has_login_ticket();
+ login_ticket_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:Battlenet.JSON.Login.LoginResult.login_ticket)
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace Login
+} // namespace JSON
+} // namespace Battlenet
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+
+template <> struct is_proto_enum< ::Battlenet::JSON::Login::FormType> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::Battlenet::JSON::Login::FormType>() {
+ return ::Battlenet::JSON::Login::FormType_descriptor();
+}
+template <> struct is_proto_enum< ::Battlenet::JSON::Login::AuthenticationState> : ::google::protobuf::internal::true_type {};
+template <>
+inline const EnumDescriptor* GetEnumDescriptor< ::Battlenet::JSON::Login::AuthenticationState>() {
+ return ::Battlenet::JSON::Login::AuthenticationState_descriptor();
+}
+
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_Login_2eproto__INCLUDED
diff --git a/src/server/proto/Login/Login.proto b/src/server/proto/Login/Login.proto
new file mode 100644
index 00000000000..35f690a5d4c
--- /dev/null
+++ b/src/server/proto/Login/Login.proto
@@ -0,0 +1,48 @@
+syntax = "proto2";
+
+package Battlenet.JSON.Login;
+
+option optimize_for = CODE_SIZE;
+
+enum FormType {
+ LOGIN_FORM = 1;
+}
+
+message FormInput {
+ required string input_id = 1;
+ required string type = 2;
+ required string label = 3;
+ optional uint32 max_length = 4;
+}
+
+message FormInputs {
+ required FormType type = 1;
+ repeated FormInput inputs = 2;
+}
+
+message FormInputValue {
+ required string input_id = 1;
+ required string value = 2;
+}
+
+message LoginForm {
+ required string platform_id = 1;
+ required string program_id = 2;
+ required string version = 3;
+ repeated FormInputValue inputs = 4;
+}
+
+enum AuthenticationState {
+ LOGIN = 1;
+ LEGAL = 2;
+ AUTHENTICATOR = 3;
+ DONE = 4;
+}
+
+message LoginResult {
+ required AuthenticationState authentication_state = 1;
+ optional string error_code = 2;
+ optional string error_message = 3;
+ optional string url = 4;
+ optional string login_ticket = 5;
+}
diff --git a/src/server/proto/PrecompiledHeaders/protoPCH.h b/src/server/proto/PrecompiledHeaders/protoPCH.h
index 441e8738b5d..46fbc93f1b6 100644
--- a/src/server/proto/PrecompiledHeaders/protoPCH.h
+++ b/src/server/proto/PrecompiledHeaders/protoPCH.h
@@ -11,3 +11,5 @@
#include "report_service.pb.h"
#include "resource_service.pb.h"
#include "user_manager_service.pb.h"
+#include "Login.pb.h"
+#include "RealmList.pb.h"
diff --git a/src/server/proto/RealmList/RealmList.pb.cc b/src/server/proto/RealmList/RealmList.pb.cc
new file mode 100644
index 00000000000..206b21dbd4d
--- /dev/null
+++ b/src/server/proto/RealmList/RealmList.pb.cc
@@ -0,0 +1,1381 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: RealmList.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "RealmList.pb.h"
+
+#include <algorithm>
+#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>
+#include "Log.h"
+// @@protoc_insertion_point(includes)
+
+// Fix stupid windows.h included from Log.h->Common.h
+#ifdef SendMessage
+#undef SendMessage
+#endif
+
+namespace JSON {
+namespace RealmList {
+
+namespace {
+
+const ::google::protobuf::Descriptor* RealmListTicketIdentity_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmListTicketIdentity_reflection_ = NULL;
+const ::google::protobuf::Descriptor* ClientVersion_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ ClientVersion_reflection_ = NULL;
+const ::google::protobuf::Descriptor* ClientInformation_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ ClientInformation_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmListTicketClientInformation_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmListTicketClientInformation_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmCharacterCountEntry_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmCharacterCountEntry_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmCharacterCountList_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmCharacterCountList_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmEntry_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmEntry_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmState_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmState_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmListUpdates_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmListUpdates_reflection_ = NULL;
+const ::google::protobuf::Descriptor* IPAddress_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ IPAddress_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmIPAddressFamily_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmIPAddressFamily_reflection_ = NULL;
+const ::google::protobuf::Descriptor* RealmListServerIPAddresses_descriptor_ = NULL;
+const ::google::protobuf::internal::GeneratedMessageReflection*
+ RealmListServerIPAddresses_reflection_ = NULL;
+
+} // namespace
+
+
+void protobuf_AssignDesc_RealmList_2eproto() {
+ protobuf_AddDesc_RealmList_2eproto();
+ const ::google::protobuf::FileDescriptor* file =
+ ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
+ "RealmList.proto");
+ GOOGLE_CHECK(file != NULL);
+ RealmListTicketIdentity_descriptor_ = file->message_type(0);
+ static const int RealmListTicketIdentity_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketIdentity, gameaccountid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketIdentity, gameaccountregion_),
+ };
+ RealmListTicketIdentity_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmListTicketIdentity_descriptor_,
+ RealmListTicketIdentity::default_instance_,
+ RealmListTicketIdentity_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketIdentity, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketIdentity, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmListTicketIdentity));
+ ClientVersion_descriptor_ = file->message_type(1);
+ static const int ClientVersion_offsets_[4] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientVersion, versionmajor_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientVersion, versionminor_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientVersion, versionrevision_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientVersion, versionbuild_),
+ };
+ ClientVersion_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ ClientVersion_descriptor_,
+ ClientVersion::default_instance_,
+ ClientVersion_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientVersion, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientVersion, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(ClientVersion));
+ ClientInformation_descriptor_ = file->message_type(2);
+ static const int ClientInformation_offsets_[10] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, platform_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, buildvariant_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, type_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, timezone_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, currenttime_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, textlocale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, audiolocale_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, versiondatabuild_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, secret_),
+ };
+ ClientInformation_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ ClientInformation_descriptor_,
+ ClientInformation::default_instance_,
+ ClientInformation_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClientInformation, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(ClientInformation));
+ RealmListTicketClientInformation_descriptor_ = file->message_type(3);
+ static const int RealmListTicketClientInformation_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketClientInformation, info_),
+ };
+ RealmListTicketClientInformation_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmListTicketClientInformation_descriptor_,
+ RealmListTicketClientInformation::default_instance_,
+ RealmListTicketClientInformation_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketClientInformation, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListTicketClientInformation, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmListTicketClientInformation));
+ RealmCharacterCountEntry_descriptor_ = file->message_type(4);
+ static const int RealmCharacterCountEntry_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountEntry, wowrealmaddress_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountEntry, count_),
+ };
+ RealmCharacterCountEntry_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmCharacterCountEntry_descriptor_,
+ RealmCharacterCountEntry::default_instance_,
+ RealmCharacterCountEntry_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountEntry, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountEntry, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmCharacterCountEntry));
+ RealmCharacterCountList_descriptor_ = file->message_type(5);
+ static const int RealmCharacterCountList_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountList, counts_),
+ };
+ RealmCharacterCountList_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmCharacterCountList_descriptor_,
+ RealmCharacterCountList::default_instance_,
+ RealmCharacterCountList_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountList, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmCharacterCountList, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmCharacterCountList));
+ RealmEntry_descriptor_ = file->message_type(6);
+ static const int RealmEntry_offsets_[10] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, wowrealmaddress_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, cfgtimezonesid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, populationstate_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, cfgcategoriesid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, version_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, cfgrealmsid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, flags_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, name_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, cfgconfigsid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, cfglanguagesid_),
+ };
+ RealmEntry_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmEntry_descriptor_,
+ RealmEntry::default_instance_,
+ RealmEntry_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmEntry, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmEntry));
+ RealmState_descriptor_ = file->message_type(7);
+ static const int RealmState_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmState, update_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmState, deleting_),
+ };
+ RealmState_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmState_descriptor_,
+ RealmState::default_instance_,
+ RealmState_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmState, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmState, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmState));
+ RealmListUpdates_descriptor_ = file->message_type(8);
+ static const int RealmListUpdates_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListUpdates, updates_),
+ };
+ RealmListUpdates_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmListUpdates_descriptor_,
+ RealmListUpdates::default_instance_,
+ RealmListUpdates_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListUpdates, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListUpdates, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmListUpdates));
+ IPAddress_descriptor_ = file->message_type(9);
+ static const int IPAddress_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(IPAddress, ip_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(IPAddress, port_),
+ };
+ IPAddress_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ IPAddress_descriptor_,
+ IPAddress::default_instance_,
+ IPAddress_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(IPAddress, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(IPAddress, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(IPAddress));
+ RealmIPAddressFamily_descriptor_ = file->message_type(10);
+ static const int RealmIPAddressFamily_offsets_[2] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmIPAddressFamily, family_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmIPAddressFamily, addresses_),
+ };
+ RealmIPAddressFamily_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmIPAddressFamily_descriptor_,
+ RealmIPAddressFamily::default_instance_,
+ RealmIPAddressFamily_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmIPAddressFamily, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmIPAddressFamily, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmIPAddressFamily));
+ RealmListServerIPAddresses_descriptor_ = file->message_type(11);
+ static const int RealmListServerIPAddresses_offsets_[1] = {
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListServerIPAddresses, families_),
+ };
+ RealmListServerIPAddresses_reflection_ =
+ new ::google::protobuf::internal::GeneratedMessageReflection(
+ RealmListServerIPAddresses_descriptor_,
+ RealmListServerIPAddresses::default_instance_,
+ RealmListServerIPAddresses_offsets_,
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListServerIPAddresses, _has_bits_[0]),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealmListServerIPAddresses, _unknown_fields_),
+ -1,
+ ::google::protobuf::DescriptorPool::generated_pool(),
+ ::google::protobuf::MessageFactory::generated_factory(),
+ sizeof(RealmListServerIPAddresses));
+}
+
+namespace {
+
+GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
+inline void protobuf_AssignDescriptorsOnce() {
+ ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
+ &protobuf_AssignDesc_RealmList_2eproto);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmListTicketIdentity_descriptor_, &RealmListTicketIdentity::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ ClientVersion_descriptor_, &ClientVersion::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ ClientInformation_descriptor_, &ClientInformation::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmListTicketClientInformation_descriptor_, &RealmListTicketClientInformation::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmCharacterCountEntry_descriptor_, &RealmCharacterCountEntry::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmCharacterCountList_descriptor_, &RealmCharacterCountList::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmEntry_descriptor_, &RealmEntry::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmState_descriptor_, &RealmState::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmListUpdates_descriptor_, &RealmListUpdates::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ IPAddress_descriptor_, &IPAddress::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmIPAddressFamily_descriptor_, &RealmIPAddressFamily::default_instance());
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
+ RealmListServerIPAddresses_descriptor_, &RealmListServerIPAddresses::default_instance());
+}
+
+} // namespace
+
+void protobuf_ShutdownFile_RealmList_2eproto() {
+ delete RealmListTicketIdentity::default_instance_;
+ delete RealmListTicketIdentity_reflection_;
+ delete ClientVersion::default_instance_;
+ delete ClientVersion_reflection_;
+ delete ClientInformation::default_instance_;
+ delete ClientInformation_reflection_;
+ delete RealmListTicketClientInformation::default_instance_;
+ delete RealmListTicketClientInformation_reflection_;
+ delete RealmCharacterCountEntry::default_instance_;
+ delete RealmCharacterCountEntry_reflection_;
+ delete RealmCharacterCountList::default_instance_;
+ delete RealmCharacterCountList_reflection_;
+ delete RealmEntry::default_instance_;
+ delete RealmEntry_reflection_;
+ delete RealmState::default_instance_;
+ delete RealmState_reflection_;
+ delete RealmListUpdates::default_instance_;
+ delete RealmListUpdates_reflection_;
+ delete IPAddress::default_instance_;
+ delete IPAddress_reflection_;
+ delete RealmIPAddressFamily::default_instance_;
+ delete RealmIPAddressFamily_reflection_;
+ delete RealmListServerIPAddresses::default_instance_;
+ delete RealmListServerIPAddresses_reflection_;
+}
+
+void protobuf_AddDesc_RealmList_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ "\n\017RealmList.proto\022\016JSON.RealmList\"K\n\027Rea"
+ "lmListTicketIdentity\022\025\n\rgameAccountID\030\001 "
+ "\002(\007\022\031\n\021gameAccountRegion\030\002 \002(\r\"j\n\rClient"
+ "Version\022\024\n\014versionMajor\030\001 \002(\r\022\024\n\014version"
+ "Minor\030\002 \002(\r\022\027\n\017versionRevision\030\003 \002(\r\022\024\n\014"
+ "versionBuild\030\004 \002(\007\"\363\001\n\021ClientInformation"
+ "\022\020\n\010platform\030\001 \002(\007\022\024\n\014buildVariant\030\002 \002(\t"
+ "\022\014\n\004type\030\003 \002(\007\022\020\n\010timeZone\030\004 \002(\t\022\023\n\013curr"
+ "entTime\030\005 \002(\r\022\022\n\ntextLocale\030\006 \002(\007\022\023\n\013aud"
+ "ioLocale\030\007 \002(\007\022\030\n\020versionDataBuild\030\010 \002(\007"
+ "\022.\n\007version\030\t \002(\0132\035.JSON.RealmList.Clien"
+ "tVersion\022\016\n\006secret\030\n \002(\014\"S\n RealmListTic"
+ "ketClientInformation\022/\n\004info\030\001 \002(\0132!.JSO"
+ "N.RealmList.ClientInformation\"B\n\030RealmCh"
+ "aracterCountEntry\022\027\n\017wowRealmAddress\030\001 \002"
+ "(\007\022\r\n\005count\030\002 \002(\r\"S\n\027RealmCharacterCount"
+ "List\0228\n\006counts\030\001 \003(\0132(.JSON.RealmList.Re"
+ "almCharacterCountEntry\"\377\001\n\nRealmEntry\022\027\n"
+ "\017wowRealmAddress\030\001 \002(\007\022\026\n\016cfgTimezonesID"
+ "\030\002 \002(\r\022\027\n\017populationState\030\003 \002(\r\022\027\n\017cfgCa"
+ "tegoriesID\030\004 \002(\r\022.\n\007version\030\005 \002(\0132\035.JSON"
+ ".RealmList.ClientVersion\022\023\n\013cfgRealmsID\030"
+ "\006 \002(\r\022\r\n\005flags\030\007 \002(\r\022\014\n\004name\030\010 \002(\t\022\024\n\014cf"
+ "gConfigsID\030\t \002(\r\022\026\n\016cfgLanguagesID\030\n \002(\r"
+ "\"J\n\nRealmState\022*\n\006update\030\001 \001(\0132\032.JSON.Re"
+ "almList.RealmEntry\022\020\n\010deleting\030\002 \002(\010\"\?\n\020"
+ "RealmListUpdates\022+\n\007updates\030\001 \003(\0132\032.JSON"
+ ".RealmList.RealmState\"%\n\tIPAddress\022\n\n\002ip"
+ "\030\001 \002(\t\022\014\n\004port\030\002 \002(\r\"T\n\024RealmIPAddressFa"
+ "mily\022\016\n\006family\030\001 \002(\r\022,\n\taddresses\030\002 \003(\0132"
+ "\031.JSON.RealmList.IPAddress\"T\n\032RealmListS"
+ "erverIPAddresses\0226\n\010families\030\001 \003(\0132$.JSO"
+ "N.RealmList.RealmIPAddressFamilyB\002H\002", 1316);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "RealmList.proto", &protobuf_RegisterTypes);
+ RealmListTicketIdentity::default_instance_ = new RealmListTicketIdentity();
+ ClientVersion::default_instance_ = new ClientVersion();
+ ClientInformation::default_instance_ = new ClientInformation();
+ RealmListTicketClientInformation::default_instance_ = new RealmListTicketClientInformation();
+ RealmCharacterCountEntry::default_instance_ = new RealmCharacterCountEntry();
+ RealmCharacterCountList::default_instance_ = new RealmCharacterCountList();
+ RealmEntry::default_instance_ = new RealmEntry();
+ RealmState::default_instance_ = new RealmState();
+ RealmListUpdates::default_instance_ = new RealmListUpdates();
+ IPAddress::default_instance_ = new IPAddress();
+ RealmIPAddressFamily::default_instance_ = new RealmIPAddressFamily();
+ RealmListServerIPAddresses::default_instance_ = new RealmListServerIPAddresses();
+ RealmListTicketIdentity::default_instance_->InitAsDefaultInstance();
+ ClientVersion::default_instance_->InitAsDefaultInstance();
+ ClientInformation::default_instance_->InitAsDefaultInstance();
+ RealmListTicketClientInformation::default_instance_->InitAsDefaultInstance();
+ RealmCharacterCountEntry::default_instance_->InitAsDefaultInstance();
+ RealmCharacterCountList::default_instance_->InitAsDefaultInstance();
+ RealmEntry::default_instance_->InitAsDefaultInstance();
+ RealmState::default_instance_->InitAsDefaultInstance();
+ RealmListUpdates::default_instance_->InitAsDefaultInstance();
+ IPAddress::default_instance_->InitAsDefaultInstance();
+ RealmIPAddressFamily::default_instance_->InitAsDefaultInstance();
+ RealmListServerIPAddresses::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_RealmList_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_RealmList_2eproto {
+ StaticDescriptorInitializer_RealmList_2eproto() {
+ protobuf_AddDesc_RealmList_2eproto();
+ }
+} static_descriptor_initializer_RealmList_2eproto_;
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmListTicketIdentity::kGameAccountIDFieldNumber;
+const int RealmListTicketIdentity::kGameAccountRegionFieldNumber;
+#endif // !_MSC_VER
+
+RealmListTicketIdentity::RealmListTicketIdentity()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmListTicketIdentity)
+}
+
+void RealmListTicketIdentity::InitAsDefaultInstance() {
+}
+
+RealmListTicketIdentity::RealmListTicketIdentity(const RealmListTicketIdentity& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmListTicketIdentity)
+}
+
+void RealmListTicketIdentity::SharedCtor() {
+ _cached_size_ = 0;
+ gameaccountid_ = 0u;
+ gameaccountregion_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmListTicketIdentity::~RealmListTicketIdentity() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmListTicketIdentity)
+ SharedDtor();
+}
+
+void RealmListTicketIdentity::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RealmListTicketIdentity::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmListTicketIdentity::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmListTicketIdentity_descriptor_;
+}
+
+const RealmListTicketIdentity& RealmListTicketIdentity::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmListTicketIdentity* RealmListTicketIdentity::default_instance_ = NULL;
+
+RealmListTicketIdentity* RealmListTicketIdentity::New() const {
+ return new RealmListTicketIdentity;
+}
+
+void RealmListTicketIdentity::Swap(RealmListTicketIdentity* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmListTicketIdentity::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmListTicketIdentity_descriptor_;
+ metadata.reflection = RealmListTicketIdentity_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int ClientVersion::kVersionMajorFieldNumber;
+const int ClientVersion::kVersionMinorFieldNumber;
+const int ClientVersion::kVersionRevisionFieldNumber;
+const int ClientVersion::kVersionBuildFieldNumber;
+#endif // !_MSC_VER
+
+ClientVersion::ClientVersion()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.ClientVersion)
+}
+
+void ClientVersion::InitAsDefaultInstance() {
+}
+
+ClientVersion::ClientVersion(const ClientVersion& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.ClientVersion)
+}
+
+void ClientVersion::SharedCtor() {
+ _cached_size_ = 0;
+ versionmajor_ = 0u;
+ versionminor_ = 0u;
+ versionrevision_ = 0u;
+ versionbuild_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+ClientVersion::~ClientVersion() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.ClientVersion)
+ SharedDtor();
+}
+
+void ClientVersion::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void ClientVersion::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* ClientVersion::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return ClientVersion_descriptor_;
+}
+
+const ClientVersion& ClientVersion::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+ClientVersion* ClientVersion::default_instance_ = NULL;
+
+ClientVersion* ClientVersion::New() const {
+ return new ClientVersion;
+}
+
+void ClientVersion::Swap(ClientVersion* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata ClientVersion::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = ClientVersion_descriptor_;
+ metadata.reflection = ClientVersion_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int ClientInformation::kPlatformFieldNumber;
+const int ClientInformation::kBuildVariantFieldNumber;
+const int ClientInformation::kTypeFieldNumber;
+const int ClientInformation::kTimeZoneFieldNumber;
+const int ClientInformation::kCurrentTimeFieldNumber;
+const int ClientInformation::kTextLocaleFieldNumber;
+const int ClientInformation::kAudioLocaleFieldNumber;
+const int ClientInformation::kVersionDataBuildFieldNumber;
+const int ClientInformation::kVersionFieldNumber;
+const int ClientInformation::kSecretFieldNumber;
+#endif // !_MSC_VER
+
+ClientInformation::ClientInformation()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.ClientInformation)
+}
+
+void ClientInformation::InitAsDefaultInstance() {
+ version_ = const_cast< ::JSON::RealmList::ClientVersion*>(&::JSON::RealmList::ClientVersion::default_instance());
+}
+
+ClientInformation::ClientInformation(const ClientInformation& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.ClientInformation)
+}
+
+void ClientInformation::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ platform_ = 0u;
+ buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ type_ = 0u;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ currenttime_ = 0u;
+ textlocale_ = 0u;
+ audiolocale_ = 0u;
+ versiondatabuild_ = 0u;
+ version_ = NULL;
+ secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+ClientInformation::~ClientInformation() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.ClientInformation)
+ SharedDtor();
+}
+
+void ClientInformation::SharedDtor() {
+ if (buildvariant_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete buildvariant_;
+ }
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (secret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete secret_;
+ }
+ if (this != default_instance_) {
+ delete version_;
+ }
+}
+
+void ClientInformation::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* ClientInformation::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return ClientInformation_descriptor_;
+}
+
+const ClientInformation& ClientInformation::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+ClientInformation* ClientInformation::default_instance_ = NULL;
+
+ClientInformation* ClientInformation::New() const {
+ return new ClientInformation;
+}
+
+void ClientInformation::Swap(ClientInformation* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata ClientInformation::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = ClientInformation_descriptor_;
+ metadata.reflection = ClientInformation_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmListTicketClientInformation::kInfoFieldNumber;
+#endif // !_MSC_VER
+
+RealmListTicketClientInformation::RealmListTicketClientInformation()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmListTicketClientInformation)
+}
+
+void RealmListTicketClientInformation::InitAsDefaultInstance() {
+ info_ = const_cast< ::JSON::RealmList::ClientInformation*>(&::JSON::RealmList::ClientInformation::default_instance());
+}
+
+RealmListTicketClientInformation::RealmListTicketClientInformation(const RealmListTicketClientInformation& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmListTicketClientInformation)
+}
+
+void RealmListTicketClientInformation::SharedCtor() {
+ _cached_size_ = 0;
+ info_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmListTicketClientInformation::~RealmListTicketClientInformation() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmListTicketClientInformation)
+ SharedDtor();
+}
+
+void RealmListTicketClientInformation::SharedDtor() {
+ if (this != default_instance_) {
+ delete info_;
+ }
+}
+
+void RealmListTicketClientInformation::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmListTicketClientInformation::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmListTicketClientInformation_descriptor_;
+}
+
+const RealmListTicketClientInformation& RealmListTicketClientInformation::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmListTicketClientInformation* RealmListTicketClientInformation::default_instance_ = NULL;
+
+RealmListTicketClientInformation* RealmListTicketClientInformation::New() const {
+ return new RealmListTicketClientInformation;
+}
+
+void RealmListTicketClientInformation::Swap(RealmListTicketClientInformation* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmListTicketClientInformation::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmListTicketClientInformation_descriptor_;
+ metadata.reflection = RealmListTicketClientInformation_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmCharacterCountEntry::kWowRealmAddressFieldNumber;
+const int RealmCharacterCountEntry::kCountFieldNumber;
+#endif // !_MSC_VER
+
+RealmCharacterCountEntry::RealmCharacterCountEntry()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmCharacterCountEntry)
+}
+
+void RealmCharacterCountEntry::InitAsDefaultInstance() {
+}
+
+RealmCharacterCountEntry::RealmCharacterCountEntry(const RealmCharacterCountEntry& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmCharacterCountEntry)
+}
+
+void RealmCharacterCountEntry::SharedCtor() {
+ _cached_size_ = 0;
+ wowrealmaddress_ = 0u;
+ count_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmCharacterCountEntry::~RealmCharacterCountEntry() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmCharacterCountEntry)
+ SharedDtor();
+}
+
+void RealmCharacterCountEntry::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RealmCharacterCountEntry::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmCharacterCountEntry::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmCharacterCountEntry_descriptor_;
+}
+
+const RealmCharacterCountEntry& RealmCharacterCountEntry::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmCharacterCountEntry* RealmCharacterCountEntry::default_instance_ = NULL;
+
+RealmCharacterCountEntry* RealmCharacterCountEntry::New() const {
+ return new RealmCharacterCountEntry;
+}
+
+void RealmCharacterCountEntry::Swap(RealmCharacterCountEntry* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmCharacterCountEntry::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmCharacterCountEntry_descriptor_;
+ metadata.reflection = RealmCharacterCountEntry_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmCharacterCountList::kCountsFieldNumber;
+#endif // !_MSC_VER
+
+RealmCharacterCountList::RealmCharacterCountList()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmCharacterCountList)
+}
+
+void RealmCharacterCountList::InitAsDefaultInstance() {
+}
+
+RealmCharacterCountList::RealmCharacterCountList(const RealmCharacterCountList& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmCharacterCountList)
+}
+
+void RealmCharacterCountList::SharedCtor() {
+ _cached_size_ = 0;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmCharacterCountList::~RealmCharacterCountList() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmCharacterCountList)
+ SharedDtor();
+}
+
+void RealmCharacterCountList::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RealmCharacterCountList::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmCharacterCountList::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmCharacterCountList_descriptor_;
+}
+
+const RealmCharacterCountList& RealmCharacterCountList::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmCharacterCountList* RealmCharacterCountList::default_instance_ = NULL;
+
+RealmCharacterCountList* RealmCharacterCountList::New() const {
+ return new RealmCharacterCountList;
+}
+
+void RealmCharacterCountList::Swap(RealmCharacterCountList* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmCharacterCountList::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmCharacterCountList_descriptor_;
+ metadata.reflection = RealmCharacterCountList_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmEntry::kWowRealmAddressFieldNumber;
+const int RealmEntry::kCfgTimezonesIDFieldNumber;
+const int RealmEntry::kPopulationStateFieldNumber;
+const int RealmEntry::kCfgCategoriesIDFieldNumber;
+const int RealmEntry::kVersionFieldNumber;
+const int RealmEntry::kCfgRealmsIDFieldNumber;
+const int RealmEntry::kFlagsFieldNumber;
+const int RealmEntry::kNameFieldNumber;
+const int RealmEntry::kCfgConfigsIDFieldNumber;
+const int RealmEntry::kCfgLanguagesIDFieldNumber;
+#endif // !_MSC_VER
+
+RealmEntry::RealmEntry()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmEntry)
+}
+
+void RealmEntry::InitAsDefaultInstance() {
+ version_ = const_cast< ::JSON::RealmList::ClientVersion*>(&::JSON::RealmList::ClientVersion::default_instance());
+}
+
+RealmEntry::RealmEntry(const RealmEntry& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmEntry)
+}
+
+void RealmEntry::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ wowrealmaddress_ = 0u;
+ cfgtimezonesid_ = 0u;
+ populationstate_ = 0u;
+ cfgcategoriesid_ = 0u;
+ version_ = NULL;
+ cfgrealmsid_ = 0u;
+ flags_ = 0u;
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ cfgconfigsid_ = 0u;
+ cfglanguagesid_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmEntry::~RealmEntry() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmEntry)
+ SharedDtor();
+}
+
+void RealmEntry::SharedDtor() {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete name_;
+ }
+ if (this != default_instance_) {
+ delete version_;
+ }
+}
+
+void RealmEntry::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmEntry::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmEntry_descriptor_;
+}
+
+const RealmEntry& RealmEntry::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmEntry* RealmEntry::default_instance_ = NULL;
+
+RealmEntry* RealmEntry::New() const {
+ return new RealmEntry;
+}
+
+void RealmEntry::Swap(RealmEntry* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmEntry::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmEntry_descriptor_;
+ metadata.reflection = RealmEntry_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmState::kUpdateFieldNumber;
+const int RealmState::kDeletingFieldNumber;
+#endif // !_MSC_VER
+
+RealmState::RealmState()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmState)
+}
+
+void RealmState::InitAsDefaultInstance() {
+ update_ = const_cast< ::JSON::RealmList::RealmEntry*>(&::JSON::RealmList::RealmEntry::default_instance());
+}
+
+RealmState::RealmState(const RealmState& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmState)
+}
+
+void RealmState::SharedCtor() {
+ _cached_size_ = 0;
+ update_ = NULL;
+ deleting_ = false;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmState::~RealmState() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmState)
+ SharedDtor();
+}
+
+void RealmState::SharedDtor() {
+ if (this != default_instance_) {
+ delete update_;
+ }
+}
+
+void RealmState::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmState::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmState_descriptor_;
+}
+
+const RealmState& RealmState::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmState* RealmState::default_instance_ = NULL;
+
+RealmState* RealmState::New() const {
+ return new RealmState;
+}
+
+void RealmState::Swap(RealmState* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmState::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmState_descriptor_;
+ metadata.reflection = RealmState_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmListUpdates::kUpdatesFieldNumber;
+#endif // !_MSC_VER
+
+RealmListUpdates::RealmListUpdates()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmListUpdates)
+}
+
+void RealmListUpdates::InitAsDefaultInstance() {
+}
+
+RealmListUpdates::RealmListUpdates(const RealmListUpdates& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmListUpdates)
+}
+
+void RealmListUpdates::SharedCtor() {
+ _cached_size_ = 0;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmListUpdates::~RealmListUpdates() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmListUpdates)
+ SharedDtor();
+}
+
+void RealmListUpdates::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RealmListUpdates::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmListUpdates::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmListUpdates_descriptor_;
+}
+
+const RealmListUpdates& RealmListUpdates::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmListUpdates* RealmListUpdates::default_instance_ = NULL;
+
+RealmListUpdates* RealmListUpdates::New() const {
+ return new RealmListUpdates;
+}
+
+void RealmListUpdates::Swap(RealmListUpdates* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmListUpdates::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmListUpdates_descriptor_;
+ metadata.reflection = RealmListUpdates_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int IPAddress::kIpFieldNumber;
+const int IPAddress::kPortFieldNumber;
+#endif // !_MSC_VER
+
+IPAddress::IPAddress()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.IPAddress)
+}
+
+void IPAddress::InitAsDefaultInstance() {
+}
+
+IPAddress::IPAddress(const IPAddress& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.IPAddress)
+}
+
+void IPAddress::SharedCtor() {
+ ::google::protobuf::internal::GetEmptyString();
+ _cached_size_ = 0;
+ ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ port_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+IPAddress::~IPAddress() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.IPAddress)
+ SharedDtor();
+}
+
+void IPAddress::SharedDtor() {
+ if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete ip_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void IPAddress::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* IPAddress::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return IPAddress_descriptor_;
+}
+
+const IPAddress& IPAddress::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+IPAddress* IPAddress::default_instance_ = NULL;
+
+IPAddress* IPAddress::New() const {
+ return new IPAddress;
+}
+
+void IPAddress::Swap(IPAddress* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata IPAddress::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = IPAddress_descriptor_;
+ metadata.reflection = IPAddress_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmIPAddressFamily::kFamilyFieldNumber;
+const int RealmIPAddressFamily::kAddressesFieldNumber;
+#endif // !_MSC_VER
+
+RealmIPAddressFamily::RealmIPAddressFamily()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmIPAddressFamily)
+}
+
+void RealmIPAddressFamily::InitAsDefaultInstance() {
+}
+
+RealmIPAddressFamily::RealmIPAddressFamily(const RealmIPAddressFamily& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmIPAddressFamily)
+}
+
+void RealmIPAddressFamily::SharedCtor() {
+ _cached_size_ = 0;
+ family_ = 0u;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmIPAddressFamily::~RealmIPAddressFamily() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmIPAddressFamily)
+ SharedDtor();
+}
+
+void RealmIPAddressFamily::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RealmIPAddressFamily::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmIPAddressFamily::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmIPAddressFamily_descriptor_;
+}
+
+const RealmIPAddressFamily& RealmIPAddressFamily::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmIPAddressFamily* RealmIPAddressFamily::default_instance_ = NULL;
+
+RealmIPAddressFamily* RealmIPAddressFamily::New() const {
+ return new RealmIPAddressFamily;
+}
+
+void RealmIPAddressFamily::Swap(RealmIPAddressFamily* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmIPAddressFamily::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmIPAddressFamily_descriptor_;
+ metadata.reflection = RealmIPAddressFamily_reflection_;
+ return metadata;
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int RealmListServerIPAddresses::kFamiliesFieldNumber;
+#endif // !_MSC_VER
+
+RealmListServerIPAddresses::RealmListServerIPAddresses()
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:JSON.RealmList.RealmListServerIPAddresses)
+}
+
+void RealmListServerIPAddresses::InitAsDefaultInstance() {
+}
+
+RealmListServerIPAddresses::RealmListServerIPAddresses(const RealmListServerIPAddresses& from)
+ : ::google::protobuf::Message() {
+ SharedCtor();
+ MergeFrom(from);
+ // @@protoc_insertion_point(copy_constructor:JSON.RealmList.RealmListServerIPAddresses)
+}
+
+void RealmListServerIPAddresses::SharedCtor() {
+ _cached_size_ = 0;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+RealmListServerIPAddresses::~RealmListServerIPAddresses() {
+ // @@protoc_insertion_point(destructor:JSON.RealmList.RealmListServerIPAddresses)
+ SharedDtor();
+}
+
+void RealmListServerIPAddresses::SharedDtor() {
+ if (this != default_instance_) {
+ }
+}
+
+void RealmListServerIPAddresses::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* RealmListServerIPAddresses::descriptor() {
+ protobuf_AssignDescriptorsOnce();
+ return RealmListServerIPAddresses_descriptor_;
+}
+
+const RealmListServerIPAddresses& RealmListServerIPAddresses::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_RealmList_2eproto();
+ return *default_instance_;
+}
+
+RealmListServerIPAddresses* RealmListServerIPAddresses::default_instance_ = NULL;
+
+RealmListServerIPAddresses* RealmListServerIPAddresses::New() const {
+ return new RealmListServerIPAddresses;
+}
+
+void RealmListServerIPAddresses::Swap(RealmListServerIPAddresses* other) {
+ if (other != this) {
+ GetReflection()->Swap(this, other);}
+}
+
+::google::protobuf::Metadata RealmListServerIPAddresses::GetMetadata() const {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::Metadata metadata;
+ metadata.descriptor = RealmListServerIPAddresses_descriptor_;
+ metadata.reflection = RealmListServerIPAddresses_reflection_;
+ return metadata;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace RealmList
+} // namespace JSON
+
+// @@protoc_insertion_point(global_scope)
diff --git a/src/server/proto/RealmList/RealmList.pb.h b/src/server/proto/RealmList/RealmList.pb.h
new file mode 100644
index 00000000000..cf557ec9432
--- /dev/null
+++ b/src/server/proto/RealmList/RealmList.pb.h
@@ -0,0 +1,2483 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: RealmList.proto
+
+#ifndef PROTOBUF_RealmList_2eproto__INCLUDED
+#define PROTOBUF_RealmList_2eproto__INCLUDED
+
+#include <string>
+
+#include <google/protobuf/stubs/common.h>
+
+#if GOOGLE_PROTOBUF_VERSION < 2006000
+#error This file was generated by a newer version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please update
+#error your headers.
+#endif
+#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#error This file was generated by an older version of protoc which is
+#error incompatible with your Protocol Buffer headers. Please
+#error regenerate this file with a newer version of protoc.
+#endif
+
+#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/message.h>
+#include <google/protobuf/repeated_field.h>
+#include <google/protobuf/extension_set.h>
+#include <google/protobuf/unknown_field_set.h>
+#include "Define.h" // for TC_SHARED_API
+// @@protoc_insertion_point(includes)
+
+namespace JSON {
+namespace RealmList {
+
+// Internal implementation detail -- do not call these.
+void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+void protobuf_AssignDesc_RealmList_2eproto();
+void protobuf_ShutdownFile_RealmList_2eproto();
+
+class RealmListTicketIdentity;
+class ClientVersion;
+class ClientInformation;
+class RealmListTicketClientInformation;
+class RealmCharacterCountEntry;
+class RealmCharacterCountList;
+class RealmEntry;
+class RealmState;
+class RealmListUpdates;
+class IPAddress;
+class RealmIPAddressFamily;
+class RealmListServerIPAddresses;
+
+// ===================================================================
+
+class TC_SHARED_API RealmListTicketIdentity : public ::google::protobuf::Message {
+ public:
+ RealmListTicketIdentity();
+ virtual ~RealmListTicketIdentity();
+
+ RealmListTicketIdentity(const RealmListTicketIdentity& from);
+
+ inline RealmListTicketIdentity& operator=(const RealmListTicketIdentity& 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 RealmListTicketIdentity& default_instance();
+
+ void Swap(RealmListTicketIdentity* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmListTicketIdentity* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required fixed32 gameAccountID = 1;
+ inline bool has_gameaccountid() const;
+ inline void clear_gameaccountid();
+ static const int kGameAccountIDFieldNumber = 1;
+ inline ::google::protobuf::uint32 gameaccountid() const;
+ inline void set_gameaccountid(::google::protobuf::uint32 value);
+
+ // required uint32 gameAccountRegion = 2;
+ inline bool has_gameaccountregion() const;
+ inline void clear_gameaccountregion();
+ static const int kGameAccountRegionFieldNumber = 2;
+ inline ::google::protobuf::uint32 gameaccountregion() const;
+ inline void set_gameaccountregion(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmListTicketIdentity)
+ private:
+ inline void set_has_gameaccountid();
+ inline void clear_has_gameaccountid();
+ inline void set_has_gameaccountregion();
+ inline void clear_has_gameaccountregion();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint32 gameaccountid_;
+ ::google::protobuf::uint32 gameaccountregion_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmListTicketIdentity* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API ClientVersion : public ::google::protobuf::Message {
+ public:
+ ClientVersion();
+ virtual ~ClientVersion();
+
+ ClientVersion(const ClientVersion& from);
+
+ inline ClientVersion& operator=(const ClientVersion& 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 ClientVersion& default_instance();
+
+ void Swap(ClientVersion* other);
+
+ // implements Message ----------------------------------------------
+
+ ClientVersion* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required uint32 versionMajor = 1;
+ inline bool has_versionmajor() const;
+ inline void clear_versionmajor();
+ static const int kVersionMajorFieldNumber = 1;
+ inline ::google::protobuf::uint32 versionmajor() const;
+ inline void set_versionmajor(::google::protobuf::uint32 value);
+
+ // required uint32 versionMinor = 2;
+ inline bool has_versionminor() const;
+ inline void clear_versionminor();
+ static const int kVersionMinorFieldNumber = 2;
+ inline ::google::protobuf::uint32 versionminor() const;
+ inline void set_versionminor(::google::protobuf::uint32 value);
+
+ // required uint32 versionRevision = 3;
+ inline bool has_versionrevision() const;
+ inline void clear_versionrevision();
+ static const int kVersionRevisionFieldNumber = 3;
+ inline ::google::protobuf::uint32 versionrevision() const;
+ inline void set_versionrevision(::google::protobuf::uint32 value);
+
+ // required fixed32 versionBuild = 4;
+ inline bool has_versionbuild() const;
+ inline void clear_versionbuild();
+ static const int kVersionBuildFieldNumber = 4;
+ inline ::google::protobuf::uint32 versionbuild() const;
+ inline void set_versionbuild(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.ClientVersion)
+ private:
+ inline void set_has_versionmajor();
+ inline void clear_has_versionmajor();
+ inline void set_has_versionminor();
+ inline void clear_has_versionminor();
+ inline void set_has_versionrevision();
+ inline void clear_has_versionrevision();
+ inline void set_has_versionbuild();
+ inline void clear_has_versionbuild();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint32 versionmajor_;
+ ::google::protobuf::uint32 versionminor_;
+ ::google::protobuf::uint32 versionrevision_;
+ ::google::protobuf::uint32 versionbuild_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static ClientVersion* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API ClientInformation : public ::google::protobuf::Message {
+ public:
+ ClientInformation();
+ virtual ~ClientInformation();
+
+ ClientInformation(const ClientInformation& from);
+
+ inline ClientInformation& operator=(const ClientInformation& 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 ClientInformation& default_instance();
+
+ void Swap(ClientInformation* other);
+
+ // implements Message ----------------------------------------------
+
+ ClientInformation* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required fixed32 platform = 1;
+ inline bool has_platform() const;
+ inline void clear_platform();
+ static const int kPlatformFieldNumber = 1;
+ inline ::google::protobuf::uint32 platform() const;
+ inline void set_platform(::google::protobuf::uint32 value);
+
+ // required string buildVariant = 2;
+ inline bool has_buildvariant() const;
+ inline void clear_buildvariant();
+ static const int kBuildVariantFieldNumber = 2;
+ inline const ::std::string& buildvariant() const;
+ inline void set_buildvariant(const ::std::string& value);
+ inline void set_buildvariant(const char* value);
+ inline void set_buildvariant(const char* value, size_t size);
+ inline ::std::string* mutable_buildvariant();
+ inline ::std::string* release_buildvariant();
+ inline void set_allocated_buildvariant(::std::string* buildvariant);
+
+ // required fixed32 type = 3;
+ inline bool has_type() const;
+ inline void clear_type();
+ static const int kTypeFieldNumber = 3;
+ inline ::google::protobuf::uint32 type() const;
+ inline void set_type(::google::protobuf::uint32 value);
+
+ // required string timeZone = 4;
+ inline bool has_timezone() const;
+ inline void clear_timezone();
+ static const int kTimeZoneFieldNumber = 4;
+ inline const ::std::string& timezone() const;
+ inline void set_timezone(const ::std::string& value);
+ inline void set_timezone(const char* value);
+ inline void set_timezone(const char* value, size_t size);
+ inline ::std::string* mutable_timezone();
+ inline ::std::string* release_timezone();
+ inline void set_allocated_timezone(::std::string* timezone);
+
+ // required uint32 currentTime = 5;
+ inline bool has_currenttime() const;
+ inline void clear_currenttime();
+ static const int kCurrentTimeFieldNumber = 5;
+ inline ::google::protobuf::uint32 currenttime() const;
+ inline void set_currenttime(::google::protobuf::uint32 value);
+
+ // required fixed32 textLocale = 6;
+ inline bool has_textlocale() const;
+ inline void clear_textlocale();
+ static const int kTextLocaleFieldNumber = 6;
+ inline ::google::protobuf::uint32 textlocale() const;
+ inline void set_textlocale(::google::protobuf::uint32 value);
+
+ // required fixed32 audioLocale = 7;
+ inline bool has_audiolocale() const;
+ inline void clear_audiolocale();
+ static const int kAudioLocaleFieldNumber = 7;
+ inline ::google::protobuf::uint32 audiolocale() const;
+ inline void set_audiolocale(::google::protobuf::uint32 value);
+
+ // required fixed32 versionDataBuild = 8;
+ inline bool has_versiondatabuild() const;
+ inline void clear_versiondatabuild();
+ static const int kVersionDataBuildFieldNumber = 8;
+ inline ::google::protobuf::uint32 versiondatabuild() const;
+ inline void set_versiondatabuild(::google::protobuf::uint32 value);
+
+ // required .JSON.RealmList.ClientVersion version = 9;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 9;
+ inline const ::JSON::RealmList::ClientVersion& version() const;
+ inline ::JSON::RealmList::ClientVersion* mutable_version();
+ inline ::JSON::RealmList::ClientVersion* release_version();
+ inline void set_allocated_version(::JSON::RealmList::ClientVersion* version);
+
+ // required bytes secret = 10;
+ inline bool has_secret() const;
+ inline void clear_secret();
+ static const int kSecretFieldNumber = 10;
+ inline const ::std::string& secret() const;
+ inline void set_secret(const ::std::string& value);
+ inline void set_secret(const char* value);
+ inline void set_secret(const void* value, size_t size);
+ inline ::std::string* mutable_secret();
+ inline ::std::string* release_secret();
+ inline void set_allocated_secret(::std::string* secret);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.ClientInformation)
+ private:
+ inline void set_has_platform();
+ inline void clear_has_platform();
+ inline void set_has_buildvariant();
+ inline void clear_has_buildvariant();
+ inline void set_has_type();
+ inline void clear_has_type();
+ inline void set_has_timezone();
+ inline void clear_has_timezone();
+ inline void set_has_currenttime();
+ inline void clear_has_currenttime();
+ inline void set_has_textlocale();
+ inline void clear_has_textlocale();
+ inline void set_has_audiolocale();
+ inline void clear_has_audiolocale();
+ inline void set_has_versiondatabuild();
+ inline void clear_has_versiondatabuild();
+ inline void set_has_version();
+ inline void clear_has_version();
+ inline void set_has_secret();
+ inline void clear_has_secret();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* buildvariant_;
+ ::google::protobuf::uint32 platform_;
+ ::google::protobuf::uint32 type_;
+ ::std::string* timezone_;
+ ::google::protobuf::uint32 currenttime_;
+ ::google::protobuf::uint32 textlocale_;
+ ::google::protobuf::uint32 audiolocale_;
+ ::google::protobuf::uint32 versiondatabuild_;
+ ::JSON::RealmList::ClientVersion* version_;
+ ::std::string* secret_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static ClientInformation* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmListTicketClientInformation : public ::google::protobuf::Message {
+ public:
+ RealmListTicketClientInformation();
+ virtual ~RealmListTicketClientInformation();
+
+ RealmListTicketClientInformation(const RealmListTicketClientInformation& from);
+
+ inline RealmListTicketClientInformation& operator=(const RealmListTicketClientInformation& 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 RealmListTicketClientInformation& default_instance();
+
+ void Swap(RealmListTicketClientInformation* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmListTicketClientInformation* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required .JSON.RealmList.ClientInformation info = 1;
+ inline bool has_info() const;
+ inline void clear_info();
+ static const int kInfoFieldNumber = 1;
+ inline const ::JSON::RealmList::ClientInformation& info() const;
+ inline ::JSON::RealmList::ClientInformation* mutable_info();
+ inline ::JSON::RealmList::ClientInformation* release_info();
+ inline void set_allocated_info(::JSON::RealmList::ClientInformation* info);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmListTicketClientInformation)
+ private:
+ inline void set_has_info();
+ inline void clear_has_info();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::JSON::RealmList::ClientInformation* info_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmListTicketClientInformation* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmCharacterCountEntry : public ::google::protobuf::Message {
+ public:
+ RealmCharacterCountEntry();
+ virtual ~RealmCharacterCountEntry();
+
+ RealmCharacterCountEntry(const RealmCharacterCountEntry& from);
+
+ inline RealmCharacterCountEntry& operator=(const RealmCharacterCountEntry& 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 RealmCharacterCountEntry& default_instance();
+
+ void Swap(RealmCharacterCountEntry* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmCharacterCountEntry* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required fixed32 wowRealmAddress = 1;
+ inline bool has_wowrealmaddress() const;
+ inline void clear_wowrealmaddress();
+ static const int kWowRealmAddressFieldNumber = 1;
+ inline ::google::protobuf::uint32 wowrealmaddress() const;
+ inline void set_wowrealmaddress(::google::protobuf::uint32 value);
+
+ // required uint32 count = 2;
+ inline bool has_count() const;
+ inline void clear_count();
+ static const int kCountFieldNumber = 2;
+ inline ::google::protobuf::uint32 count() const;
+ inline void set_count(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmCharacterCountEntry)
+ private:
+ inline void set_has_wowrealmaddress();
+ inline void clear_has_wowrealmaddress();
+ inline void set_has_count();
+ inline void clear_has_count();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint32 wowrealmaddress_;
+ ::google::protobuf::uint32 count_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmCharacterCountEntry* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmCharacterCountList : public ::google::protobuf::Message {
+ public:
+ RealmCharacterCountList();
+ virtual ~RealmCharacterCountList();
+
+ RealmCharacterCountList(const RealmCharacterCountList& from);
+
+ inline RealmCharacterCountList& operator=(const RealmCharacterCountList& 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 RealmCharacterCountList& default_instance();
+
+ void Swap(RealmCharacterCountList* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmCharacterCountList* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .JSON.RealmList.RealmCharacterCountEntry counts = 1;
+ inline int counts_size() const;
+ inline void clear_counts();
+ static const int kCountsFieldNumber = 1;
+ inline const ::JSON::RealmList::RealmCharacterCountEntry& counts(int index) const;
+ inline ::JSON::RealmList::RealmCharacterCountEntry* mutable_counts(int index);
+ inline ::JSON::RealmList::RealmCharacterCountEntry* add_counts();
+ inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmCharacterCountEntry >&
+ counts() const;
+ inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmCharacterCountEntry >*
+ mutable_counts();
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmCharacterCountList)
+ private:
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmCharacterCountEntry > counts_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmCharacterCountList* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmEntry : public ::google::protobuf::Message {
+ public:
+ RealmEntry();
+ virtual ~RealmEntry();
+
+ RealmEntry(const RealmEntry& from);
+
+ inline RealmEntry& operator=(const RealmEntry& 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 RealmEntry& default_instance();
+
+ void Swap(RealmEntry* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmEntry* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required fixed32 wowRealmAddress = 1;
+ inline bool has_wowrealmaddress() const;
+ inline void clear_wowrealmaddress();
+ static const int kWowRealmAddressFieldNumber = 1;
+ inline ::google::protobuf::uint32 wowrealmaddress() const;
+ inline void set_wowrealmaddress(::google::protobuf::uint32 value);
+
+ // required uint32 cfgTimezonesID = 2;
+ inline bool has_cfgtimezonesid() const;
+ inline void clear_cfgtimezonesid();
+ static const int kCfgTimezonesIDFieldNumber = 2;
+ inline ::google::protobuf::uint32 cfgtimezonesid() const;
+ inline void set_cfgtimezonesid(::google::protobuf::uint32 value);
+
+ // required uint32 populationState = 3;
+ inline bool has_populationstate() const;
+ inline void clear_populationstate();
+ static const int kPopulationStateFieldNumber = 3;
+ inline ::google::protobuf::uint32 populationstate() const;
+ inline void set_populationstate(::google::protobuf::uint32 value);
+
+ // required uint32 cfgCategoriesID = 4;
+ inline bool has_cfgcategoriesid() const;
+ inline void clear_cfgcategoriesid();
+ static const int kCfgCategoriesIDFieldNumber = 4;
+ inline ::google::protobuf::uint32 cfgcategoriesid() const;
+ inline void set_cfgcategoriesid(::google::protobuf::uint32 value);
+
+ // required .JSON.RealmList.ClientVersion version = 5;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 5;
+ inline const ::JSON::RealmList::ClientVersion& version() const;
+ inline ::JSON::RealmList::ClientVersion* mutable_version();
+ inline ::JSON::RealmList::ClientVersion* release_version();
+ inline void set_allocated_version(::JSON::RealmList::ClientVersion* version);
+
+ // required uint32 cfgRealmsID = 6;
+ inline bool has_cfgrealmsid() const;
+ inline void clear_cfgrealmsid();
+ static const int kCfgRealmsIDFieldNumber = 6;
+ inline ::google::protobuf::uint32 cfgrealmsid() const;
+ inline void set_cfgrealmsid(::google::protobuf::uint32 value);
+
+ // required uint32 flags = 7;
+ inline bool has_flags() const;
+ inline void clear_flags();
+ static const int kFlagsFieldNumber = 7;
+ inline ::google::protobuf::uint32 flags() const;
+ inline void set_flags(::google::protobuf::uint32 value);
+
+ // required string name = 8;
+ inline bool has_name() const;
+ inline void clear_name();
+ static const int kNameFieldNumber = 8;
+ inline const ::std::string& name() const;
+ inline void set_name(const ::std::string& value);
+ inline void set_name(const char* value);
+ inline void set_name(const char* value, size_t size);
+ inline ::std::string* mutable_name();
+ inline ::std::string* release_name();
+ inline void set_allocated_name(::std::string* name);
+
+ // required uint32 cfgConfigsID = 9;
+ inline bool has_cfgconfigsid() const;
+ inline void clear_cfgconfigsid();
+ static const int kCfgConfigsIDFieldNumber = 9;
+ inline ::google::protobuf::uint32 cfgconfigsid() const;
+ inline void set_cfgconfigsid(::google::protobuf::uint32 value);
+
+ // required uint32 cfgLanguagesID = 10;
+ inline bool has_cfglanguagesid() const;
+ inline void clear_cfglanguagesid();
+ static const int kCfgLanguagesIDFieldNumber = 10;
+ inline ::google::protobuf::uint32 cfglanguagesid() const;
+ inline void set_cfglanguagesid(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmEntry)
+ private:
+ inline void set_has_wowrealmaddress();
+ inline void clear_has_wowrealmaddress();
+ inline void set_has_cfgtimezonesid();
+ inline void clear_has_cfgtimezonesid();
+ inline void set_has_populationstate();
+ inline void clear_has_populationstate();
+ inline void set_has_cfgcategoriesid();
+ inline void clear_has_cfgcategoriesid();
+ inline void set_has_version();
+ inline void clear_has_version();
+ inline void set_has_cfgrealmsid();
+ inline void clear_has_cfgrealmsid();
+ inline void set_has_flags();
+ inline void clear_has_flags();
+ inline void set_has_name();
+ inline void clear_has_name();
+ inline void set_has_cfgconfigsid();
+ inline void clear_has_cfgconfigsid();
+ inline void set_has_cfglanguagesid();
+ inline void clear_has_cfglanguagesid();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::uint32 wowrealmaddress_;
+ ::google::protobuf::uint32 cfgtimezonesid_;
+ ::google::protobuf::uint32 populationstate_;
+ ::google::protobuf::uint32 cfgcategoriesid_;
+ ::JSON::RealmList::ClientVersion* version_;
+ ::google::protobuf::uint32 cfgrealmsid_;
+ ::google::protobuf::uint32 flags_;
+ ::std::string* name_;
+ ::google::protobuf::uint32 cfgconfigsid_;
+ ::google::protobuf::uint32 cfglanguagesid_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmEntry* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmState : public ::google::protobuf::Message {
+ public:
+ RealmState();
+ virtual ~RealmState();
+
+ RealmState(const RealmState& from);
+
+ inline RealmState& operator=(const RealmState& 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 RealmState& default_instance();
+
+ void Swap(RealmState* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmState* 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 .JSON.RealmList.RealmEntry update = 1;
+ inline bool has_update() const;
+ inline void clear_update();
+ static const int kUpdateFieldNumber = 1;
+ inline const ::JSON::RealmList::RealmEntry& update() const;
+ inline ::JSON::RealmList::RealmEntry* mutable_update();
+ inline ::JSON::RealmList::RealmEntry* release_update();
+ inline void set_allocated_update(::JSON::RealmList::RealmEntry* update);
+
+ // required bool deleting = 2;
+ inline bool has_deleting() const;
+ inline void clear_deleting();
+ static const int kDeletingFieldNumber = 2;
+ inline bool deleting() const;
+ inline void set_deleting(bool value);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmState)
+ private:
+ inline void set_has_update();
+ inline void clear_has_update();
+ inline void set_has_deleting();
+ inline void clear_has_deleting();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::JSON::RealmList::RealmEntry* update_;
+ bool deleting_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmState* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmListUpdates : public ::google::protobuf::Message {
+ public:
+ RealmListUpdates();
+ virtual ~RealmListUpdates();
+
+ RealmListUpdates(const RealmListUpdates& from);
+
+ inline RealmListUpdates& operator=(const RealmListUpdates& 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 RealmListUpdates& default_instance();
+
+ void Swap(RealmListUpdates* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmListUpdates* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .JSON.RealmList.RealmState updates = 1;
+ inline int updates_size() const;
+ inline void clear_updates();
+ static const int kUpdatesFieldNumber = 1;
+ inline const ::JSON::RealmList::RealmState& updates(int index) const;
+ inline ::JSON::RealmList::RealmState* mutable_updates(int index);
+ inline ::JSON::RealmList::RealmState* add_updates();
+ inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmState >&
+ updates() const;
+ inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmState >*
+ mutable_updates();
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmListUpdates)
+ private:
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmState > updates_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmListUpdates* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API IPAddress : public ::google::protobuf::Message {
+ public:
+ IPAddress();
+ virtual ~IPAddress();
+
+ IPAddress(const IPAddress& from);
+
+ inline IPAddress& operator=(const IPAddress& 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 IPAddress& default_instance();
+
+ void Swap(IPAddress* other);
+
+ // implements Message ----------------------------------------------
+
+ IPAddress* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required string ip = 1;
+ inline bool has_ip() const;
+ inline void clear_ip();
+ static const int kIpFieldNumber = 1;
+ inline const ::std::string& ip() const;
+ inline void set_ip(const ::std::string& value);
+ inline void set_ip(const char* value);
+ inline void set_ip(const char* value, size_t size);
+ inline ::std::string* mutable_ip();
+ inline ::std::string* release_ip();
+ inline void set_allocated_ip(::std::string* ip);
+
+ // required uint32 port = 2;
+ inline bool has_port() const;
+ inline void clear_port();
+ static const int kPortFieldNumber = 2;
+ inline ::google::protobuf::uint32 port() const;
+ inline void set_port(::google::protobuf::uint32 value);
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.IPAddress)
+ private:
+ inline void set_has_ip();
+ inline void clear_has_ip();
+ inline void set_has_port();
+ inline void clear_has_port();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::std::string* ip_;
+ ::google::protobuf::uint32 port_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static IPAddress* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmIPAddressFamily : public ::google::protobuf::Message {
+ public:
+ RealmIPAddressFamily();
+ virtual ~RealmIPAddressFamily();
+
+ RealmIPAddressFamily(const RealmIPAddressFamily& from);
+
+ inline RealmIPAddressFamily& operator=(const RealmIPAddressFamily& 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 RealmIPAddressFamily& default_instance();
+
+ void Swap(RealmIPAddressFamily* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmIPAddressFamily* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // required uint32 family = 1;
+ inline bool has_family() const;
+ inline void clear_family();
+ static const int kFamilyFieldNumber = 1;
+ inline ::google::protobuf::uint32 family() const;
+ inline void set_family(::google::protobuf::uint32 value);
+
+ // repeated .JSON.RealmList.IPAddress addresses = 2;
+ inline int addresses_size() const;
+ inline void clear_addresses();
+ static const int kAddressesFieldNumber = 2;
+ inline const ::JSON::RealmList::IPAddress& addresses(int index) const;
+ inline ::JSON::RealmList::IPAddress* mutable_addresses(int index);
+ inline ::JSON::RealmList::IPAddress* add_addresses();
+ inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::IPAddress >&
+ addresses() const;
+ inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::IPAddress >*
+ mutable_addresses();
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmIPAddressFamily)
+ private:
+ inline void set_has_family();
+ inline void clear_has_family();
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::IPAddress > addresses_;
+ ::google::protobuf::uint32 family_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmIPAddressFamily* default_instance_;
+};
+// -------------------------------------------------------------------
+
+class TC_SHARED_API RealmListServerIPAddresses : public ::google::protobuf::Message {
+ public:
+ RealmListServerIPAddresses();
+ virtual ~RealmListServerIPAddresses();
+
+ RealmListServerIPAddresses(const RealmListServerIPAddresses& from);
+
+ inline RealmListServerIPAddresses& operator=(const RealmListServerIPAddresses& 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 RealmListServerIPAddresses& default_instance();
+
+ void Swap(RealmListServerIPAddresses* other);
+
+ // implements Message ----------------------------------------------
+
+ RealmListServerIPAddresses* New() const;
+ int GetCachedSize() const { return _cached_size_; }
+ private:
+ void SharedCtor();
+ void SharedDtor();
+ void SetCachedSize(int size) const;
+ public:
+ ::google::protobuf::Metadata GetMetadata() const;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ // repeated .JSON.RealmList.RealmIPAddressFamily families = 1;
+ inline int families_size() const;
+ inline void clear_families();
+ static const int kFamiliesFieldNumber = 1;
+ inline const ::JSON::RealmList::RealmIPAddressFamily& families(int index) const;
+ inline ::JSON::RealmList::RealmIPAddressFamily* mutable_families(int index);
+ inline ::JSON::RealmList::RealmIPAddressFamily* add_families();
+ inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmIPAddressFamily >&
+ families() const;
+ inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmIPAddressFamily >*
+ mutable_families();
+
+ // @@protoc_insertion_point(class_scope:JSON.RealmList.RealmListServerIPAddresses)
+ private:
+
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+
+ ::google::protobuf::uint32 _has_bits_[1];
+ mutable int _cached_size_;
+ ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmIPAddressFamily > families_;
+ friend void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto();
+ friend void protobuf_AssignDesc_RealmList_2eproto();
+ friend void protobuf_ShutdownFile_RealmList_2eproto();
+
+ void InitAsDefaultInstance();
+ static RealmListServerIPAddresses* default_instance_;
+};
+// ===================================================================
+
+
+// ===================================================================
+
+
+// ===================================================================
+
+// RealmListTicketIdentity
+
+// required fixed32 gameAccountID = 1;
+inline bool RealmListTicketIdentity::has_gameaccountid() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RealmListTicketIdentity::set_has_gameaccountid() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RealmListTicketIdentity::clear_has_gameaccountid() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RealmListTicketIdentity::clear_gameaccountid() {
+ gameaccountid_ = 0u;
+ clear_has_gameaccountid();
+}
+inline ::google::protobuf::uint32 RealmListTicketIdentity::gameaccountid() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmListTicketIdentity.gameAccountID)
+ return gameaccountid_;
+}
+inline void RealmListTicketIdentity::set_gameaccountid(::google::protobuf::uint32 value) {
+ set_has_gameaccountid();
+ gameaccountid_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmListTicketIdentity.gameAccountID)
+}
+
+// required uint32 gameAccountRegion = 2;
+inline bool RealmListTicketIdentity::has_gameaccountregion() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void RealmListTicketIdentity::set_has_gameaccountregion() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void RealmListTicketIdentity::clear_has_gameaccountregion() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void RealmListTicketIdentity::clear_gameaccountregion() {
+ gameaccountregion_ = 0u;
+ clear_has_gameaccountregion();
+}
+inline ::google::protobuf::uint32 RealmListTicketIdentity::gameaccountregion() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmListTicketIdentity.gameAccountRegion)
+ return gameaccountregion_;
+}
+inline void RealmListTicketIdentity::set_gameaccountregion(::google::protobuf::uint32 value) {
+ set_has_gameaccountregion();
+ gameaccountregion_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmListTicketIdentity.gameAccountRegion)
+}
+
+// -------------------------------------------------------------------
+
+// ClientVersion
+
+// required uint32 versionMajor = 1;
+inline bool ClientVersion::has_versionmajor() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void ClientVersion::set_has_versionmajor() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void ClientVersion::clear_has_versionmajor() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void ClientVersion::clear_versionmajor() {
+ versionmajor_ = 0u;
+ clear_has_versionmajor();
+}
+inline ::google::protobuf::uint32 ClientVersion::versionmajor() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientVersion.versionMajor)
+ return versionmajor_;
+}
+inline void ClientVersion::set_versionmajor(::google::protobuf::uint32 value) {
+ set_has_versionmajor();
+ versionmajor_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientVersion.versionMajor)
+}
+
+// required uint32 versionMinor = 2;
+inline bool ClientVersion::has_versionminor() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void ClientVersion::set_has_versionminor() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void ClientVersion::clear_has_versionminor() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void ClientVersion::clear_versionminor() {
+ versionminor_ = 0u;
+ clear_has_versionminor();
+}
+inline ::google::protobuf::uint32 ClientVersion::versionminor() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientVersion.versionMinor)
+ return versionminor_;
+}
+inline void ClientVersion::set_versionminor(::google::protobuf::uint32 value) {
+ set_has_versionminor();
+ versionminor_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientVersion.versionMinor)
+}
+
+// required uint32 versionRevision = 3;
+inline bool ClientVersion::has_versionrevision() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void ClientVersion::set_has_versionrevision() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void ClientVersion::clear_has_versionrevision() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void ClientVersion::clear_versionrevision() {
+ versionrevision_ = 0u;
+ clear_has_versionrevision();
+}
+inline ::google::protobuf::uint32 ClientVersion::versionrevision() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientVersion.versionRevision)
+ return versionrevision_;
+}
+inline void ClientVersion::set_versionrevision(::google::protobuf::uint32 value) {
+ set_has_versionrevision();
+ versionrevision_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientVersion.versionRevision)
+}
+
+// required fixed32 versionBuild = 4;
+inline bool ClientVersion::has_versionbuild() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void ClientVersion::set_has_versionbuild() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void ClientVersion::clear_has_versionbuild() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void ClientVersion::clear_versionbuild() {
+ versionbuild_ = 0u;
+ clear_has_versionbuild();
+}
+inline ::google::protobuf::uint32 ClientVersion::versionbuild() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientVersion.versionBuild)
+ return versionbuild_;
+}
+inline void ClientVersion::set_versionbuild(::google::protobuf::uint32 value) {
+ set_has_versionbuild();
+ versionbuild_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientVersion.versionBuild)
+}
+
+// -------------------------------------------------------------------
+
+// ClientInformation
+
+// required fixed32 platform = 1;
+inline bool ClientInformation::has_platform() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void ClientInformation::set_has_platform() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void ClientInformation::clear_has_platform() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void ClientInformation::clear_platform() {
+ platform_ = 0u;
+ clear_has_platform();
+}
+inline ::google::protobuf::uint32 ClientInformation::platform() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.platform)
+ return platform_;
+}
+inline void ClientInformation::set_platform(::google::protobuf::uint32 value) {
+ set_has_platform();
+ platform_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.platform)
+}
+
+// required string buildVariant = 2;
+inline bool ClientInformation::has_buildvariant() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void ClientInformation::set_has_buildvariant() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void ClientInformation::clear_has_buildvariant() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void ClientInformation::clear_buildvariant() {
+ if (buildvariant_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ buildvariant_->clear();
+ }
+ clear_has_buildvariant();
+}
+inline const ::std::string& ClientInformation::buildvariant() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.buildVariant)
+ return *buildvariant_;
+}
+inline void ClientInformation::set_buildvariant(const ::std::string& value) {
+ set_has_buildvariant();
+ if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ buildvariant_ = new ::std::string;
+ }
+ buildvariant_->assign(value);
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.buildVariant)
+}
+inline void ClientInformation::set_buildvariant(const char* value) {
+ set_has_buildvariant();
+ if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ buildvariant_ = new ::std::string;
+ }
+ buildvariant_->assign(value);
+ // @@protoc_insertion_point(field_set_char:JSON.RealmList.ClientInformation.buildVariant)
+}
+inline void ClientInformation::set_buildvariant(const char* value, size_t size) {
+ set_has_buildvariant();
+ if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ buildvariant_ = new ::std::string;
+ }
+ buildvariant_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:JSON.RealmList.ClientInformation.buildVariant)
+}
+inline ::std::string* ClientInformation::mutable_buildvariant() {
+ set_has_buildvariant();
+ if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ buildvariant_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.ClientInformation.buildVariant)
+ return buildvariant_;
+}
+inline ::std::string* ClientInformation::release_buildvariant() {
+ clear_has_buildvariant();
+ if (buildvariant_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = buildvariant_;
+ buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClientInformation::set_allocated_buildvariant(::std::string* buildvariant) {
+ if (buildvariant_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete buildvariant_;
+ }
+ if (buildvariant) {
+ set_has_buildvariant();
+ buildvariant_ = buildvariant;
+ } else {
+ clear_has_buildvariant();
+ buildvariant_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.ClientInformation.buildVariant)
+}
+
+// required fixed32 type = 3;
+inline bool ClientInformation::has_type() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void ClientInformation::set_has_type() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void ClientInformation::clear_has_type() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void ClientInformation::clear_type() {
+ type_ = 0u;
+ clear_has_type();
+}
+inline ::google::protobuf::uint32 ClientInformation::type() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.type)
+ return type_;
+}
+inline void ClientInformation::set_type(::google::protobuf::uint32 value) {
+ set_has_type();
+ type_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.type)
+}
+
+// required string timeZone = 4;
+inline bool ClientInformation::has_timezone() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void ClientInformation::set_has_timezone() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void ClientInformation::clear_has_timezone() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void ClientInformation::clear_timezone() {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_->clear();
+ }
+ clear_has_timezone();
+}
+inline const ::std::string& ClientInformation::timezone() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.timeZone)
+ return *timezone_;
+}
+inline void ClientInformation::set_timezone(const ::std::string& value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.timeZone)
+}
+inline void ClientInformation::set_timezone(const char* value) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(value);
+ // @@protoc_insertion_point(field_set_char:JSON.RealmList.ClientInformation.timeZone)
+}
+inline void ClientInformation::set_timezone(const char* value, size_t size) {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ timezone_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:JSON.RealmList.ClientInformation.timeZone)
+}
+inline ::std::string* ClientInformation::mutable_timezone() {
+ set_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ timezone_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.ClientInformation.timeZone)
+ return timezone_;
+}
+inline ::std::string* ClientInformation::release_timezone() {
+ clear_has_timezone();
+ if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = timezone_;
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClientInformation::set_allocated_timezone(::std::string* timezone) {
+ if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete timezone_;
+ }
+ if (timezone) {
+ set_has_timezone();
+ timezone_ = timezone;
+ } else {
+ clear_has_timezone();
+ timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.ClientInformation.timeZone)
+}
+
+// required uint32 currentTime = 5;
+inline bool ClientInformation::has_currenttime() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void ClientInformation::set_has_currenttime() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void ClientInformation::clear_has_currenttime() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void ClientInformation::clear_currenttime() {
+ currenttime_ = 0u;
+ clear_has_currenttime();
+}
+inline ::google::protobuf::uint32 ClientInformation::currenttime() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.currentTime)
+ return currenttime_;
+}
+inline void ClientInformation::set_currenttime(::google::protobuf::uint32 value) {
+ set_has_currenttime();
+ currenttime_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.currentTime)
+}
+
+// required fixed32 textLocale = 6;
+inline bool ClientInformation::has_textlocale() const {
+ return (_has_bits_[0] & 0x00000020u) != 0;
+}
+inline void ClientInformation::set_has_textlocale() {
+ _has_bits_[0] |= 0x00000020u;
+}
+inline void ClientInformation::clear_has_textlocale() {
+ _has_bits_[0] &= ~0x00000020u;
+}
+inline void ClientInformation::clear_textlocale() {
+ textlocale_ = 0u;
+ clear_has_textlocale();
+}
+inline ::google::protobuf::uint32 ClientInformation::textlocale() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.textLocale)
+ return textlocale_;
+}
+inline void ClientInformation::set_textlocale(::google::protobuf::uint32 value) {
+ set_has_textlocale();
+ textlocale_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.textLocale)
+}
+
+// required fixed32 audioLocale = 7;
+inline bool ClientInformation::has_audiolocale() const {
+ return (_has_bits_[0] & 0x00000040u) != 0;
+}
+inline void ClientInformation::set_has_audiolocale() {
+ _has_bits_[0] |= 0x00000040u;
+}
+inline void ClientInformation::clear_has_audiolocale() {
+ _has_bits_[0] &= ~0x00000040u;
+}
+inline void ClientInformation::clear_audiolocale() {
+ audiolocale_ = 0u;
+ clear_has_audiolocale();
+}
+inline ::google::protobuf::uint32 ClientInformation::audiolocale() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.audioLocale)
+ return audiolocale_;
+}
+inline void ClientInformation::set_audiolocale(::google::protobuf::uint32 value) {
+ set_has_audiolocale();
+ audiolocale_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.audioLocale)
+}
+
+// required fixed32 versionDataBuild = 8;
+inline bool ClientInformation::has_versiondatabuild() const {
+ return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void ClientInformation::set_has_versiondatabuild() {
+ _has_bits_[0] |= 0x00000080u;
+}
+inline void ClientInformation::clear_has_versiondatabuild() {
+ _has_bits_[0] &= ~0x00000080u;
+}
+inline void ClientInformation::clear_versiondatabuild() {
+ versiondatabuild_ = 0u;
+ clear_has_versiondatabuild();
+}
+inline ::google::protobuf::uint32 ClientInformation::versiondatabuild() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.versionDataBuild)
+ return versiondatabuild_;
+}
+inline void ClientInformation::set_versiondatabuild(::google::protobuf::uint32 value) {
+ set_has_versiondatabuild();
+ versiondatabuild_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.versionDataBuild)
+}
+
+// required .JSON.RealmList.ClientVersion version = 9;
+inline bool ClientInformation::has_version() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void ClientInformation::set_has_version() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void ClientInformation::clear_has_version() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void ClientInformation::clear_version() {
+ if (version_ != NULL) version_->::JSON::RealmList::ClientVersion::Clear();
+ clear_has_version();
+}
+inline const ::JSON::RealmList::ClientVersion& ClientInformation::version() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.version)
+ return version_ != NULL ? *version_ : *default_instance_->version_;
+}
+inline ::JSON::RealmList::ClientVersion* ClientInformation::mutable_version() {
+ set_has_version();
+ if (version_ == NULL) version_ = new ::JSON::RealmList::ClientVersion;
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.ClientInformation.version)
+ return version_;
+}
+inline ::JSON::RealmList::ClientVersion* ClientInformation::release_version() {
+ clear_has_version();
+ ::JSON::RealmList::ClientVersion* temp = version_;
+ version_ = NULL;
+ return temp;
+}
+inline void ClientInformation::set_allocated_version(::JSON::RealmList::ClientVersion* version) {
+ delete version_;
+ version_ = version;
+ if (version) {
+ set_has_version();
+ } else {
+ clear_has_version();
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.ClientInformation.version)
+}
+
+// required bytes secret = 10;
+inline bool ClientInformation::has_secret() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void ClientInformation::set_has_secret() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void ClientInformation::clear_has_secret() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void ClientInformation::clear_secret() {
+ if (secret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ secret_->clear();
+ }
+ clear_has_secret();
+}
+inline const ::std::string& ClientInformation::secret() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.ClientInformation.secret)
+ return *secret_;
+}
+inline void ClientInformation::set_secret(const ::std::string& value) {
+ set_has_secret();
+ if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ secret_ = new ::std::string;
+ }
+ secret_->assign(value);
+ // @@protoc_insertion_point(field_set:JSON.RealmList.ClientInformation.secret)
+}
+inline void ClientInformation::set_secret(const char* value) {
+ set_has_secret();
+ if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ secret_ = new ::std::string;
+ }
+ secret_->assign(value);
+ // @@protoc_insertion_point(field_set_char:JSON.RealmList.ClientInformation.secret)
+}
+inline void ClientInformation::set_secret(const void* value, size_t size) {
+ set_has_secret();
+ if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ secret_ = new ::std::string;
+ }
+ secret_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:JSON.RealmList.ClientInformation.secret)
+}
+inline ::std::string* ClientInformation::mutable_secret() {
+ set_has_secret();
+ if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ secret_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.ClientInformation.secret)
+ return secret_;
+}
+inline ::std::string* ClientInformation::release_secret() {
+ clear_has_secret();
+ if (secret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = secret_;
+ secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void ClientInformation::set_allocated_secret(::std::string* secret) {
+ if (secret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete secret_;
+ }
+ if (secret) {
+ set_has_secret();
+ secret_ = secret;
+ } else {
+ clear_has_secret();
+ secret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.ClientInformation.secret)
+}
+
+// -------------------------------------------------------------------
+
+// RealmListTicketClientInformation
+
+// required .JSON.RealmList.ClientInformation info = 1;
+inline bool RealmListTicketClientInformation::has_info() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RealmListTicketClientInformation::set_has_info() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RealmListTicketClientInformation::clear_has_info() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RealmListTicketClientInformation::clear_info() {
+ if (info_ != NULL) info_->::JSON::RealmList::ClientInformation::Clear();
+ clear_has_info();
+}
+inline const ::JSON::RealmList::ClientInformation& RealmListTicketClientInformation::info() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmListTicketClientInformation.info)
+ return info_ != NULL ? *info_ : *default_instance_->info_;
+}
+inline ::JSON::RealmList::ClientInformation* RealmListTicketClientInformation::mutable_info() {
+ set_has_info();
+ if (info_ == NULL) info_ = new ::JSON::RealmList::ClientInformation;
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmListTicketClientInformation.info)
+ return info_;
+}
+inline ::JSON::RealmList::ClientInformation* RealmListTicketClientInformation::release_info() {
+ clear_has_info();
+ ::JSON::RealmList::ClientInformation* temp = info_;
+ info_ = NULL;
+ return temp;
+}
+inline void RealmListTicketClientInformation::set_allocated_info(::JSON::RealmList::ClientInformation* info) {
+ delete info_;
+ info_ = info;
+ if (info) {
+ set_has_info();
+ } else {
+ clear_has_info();
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmListTicketClientInformation.info)
+}
+
+// -------------------------------------------------------------------
+
+// RealmCharacterCountEntry
+
+// required fixed32 wowRealmAddress = 1;
+inline bool RealmCharacterCountEntry::has_wowrealmaddress() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RealmCharacterCountEntry::set_has_wowrealmaddress() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RealmCharacterCountEntry::clear_has_wowrealmaddress() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RealmCharacterCountEntry::clear_wowrealmaddress() {
+ wowrealmaddress_ = 0u;
+ clear_has_wowrealmaddress();
+}
+inline ::google::protobuf::uint32 RealmCharacterCountEntry::wowrealmaddress() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmCharacterCountEntry.wowRealmAddress)
+ return wowrealmaddress_;
+}
+inline void RealmCharacterCountEntry::set_wowrealmaddress(::google::protobuf::uint32 value) {
+ set_has_wowrealmaddress();
+ wowrealmaddress_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmCharacterCountEntry.wowRealmAddress)
+}
+
+// required uint32 count = 2;
+inline bool RealmCharacterCountEntry::has_count() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void RealmCharacterCountEntry::set_has_count() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void RealmCharacterCountEntry::clear_has_count() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void RealmCharacterCountEntry::clear_count() {
+ count_ = 0u;
+ clear_has_count();
+}
+inline ::google::protobuf::uint32 RealmCharacterCountEntry::count() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmCharacterCountEntry.count)
+ return count_;
+}
+inline void RealmCharacterCountEntry::set_count(::google::protobuf::uint32 value) {
+ set_has_count();
+ count_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmCharacterCountEntry.count)
+}
+
+// -------------------------------------------------------------------
+
+// RealmCharacterCountList
+
+// repeated .JSON.RealmList.RealmCharacterCountEntry counts = 1;
+inline int RealmCharacterCountList::counts_size() const {
+ return counts_.size();
+}
+inline void RealmCharacterCountList::clear_counts() {
+ counts_.Clear();
+}
+inline const ::JSON::RealmList::RealmCharacterCountEntry& RealmCharacterCountList::counts(int index) const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmCharacterCountList.counts)
+ return counts_.Get(index);
+}
+inline ::JSON::RealmList::RealmCharacterCountEntry* RealmCharacterCountList::mutable_counts(int index) {
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmCharacterCountList.counts)
+ return counts_.Mutable(index);
+}
+inline ::JSON::RealmList::RealmCharacterCountEntry* RealmCharacterCountList::add_counts() {
+ // @@protoc_insertion_point(field_add:JSON.RealmList.RealmCharacterCountList.counts)
+ return counts_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmCharacterCountEntry >&
+RealmCharacterCountList::counts() const {
+ // @@protoc_insertion_point(field_list:JSON.RealmList.RealmCharacterCountList.counts)
+ return counts_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmCharacterCountEntry >*
+RealmCharacterCountList::mutable_counts() {
+ // @@protoc_insertion_point(field_mutable_list:JSON.RealmList.RealmCharacterCountList.counts)
+ return &counts_;
+}
+
+// -------------------------------------------------------------------
+
+// RealmEntry
+
+// required fixed32 wowRealmAddress = 1;
+inline bool RealmEntry::has_wowrealmaddress() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RealmEntry::set_has_wowrealmaddress() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RealmEntry::clear_has_wowrealmaddress() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RealmEntry::clear_wowrealmaddress() {
+ wowrealmaddress_ = 0u;
+ clear_has_wowrealmaddress();
+}
+inline ::google::protobuf::uint32 RealmEntry::wowrealmaddress() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.wowRealmAddress)
+ return wowrealmaddress_;
+}
+inline void RealmEntry::set_wowrealmaddress(::google::protobuf::uint32 value) {
+ set_has_wowrealmaddress();
+ wowrealmaddress_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.wowRealmAddress)
+}
+
+// required uint32 cfgTimezonesID = 2;
+inline bool RealmEntry::has_cfgtimezonesid() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void RealmEntry::set_has_cfgtimezonesid() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void RealmEntry::clear_has_cfgtimezonesid() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void RealmEntry::clear_cfgtimezonesid() {
+ cfgtimezonesid_ = 0u;
+ clear_has_cfgtimezonesid();
+}
+inline ::google::protobuf::uint32 RealmEntry::cfgtimezonesid() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.cfgTimezonesID)
+ return cfgtimezonesid_;
+}
+inline void RealmEntry::set_cfgtimezonesid(::google::protobuf::uint32 value) {
+ set_has_cfgtimezonesid();
+ cfgtimezonesid_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.cfgTimezonesID)
+}
+
+// required uint32 populationState = 3;
+inline bool RealmEntry::has_populationstate() const {
+ return (_has_bits_[0] & 0x00000004u) != 0;
+}
+inline void RealmEntry::set_has_populationstate() {
+ _has_bits_[0] |= 0x00000004u;
+}
+inline void RealmEntry::clear_has_populationstate() {
+ _has_bits_[0] &= ~0x00000004u;
+}
+inline void RealmEntry::clear_populationstate() {
+ populationstate_ = 0u;
+ clear_has_populationstate();
+}
+inline ::google::protobuf::uint32 RealmEntry::populationstate() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.populationState)
+ return populationstate_;
+}
+inline void RealmEntry::set_populationstate(::google::protobuf::uint32 value) {
+ set_has_populationstate();
+ populationstate_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.populationState)
+}
+
+// required uint32 cfgCategoriesID = 4;
+inline bool RealmEntry::has_cfgcategoriesid() const {
+ return (_has_bits_[0] & 0x00000008u) != 0;
+}
+inline void RealmEntry::set_has_cfgcategoriesid() {
+ _has_bits_[0] |= 0x00000008u;
+}
+inline void RealmEntry::clear_has_cfgcategoriesid() {
+ _has_bits_[0] &= ~0x00000008u;
+}
+inline void RealmEntry::clear_cfgcategoriesid() {
+ cfgcategoriesid_ = 0u;
+ clear_has_cfgcategoriesid();
+}
+inline ::google::protobuf::uint32 RealmEntry::cfgcategoriesid() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.cfgCategoriesID)
+ return cfgcategoriesid_;
+}
+inline void RealmEntry::set_cfgcategoriesid(::google::protobuf::uint32 value) {
+ set_has_cfgcategoriesid();
+ cfgcategoriesid_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.cfgCategoriesID)
+}
+
+// required .JSON.RealmList.ClientVersion version = 5;
+inline bool RealmEntry::has_version() const {
+ return (_has_bits_[0] & 0x00000010u) != 0;
+}
+inline void RealmEntry::set_has_version() {
+ _has_bits_[0] |= 0x00000010u;
+}
+inline void RealmEntry::clear_has_version() {
+ _has_bits_[0] &= ~0x00000010u;
+}
+inline void RealmEntry::clear_version() {
+ if (version_ != NULL) version_->::JSON::RealmList::ClientVersion::Clear();
+ clear_has_version();
+}
+inline const ::JSON::RealmList::ClientVersion& RealmEntry::version() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.version)
+ return version_ != NULL ? *version_ : *default_instance_->version_;
+}
+inline ::JSON::RealmList::ClientVersion* RealmEntry::mutable_version() {
+ set_has_version();
+ if (version_ == NULL) version_ = new ::JSON::RealmList::ClientVersion;
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmEntry.version)
+ return version_;
+}
+inline ::JSON::RealmList::ClientVersion* RealmEntry::release_version() {
+ clear_has_version();
+ ::JSON::RealmList::ClientVersion* temp = version_;
+ version_ = NULL;
+ return temp;
+}
+inline void RealmEntry::set_allocated_version(::JSON::RealmList::ClientVersion* version) {
+ delete version_;
+ version_ = version;
+ if (version) {
+ set_has_version();
+ } else {
+ clear_has_version();
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmEntry.version)
+}
+
+// required uint32 cfgRealmsID = 6;
+inline bool RealmEntry::has_cfgrealmsid() const {
+ return (_has_bits_[0] & 0x00000020u) != 0;
+}
+inline void RealmEntry::set_has_cfgrealmsid() {
+ _has_bits_[0] |= 0x00000020u;
+}
+inline void RealmEntry::clear_has_cfgrealmsid() {
+ _has_bits_[0] &= ~0x00000020u;
+}
+inline void RealmEntry::clear_cfgrealmsid() {
+ cfgrealmsid_ = 0u;
+ clear_has_cfgrealmsid();
+}
+inline ::google::protobuf::uint32 RealmEntry::cfgrealmsid() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.cfgRealmsID)
+ return cfgrealmsid_;
+}
+inline void RealmEntry::set_cfgrealmsid(::google::protobuf::uint32 value) {
+ set_has_cfgrealmsid();
+ cfgrealmsid_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.cfgRealmsID)
+}
+
+// required uint32 flags = 7;
+inline bool RealmEntry::has_flags() const {
+ return (_has_bits_[0] & 0x00000040u) != 0;
+}
+inline void RealmEntry::set_has_flags() {
+ _has_bits_[0] |= 0x00000040u;
+}
+inline void RealmEntry::clear_has_flags() {
+ _has_bits_[0] &= ~0x00000040u;
+}
+inline void RealmEntry::clear_flags() {
+ flags_ = 0u;
+ clear_has_flags();
+}
+inline ::google::protobuf::uint32 RealmEntry::flags() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.flags)
+ return flags_;
+}
+inline void RealmEntry::set_flags(::google::protobuf::uint32 value) {
+ set_has_flags();
+ flags_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.flags)
+}
+
+// required string name = 8;
+inline bool RealmEntry::has_name() const {
+ return (_has_bits_[0] & 0x00000080u) != 0;
+}
+inline void RealmEntry::set_has_name() {
+ _has_bits_[0] |= 0x00000080u;
+}
+inline void RealmEntry::clear_has_name() {
+ _has_bits_[0] &= ~0x00000080u;
+}
+inline void RealmEntry::clear_name() {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_->clear();
+ }
+ clear_has_name();
+}
+inline const ::std::string& RealmEntry::name() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.name)
+ return *name_;
+}
+inline void RealmEntry::set_name(const ::std::string& value) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.name)
+}
+inline void RealmEntry::set_name(const char* value) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+ // @@protoc_insertion_point(field_set_char:JSON.RealmList.RealmEntry.name)
+}
+inline void RealmEntry::set_name(const char* value, size_t size) {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ name_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:JSON.RealmList.RealmEntry.name)
+}
+inline ::std::string* RealmEntry::mutable_name() {
+ set_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ name_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmEntry.name)
+ return name_;
+}
+inline ::std::string* RealmEntry::release_name() {
+ clear_has_name();
+ if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = name_;
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void RealmEntry::set_allocated_name(::std::string* name) {
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete name_;
+ }
+ if (name) {
+ set_has_name();
+ name_ = name;
+ } else {
+ clear_has_name();
+ name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmEntry.name)
+}
+
+// required uint32 cfgConfigsID = 9;
+inline bool RealmEntry::has_cfgconfigsid() const {
+ return (_has_bits_[0] & 0x00000100u) != 0;
+}
+inline void RealmEntry::set_has_cfgconfigsid() {
+ _has_bits_[0] |= 0x00000100u;
+}
+inline void RealmEntry::clear_has_cfgconfigsid() {
+ _has_bits_[0] &= ~0x00000100u;
+}
+inline void RealmEntry::clear_cfgconfigsid() {
+ cfgconfigsid_ = 0u;
+ clear_has_cfgconfigsid();
+}
+inline ::google::protobuf::uint32 RealmEntry::cfgconfigsid() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.cfgConfigsID)
+ return cfgconfigsid_;
+}
+inline void RealmEntry::set_cfgconfigsid(::google::protobuf::uint32 value) {
+ set_has_cfgconfigsid();
+ cfgconfigsid_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.cfgConfigsID)
+}
+
+// required uint32 cfgLanguagesID = 10;
+inline bool RealmEntry::has_cfglanguagesid() const {
+ return (_has_bits_[0] & 0x00000200u) != 0;
+}
+inline void RealmEntry::set_has_cfglanguagesid() {
+ _has_bits_[0] |= 0x00000200u;
+}
+inline void RealmEntry::clear_has_cfglanguagesid() {
+ _has_bits_[0] &= ~0x00000200u;
+}
+inline void RealmEntry::clear_cfglanguagesid() {
+ cfglanguagesid_ = 0u;
+ clear_has_cfglanguagesid();
+}
+inline ::google::protobuf::uint32 RealmEntry::cfglanguagesid() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmEntry.cfgLanguagesID)
+ return cfglanguagesid_;
+}
+inline void RealmEntry::set_cfglanguagesid(::google::protobuf::uint32 value) {
+ set_has_cfglanguagesid();
+ cfglanguagesid_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmEntry.cfgLanguagesID)
+}
+
+// -------------------------------------------------------------------
+
+// RealmState
+
+// optional .JSON.RealmList.RealmEntry update = 1;
+inline bool RealmState::has_update() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RealmState::set_has_update() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RealmState::clear_has_update() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RealmState::clear_update() {
+ if (update_ != NULL) update_->::JSON::RealmList::RealmEntry::Clear();
+ clear_has_update();
+}
+inline const ::JSON::RealmList::RealmEntry& RealmState::update() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmState.update)
+ return update_ != NULL ? *update_ : *default_instance_->update_;
+}
+inline ::JSON::RealmList::RealmEntry* RealmState::mutable_update() {
+ set_has_update();
+ if (update_ == NULL) update_ = new ::JSON::RealmList::RealmEntry;
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmState.update)
+ return update_;
+}
+inline ::JSON::RealmList::RealmEntry* RealmState::release_update() {
+ clear_has_update();
+ ::JSON::RealmList::RealmEntry* temp = update_;
+ update_ = NULL;
+ return temp;
+}
+inline void RealmState::set_allocated_update(::JSON::RealmList::RealmEntry* update) {
+ delete update_;
+ update_ = update;
+ if (update) {
+ set_has_update();
+ } else {
+ clear_has_update();
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.RealmState.update)
+}
+
+// required bool deleting = 2;
+inline bool RealmState::has_deleting() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void RealmState::set_has_deleting() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void RealmState::clear_has_deleting() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void RealmState::clear_deleting() {
+ deleting_ = false;
+ clear_has_deleting();
+}
+inline bool RealmState::deleting() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmState.deleting)
+ return deleting_;
+}
+inline void RealmState::set_deleting(bool value) {
+ set_has_deleting();
+ deleting_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmState.deleting)
+}
+
+// -------------------------------------------------------------------
+
+// RealmListUpdates
+
+// repeated .JSON.RealmList.RealmState updates = 1;
+inline int RealmListUpdates::updates_size() const {
+ return updates_.size();
+}
+inline void RealmListUpdates::clear_updates() {
+ updates_.Clear();
+}
+inline const ::JSON::RealmList::RealmState& RealmListUpdates::updates(int index) const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmListUpdates.updates)
+ return updates_.Get(index);
+}
+inline ::JSON::RealmList::RealmState* RealmListUpdates::mutable_updates(int index) {
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmListUpdates.updates)
+ return updates_.Mutable(index);
+}
+inline ::JSON::RealmList::RealmState* RealmListUpdates::add_updates() {
+ // @@protoc_insertion_point(field_add:JSON.RealmList.RealmListUpdates.updates)
+ return updates_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmState >&
+RealmListUpdates::updates() const {
+ // @@protoc_insertion_point(field_list:JSON.RealmList.RealmListUpdates.updates)
+ return updates_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmState >*
+RealmListUpdates::mutable_updates() {
+ // @@protoc_insertion_point(field_mutable_list:JSON.RealmList.RealmListUpdates.updates)
+ return &updates_;
+}
+
+// -------------------------------------------------------------------
+
+// IPAddress
+
+// required string ip = 1;
+inline bool IPAddress::has_ip() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void IPAddress::set_has_ip() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void IPAddress::clear_has_ip() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void IPAddress::clear_ip() {
+ if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ip_->clear();
+ }
+ clear_has_ip();
+}
+inline const ::std::string& IPAddress::ip() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.IPAddress.ip)
+ return *ip_;
+}
+inline void IPAddress::set_ip(const ::std::string& value) {
+ set_has_ip();
+ if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ip_ = new ::std::string;
+ }
+ ip_->assign(value);
+ // @@protoc_insertion_point(field_set:JSON.RealmList.IPAddress.ip)
+}
+inline void IPAddress::set_ip(const char* value) {
+ set_has_ip();
+ if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ip_ = new ::std::string;
+ }
+ ip_->assign(value);
+ // @@protoc_insertion_point(field_set_char:JSON.RealmList.IPAddress.ip)
+}
+inline void IPAddress::set_ip(const char* value, size_t size) {
+ set_has_ip();
+ if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ip_ = new ::std::string;
+ }
+ ip_->assign(reinterpret_cast<const char*>(value), size);
+ // @@protoc_insertion_point(field_set_pointer:JSON.RealmList.IPAddress.ip)
+}
+inline ::std::string* IPAddress::mutable_ip() {
+ set_has_ip();
+ if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ ip_ = new ::std::string;
+ }
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.IPAddress.ip)
+ return ip_;
+}
+inline ::std::string* IPAddress::release_ip() {
+ clear_has_ip();
+ if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ return NULL;
+ } else {
+ ::std::string* temp = ip_;
+ ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ return temp;
+ }
+}
+inline void IPAddress::set_allocated_ip(::std::string* ip) {
+ if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
+ delete ip_;
+ }
+ if (ip) {
+ set_has_ip();
+ ip_ = ip;
+ } else {
+ clear_has_ip();
+ ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ }
+ // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.IPAddress.ip)
+}
+
+// required uint32 port = 2;
+inline bool IPAddress::has_port() const {
+ return (_has_bits_[0] & 0x00000002u) != 0;
+}
+inline void IPAddress::set_has_port() {
+ _has_bits_[0] |= 0x00000002u;
+}
+inline void IPAddress::clear_has_port() {
+ _has_bits_[0] &= ~0x00000002u;
+}
+inline void IPAddress::clear_port() {
+ port_ = 0u;
+ clear_has_port();
+}
+inline ::google::protobuf::uint32 IPAddress::port() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.IPAddress.port)
+ return port_;
+}
+inline void IPAddress::set_port(::google::protobuf::uint32 value) {
+ set_has_port();
+ port_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.IPAddress.port)
+}
+
+// -------------------------------------------------------------------
+
+// RealmIPAddressFamily
+
+// required uint32 family = 1;
+inline bool RealmIPAddressFamily::has_family() const {
+ return (_has_bits_[0] & 0x00000001u) != 0;
+}
+inline void RealmIPAddressFamily::set_has_family() {
+ _has_bits_[0] |= 0x00000001u;
+}
+inline void RealmIPAddressFamily::clear_has_family() {
+ _has_bits_[0] &= ~0x00000001u;
+}
+inline void RealmIPAddressFamily::clear_family() {
+ family_ = 0u;
+ clear_has_family();
+}
+inline ::google::protobuf::uint32 RealmIPAddressFamily::family() const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmIPAddressFamily.family)
+ return family_;
+}
+inline void RealmIPAddressFamily::set_family(::google::protobuf::uint32 value) {
+ set_has_family();
+ family_ = value;
+ // @@protoc_insertion_point(field_set:JSON.RealmList.RealmIPAddressFamily.family)
+}
+
+// repeated .JSON.RealmList.IPAddress addresses = 2;
+inline int RealmIPAddressFamily::addresses_size() const {
+ return addresses_.size();
+}
+inline void RealmIPAddressFamily::clear_addresses() {
+ addresses_.Clear();
+}
+inline const ::JSON::RealmList::IPAddress& RealmIPAddressFamily::addresses(int index) const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmIPAddressFamily.addresses)
+ return addresses_.Get(index);
+}
+inline ::JSON::RealmList::IPAddress* RealmIPAddressFamily::mutable_addresses(int index) {
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmIPAddressFamily.addresses)
+ return addresses_.Mutable(index);
+}
+inline ::JSON::RealmList::IPAddress* RealmIPAddressFamily::add_addresses() {
+ // @@protoc_insertion_point(field_add:JSON.RealmList.RealmIPAddressFamily.addresses)
+ return addresses_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::IPAddress >&
+RealmIPAddressFamily::addresses() const {
+ // @@protoc_insertion_point(field_list:JSON.RealmList.RealmIPAddressFamily.addresses)
+ return addresses_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::IPAddress >*
+RealmIPAddressFamily::mutable_addresses() {
+ // @@protoc_insertion_point(field_mutable_list:JSON.RealmList.RealmIPAddressFamily.addresses)
+ return &addresses_;
+}
+
+// -------------------------------------------------------------------
+
+// RealmListServerIPAddresses
+
+// repeated .JSON.RealmList.RealmIPAddressFamily families = 1;
+inline int RealmListServerIPAddresses::families_size() const {
+ return families_.size();
+}
+inline void RealmListServerIPAddresses::clear_families() {
+ families_.Clear();
+}
+inline const ::JSON::RealmList::RealmIPAddressFamily& RealmListServerIPAddresses::families(int index) const {
+ // @@protoc_insertion_point(field_get:JSON.RealmList.RealmListServerIPAddresses.families)
+ return families_.Get(index);
+}
+inline ::JSON::RealmList::RealmIPAddressFamily* RealmListServerIPAddresses::mutable_families(int index) {
+ // @@protoc_insertion_point(field_mutable:JSON.RealmList.RealmListServerIPAddresses.families)
+ return families_.Mutable(index);
+}
+inline ::JSON::RealmList::RealmIPAddressFamily* RealmListServerIPAddresses::add_families() {
+ // @@protoc_insertion_point(field_add:JSON.RealmList.RealmListServerIPAddresses.families)
+ return families_.Add();
+}
+inline const ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmIPAddressFamily >&
+RealmListServerIPAddresses::families() const {
+ // @@protoc_insertion_point(field_list:JSON.RealmList.RealmListServerIPAddresses.families)
+ return families_;
+}
+inline ::google::protobuf::RepeatedPtrField< ::JSON::RealmList::RealmIPAddressFamily >*
+RealmListServerIPAddresses::mutable_families() {
+ // @@protoc_insertion_point(field_mutable_list:JSON.RealmList.RealmListServerIPAddresses.families)
+ return &families_;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace RealmList
+} // namespace JSON
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+
+
+} // namespace google
+} // namespace protobuf
+#endif // SWIG
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_RealmList_2eproto__INCLUDED
diff --git a/src/server/proto/RealmList/RealmList.proto b/src/server/proto/RealmList/RealmList.proto
new file mode 100644
index 00000000000..9367a592308
--- /dev/null
+++ b/src/server/proto/RealmList/RealmList.proto
@@ -0,0 +1,79 @@
+syntax = "proto2";
+
+package JSON.RealmList;
+
+option optimize_for = CODE_SIZE;
+
+message RealmListTicketIdentity {
+ required fixed32 gameAccountID = 1;
+ required uint32 gameAccountRegion = 2;
+}
+
+message ClientVersion {
+ required uint32 versionMajor = 1;
+ required uint32 versionMinor = 2;
+ required uint32 versionRevision = 3;
+ required fixed32 versionBuild = 4;
+}
+
+message ClientInformation {
+ required fixed32 platform = 1;
+ required string buildVariant = 2;
+ required fixed32 type = 3;
+ required string timeZone = 4;
+ required uint32 currentTime = 5;
+ required fixed32 textLocale = 6;
+ required fixed32 audioLocale = 7;
+ required fixed32 versionDataBuild = 8;
+ required ClientVersion version = 9;
+ required bytes secret = 10;
+}
+
+message RealmListTicketClientInformation {
+ required ClientInformation info = 1;
+}
+
+message RealmCharacterCountEntry {
+ required fixed32 wowRealmAddress = 1;
+ required uint32 count = 2;
+}
+
+message RealmCharacterCountList {
+ repeated RealmCharacterCountEntry counts = 1;
+}
+
+message RealmEntry {
+ required fixed32 wowRealmAddress = 1;
+ required uint32 cfgTimezonesID = 2;
+ required uint32 populationState = 3;
+ required uint32 cfgCategoriesID = 4;
+ required ClientVersion version = 5;
+ required uint32 cfgRealmsID = 6;
+ required uint32 flags = 7;
+ required string name = 8;
+ required uint32 cfgConfigsID = 9;
+ required uint32 cfgLanguagesID = 10;
+}
+
+message RealmState {
+ optional RealmEntry update = 1;
+ required bool deleting = 2;
+}
+
+message RealmListUpdates {
+ repeated RealmState updates = 1;
+}
+
+message IPAddress {
+ required string ip = 1;
+ required uint32 port = 2;
+}
+
+message RealmIPAddressFamily {
+ required uint32 family = 1;
+ repeated IPAddress addresses = 2;
+}
+
+message RealmListServerIPAddresses {
+ repeated RealmIPAddressFamily families = 1;
+}