894 lines
32 KiB
C++
894 lines
32 KiB
C++
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
|
// source: run_msg.proto
|
||
|
|
|
||
|
|
#include "run_msg.pb.h"
|
||
|
|
|
||
|
|
#include <algorithm>
|
||
|
|
|
||
|
|
#include <google/protobuf/io/coded_stream.h>
|
||
|
|
#include <google/protobuf/extension_set.h>
|
||
|
|
#include <google/protobuf/wire_format_lite.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)
|
||
|
|
#include <google/protobuf/port_def.inc>
|
||
|
|
|
||
|
|
PROTOBUF_PRAGMA_INIT_SEG
|
||
|
|
|
||
|
|
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
|
||
|
|
namespace _pbi = _pb::internal;
|
||
|
|
|
||
|
|
PROTOBUF_CONSTEXPR dfoMessage::dfoMessage(
|
||
|
|
::_pbi::ConstantInitialized): _impl_{
|
||
|
|
/*decltype(_impl_.anipath_)*/{}
|
||
|
|
, /*decltype(_impl_.cdk_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||
|
|
, /*decltype(_impl_.ip_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||
|
|
, /*decltype(_impl_.machincode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||
|
|
, /*decltype(_impl_.md5code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||
|
|
, /*decltype(_impl_.lastkey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||
|
|
, /*decltype(_impl_.timestamp_)*/0
|
||
|
|
, /*decltype(_impl_.temp_time_)*/0
|
||
|
|
, /*decltype(_impl_.due_time_)*/0
|
||
|
|
, /*decltype(_impl_.is_verified_)*/false
|
||
|
|
, /*decltype(_impl_.is_singregist_)*/false
|
||
|
|
, /*decltype(_impl_.is_verifymac_)*/false
|
||
|
|
, /*decltype(_impl_.is_passed_)*/false
|
||
|
|
, /*decltype(_impl_.is_trainroom_)*/false
|
||
|
|
, /*decltype(_impl_.is_atpriest_)*/false
|
||
|
|
, /*decltype(_impl_.is_atswordman_)*/false
|
||
|
|
, /*decltype(_impl_.is_demoniclancer_)*/false
|
||
|
|
, /*decltype(_impl_.is_knight_)*/false
|
||
|
|
, /*decltype(_impl_.is_thief_)*/false
|
||
|
|
, /*decltype(_impl_.is_skill2nd_)*/false
|
||
|
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||
|
|
struct dfoMessageDefaultTypeInternal {
|
||
|
|
PROTOBUF_CONSTEXPR dfoMessageDefaultTypeInternal()
|
||
|
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||
|
|
~dfoMessageDefaultTypeInternal() {}
|
||
|
|
union {
|
||
|
|
dfoMessage _instance;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 dfoMessageDefaultTypeInternal _dfoMessage_default_instance_;
|
||
|
|
static ::_pb::Metadata file_level_metadata_run_5fmsg_2eproto[1];
|
||
|
|
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_run_5fmsg_2eproto = nullptr;
|
||
|
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_run_5fmsg_2eproto = nullptr;
|
||
|
|
|
||
|
|
const uint32_t TableStruct_run_5fmsg_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||
|
|
~0u, // no _has_bits_
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _internal_metadata_),
|
||
|
|
~0u, // no _extensions_
|
||
|
|
~0u, // no _oneof_case_
|
||
|
|
~0u, // no _weak_field_map_
|
||
|
|
~0u, // no _inlined_string_donated_
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.timestamp_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.cdk_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.ip_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.machincode_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_verified_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.temp_time_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.due_time_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.md5code_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.anipath_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.lastkey_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_singregist_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_verifymac_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_passed_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_trainroom_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_atpriest_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_atswordman_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_demoniclancer_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_knight_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_thief_),
|
||
|
|
PROTOBUF_FIELD_OFFSET(::dfoMessage, _impl_.is_skill2nd_),
|
||
|
|
};
|
||
|
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||
|
|
{ 0, -1, -1, sizeof(::dfoMessage)},
|
||
|
|
};
|
||
|
|
|
||
|
|
static const ::_pb::Message* const file_default_instances[] = {
|
||
|
|
&::_dfoMessage_default_instance_._instance,
|
||
|
|
};
|
||
|
|
|
||
|
|
const char descriptor_table_protodef_run_5fmsg_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||
|
|
"\n\rrun_msg.proto\"\217\003\n\ndfoMessage\022\021\n\ttimesT"
|
||
|
|
"amp\030\001 \001(\005\022\013\n\003CDK\030\002 \001(\014\022\n\n\002IP\030\003 \001(\014\022\022\n\nMa"
|
||
|
|
"chinCode\030\004 \001(\014\022\023\n\013is_verified\030\005 \001(\010\022\021\n\tt"
|
||
|
|
"emp_time\030\006 \001(\005\022\020\n\010due_time\030\007 \001(\005\022\017\n\007MD5C"
|
||
|
|
"ode\030\010 \001(\014\022\017\n\007aniPath\030\t \003(\014\022\017\n\007lastKey\030\n "
|
||
|
|
"\001(\014\022\025\n\ris_singRegist\030\013 \001(\010\022\024\n\014is_verifyM"
|
||
|
|
"ac\030\014 \001(\010\022\021\n\tis_passed\030\r \001(\010\022\024\n\014is_trainR"
|
||
|
|
"oom\030\016 \001(\010\022\023\n\013is_atPriest\030\017 \001(\010\022\025\n\ris_atS"
|
||
|
|
"wordman\030\020 \001(\010\022\030\n\020is_Demoniclancer\030\021 \001(\010\022"
|
||
|
|
"\021\n\tis_Knight\030\022 \001(\010\022\020\n\010is_Thief\030\023 \001(\010\022\023\n\013"
|
||
|
|
"is_Skill2nd\030\024 \001(\010b\006proto3"
|
||
|
|
;
|
||
|
|
static ::_pbi::once_flag descriptor_table_run_5fmsg_2eproto_once;
|
||
|
|
const ::_pbi::DescriptorTable descriptor_table_run_5fmsg_2eproto = {
|
||
|
|
false, false, 425, descriptor_table_protodef_run_5fmsg_2eproto,
|
||
|
|
"run_msg.proto",
|
||
|
|
&descriptor_table_run_5fmsg_2eproto_once, nullptr, 0, 1,
|
||
|
|
schemas, file_default_instances, TableStruct_run_5fmsg_2eproto::offsets,
|
||
|
|
file_level_metadata_run_5fmsg_2eproto, file_level_enum_descriptors_run_5fmsg_2eproto,
|
||
|
|
file_level_service_descriptors_run_5fmsg_2eproto,
|
||
|
|
};
|
||
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_run_5fmsg_2eproto_getter() {
|
||
|
|
return &descriptor_table_run_5fmsg_2eproto;
|
||
|
|
}
|
||
|
|
|
||
|
|
// Force running AddDescriptors() at dynamic initialization time.
|
||
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_run_5fmsg_2eproto(&descriptor_table_run_5fmsg_2eproto);
|
||
|
|
|
||
|
|
// ===================================================================
|
||
|
|
|
||
|
|
class dfoMessage::_Internal {
|
||
|
|
public:
|
||
|
|
};
|
||
|
|
|
||
|
|
dfoMessage::dfoMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||
|
|
bool is_message_owned)
|
||
|
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||
|
|
SharedCtor(arena, is_message_owned);
|
||
|
|
// @@protoc_insertion_point(arena_constructor:dfoMessage)
|
||
|
|
}
|
||
|
|
dfoMessage::dfoMessage(const dfoMessage& from)
|
||
|
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||
|
|
dfoMessage* const _this = this; (void)_this;
|
||
|
|
new (&_impl_) Impl_{
|
||
|
|
decltype(_impl_.anipath_){from._impl_.anipath_}
|
||
|
|
, decltype(_impl_.cdk_){}
|
||
|
|
, decltype(_impl_.ip_){}
|
||
|
|
, decltype(_impl_.machincode_){}
|
||
|
|
, decltype(_impl_.md5code_){}
|
||
|
|
, decltype(_impl_.lastkey_){}
|
||
|
|
, decltype(_impl_.timestamp_){}
|
||
|
|
, decltype(_impl_.temp_time_){}
|
||
|
|
, decltype(_impl_.due_time_){}
|
||
|
|
, decltype(_impl_.is_verified_){}
|
||
|
|
, decltype(_impl_.is_singregist_){}
|
||
|
|
, decltype(_impl_.is_verifymac_){}
|
||
|
|
, decltype(_impl_.is_passed_){}
|
||
|
|
, decltype(_impl_.is_trainroom_){}
|
||
|
|
, decltype(_impl_.is_atpriest_){}
|
||
|
|
, decltype(_impl_.is_atswordman_){}
|
||
|
|
, decltype(_impl_.is_demoniclancer_){}
|
||
|
|
, decltype(_impl_.is_knight_){}
|
||
|
|
, decltype(_impl_.is_thief_){}
|
||
|
|
, decltype(_impl_.is_skill2nd_){}
|
||
|
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||
|
|
|
||
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||
|
|
_impl_.cdk_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.cdk_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
if (!from._internal_cdk().empty()) {
|
||
|
|
_this->_impl_.cdk_.Set(from._internal_cdk(),
|
||
|
|
_this->GetArenaForAllocation());
|
||
|
|
}
|
||
|
|
_impl_.ip_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.ip_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
if (!from._internal_ip().empty()) {
|
||
|
|
_this->_impl_.ip_.Set(from._internal_ip(),
|
||
|
|
_this->GetArenaForAllocation());
|
||
|
|
}
|
||
|
|
_impl_.machincode_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.machincode_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
if (!from._internal_machincode().empty()) {
|
||
|
|
_this->_impl_.machincode_.Set(from._internal_machincode(),
|
||
|
|
_this->GetArenaForAllocation());
|
||
|
|
}
|
||
|
|
_impl_.md5code_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.md5code_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
if (!from._internal_md5code().empty()) {
|
||
|
|
_this->_impl_.md5code_.Set(from._internal_md5code(),
|
||
|
|
_this->GetArenaForAllocation());
|
||
|
|
}
|
||
|
|
_impl_.lastkey_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.lastkey_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
if (!from._internal_lastkey().empty()) {
|
||
|
|
_this->_impl_.lastkey_.Set(from._internal_lastkey(),
|
||
|
|
_this->GetArenaForAllocation());
|
||
|
|
}
|
||
|
|
::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_,
|
||
|
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.is_skill2nd_) -
|
||
|
|
reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.is_skill2nd_));
|
||
|
|
// @@protoc_insertion_point(copy_constructor:dfoMessage)
|
||
|
|
}
|
||
|
|
|
||
|
|
inline void dfoMessage::SharedCtor(
|
||
|
|
::_pb::Arena* arena, bool is_message_owned) {
|
||
|
|
(void)arena;
|
||
|
|
(void)is_message_owned;
|
||
|
|
new (&_impl_) Impl_{
|
||
|
|
decltype(_impl_.anipath_){arena}
|
||
|
|
, decltype(_impl_.cdk_){}
|
||
|
|
, decltype(_impl_.ip_){}
|
||
|
|
, decltype(_impl_.machincode_){}
|
||
|
|
, decltype(_impl_.md5code_){}
|
||
|
|
, decltype(_impl_.lastkey_){}
|
||
|
|
, decltype(_impl_.timestamp_){0}
|
||
|
|
, decltype(_impl_.temp_time_){0}
|
||
|
|
, decltype(_impl_.due_time_){0}
|
||
|
|
, decltype(_impl_.is_verified_){false}
|
||
|
|
, decltype(_impl_.is_singregist_){false}
|
||
|
|
, decltype(_impl_.is_verifymac_){false}
|
||
|
|
, decltype(_impl_.is_passed_){false}
|
||
|
|
, decltype(_impl_.is_trainroom_){false}
|
||
|
|
, decltype(_impl_.is_atpriest_){false}
|
||
|
|
, decltype(_impl_.is_atswordman_){false}
|
||
|
|
, decltype(_impl_.is_demoniclancer_){false}
|
||
|
|
, decltype(_impl_.is_knight_){false}
|
||
|
|
, decltype(_impl_.is_thief_){false}
|
||
|
|
, decltype(_impl_.is_skill2nd_){false}
|
||
|
|
, /*decltype(_impl_._cached_size_)*/{}
|
||
|
|
};
|
||
|
|
_impl_.cdk_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.cdk_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.ip_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.ip_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.machincode_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.machincode_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.md5code_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.md5code_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.lastkey_.InitDefault();
|
||
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
_impl_.lastkey_.Set("", GetArenaForAllocation());
|
||
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||
|
|
}
|
||
|
|
|
||
|
|
dfoMessage::~dfoMessage() {
|
||
|
|
// @@protoc_insertion_point(destructor:dfoMessage)
|
||
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||
|
|
(void)arena;
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
SharedDtor();
|
||
|
|
}
|
||
|
|
|
||
|
|
inline void dfoMessage::SharedDtor() {
|
||
|
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||
|
|
_impl_.anipath_.~RepeatedPtrField();
|
||
|
|
_impl_.cdk_.Destroy();
|
||
|
|
_impl_.ip_.Destroy();
|
||
|
|
_impl_.machincode_.Destroy();
|
||
|
|
_impl_.md5code_.Destroy();
|
||
|
|
_impl_.lastkey_.Destroy();
|
||
|
|
}
|
||
|
|
|
||
|
|
void dfoMessage::SetCachedSize(int size) const {
|
||
|
|
_impl_._cached_size_.Set(size);
|
||
|
|
}
|
||
|
|
|
||
|
|
void dfoMessage::Clear() {
|
||
|
|
// @@protoc_insertion_point(message_clear_start:dfoMessage)
|
||
|
|
uint32_t cached_has_bits = 0;
|
||
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
||
|
|
(void) cached_has_bits;
|
||
|
|
|
||
|
|
_impl_.anipath_.Clear();
|
||
|
|
_impl_.cdk_.ClearToEmpty();
|
||
|
|
_impl_.ip_.ClearToEmpty();
|
||
|
|
_impl_.machincode_.ClearToEmpty();
|
||
|
|
_impl_.md5code_.ClearToEmpty();
|
||
|
|
_impl_.lastkey_.ClearToEmpty();
|
||
|
|
::memset(&_impl_.timestamp_, 0, static_cast<size_t>(
|
||
|
|
reinterpret_cast<char*>(&_impl_.is_skill2nd_) -
|
||
|
|
reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.is_skill2nd_));
|
||
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||
|
|
}
|
||
|
|
|
||
|
|
const char* dfoMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||
|
|
while (!ctx->Done(&ptr)) {
|
||
|
|
uint32_t tag;
|
||
|
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||
|
|
switch (tag >> 3) {
|
||
|
|
// int32 timesTamp = 1;
|
||
|
|
case 1:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||
|
|
_impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bytes CDK = 2;
|
||
|
|
case 2:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
|
||
|
|
auto str = _internal_mutable_cdk();
|
||
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bytes IP = 3;
|
||
|
|
case 3:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
|
||
|
|
auto str = _internal_mutable_ip();
|
||
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bytes MachinCode = 4;
|
||
|
|
case 4:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
|
||
|
|
auto str = _internal_mutable_machincode();
|
||
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_verified = 5;
|
||
|
|
case 5:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
|
||
|
|
_impl_.is_verified_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// int32 temp_time = 6;
|
||
|
|
case 6:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
|
||
|
|
_impl_.temp_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// int32 due_time = 7;
|
||
|
|
case 7:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
|
||
|
|
_impl_.due_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bytes MD5Code = 8;
|
||
|
|
case 8:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
|
||
|
|
auto str = _internal_mutable_md5code();
|
||
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// repeated bytes aniPath = 9;
|
||
|
|
case 9:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
|
||
|
|
ptr -= 1;
|
||
|
|
do {
|
||
|
|
ptr += 1;
|
||
|
|
auto str = _internal_add_anipath();
|
||
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||
|
|
CHK_(ptr);
|
||
|
|
if (!ctx->DataAvailable(ptr)) break;
|
||
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bytes lastKey = 10;
|
||
|
|
case 10:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
|
||
|
|
auto str = _internal_mutable_lastkey();
|
||
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_singRegist = 11;
|
||
|
|
case 11:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
|
||
|
|
_impl_.is_singregist_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_verifyMac = 12;
|
||
|
|
case 12:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
|
||
|
|
_impl_.is_verifymac_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_passed = 13;
|
||
|
|
case 13:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
|
||
|
|
_impl_.is_passed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_trainRoom = 14;
|
||
|
|
case 14:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 112)) {
|
||
|
|
_impl_.is_trainroom_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_atPriest = 15;
|
||
|
|
case 15:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 120)) {
|
||
|
|
_impl_.is_atpriest_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_atSwordman = 16;
|
||
|
|
case 16:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
|
||
|
|
_impl_.is_atswordman_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_Demoniclancer = 17;
|
||
|
|
case 17:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
|
||
|
|
_impl_.is_demoniclancer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_Knight = 18;
|
||
|
|
case 18:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 144)) {
|
||
|
|
_impl_.is_knight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_Thief = 19;
|
||
|
|
case 19:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 152)) {
|
||
|
|
_impl_.is_thief_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
// bool is_Skill2nd = 20;
|
||
|
|
case 20:
|
||
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 160)) {
|
||
|
|
_impl_.is_skill2nd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||
|
|
CHK_(ptr);
|
||
|
|
} else
|
||
|
|
goto handle_unusual;
|
||
|
|
continue;
|
||
|
|
default:
|
||
|
|
goto handle_unusual;
|
||
|
|
} // switch
|
||
|
|
handle_unusual:
|
||
|
|
if ((tag == 0) || ((tag & 7) == 4)) {
|
||
|
|
CHK_(ptr);
|
||
|
|
ctx->SetLastTag(tag);
|
||
|
|
goto message_done;
|
||
|
|
}
|
||
|
|
ptr = UnknownFieldParse(
|
||
|
|
tag,
|
||
|
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||
|
|
ptr, ctx);
|
||
|
|
CHK_(ptr != nullptr);
|
||
|
|
} // while
|
||
|
|
message_done:
|
||
|
|
return ptr;
|
||
|
|
failure:
|
||
|
|
ptr = nullptr;
|
||
|
|
goto message_done;
|
||
|
|
#undef CHK_
|
||
|
|
}
|
||
|
|
|
||
|
|
uint8_t* dfoMessage::_InternalSerialize(
|
||
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||
|
|
// @@protoc_insertion_point(serialize_to_array_start:dfoMessage)
|
||
|
|
uint32_t cached_has_bits = 0;
|
||
|
|
(void) cached_has_bits;
|
||
|
|
|
||
|
|
// int32 timesTamp = 1;
|
||
|
|
if (this->_internal_timestamp() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_timestamp(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes CDK = 2;
|
||
|
|
if (!this->_internal_cdk().empty()) {
|
||
|
|
target = stream->WriteBytesMaybeAliased(
|
||
|
|
2, this->_internal_cdk(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes IP = 3;
|
||
|
|
if (!this->_internal_ip().empty()) {
|
||
|
|
target = stream->WriteBytesMaybeAliased(
|
||
|
|
3, this->_internal_ip(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes MachinCode = 4;
|
||
|
|
if (!this->_internal_machincode().empty()) {
|
||
|
|
target = stream->WriteBytesMaybeAliased(
|
||
|
|
4, this->_internal_machincode(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_verified = 5;
|
||
|
|
if (this->_internal_is_verified() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_verified(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// int32 temp_time = 6;
|
||
|
|
if (this->_internal_temp_time() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_temp_time(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// int32 due_time = 7;
|
||
|
|
if (this->_internal_due_time() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_due_time(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes MD5Code = 8;
|
||
|
|
if (!this->_internal_md5code().empty()) {
|
||
|
|
target = stream->WriteBytesMaybeAliased(
|
||
|
|
8, this->_internal_md5code(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// repeated bytes aniPath = 9;
|
||
|
|
for (int i = 0, n = this->_internal_anipath_size(); i < n; i++) {
|
||
|
|
const auto& s = this->_internal_anipath(i);
|
||
|
|
target = stream->WriteBytes(9, s, target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes lastKey = 10;
|
||
|
|
if (!this->_internal_lastkey().empty()) {
|
||
|
|
target = stream->WriteBytesMaybeAliased(
|
||
|
|
10, this->_internal_lastkey(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_singRegist = 11;
|
||
|
|
if (this->_internal_is_singregist() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_is_singregist(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_verifyMac = 12;
|
||
|
|
if (this->_internal_is_verifymac() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_is_verifymac(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_passed = 13;
|
||
|
|
if (this->_internal_is_passed() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_is_passed(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_trainRoom = 14;
|
||
|
|
if (this->_internal_is_trainroom() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(14, this->_internal_is_trainroom(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_atPriest = 15;
|
||
|
|
if (this->_internal_is_atpriest() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(15, this->_internal_is_atpriest(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_atSwordman = 16;
|
||
|
|
if (this->_internal_is_atswordman() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_is_atswordman(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Demoniclancer = 17;
|
||
|
|
if (this->_internal_is_demoniclancer() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_is_demoniclancer(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Knight = 18;
|
||
|
|
if (this->_internal_is_knight() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_is_knight(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Thief = 19;
|
||
|
|
if (this->_internal_is_thief() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_is_thief(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Skill2nd = 20;
|
||
|
|
if (this->_internal_is_skill2nd() != 0) {
|
||
|
|
target = stream->EnsureSpace(target);
|
||
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(20, this->_internal_is_skill2nd(), target);
|
||
|
|
}
|
||
|
|
|
||
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||
|
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||
|
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||
|
|
}
|
||
|
|
// @@protoc_insertion_point(serialize_to_array_end:dfoMessage)
|
||
|
|
return target;
|
||
|
|
}
|
||
|
|
|
||
|
|
size_t dfoMessage::ByteSizeLong() const {
|
||
|
|
// @@protoc_insertion_point(message_byte_size_start:dfoMessage)
|
||
|
|
size_t total_size = 0;
|
||
|
|
|
||
|
|
uint32_t cached_has_bits = 0;
|
||
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
||
|
|
(void) cached_has_bits;
|
||
|
|
|
||
|
|
// repeated bytes aniPath = 9;
|
||
|
|
total_size += 1 *
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.anipath_.size());
|
||
|
|
for (int i = 0, n = _impl_.anipath_.size(); i < n; i++) {
|
||
|
|
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||
|
|
_impl_.anipath_.Get(i));
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes CDK = 2;
|
||
|
|
if (!this->_internal_cdk().empty()) {
|
||
|
|
total_size += 1 +
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||
|
|
this->_internal_cdk());
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes IP = 3;
|
||
|
|
if (!this->_internal_ip().empty()) {
|
||
|
|
total_size += 1 +
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||
|
|
this->_internal_ip());
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes MachinCode = 4;
|
||
|
|
if (!this->_internal_machincode().empty()) {
|
||
|
|
total_size += 1 +
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||
|
|
this->_internal_machincode());
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes MD5Code = 8;
|
||
|
|
if (!this->_internal_md5code().empty()) {
|
||
|
|
total_size += 1 +
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||
|
|
this->_internal_md5code());
|
||
|
|
}
|
||
|
|
|
||
|
|
// bytes lastKey = 10;
|
||
|
|
if (!this->_internal_lastkey().empty()) {
|
||
|
|
total_size += 1 +
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||
|
|
this->_internal_lastkey());
|
||
|
|
}
|
||
|
|
|
||
|
|
// int32 timesTamp = 1;
|
||
|
|
if (this->_internal_timestamp() != 0) {
|
||
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timestamp());
|
||
|
|
}
|
||
|
|
|
||
|
|
// int32 temp_time = 6;
|
||
|
|
if (this->_internal_temp_time() != 0) {
|
||
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_temp_time());
|
||
|
|
}
|
||
|
|
|
||
|
|
// int32 due_time = 7;
|
||
|
|
if (this->_internal_due_time() != 0) {
|
||
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_due_time());
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_verified = 5;
|
||
|
|
if (this->_internal_is_verified() != 0) {
|
||
|
|
total_size += 1 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_singRegist = 11;
|
||
|
|
if (this->_internal_is_singregist() != 0) {
|
||
|
|
total_size += 1 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_verifyMac = 12;
|
||
|
|
if (this->_internal_is_verifymac() != 0) {
|
||
|
|
total_size += 1 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_passed = 13;
|
||
|
|
if (this->_internal_is_passed() != 0) {
|
||
|
|
total_size += 1 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_trainRoom = 14;
|
||
|
|
if (this->_internal_is_trainroom() != 0) {
|
||
|
|
total_size += 1 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_atPriest = 15;
|
||
|
|
if (this->_internal_is_atpriest() != 0) {
|
||
|
|
total_size += 1 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_atSwordman = 16;
|
||
|
|
if (this->_internal_is_atswordman() != 0) {
|
||
|
|
total_size += 2 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Demoniclancer = 17;
|
||
|
|
if (this->_internal_is_demoniclancer() != 0) {
|
||
|
|
total_size += 2 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Knight = 18;
|
||
|
|
if (this->_internal_is_knight() != 0) {
|
||
|
|
total_size += 2 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Thief = 19;
|
||
|
|
if (this->_internal_is_thief() != 0) {
|
||
|
|
total_size += 2 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
// bool is_Skill2nd = 20;
|
||
|
|
if (this->_internal_is_skill2nd() != 0) {
|
||
|
|
total_size += 2 + 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||
|
|
}
|
||
|
|
|
||
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData dfoMessage::_class_data_ = {
|
||
|
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||
|
|
dfoMessage::MergeImpl
|
||
|
|
};
|
||
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*dfoMessage::GetClassData() const { return &_class_data_; }
|
||
|
|
|
||
|
|
|
||
|
|
void dfoMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||
|
|
auto* const _this = static_cast<dfoMessage*>(&to_msg);
|
||
|
|
auto& from = static_cast<const dfoMessage&>(from_msg);
|
||
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:dfoMessage)
|
||
|
|
GOOGLE_DCHECK_NE(&from, _this);
|
||
|
|
uint32_t cached_has_bits = 0;
|
||
|
|
(void) cached_has_bits;
|
||
|
|
|
||
|
|
_this->_impl_.anipath_.MergeFrom(from._impl_.anipath_);
|
||
|
|
if (!from._internal_cdk().empty()) {
|
||
|
|
_this->_internal_set_cdk(from._internal_cdk());
|
||
|
|
}
|
||
|
|
if (!from._internal_ip().empty()) {
|
||
|
|
_this->_internal_set_ip(from._internal_ip());
|
||
|
|
}
|
||
|
|
if (!from._internal_machincode().empty()) {
|
||
|
|
_this->_internal_set_machincode(from._internal_machincode());
|
||
|
|
}
|
||
|
|
if (!from._internal_md5code().empty()) {
|
||
|
|
_this->_internal_set_md5code(from._internal_md5code());
|
||
|
|
}
|
||
|
|
if (!from._internal_lastkey().empty()) {
|
||
|
|
_this->_internal_set_lastkey(from._internal_lastkey());
|
||
|
|
}
|
||
|
|
if (from._internal_timestamp() != 0) {
|
||
|
|
_this->_internal_set_timestamp(from._internal_timestamp());
|
||
|
|
}
|
||
|
|
if (from._internal_temp_time() != 0) {
|
||
|
|
_this->_internal_set_temp_time(from._internal_temp_time());
|
||
|
|
}
|
||
|
|
if (from._internal_due_time() != 0) {
|
||
|
|
_this->_internal_set_due_time(from._internal_due_time());
|
||
|
|
}
|
||
|
|
if (from._internal_is_verified() != 0) {
|
||
|
|
_this->_internal_set_is_verified(from._internal_is_verified());
|
||
|
|
}
|
||
|
|
if (from._internal_is_singregist() != 0) {
|
||
|
|
_this->_internal_set_is_singregist(from._internal_is_singregist());
|
||
|
|
}
|
||
|
|
if (from._internal_is_verifymac() != 0) {
|
||
|
|
_this->_internal_set_is_verifymac(from._internal_is_verifymac());
|
||
|
|
}
|
||
|
|
if (from._internal_is_passed() != 0) {
|
||
|
|
_this->_internal_set_is_passed(from._internal_is_passed());
|
||
|
|
}
|
||
|
|
if (from._internal_is_trainroom() != 0) {
|
||
|
|
_this->_internal_set_is_trainroom(from._internal_is_trainroom());
|
||
|
|
}
|
||
|
|
if (from._internal_is_atpriest() != 0) {
|
||
|
|
_this->_internal_set_is_atpriest(from._internal_is_atpriest());
|
||
|
|
}
|
||
|
|
if (from._internal_is_atswordman() != 0) {
|
||
|
|
_this->_internal_set_is_atswordman(from._internal_is_atswordman());
|
||
|
|
}
|
||
|
|
if (from._internal_is_demoniclancer() != 0) {
|
||
|
|
_this->_internal_set_is_demoniclancer(from._internal_is_demoniclancer());
|
||
|
|
}
|
||
|
|
if (from._internal_is_knight() != 0) {
|
||
|
|
_this->_internal_set_is_knight(from._internal_is_knight());
|
||
|
|
}
|
||
|
|
if (from._internal_is_thief() != 0) {
|
||
|
|
_this->_internal_set_is_thief(from._internal_is_thief());
|
||
|
|
}
|
||
|
|
if (from._internal_is_skill2nd() != 0) {
|
||
|
|
_this->_internal_set_is_skill2nd(from._internal_is_skill2nd());
|
||
|
|
}
|
||
|
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||
|
|
}
|
||
|
|
|
||
|
|
void dfoMessage::CopyFrom(const dfoMessage& from) {
|
||
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:dfoMessage)
|
||
|
|
if (&from == this) return;
|
||
|
|
Clear();
|
||
|
|
MergeFrom(from);
|
||
|
|
}
|
||
|
|
|
||
|
|
bool dfoMessage::IsInitialized() const {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
void dfoMessage::InternalSwap(dfoMessage* other) {
|
||
|
|
using std::swap;
|
||
|
|
auto* lhs_arena = GetArenaForAllocation();
|
||
|
|
auto* rhs_arena = other->GetArenaForAllocation();
|
||
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||
|
|
_impl_.anipath_.InternalSwap(&other->_impl_.anipath_);
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||
|
|
&_impl_.cdk_, lhs_arena,
|
||
|
|
&other->_impl_.cdk_, rhs_arena
|
||
|
|
);
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||
|
|
&_impl_.ip_, lhs_arena,
|
||
|
|
&other->_impl_.ip_, rhs_arena
|
||
|
|
);
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||
|
|
&_impl_.machincode_, lhs_arena,
|
||
|
|
&other->_impl_.machincode_, rhs_arena
|
||
|
|
);
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||
|
|
&_impl_.md5code_, lhs_arena,
|
||
|
|
&other->_impl_.md5code_, rhs_arena
|
||
|
|
);
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||
|
|
&_impl_.lastkey_, lhs_arena,
|
||
|
|
&other->_impl_.lastkey_, rhs_arena
|
||
|
|
);
|
||
|
|
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||
|
|
PROTOBUF_FIELD_OFFSET(dfoMessage, _impl_.is_skill2nd_)
|
||
|
|
+ sizeof(dfoMessage::_impl_.is_skill2nd_)
|
||
|
|
- PROTOBUF_FIELD_OFFSET(dfoMessage, _impl_.timestamp_)>(
|
||
|
|
reinterpret_cast<char*>(&_impl_.timestamp_),
|
||
|
|
reinterpret_cast<char*>(&other->_impl_.timestamp_));
|
||
|
|
}
|
||
|
|
|
||
|
|
::PROTOBUF_NAMESPACE_ID::Metadata dfoMessage::GetMetadata() const {
|
||
|
|
return ::_pbi::AssignDescriptors(
|
||
|
|
&descriptor_table_run_5fmsg_2eproto_getter, &descriptor_table_run_5fmsg_2eproto_once,
|
||
|
|
file_level_metadata_run_5fmsg_2eproto[0]);
|
||
|
|
}
|
||
|
|
|
||
|
|
// @@protoc_insertion_point(namespace_scope)
|
||
|
|
PROTOBUF_NAMESPACE_OPEN
|
||
|
|
template<> PROTOBUF_NOINLINE ::dfoMessage*
|
||
|
|
Arena::CreateMaybeMessage< ::dfoMessage >(Arena* arena) {
|
||
|
|
return Arena::CreateMessageInternal< ::dfoMessage >(arena);
|
||
|
|
}
|
||
|
|
PROTOBUF_NAMESPACE_CLOSE
|
||
|
|
|
||
|
|
// @@protoc_insertion_point(global_scope)
|
||
|
|
#include <google/protobuf/port_undef.inc>
|