Files
TrinityCore/contrib/protoc-bnet/method_options.pb.cc

187 lines
6.2 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: method_options.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "method_options.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
namespace Battlenet {
namespace {
const ::google::protobuf::Descriptor* BGSMethodOptions_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
BGSMethodOptions_reflection_ = NULL;
} // namespace
void protobuf_AssignDesc_method_5foptions_2eproto() {
protobuf_AddDesc_method_5foptions_2eproto();
const ::google::protobuf::FileDescriptor* file =
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
"method_options.proto");
GOOGLE_CHECK(file != NULL);
BGSMethodOptions_descriptor_ = file->message_type(0);
static const int BGSMethodOptions_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, id_),
};
BGSMethodOptions_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
BGSMethodOptions_descriptor_,
BGSMethodOptions::default_instance_,
BGSMethodOptions_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(BGSMethodOptions));
}
namespace {
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
inline void protobuf_AssignDescriptorsOnce() {
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
&protobuf_AssignDesc_method_5foptions_2eproto);
}
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
BGSMethodOptions_descriptor_, &BGSMethodOptions::default_instance());
}
} // namespace
void protobuf_ShutdownFile_method_5foptions_2eproto() {
delete BGSMethodOptions::default_instance_;
delete BGSMethodOptions_reflection_;
}
void protobuf_AddDesc_method_5foptions_2eproto() {
static bool already_here = false;
if (already_here) return;
already_here = true;
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\024method_options.proto\022\tBattlenet\032 googl"
"e/protobuf/descriptor.proto\"\036\n\020BGSMethod"
"Options\022\n\n\002id\030\001 \001(\r:U\n\016method_options\022\036."
"google.protobuf.MethodOptions\030\220\277\005 \001(\0132\033."
"Battlenet.BGSMethodOptionsB%\n\rbnet.proto"
"colB\022MethodOptionsProtoH\002", 225);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"method_options.proto", &protobuf_RegisterTypes);
BGSMethodOptions::default_instance_ = new BGSMethodOptions();
::google::protobuf::internal::ExtensionSet::RegisterMessageExtension(
&::google::protobuf::MethodOptions::default_instance(),
90000, 11, false, false,
&::Battlenet::BGSMethodOptions::default_instance());
BGSMethodOptions::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_method_5foptions_2eproto);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_method_5foptions_2eproto {
StaticDescriptorInitializer_method_5foptions_2eproto() {
protobuf_AddDesc_method_5foptions_2eproto();
}
} static_descriptor_initializer_method_5foptions_2eproto_;
// ===================================================================
#ifndef _MSC_VER
const int BGSMethodOptions::kIdFieldNumber;
#endif // !_MSC_VER
BGSMethodOptions::BGSMethodOptions()
: ::google::protobuf::Message() {
SharedCtor();
// @@protoc_insertion_point(constructor:Battlenet.BGSMethodOptions)
}
void BGSMethodOptions::InitAsDefaultInstance() {
}
BGSMethodOptions::BGSMethodOptions(const BGSMethodOptions& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
// @@protoc_insertion_point(copy_constructor:Battlenet.BGSMethodOptions)
}
void BGSMethodOptions::SharedCtor() {
_cached_size_ = 0;
id_ = 0u;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
BGSMethodOptions::~BGSMethodOptions() {
// @@protoc_insertion_point(destructor:Battlenet.BGSMethodOptions)
SharedDtor();
}
void BGSMethodOptions::SharedDtor() {
if (this != default_instance_) {
}
}
void BGSMethodOptions::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* BGSMethodOptions::descriptor() {
protobuf_AssignDescriptorsOnce();
return BGSMethodOptions_descriptor_;
}
const BGSMethodOptions& BGSMethodOptions::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_method_5foptions_2eproto();
return *default_instance_;
}
BGSMethodOptions* BGSMethodOptions::default_instance_ = NULL;
BGSMethodOptions* BGSMethodOptions::New() const {
return new BGSMethodOptions;
}
void BGSMethodOptions::Swap(BGSMethodOptions* other) {
if (other != this) {
GetReflection()->Swap(this, other);}
}
::google::protobuf::Metadata BGSMethodOptions::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = BGSMethodOptions_descriptor_;
metadata.reflection = BGSMethodOptions_reflection_;
return metadata;
}
::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions,
::google::protobuf::internal::MessageTypeTraits< ::Battlenet::BGSMethodOptions >, 11, false >
method_options(kMethodOptionsFieldNumber, ::Battlenet::BGSMethodOptions::default_instance());
// @@protoc_insertion_point(namespace_scope)
} // namespace Battlenet
// @@protoc_insertion_point(global_scope)