eqemu-server/common/proto/message.pb.cc
2018-02-10 23:42:38 -08:00

15057 lines
526 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: message.proto
#include "message.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.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>
// This is a temporary google only hack
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
#include "third_party/protobuf/version.h"
#endif
// @@protoc_insertion_point(includes)
namespace eqproto {
class ChannelMessageDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<ChannelMessage>
_instance;
} _ChannelMessage_default_instance_;
class CommandMessageDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<CommandMessage>
_instance;
} _CommandMessage_default_instance_;
class DailyGainDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<DailyGain>
_instance;
} _DailyGain_default_instance_;
class EntityDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<Entity>
_instance;
} _Entity_default_instance_;
class EntitiesDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<Entities>
_instance;
} _Entities_default_instance_;
class PositionDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<Position>
_instance;
} _Position_default_instance_;
class TextureProfileDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<TextureProfile>
_instance;
} _TextureProfile_default_instance_;
class TextureDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<Texture>
_instance;
} _Texture_default_instance_;
class TintProfileDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<TintProfile>
_instance;
} _TintProfile_default_instance_;
class TintDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<Tint>
_instance;
} _Tint_default_instance_;
class EventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<Event>
_instance;
} _Event_default_instance_;
class DeathEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<DeathEvent>
_instance;
} _DeathEvent_default_instance_;
class DamageEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<DamageEvent>
_instance;
} _DamageEvent_default_instance_;
class EntityEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<EntityEvent>
_instance;
} _EntityEvent_default_instance_;
class ChannelMessageEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<ChannelMessageEvent>
_instance;
} _ChannelMessageEvent_default_instance_;
class WearChangeEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<WearChangeEvent>
_instance;
} _WearChangeEvent_default_instance_;
class DeleteSpawnEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<DeleteSpawnEvent>
_instance;
} _DeleteSpawnEvent_default_instance_;
class HPEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<HPEvent>
_instance;
} _HPEvent_default_instance_;
class PlayerPositionUpdateEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<PlayerPositionUpdateEvent>
_instance;
} _PlayerPositionUpdateEvent_default_instance_;
class AnimationEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<AnimationEvent>
_instance;
} _AnimationEvent_default_instance_;
class SpawnEventDefaultTypeInternal {
public:
::google::protobuf::internal::ExplicitlyConstructed<SpawnEvent>
_instance;
} _SpawnEvent_default_instance_;
} // namespace eqproto
namespace protobuf_message_2eproto {
void InitDefaultsChannelMessageImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_ChannelMessage_default_instance_;
new (ptr) ::eqproto::ChannelMessage();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::ChannelMessage::InitAsDefaultInstance();
}
void InitDefaultsChannelMessage() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChannelMessageImpl);
}
void InitDefaultsCommandMessageImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_CommandMessage_default_instance_;
new (ptr) ::eqproto::CommandMessage();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::CommandMessage::InitAsDefaultInstance();
}
void InitDefaultsCommandMessage() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCommandMessageImpl);
}
void InitDefaultsDailyGainImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_DailyGain_default_instance_;
new (ptr) ::eqproto::DailyGain();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::DailyGain::InitAsDefaultInstance();
}
void InitDefaultsDailyGain() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDailyGainImpl);
}
void InitDefaultsEntityImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
protobuf_message_2eproto::InitDefaultsPosition();
{
void* ptr = &::eqproto::_Entity_default_instance_;
new (ptr) ::eqproto::Entity();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::Entity::InitAsDefaultInstance();
}
void InitDefaultsEntity() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEntityImpl);
}
void InitDefaultsEntitiesImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
protobuf_message_2eproto::InitDefaultsEntity();
{
void* ptr = &::eqproto::_Entities_default_instance_;
new (ptr) ::eqproto::Entities();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::Entities::InitAsDefaultInstance();
}
void InitDefaultsEntities() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEntitiesImpl);
}
void InitDefaultsPositionImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_Position_default_instance_;
new (ptr) ::eqproto::Position();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::Position::InitAsDefaultInstance();
}
void InitDefaultsPosition() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPositionImpl);
}
void InitDefaultsTextureProfileImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
protobuf_message_2eproto::InitDefaultsTexture();
{
void* ptr = &::eqproto::_TextureProfile_default_instance_;
new (ptr) ::eqproto::TextureProfile();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::TextureProfile::InitAsDefaultInstance();
}
void InitDefaultsTextureProfile() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTextureProfileImpl);
}
void InitDefaultsTextureImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_Texture_default_instance_;
new (ptr) ::eqproto::Texture();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::Texture::InitAsDefaultInstance();
}
void InitDefaultsTexture() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTextureImpl);
}
void InitDefaultsTintProfileImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
protobuf_message_2eproto::InitDefaultsTint();
{
void* ptr = &::eqproto::_TintProfile_default_instance_;
new (ptr) ::eqproto::TintProfile();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::TintProfile::InitAsDefaultInstance();
}
void InitDefaultsTintProfile() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTintProfileImpl);
}
void InitDefaultsTintImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_Tint_default_instance_;
new (ptr) ::eqproto::Tint();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::Tint::InitAsDefaultInstance();
}
void InitDefaultsTint() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTintImpl);
}
void InitDefaultsEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_Event_default_instance_;
new (ptr) ::eqproto::Event();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::Event::InitAsDefaultInstance();
}
void InitDefaultsEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEventImpl);
}
void InitDefaultsDeathEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_DeathEvent_default_instance_;
new (ptr) ::eqproto::DeathEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::DeathEvent::InitAsDefaultInstance();
}
void InitDefaultsDeathEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeathEventImpl);
}
void InitDefaultsDamageEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_DamageEvent_default_instance_;
new (ptr) ::eqproto::DamageEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::DamageEvent::InitAsDefaultInstance();
}
void InitDefaultsDamageEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDamageEventImpl);
}
void InitDefaultsEntityEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_EntityEvent_default_instance_;
new (ptr) ::eqproto::EntityEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::EntityEvent::InitAsDefaultInstance();
}
void InitDefaultsEntityEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEntityEventImpl);
}
void InitDefaultsChannelMessageEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_ChannelMessageEvent_default_instance_;
new (ptr) ::eqproto::ChannelMessageEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::ChannelMessageEvent::InitAsDefaultInstance();
}
void InitDefaultsChannelMessageEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChannelMessageEventImpl);
}
void InitDefaultsWearChangeEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
protobuf_message_2eproto::InitDefaultsTint();
{
void* ptr = &::eqproto::_WearChangeEvent_default_instance_;
new (ptr) ::eqproto::WearChangeEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::WearChangeEvent::InitAsDefaultInstance();
}
void InitDefaultsWearChangeEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsWearChangeEventImpl);
}
void InitDefaultsDeleteSpawnEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_DeleteSpawnEvent_default_instance_;
new (ptr) ::eqproto::DeleteSpawnEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::DeleteSpawnEvent::InitAsDefaultInstance();
}
void InitDefaultsDeleteSpawnEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDeleteSpawnEventImpl);
}
void InitDefaultsHPEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_HPEvent_default_instance_;
new (ptr) ::eqproto::HPEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::HPEvent::InitAsDefaultInstance();
}
void InitDefaultsHPEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsHPEventImpl);
}
void InitDefaultsPlayerPositionUpdateEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_PlayerPositionUpdateEvent_default_instance_;
new (ptr) ::eqproto::PlayerPositionUpdateEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::PlayerPositionUpdateEvent::InitAsDefaultInstance();
}
void InitDefaultsPlayerPositionUpdateEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlayerPositionUpdateEventImpl);
}
void InitDefaultsAnimationEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
{
void* ptr = &::eqproto::_AnimationEvent_default_instance_;
new (ptr) ::eqproto::AnimationEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::AnimationEvent::InitAsDefaultInstance();
}
void InitDefaultsAnimationEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAnimationEventImpl);
}
void InitDefaultsSpawnEventImpl() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
::google::protobuf::internal::InitProtobufDefaultsForceUnique();
#else
::google::protobuf::internal::InitProtobufDefaults();
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
protobuf_message_2eproto::InitDefaultsTextureProfile();
protobuf_message_2eproto::InitDefaultsTintProfile();
{
void* ptr = &::eqproto::_SpawnEvent_default_instance_;
new (ptr) ::eqproto::SpawnEvent();
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
}
::eqproto::SpawnEvent::InitAsDefaultInstance();
}
void InitDefaultsSpawnEvent() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSpawnEventImpl);
}
::google::protobuf::Metadata file_level_metadata[21];
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, chan_num_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, language_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, from_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, to_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, message_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, guilddbid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, deliverto_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, minstatus_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, fromadmin_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, noreply_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, is_emote_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, queued_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessage, zone_id_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::CommandMessage, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::CommandMessage, author_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::CommandMessage, command_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::CommandMessage, params_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::CommandMessage, result_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::CommandMessage, payload_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, account_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, character_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, levels_gained_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, experience_gained_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, money_earned_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DailyGain, identity_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, hp_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, level_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, position_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, race_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entity, class__),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entities, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Entities, entities_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Position, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Position, x_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Position, y_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Position, z_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Position, h_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, head_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, chest_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, arms_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, wrist_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, hands_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, legs_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, feet_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, primary_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TextureProfile, secondary_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Texture, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Texture, material_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Texture, unknown1_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Texture, elitemodel_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Texture, herosforgemodel_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Texture, unknown2_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, head_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, chest_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, arms_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, wrist_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, hands_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, legs_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, feet_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, primary_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::TintProfile, secondary_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Tint, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Tint, blue_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Tint, green_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Tint, red_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Tint, usetint_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Tint, color_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Event, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Event, op_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::Event, payload_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, spawn_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, killer_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, corpse_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, bind_zone_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, spell_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, attack_skill_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, damage_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeathEvent, unknown028_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, target_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, source_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, type_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, spellid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, damage_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, force_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, meleepush_xy_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DamageEvent, meleepush_z_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::EntityEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::EntityEvent, entity_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::EntityEvent, target_id_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, target_name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, sender_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, language_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, chan_num_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, cm_unknown4_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, skill_in_language_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::ChannelMessageEvent, message_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, spawn_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, material_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, unknown06_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, elite_material_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, hero_forge_model_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, unknown18_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, color_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::WearChangeEvent, wear_slot_id_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeleteSpawnEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeleteSpawnEvent, spawn_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::DeleteSpawnEvent, decay_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::HPEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::HPEvent, spawn_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::HPEvent, cur_hp_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::HPEvent, max_hp_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, spawn_id_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, delta_heading_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, x_pos_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, padding0002_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, y_pos_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, animation_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, padding0006_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, z_pos_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, delta_y_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, delta_x_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, heading_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, padding0014_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, delta_z_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::PlayerPositionUpdateEvent, padding0018_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::AnimationEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::AnimationEvent, spawnid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::AnimationEvent, speed_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::AnimationEvent, action_),
~0u, // no _has_bits_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0000_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, gm_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0003_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, aaitle_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0004_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, anon_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, face_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, name_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, deity_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0073_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, size_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0079_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, npc_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, invis_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, haircolor_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, curhp_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, max_hp_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, findable_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0089_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, deltaheading_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, x_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, padding0054_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, y_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, animation_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, padding0058_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, z_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, deltay_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, deltax_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, heading_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, padding0066_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, deltaz_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, padding0070_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, eyecolor1_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0115_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, standstate_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, drakkin_heritage_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, drakkin_tattoo_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, drakkin_details_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, showhelm_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0140_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, is_npc_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, hairstyle_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, beard_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0147_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, level_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, playerstate_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, beardcolor_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, suffix_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, petownerid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, guildrank_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0194_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, equipment_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, runspeed_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, afk_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, guildid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, title_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0274_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, set_to_0xff_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, helm_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, race_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0288_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, lastname_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, walkspeed_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0328_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, is_pet_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, light_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, class__),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, eyecolor2_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, flymode_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, gender_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, bodytype_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0336_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, equip_chest2_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, mount_color_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, spawnid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, unknown0344_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, ismercenary_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, equipment_tint_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, lfg_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleobject_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructiblemodel_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructiblename2_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructiblestring_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleappearance_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk1_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleid1_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleid2_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleid3_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleid4_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk2_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk3_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk4_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk5_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk6_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk7_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk8_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, destructibleunk9_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, targetable_with_hotkey_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::eqproto::SpawnEvent, show_name_),
};
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, sizeof(::eqproto::ChannelMessage)},
{ 19, -1, sizeof(::eqproto::CommandMessage)},
{ 29, -1, sizeof(::eqproto::DailyGain)},
{ 40, -1, sizeof(::eqproto::Entity)},
{ 53, -1, sizeof(::eqproto::Entities)},
{ 59, -1, sizeof(::eqproto::Position)},
{ 68, -1, sizeof(::eqproto::TextureProfile)},
{ 82, -1, sizeof(::eqproto::Texture)},
{ 92, -1, sizeof(::eqproto::TintProfile)},
{ 106, -1, sizeof(::eqproto::Tint)},
{ 116, -1, sizeof(::eqproto::Event)},
{ 123, -1, sizeof(::eqproto::DeathEvent)},
{ 136, -1, sizeof(::eqproto::DamageEvent)},
{ 149, -1, sizeof(::eqproto::EntityEvent)},
{ 156, -1, sizeof(::eqproto::ChannelMessageEvent)},
{ 168, -1, sizeof(::eqproto::WearChangeEvent)},
{ 181, -1, sizeof(::eqproto::DeleteSpawnEvent)},
{ 188, -1, sizeof(::eqproto::HPEvent)},
{ 196, -1, sizeof(::eqproto::PlayerPositionUpdateEvent)},
{ 215, -1, sizeof(::eqproto::AnimationEvent)},
{ 223, -1, sizeof(::eqproto::SpawnEvent)},
};
static ::google::protobuf::Message const * const file_default_instances[] = {
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_ChannelMessage_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_CommandMessage_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_DailyGain_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_Entity_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_Entities_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_Position_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_TextureProfile_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_Texture_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_TintProfile_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_Tint_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_Event_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_DeathEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_DamageEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_EntityEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_ChannelMessageEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_WearChangeEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_DeleteSpawnEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_HPEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_PlayerPositionUpdateEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_AnimationEvent_default_instance_),
reinterpret_cast<const ::google::protobuf::Message*>(&::eqproto::_SpawnEvent_default_instance_),
};
void protobuf_AssignDescriptors() {
AddDescriptors();
::google::protobuf::MessageFactory* factory = NULL;
AssignDescriptors(
"message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
file_level_metadata, file_level_enum_descriptors, NULL);
}
void protobuf_AssignDescriptorsOnce() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
}
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 21);
}
void AddDescriptorsImpl() {
InitDefaults();
static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
"\n\rmessage.proto\022\007eqproto\"\375\001\n\016ChannelMess"
"age\022\020\n\010chan_num\030\001 \001(\005\022\020\n\010language\030\002 \001(\005\022"
"\014\n\004from\030\003 \001(\t\022\n\n\002to\030\004 \001(\t\022\017\n\007message\030\005 \001"
"(\t\022\021\n\tguilddbid\030\006 \001(\005\022\021\n\tdeliverto\030\007 \001(\t"
"\022\014\n\004type\030\010 \001(\005\022\021\n\tminstatus\030\t \001(\005\022\021\n\tfro"
"madmin\030\n \001(\005\022\017\n\007noreply\030\013 \001(\010\022\020\n\010is_emot"
"e\030\014 \001(\010\022\016\n\006queued\030\r \001(\005\022\017\n\007zone_id\030\016 \001(\005"
"\"b\n\016CommandMessage\022\016\n\006author\030\001 \001(\t\022\017\n\007co"
"mmand\030\002 \001(\t\022\016\n\006params\030\003 \003(\t\022\016\n\006result\030\004 "
"\001(\t\022\017\n\007payload\030\005 \001(\014\"\217\001\n\tDailyGain\022\022\n\nac"
"count_id\030\001 \001(\005\022\024\n\014character_id\030\002 \001(\005\022\025\n\r"
"levels_gained\030\003 \001(\005\022\031\n\021experience_gained"
"\030\004 \001(\005\022\024\n\014money_earned\030\005 \001(\005\022\020\n\010identity"
"\030\006 \001(\t\"\215\001\n\006Entity\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 "
"\001(\t\022\014\n\004type\030\003 \001(\005\022\n\n\002hp\030\004 \001(\005\022\r\n\005level\030\005"
" \001(\005\022#\n\010position\030\006 \001(\0132\021.eqproto.Positio"
"n\022\014\n\004race\030\007 \001(\005\022\r\n\005class\030\010 \001(\005\"-\n\010Entiti"
"es\022!\n\010entities\030\001 \003(\0132\017.eqproto.Entity\"6\n"
"\010Position\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001"
"(\002\022\t\n\001h\030\004 \001(\002\"\273\002\n\016TextureProfile\022\036\n\004Head"
"\030\001 \001(\0132\020.eqproto.Texture\022\037\n\005Chest\030\002 \001(\0132"
"\020.eqproto.Texture\022\036\n\004Arms\030\003 \001(\0132\020.eqprot"
"o.Texture\022\037\n\005Wrist\030\004 \001(\0132\020.eqproto.Textu"
"re\022\037\n\005Hands\030\005 \001(\0132\020.eqproto.Texture\022\036\n\004L"
"egs\030\006 \001(\0132\020.eqproto.Texture\022\036\n\004Feet\030\007 \001("
"\0132\020.eqproto.Texture\022!\n\007Primary\030\010 \001(\0132\020.e"
"qproto.Texture\022#\n\tSecondary\030\t \001(\0132\020.eqpr"
"oto.Texture\"l\n\007Texture\022\020\n\010material\030\001 \001(\r"
"\022\020\n\010unknown1\030\002 \001(\r\022\022\n\nEliteModel\030\003 \001(\r\022\027"
"\n\017HerosForgeModel\030\004 \001(\r\022\020\n\010Unknown2\030\005 \001("
"\r\"\235\002\n\013TintProfile\022\033\n\004Head\030\001 \001(\0132\r.eqprot"
"o.Tint\022\034\n\005Chest\030\002 \001(\0132\r.eqproto.Tint\022\033\n\004"
"Arms\030\003 \001(\0132\r.eqproto.Tint\022\034\n\005Wrist\030\004 \001(\013"
"2\r.eqproto.Tint\022\034\n\005Hands\030\005 \001(\0132\r.eqproto"
".Tint\022\033\n\004Legs\030\006 \001(\0132\r.eqproto.Tint\022\033\n\004Fe"
"et\030\007 \001(\0132\r.eqproto.Tint\022\036\n\007Primary\030\010 \001(\013"
"2\r.eqproto.Tint\022 \n\tSecondary\030\t \001(\0132\r.eqp"
"roto.Tint\"P\n\004Tint\022\014\n\004Blue\030\001 \001(\r\022\r\n\005Green"
"\030\002 \001(\r\022\013\n\003Red\030\003 \001(\r\022\017\n\007UseTint\030\004 \001(\r\022\r\n\005"
"Color\030\005 \001(\r\"5\n\005Event\022\033\n\002op\030\001 \001(\0162\017.eqpro"
"to.OpCode\022\017\n\007payload\030\002 \001(\014\"\251\001\n\nDeathEven"
"t\022\020\n\010spawn_id\030\001 \001(\r\022\021\n\tkiller_id\030\002 \001(\r\022\021"
"\n\tcorpse_id\030\003 \001(\r\022\024\n\014bind_zone_id\030\004 \001(\r\022"
"\020\n\010spell_id\030\005 \001(\r\022\027\n\017attack_skill_id\030\006 \001"
"(\r\022\016\n\006damage\030\007 \001(\r\022\022\n\nunknown028\030\010 \001(\r\"\226"
"\001\n\013DamageEvent\022\016\n\006target\030\001 \001(\r\022\016\n\006source"
"\030\002 \001(\r\022\014\n\004type\030\003 \001(\r\022\017\n\007spellid\030\004 \001(\r\022\016\n"
"\006damage\030\005 \001(\r\022\r\n\005force\030\006 \001(\002\022\024\n\014meleepus"
"h_xy\030\007 \001(\002\022\023\n\013meleepush_z\030\010 \001(\002\"3\n\013Entit"
"yEvent\022\021\n\tentity_id\030\001 \001(\r\022\021\n\ttarget_id\030\002"
" \001(\r\"\237\001\n\023ChannelMessageEvent\022\023\n\013target_n"
"ame\030\001 \001(\t\022\016\n\006sender\030\002 \001(\t\022\020\n\010language\030\003 "
"\001(\r\022\020\n\010chan_num\030\004 \001(\r\022\023\n\013cm_unknown4\030\005 \001"
"(\r\022\031\n\021skill_in_language\030\006 \001(\r\022\017\n\007message"
"\030\007 \001(\t\"\301\001\n\017WearChangeEvent\022\020\n\010spawn_id\030\001"
" \001(\r\022\020\n\010material\030\002 \001(\r\022\021\n\tunknown06\030\003 \001("
"\r\022\026\n\016elite_material\030\004 \001(\r\022\030\n\020hero_forge_"
"model\030\005 \001(\r\022\021\n\tunknown18\030\006 \001(\r\022\034\n\005color\030"
"\007 \001(\0132\r.eqproto.Tint\022\024\n\014wear_slot_id\030\010 \001"
"(\r\"3\n\020DeleteSpawnEvent\022\020\n\010spawn_id\030\001 \001(\r"
"\022\r\n\005decay\030\002 \001(\r\";\n\007HPEvent\022\020\n\010spawn_id\030\001"
" \001(\r\022\016\n\006cur_hp\030\002 \001(\r\022\016\n\006max_hp\030\003 \001(\r\"\234\002\n"
"\031PlayerPositionUpdateEvent\022\020\n\010spawn_id\030\001"
" \001(\r\022\025\n\rdelta_heading\030\002 \001(\005\022\r\n\005x_pos\030\003 \001"
"(\005\022\023\n\013padding0002\030\004 \001(\005\022\r\n\005y_pos\030\005 \001(\005\022\021"
"\n\tanimation\030\006 \001(\005\022\023\n\013padding0006\030\007 \001(\005\022\r"
"\n\005z_pos\030\010 \001(\005\022\017\n\007delta_y\030\t \001(\005\022\017\n\007delta_"
"x\030\n \001(\005\022\017\n\007heading\030\013 \001(\005\022\023\n\013padding0014\030"
"\014 \001(\005\022\017\n\007delta_z\030\r \001(\005\022\023\n\013padding0018\030\016 "
"\001(\005\"@\n\016AnimationEvent\022\017\n\007spawnid\030\001 \001(\r\022\r"
"\n\005speed\030\002 \001(\r\022\016\n\006action\030\003 \001(\r\"\337\017\n\nSpawnE"
"vent\022\023\n\013unknown0000\030\001 \001(\r\022\n\n\002gm\030\002 \001(\r\022\023\n"
"\013unknown0003\030\003 \001(\r\022\016\n\006aaitle\030\004 \001(\r\022\023\n\013un"
"known0004\030\005 \001(\r\022\014\n\004anon\030\006 \001(\r\022\014\n\004face\030\007 "
"\001(\r\022\014\n\004name\030\010 \001(\t\022\r\n\005deity\030\t \001(\r\022\023\n\013unkn"
"own0073\030\n \001(\r\022\014\n\004size\030\013 \001(\002\022\023\n\013unknown00"
"79\030\014 \001(\r\022\013\n\003NPC\030\r \001(\r\022\r\n\005invis\030\016 \001(\r\022\021\n\t"
"haircolor\030\017 \001(\r\022\r\n\005curHp\030\020 \001(\r\022\016\n\006max_hp"
"\030\021 \001(\r\022\020\n\010findable\030\022 \001(\r\022\023\n\013unknown0089\030"
"\023 \001(\r\022\024\n\014deltaHeading\030\024 \001(\005\022\t\n\001x\030\025 \001(\005\022\023"
"\n\013padding0054\030\026 \001(\005\022\t\n\001y\030\027 \001(\005\022\021\n\tanimat"
"ion\030\030 \001(\005\022\023\n\013padding0058\030\031 \001(\005\022\t\n\001z\030\032 \001("
"\005\022\016\n\006deltaY\030\033 \001(\005\022\016\n\006deltaX\030\034 \001(\005\022\017\n\007hea"
"ding\030\035 \001(\r\022\023\n\013padding0066\030\036 \001(\005\022\016\n\006delta"
"Z\030\037 \001(\005\022\023\n\013padding0070\030 \001(\005\022\021\n\teyecolor"
"1\030! \001(\r\022\023\n\013unknown0115\030\" \001(\r\022\022\n\nStandSta"
"te\030# \001(\r\022\030\n\020drakkin_heritage\030$ \001(\r\022\026\n\016dr"
"akkin_tattoo\030% \001(\r\022\027\n\017drakkin_details\030& "
"\001(\r\022\020\n\010showhelm\030\' \001(\r\022\023\n\013unknown0140\030( \001"
"(\r\022\016\n\006is_npc\030) \001(\r\022\021\n\thairstyle\030* \001(\r\022\r\n"
"\005beard\030+ \001(\r\022\023\n\013unknown0147\030, \001(\r\022\r\n\005lev"
"el\030- \001(\r\022\023\n\013PlayerState\030. \001(\r\022\022\n\nbeardco"
"lor\030/ \001(\r\022\016\n\006suffix\0300 \001(\t\022\022\n\npetOwnerId\030"
"1 \001(\r\022\021\n\tguildrank\0302 \001(\r\022\023\n\013unknown0194\030"
"3 \001(\r\022*\n\tequipment\0304 \001(\0132\027.eqproto.Textu"
"reProfile\022\020\n\010runspeed\0305 \001(\002\022\013\n\003afk\0306 \001(\r"
"\022\017\n\007guildID\0307 \001(\r\022\r\n\005title\0308 \001(\t\022\023\n\013unkn"
"own0274\0309 \001(\r\022\023\n\013set_to_0xFF\030: \001(\r\022\014\n\004he"
"lm\030; \001(\r\022\014\n\004race\030< \001(\r\022\023\n\013unknown0288\030= "
"\001(\r\022\020\n\010lastName\030> \001(\t\022\021\n\twalkspeed\030\? \001(\002"
"\022\023\n\013unknown0328\030@ \001(\r\022\016\n\006is_pet\030A \001(\r\022\r\n"
"\005light\030B \001(\r\022\016\n\006class_\030C \001(\r\022\021\n\teyecolor"
"2\030D \001(\r\022\017\n\007flymode\030E \001(\r\022\016\n\006gender\030F \001(\r"
"\022\020\n\010bodytype\030G \001(\r\022\023\n\013unknown0336\030H \001(\r\022"
"\024\n\014equip_chest2\030I \001(\r\022\023\n\013mount_color\030J \001"
"(\r\022\017\n\007spawnId\030K \001(\r\022\023\n\013unknown0344\030L \001(\r"
"\022\023\n\013IsMercenary\030M \001(\r\022,\n\016equipment_tint\030"
"N \001(\0132\024.eqproto.TintProfile\022\013\n\003lfg\030O \001(\r"
"\022\032\n\022DestructibleObject\030P \001(\010\022\031\n\021Destruct"
"ibleModel\030R \001(\t\022\031\n\021DestructibleName2\030S \001"
"(\t\022\032\n\022DestructibleString\030T \001(\t\022\036\n\026Destru"
"ctibleAppearance\030U \001(\r\022\030\n\020DestructibleUn"
"k1\030V \001(\r\022\027\n\017DestructibleID1\030W \001(\r\022\027\n\017Des"
"tructibleID2\030X \001(\r\022\027\n\017DestructibleID3\030Y "
"\001(\r\022\027\n\017DestructibleID4\030Z \001(\r\022\030\n\020Destruct"
"ibleUnk2\030[ \001(\r\022\030\n\020DestructibleUnk3\030\\ \001(\r"
"\022\030\n\020DestructibleUnk4\030] \001(\r\022\030\n\020Destructib"
"leUnk5\030^ \001(\r\022\030\n\020DestructibleUnk6\030_ \001(\r\022\030"
"\n\020DestructibleUnk7\030` \001(\r\022\030\n\020Destructible"
"Unk8\030a \001(\r\022\030\n\020DestructibleUnk9\030b \001(\r\022\036\n\026"
"targetable_with_hotkey\030c \001(\010\022\021\n\tshow_nam"
"e\030d \001(\010*\273e\n\006OpCode\022\016\n\nOP_Unknown\020\000\022\025\n\021OP"
"_ExploreUnknown\020\001\022\r\n\tOP_0x0193\020\002\022\r\n\tOP_0"
"x0347\020\003\022\017\n\013OP_AAAction\020\004\022\022\n\016OP_AAExpUpda"
"te\020\005\022\024\n\020OP_AcceptNewTask\020\006\022\020\n\014OP_AckPack"
"et\020\007\022\r\n\tOP_Action\020\010\022\016\n\nOP_Action2\020\t\022\026\n\022O"
"P_AddNimbusEffect\020\n\022\024\n\020OP_AdventureData\020"
"\013\022\027\n\023OP_AdventureDetails\020\014\022\026\n\022OP_Adventu"
"reFinish\020\r\022\024\n\020OP_AdventureInfo\020\016\022\033\n\027OP_A"
"dventureInfoRequest\020\017\022 \n\034OP_AdventureLea"
"derboardReply\020\020\022\"\n\036OP_AdventureLeaderboa"
"rdRequest\020\021\022 \n\034OP_AdventureMerchantPurch"
"ase\020\022\022\037\n\033OP_AdventureMerchantRequest\020\023\022 "
"\n\034OP_AdventureMerchantResponse\020\024\022\034\n\030OP_A"
"dventureMerchantSell\020\025\022\034\n\030OP_AdventurePo"
"intsUpdate\020\026\022\027\n\023OP_AdventureRequest\020\027\022\032\n"
"\026OP_AdventureStatsReply\020\030\022\034\n\030OP_Adventur"
"eStatsRequest\020\031\022\026\n\022OP_AdventureUpdate\020\032\022"
"\033\n\027OP_AggroMeterLockTarget\020\033\022\033\n\027OP_Aggro"
"MeterTargetInfo\020\034\022\027\n\023OP_AggroMeterUpdate"
"\020\035\022\022\n\016OP_AltCurrency\020\036\022\037\n\033OP_AltCurrency"
"MerchantReply\020\037\022!\n\035OP_AltCurrencyMerchan"
"tRequest\020 \022\032\n\026OP_AltCurrencyPurchase\020!\022\031"
"\n\025OP_AltCurrencyReclaim\020\"\022\026\n\022OP_AltCurre"
"ncySell\020#\022\037\n\033OP_AltCurrencySellSelection"
"\020$\022\020\n\014OP_Animation\020%\022\032\n\026OP_AnnoyingZoneU"
"nknown\020&\022\022\n\016OP_ApplyPoison\020\'\022\022\n\016OP_Appro"
"veName\020(\022\023\n\017OP_ApproveWorld\020)\022\022\n\016OP_Appr"
"oveZone\020*\022\r\n\tOP_Assist\020+\022\022\n\016OP_AssistGro"
"up\020,\022\022\n\016OP_AugmentInfo\020-\022\022\n\016OP_AugmentIt"
"em\020.\022\021\n\rOP_AutoAttack\020/\022\022\n\016OP_AutoAttack"
"2\0200\022\017\n\013OP_AutoFire\0201\022\020\n\014OP_Bandolier\0202\022\023"
"\n\017OP_BankerChange\0203\022\r\n\tOP_Barter\0204\022\r\n\tOP"
"_Bazaar\0205\022\024\n\020OP_BazaarInspect\0206\022\023\n\017OP_Ba"
"zaarSearch\0207\022\023\n\017OP_BecomeCorpse\0208\022\023\n\017OP_"
"BecomeTrader\0209\022\016\n\nOP_Begging\020:\022\020\n\014OP_Beg"
"inCast\020;\022\021\n\rOP_Bind_Wound\020<\022\023\n\017OP_Blocke"
"dBuffs\020=\022\020\n\014OP_BoardBoat\020>\022\013\n\007OP_Buff\020\?\022"
"\021\n\rOP_BuffCreate\020@\022\030\n\024OP_BuffRemoveReque"
"st\020A\022\n\n\006OP_Bug\020B\022\023\n\017OP_CameraEffect\020C\022\013\n"
"\007OP_Camp\020D\022\026\n\022OP_CancelSneakHide\020E\022\021\n\rOP"
"_CancelTask\020F\022\022\n\016OP_CancelTrade\020G\022\020\n\014OP_"
"CastSpell\020H\022\021\n\rOP_ChangeSize\020I\022\025\n\021OP_Cha"
"nnelMessage\020J\022\026\n\022OP_CharacterCreate\020K\022\035\n"
"\031OP_CharacterCreateRequest\020L\022\024\n\020OP_CharI"
"nventory\020M\022\014\n\010OP_Charm\020N\022\022\n\016OP_ChatMessa"
"ge\020O\022\016\n\nOP_ClearAA\020P\022\030\n\024OP_ClearBlockedB"
"uffs\020Q\022\037\n\033OP_ClearLeadershipAbilities\020R\022"
"\024\n\020OP_ClearNPCMarks\020S\022\022\n\016OP_ClearObject\020"
"T\022\023\n\017OP_ClearSurname\020U\022\020\n\014OP_ClickDoor\020V"
"\022\022\n\016OP_ClickObject\020W\022\030\n\024OP_ClickObjectAc"
"tion\020X\022\022\n\016OP_ClientError\020Y\022\022\n\016OP_ClientR"
"eady\020Z\022\026\n\022OP_ClientTimeStamp\020[\022\023\n\017OP_Cli"
"entUpdate\020\\\022\025\n\021OP_CloseContainer\020]\022\031\n\025OP"
"_CloseTributeMaster\020^\022\022\n\016OP_ColoredText\020"
"_\022\024\n\020OP_CombatAbility\020`\022\016\n\nOP_Command\020a\022"
"\025\n\021OP_CompletedTasks\020b\022\024\n\020OP_ConfirmDele"
"te\020c\022\016\n\nOP_Consent\020d\022\022\n\016OP_ConsentDeny\020e"
"\022\026\n\022OP_ConsentResponse\020f\022\017\n\013OP_Consider\020"
"g\022\025\n\021OP_ConsiderCorpse\020h\022\016\n\nOP_Consume\020i"
"\022\022\n\016OP_ControlBoat\020j\022\021\n\rOP_CorpseDrag\020k\022"
"\021\n\rOP_CorpseDrop\020l\022\020\n\014OP_CrashDump\020m\022\031\n\025"
"OP_CrystalCountUpdate\020n\022\024\n\020OP_CrystalCre"
"ate\020o\022\025\n\021OP_CrystalReclaim\020p\022\023\n\017OP_Custo"
"mTitles\020q\022\r\n\tOP_Damage\020r\022\014\n\010OP_Death\020s\022\026"
"\n\022OP_DelegateAbility\020t\022\026\n\022OP_DeleteChara"
"cter\020u\022\023\n\017OP_DeleteCharge\020v\022\021\n\rOP_Delete"
"Item\020w\022\025\n\021OP_DeletePetition\020x\022\022\n\016OP_Dele"
"teSpawn\020y\022\022\n\016OP_DeleteSpell\020z\022\023\n\017OP_Deny"
"Response\020{\022\r\n\tOP_Disarm\020|\022\022\n\016OP_DisarmTr"
"aps\020}\022\026\n\022OP_DisciplineTimer\020~\022\027\n\023OP_Disc"
"iplineUpdate\020\177\022 \n\033OP_DiscordMerchantInve"
"ntory\020\200\001\022 \n\033OP_DoGroupLeadershipAbility\020"
"\201\001\022\024\n\017OP_DuelResponse\020\202\001\022\025\n\020OP_DuelRespo"
"nse2\020\203\001\022\020\n\013OP_DumpName\020\204\001\022\013\n\006OP_Dye\020\205\001\022\023"
"\n\016OP_DynamicWall\020\206\001\022\023\n\016OP_DzAddPlayer\020\207\001"
"\022\024\n\017OP_DzChooseZone\020\210\001\022\021\n\014OP_DzCompass\020\211"
"\001\022\037\n\032OP_DzExpeditionEndsWarning\020\212\001\022\030\n\023OP"
"_DzExpeditionInfo\020\213\001\022\030\n\023OP_DzExpeditionL"
"ist\020\214\001\022\037\n\032OP_DzJoinExpeditionConfirm\020\215\001\022"
"\035\n\030OP_DzJoinExpeditionReply\020\216\001\022\026\n\021OP_DzL"
"eaderStatus\020\217\001\022\024\n\017OP_DzListTimers\020\220\001\022\024\n\017"
"OP_DzMakeLeader\020\221\001\022\024\n\017OP_DzMemberList\020\222\001"
"\022\026\n\021OP_DzMemberStatus\020\223\001\022\024\n\017OP_DzPlayerL"
"ist\020\224\001\022\016\n\tOP_DzQuit\020\225\001\022\026\n\021OP_DzRemovePla"
"yer\020\226\001\022\024\n\017OP_DzSwapPlayer\020\227\001\022\r\n\010OP_Emote"
"\020\230\001\022\026\n\021OP_EndLootRequest\020\231\001\022\027\n\022OP_Endura"
"nceUpdate\020\232\001\022\021\n\014OP_EnterChat\020\233\001\022\022\n\rOP_En"
"terWorld\020\234\001\022\021\n\014OP_EnvDamage\020\235\001\022\025\n\020OP_Exp"
"ansionInfo\020\236\001\022\021\n\014OP_ExpUpdate\020\237\001\022\022\n\rOP_F"
"aceChange\020\240\001\022\020\n\013OP_Feedback\020\241\001\022\022\n\rOP_Fei"
"gnDeath\020\242\001\022\030\n\023OP_FellowshipUpdate\020\243\001\022\027\n\022"
"OP_FindPersonReply\020\244\001\022\031\n\024OP_FindPersonRe"
"quest\020\245\001\022\023\n\016OP_FinishTrade\020\246\001\022\024\n\017OP_Fini"
"shWindow\020\247\001\022\025\n\020OP_FinishWindow2\020\250\001\022\017\n\nOP"
"_Fishing\020\251\001\022\r\n\010OP_Fling\020\252\001\022\026\n\021OP_FloatLi"
"stThing\020\253\001\022\016\n\tOP_Forage\020\254\001\022\027\n\022OP_ForceFi"
"ndPerson\020\255\001\022\030\n\023OP_FormattedMessage\020\256\001\022\022\n"
"\rOP_FriendsWho\020\257\001\022\024\n\017OP_GetGuildMOTD\020\260\001\022"
"\031\n\024OP_GetGuildMOTDReply\020\261\001\022\025\n\020OP_GetGuil"
"dsList\020\262\001\022\021\n\014OP_GiveMoney\020\263\001\022\022\n\rOP_GMApp"
"roval\020\264\001\022\023\n\016OP_GMBecomeNPC\020\265\001\022\023\n\016OP_GMDe"
"lCorpse\020\266\001\022\023\n\016OP_GMEmoteZone\020\267\001\022\025\n\020OP_GM"
"EndTraining\020\270\001\022\035\n\030OP_GMEndTrainingRespon"
"se\020\271\001\022\016\n\tOP_GMFind\020\272\001\022\016\n\tOP_GMGoto\020\273\001\022\020\n"
"\013OP_GMHideMe\020\274\001\022\016\n\tOP_GMKick\020\275\001\022\016\n\tOP_GM"
"Kill\020\276\001\022\022\n\rOP_GMLastName\020\277\001\022\024\n\017OP_GMName"
"Change\020\300\001\022\026\n\021OP_GMSearchCorpse\020\301\001\022\021\n\014OP_"
"GMServers\020\302\001\022\020\n\013OP_GMSummon\020\303\001\022\020\n\013OP_GMT"
"oggle\020\304\001\022\022\n\rOP_GMTraining\020\305\001\022\024\n\017OP_GMTra"
"inSkill\020\306\001\022\033\n\026OP_GMTrainSkillConfirm\020\307\001\022"
"\025\n\020OP_GMZoneRequest\020\310\001\022\026\n\021OP_GMZoneReque"
"st2\020\311\001\022\023\n\016OP_GroundSpawn\020\312\001\022\030\n\023OP_GroupA"
"cknowledge\020\313\001\022\031\n\024OP_GroupCancelInvite\020\314\001"
"\022\023\n\016OP_GroupDelete\020\315\001\022\024\n\017OP_GroupDisband"
"\020\316\001\022\031\n\024OP_GroupDisbandOther\020\317\001\022\027\n\022OP_Gro"
"upDisbandYou\020\320\001\022\023\n\016OP_GroupFollow\020\321\001\022\024\n\017"
"OP_GroupFollow2\020\322\001\022\023\n\016OP_GroupInvite\020\323\001\022"
"\024\n\017OP_GroupInvite2\020\324\001\022\031\n\024OP_GroupLeaderC"
"hange\020\325\001\022\037\n\032OP_GroupLeadershipAAUpdate\020\326"
"\001\022\027\n\022OP_GroupMakeLeader\020\327\001\022\023\n\016OP_GroupMe"
"ntor\020\330\001\022\022\n\rOP_GroupRoles\020\331\001\022\023\n\016OP_GroupU"
"pdate\020\332\001\022\024\n\017OP_GroupUpdateB\020\333\001\022\033\n\026OP_Gro"
"upUpdateLeaderAA\020\334\001\022\021\n\014OP_GuildBank\020\335\001\022\031"
"\n\024OP_GuildBankItemList\020\336\001\022\023\n\016OP_GuildCre"
"ate\020\337\001\022\023\n\016OP_GuildDelete\020\340\001\022\023\n\016OP_GuildD"
"emote\020\341\001\022\023\n\016OP_GuildInvite\020\342\001\022\031\n\024OP_Guil"
"dInviteAccept\020\343\001\022\023\n\016OP_GuildLeader\020\344\001\022\026\n"
"\021OP_GuildManageAdd\020\345\001\022\031\n\024OP_GuildManageB"
"anker\020\346\001\022\031\n\024OP_GuildManageRemove\020\347\001\022\031\n\024O"
"P_GuildManageStatus\020\350\001\022\036\n\031OP_GuildMember"
"LevelUpdate\020\351\001\022\027\n\022OP_GuildMemberList\020\352\001\022"
"\031\n\024OP_GuildMemberUpdate\020\353\001\022\021\n\014OP_GuildMO"
"TD\020\354\001\022\022\n\rOP_GuildPeace\020\355\001\022\024\n\017OP_GuildPro"
"mote\020\356\001\022\027\n\022OP_GuildPublicNote\020\357\001\022\023\n\016OP_G"
"uildRemove\020\360\001\022\022\n\rOP_GuildsList\020\361\001\022\023\n\016OP_"
"GuildStatus\020\362\001\022\030\n\023OP_GuildTributeInfo\020\363\001"
"\022 \n\033OP_GuildUpdateURLAndChannel\020\364\001\022\020\n\013OP"
"_GuildWar\020\365\001\022\021\n\014OP_Heartbeat\020\366\001\022\014\n\007OP_Hi"
"de\020\367\001\022\022\n\rOP_HideCorpse\020\370\001\022\020\n\013OP_HPUpdate"
"\020\371\001\022\020\n\013OP_Illusion\020\372\001\022\025\n\020OP_IncreaseStat"
"s\020\373\001\022\027\n\022OP_InitialHPUpdate\020\374\001\022\030\n\023OP_Init"
"ialMobHealth\020\375\001\022\025\n\020OP_InspectAnswer\020\376\001\022\024"
"\n\017OP_InspectBuffs\020\377\001\022\034\n\027OP_InspectMessag"
"eUpdate\020\200\002\022\026\n\021OP_InspectRequest\020\201\002\022\024\n\017OP"
"_InstillDoubt\020\202\002\022\025\n\020OP_InterruptCast\020\203\002\022"
"\025\n\020OP_ItemLinkClick\020\204\002\022\030\n\023OP_ItemLinkRes"
"ponse\020\205\002\022\024\n\017OP_ItemLinkText\020\206\002\022\020\n\013OP_Ite"
"mName\020\207\002\022\022\n\rOP_ItemPacket\020\210\002\022\023\n\016OP_ItemP"
"review\020\211\002\022\027\n\022OP_ItemRecastDelay\020\212\002\022\027\n\022OP"
"_ItemVerifyReply\020\213\002\022\031\n\024OP_ItemVerifyRequ"
"est\020\214\002\022\027\n\022OP_ItemViewUnknown\020\215\002\022\014\n\007OP_Ju"
"mp\020\216\002\022\017\n\nOP_KeyRing\020\217\002\022\025\n\020OP_KnowledgeBa"
"se\020\220\002\022\022\n\rOP_LDoNButton\020\221\002\022\027\n\022OP_LDoNDisa"
"rmTraps\020\222\002\022\023\n\016OP_LDoNInspect\020\223\002\022\020\n\013OP_LD"
"oNOpen\020\224\002\022\024\n\017OP_LDoNPickLock\020\225\002\022\026\n\021OP_LD"
"oNSenseTraps\020\226\002\022\033\n\026OP_LeadershipExpToggl"
"e\020\227\002\022\033\n\026OP_LeadershipExpUpdate\020\230\002\022\026\n\021OP_"
"LeaveAdventure\020\231\002\022\021\n\014OP_LeaveBoat\020\232\002\022\027\n\022"
"OP_LevelAppearance\020\233\002\022\023\n\016OP_LevelUpdate\020"
"\234\002\022\025\n\020OP_LFGAppearance\020\235\002\022\022\n\rOP_LFGComma"
"nd\020\236\002\022\034\n\027OP_LFGGetMatchesRequest\020\237\002\022\035\n\030O"
"P_LFGGetMatchesResponse\020\240\002\022\023\n\016OP_LFGResp"
"onse\020\241\002\022\017\n\nOP_LFGuild\020\242\002\022\022\n\rOP_LFPComman"
"d\020\243\002\022\034\n\027OP_LFPGetMatchesRequest\020\244\002\022\035\n\030OP"
"_LFPGetMatchesResponse\020\245\002\022\023\n\016OP_LinkedRe"
"use\020\246\002\022\024\n\017OP_LoadSpellSet\020\247\002\022\017\n\nOP_LocIn"
"fo\020\250\002\022\030\n\023OP_LockoutTimerInfo\020\251\002\022\r\n\010OP_Lo"
"gin\020\252\002\022\025\n\020OP_LoginAccepted\020\253\002\022\025\n\020OP_Logi"
"nComplete\020\254\002\022\025\n\020OP_LoginUnknown1\020\255\002\022\025\n\020O"
"P_LoginUnknown2\020\256\002\022\016\n\tOP_Logout\020\257\002\022\023\n\016OP"
"_LogoutReply\020\260\002\022\021\n\014OP_LogServer\020\261\002\022\024\n\017OP"
"_LootComplete\020\262\002\022\020\n\013OP_LootItem\020\263\002\022\023\n\016OP"
"_LootRequest\020\264\002\022\022\n\rOP_ManaChange\020\265\002\022\022\n\rO"
"P_ManaUpdate\020\266\002\022\017\n\nOP_MarkNPC\020\267\002\022\017\n\nOP_M"
"arquee\020\270\002\022\025\n\020OP_MemorizeSpell\020\271\002\022\014\n\007OP_M"
"end\020\272\002\022\024\n\017OP_MendHPUpdate\020\273\002\022\027\n\022OP_Merce"
"naryAssign\020\274\002\022\030\n\023OP_MercenaryCommand\020\275\002\022"
"\034\n\027OP_MercenaryDataRequest\020\276\002\022\035\n\030OP_Merc"
"enaryDataResponse\020\277\002\022\033\n\026OP_MercenaryData"
"Update\020\300\002\022\"\n\035OP_MercenaryDataUpdateReque"
"st\020\301\002\022\030\n\023OP_MercenaryDismiss\020\302\002\022\025\n\020OP_Me"
"rcenaryHire\020\303\002\022\037\n\032OP_MercenarySuspendReq"
"uest\020\304\002\022 \n\033OP_MercenarySuspendResponse\020\305"
"\002\022\026\n\021OP_MercenaryTimer\020\306\002\022\035\n\030OP_Mercenar"
"yTimerRequest\020\307\002\022\031\n\024OP_MercenaryUnknown1"
"\020\310\002\022\"\n\035OP_MercenaryUnsuspendResponse\020\311\002\022"
"\032\n\025OP_MobEnduranceUpdate\020\312\002\022\021\n\014OP_MobHea"
"lth\020\313\002\022\025\n\020OP_MobManaUpdate\020\314\002\022\021\n\014OP_MobR"
"ename\020\315\002\022\021\n\014OP_MobUpdate\020\316\002\022\025\n\020OP_MoneyO"
"nCorpse\020\317\002\022\023\n\016OP_MoneyUpdate\020\320\002\022\014\n\007OP_MO"
"TD\020\321\002\022\020\n\013OP_MoveCoin\020\322\002\022\020\n\013OP_MoveDoor\020\323"
"\002\022\020\n\013OP_MoveItem\020\324\002\022\030\n\023OP_MoveLogDisrega"
"rd\020\325\002\022\026\n\021OP_MoveLogRequest\020\326\002\022\024\n\017OP_Mult"
"iLineMsg\020\327\002\022\020\n\013OP_NewSpawn\020\330\002\022\032\n\025OP_NewT"
"itlesAvailable\020\331\002\022\017\n\nOP_NewZone\020\332\002\022\026\n\021OP"
"_OnLevelMessage\020\333\002\022\025\n\020OP_OpenContainer\020\334"
"\002\022\033\n\026OP_OpenDiscordMerchant\020\335\002\022\036\n\031OP_Ope"
"nGuildTributeMaster\020\336\002\022\025\n\020OP_OpenInvento"
"ry\020\337\002\022\032\n\025OP_OpenNewTasksWindow\020\340\002\022\031\n\024OP_"
"OpenTributeMaster\020\341\002\022\027\n\022OP_PDeletePetiti"
"on\020\342\002\022\025\n\020OP_PetBuffWindow\020\343\002\022\023\n\016OP_PetCo"
"mmands\020\344\002\022\027\n\022OP_PetCommandState\020\345\002\022\017\n\nOP"
"_PetHoTT\020\346\002\022\020\n\013OP_Petition\020\347\002\022\023\n\016OP_Peti"
"tionBug\020\350\002\022\027\n\022OP_PetitionCheckIn\020\351\002\022\030\n\023O"
"P_PetitionCheckout\020\352\002\022\031\n\024OP_PetitionChec"
"kout2\020\353\002\022\026\n\021OP_PetitionDelete\020\354\002\022\023\n\016OP_P"
"etitionQue\020\355\002\022\027\n\022OP_PetitionRefresh\020\356\002\022\027"
"\n\022OP_PetitionResolve\020\357\002\022\026\n\021OP_PetitionSe"
"arch\020\360\002\022\035\n\030OP_PetitionSearchResults\020\361\002\022\032"
"\n\025OP_PetitionSearchText\020\362\002\022\032\n\025OP_Petitio"
"nUnCheckout\020\363\002\022\026\n\021OP_PetitionUpdate\020\364\002\022\022"
"\n\rOP_PickPocket\020\365\002\022\025\n\020OP_PlayerProfile\020\366"
"\002\022\026\n\021OP_PlayerStateAdd\020\367\002\022\031\n\024OP_PlayerSt"
"ateRemove\020\370\002\022\034\n\027OP_PlayEverquestRequest\020"
"\371\002\022\035\n\030OP_PlayEverquestResponse\020\372\002\022\017\n\nOP_"
"PlayMP3\020\373\002\022\014\n\007OP_Poll\020\374\002\022\024\n\017OP_PollRespo"
"nse\020\375\002\022\025\n\020OP_PopupResponse\020\376\002\022\026\n\021OP_Post"
"EnterWorld\020\377\002\022\022\n\rOP_PotionBelt\020\200\003\022\026\n\021OP_"
"PreLogoutReply\020\201\003\022\034\n\027OP_PurchaseLeadersh"
"ipAA\020\202\003\022\"\n\035OP_PVPLeaderBoardDetailsReply"
"\020\203\003\022$\n\037OP_PVPLeaderBoardDetailsRequest\020\204"
"\003\022\033\n\026OP_PVPLeaderBoardReply\020\205\003\022\035\n\030OP_PVP"
"LeaderBoardRequest\020\206\003\022\020\n\013OP_PVPStats\020\207\003\022"
"\032\n\025OP_QueryResponseThing\020\210\003\022\022\n\rOP_RaidIn"
"vite\020\211\003\022\020\n\013OP_RaidJoin\020\212\003\022\022\n\rOP_RaidUpda"
"te\020\213\003\022\033\n\026OP_RandomNameGenerator\020\214\003\022\023\n\016OP"
"_RandomReply\020\215\003\022\021\n\014OP_RandomReq\020\216\003\022\020\n\013OP"
"_ReadBook\020\217\003\022\031\n\024OP_RecipeAutoCombine\020\220\003\022"
"\025\n\020OP_RecipeDetails\020\221\003\022\023\n\016OP_RecipeReply"
"\020\222\003\022\027\n\022OP_RecipesFavorite\020\223\003\022\025\n\020OP_Recip"
"esSearch\020\224\003\022\027\n\022OP_ReclaimCrystals\020\225\003\022\020\n\013"
"OP_ReloadUI\020\226\003\022\026\n\021OP_RemoveAllDoors\020\227\003\022\032"
"\n\025OP_RemoveBlockedBuffs\020\230\003\022\032\n\025OP_RemoveN"
"imbusEffect\020\231\003\022\022\n\rOP_RemoveTrap\020\232\003\022\016\n\tOP"
"_Report\020\233\003\022\026\n\021OP_ReqClientSpawn\020\234\003\022\022\n\rOP"
"_ReqNewZone\020\235\003\022\037\n\032OP_RequestClientZoneCh"
"ange\020\236\003\022\023\n\016OP_RequestDuel\020\237\003\022\034\n\027OP_Reque"
"stKnowledgeBase\020\240\003\022\025\n\020OP_RequestTitles\020\241"
"\003\022\025\n\020OP_RespawnWindow\020\242\003\022\021\n\014OP_RespondAA"
"\020\243\003\022\021\n\014OP_RestState\020\244\003\022\016\n\tOP_Rewind\020\245\003\022\022"
"\n\rOP_RezzAnswer\020\246\003\022\024\n\017OP_RezzComplete\020\247\003"
"\022\023\n\016OP_RezzRequest\020\250\003\022\021\n\014OP_Sacrifice\020\251\003"
"\022\027\n\022OP_SafeFallSuccess\020\252\003\022\021\n\014OP_SafePoin"
"t\020\253\003\022\014\n\007OP_Save\020\254\003\022\025\n\020OP_SaveOnZoneReq\020\255"
"\003\022\025\n\020OP_SelectTribute\020\256\003\022\023\n\016OP_SendAASta"
"ts\020\257\003\022\023\n\016OP_SendAATable\020\260\003\022\024\n\017OP_SendCha"
"rInfo\020\261\003\022\025\n\020OP_SendExpZonein\020\262\003\022\030\n\023OP_Se"
"ndFindableNPCs\020\263\003\022\031\n\024OP_SendGuildTribute"
"s\020\264\003\022\025\n\020OP_SendLoginInfo\020\265\003\022\031\n\024OP_SendMa"
"xCharacters\020\266\003\022\026\n\021OP_SendMembership\020\267\003\022\035"
"\n\030OP_SendMembershipDetails\020\270\003\022\027\n\022OP_Send"
"SystemStats\020\271\003\022\025\n\020OP_SendTitleList\020\272\003\022\024\n"
"\017OP_SendTributes\020\273\003\022\026\n\021OP_SendZonepoints"
"\020\274\003\022\024\n\017OP_SenseHeading\020\275\003\022\022\n\rOP_SenseTra"
"ps\020\276\003\022\031\n\024OP_ServerListRequest\020\277\003\022\032\n\025OP_S"
"erverListResponse\020\300\003\022\024\n\017OP_SessionReady\020"
"\301\003\022\025\n\020OP_SetChatServer\020\302\003\022\026\n\021OP_SetChatS"
"erver2\020\303\003\022\026\n\021OP_SetGroupTarget\020\304\003\022\024\n\017OP_"
"SetGuildMOTD\020\305\003\022\024\n\017OP_SetGuildRank\020\306\003\022\022\n"
"\rOP_SetRunMode\020\307\003\022\027\n\022OP_SetServerFilter\020"
"\310\003\022\024\n\017OP_SetStartCity\020\311\003\022\020\n\013OP_SetTitle\020"
"\312\003\022\025\n\020OP_SetTitleReply\020\313\003\022\021\n\014OP_Shieldin"
"g\020\314\003\022\023\n\016OP_ShopDelItem\020\315\003\022\017\n\nOP_ShopEnd\020"
"\316\003\022\026\n\021OP_ShopEndConfirm\020\317\003\022\020\n\013OP_ShopIte"
"m\020\320\003\022\025\n\020OP_ShopPlayerBuy\020\321\003\022\026\n\021OP_ShopPl"
"ayerSell\020\322\003\022\023\n\016OP_ShopRequest\020\323\003\022\025\n\020OP_S"
"impleMessage\020\324\003\022\023\n\016OP_SkillUpdate\020\325\003\022\r\n\010"
"OP_Sneak\020\326\003\022\031\n\024OP_Some3ByteHPUpdate\020\327\003\022\031"
"\n\024OP_Some6ByteHPUpdate\020\330\003\022\033\n\026OP_SomeItem"
"PacketMaybe\020\331\003\022\r\n\010OP_Sound\020\332\003\022\027\n\022OP_Spaw"
"nAppearance\020\333\003\022\021\n\014OP_SpawnDoor\020\334\003\022\033\n\026OP_"
"SpawnPositionUpdate\020\335\003\022\023\n\016OP_SpecialMesg"
"\020\336\003\022\023\n\016OP_SpellEffect\020\337\003\022\r\n\010OP_Split\020\340\003\022"
"\017\n\nOP_Stamina\020\341\003\022\014\n\007OP_Stun\020\342\003\022\017\n\nOP_Sur"
"name\020\343\003\022\021\n\014OP_SwapSpell\020\344\003\022\023\n\016OP_TargetB"
"uffs\020\345\003\022\025\n\020OP_TargetCommand\020\346\003\022\022\n\rOP_Tar"
"getHoTT\020\347\003\022\023\n\016OP_TargetMouse\020\350\003\022\024\n\017OP_Ta"
"rgetReject\020\351\003\022\024\n\017OP_TaskActivity\020\352\003\022\034\n\027O"
"P_TaskActivityComplete\020\353\003\022\027\n\022OP_TaskDesc"
"ription\020\354\003\022\030\n\023OP_TaskHistoryReply\020\355\003\022\032\n\025"
"OP_TaskHistoryRequest\020\356\003\022\026\n\021OP_TaskMembe"
"rList\020\357\003\022\r\n\010OP_Taunt\020\360\003\022\020\n\013OP_TestBuff\020\361"
"\003\022\013\n\006OP_TGB\020\362\003\022\021\n\014OP_TimeOfDay\020\363\003\022\r\n\010OP_"
"Track\020\364\003\022\023\n\016OP_TrackTarget\020\365\003\022\024\n\017OP_Trac"
"kUnknown\020\366\003\022\030\n\023OP_TradeAcceptClick\020\367\003\022\021\n"
"\014OP_TradeBusy\020\370\003\022\022\n\rOP_TradeCoins\020\371\003\022\030\n\023"
"OP_TradeMoneyUpdate\020\372\003\022\016\n\tOP_Trader\020\373\003\022\021"
"\n\014OP_TraderBuy\020\374\003\022\025\n\020OP_TraderDelItem\020\375\003"
"\022\024\n\017OP_TradeRequest\020\376\003\022\027\n\022OP_TradeReques"
"tAck\020\377\003\022\030\n\023OP_TraderItemUpdate\020\200\004\022\022\n\rOP_"
"TraderShop\020\201\004\022\031\n\024OP_TradeSkillCombine\020\202\004"
"\022\023\n\016OP_Translocate\020\203\004\022\023\n\016OP_TributeInfo\020"
"\204\004\022\023\n\016OP_TributeItem\020\205\004\022\024\n\017OP_TributeMon"
"ey\020\206\004\022\022\n\rOP_TributeNPC\020\207\004\022\032\n\025OP_TributeP"
"ointUpdate\020\210\004\022\024\n\017OP_TributeTimer\020\211\004\022\025\n\020O"
"P_TributeToggle\020\212\004\022\025\n\020OP_TributeUpdate\020\213"
"\004\022\024\n\017OP_Untargetable\020\214\004\022\020\n\013OP_UpdateAA\020\215"
"\004\022\022\n\rOP_UpdateAura\020\216\004\022\032\n\025OP_UpdateLeader"
"shipAA\020\217\004\022\025\n\020OP_VetClaimReply\020\220\004\022\027\n\022OP_V"
"etClaimRequest\020\221\004\022\033\n\026OP_VetRewardsAvalia"
"ble\020\222\004\022\024\n\017OP_VoiceMacroIn\020\223\004\022\025\n\020OP_Voice"
"MacroOut\020\224\004\022\024\n\017OP_WeaponEquip1\020\225\004\022\022\n\rOP_"
"WearChange\020\226\004\022\017\n\nOP_Weather\020\227\004\022\017\n\nOP_Web"
"link\020\230\004\022\025\n\020OP_WhoAllRequest\020\231\004\022\026\n\021OP_Who"
"AllResponse\020\232\004\022\031\n\024OP_World_Client_CRC1\020\233"
"\004\022\031\n\024OP_World_Client_CRC2\020\234\004\022\030\n\023OP_World"
"ClientReady\020\235\004\022\025\n\020OP_WorldComplete\020\236\004\022\023\n"
"\016OP_WorldLogout\020\237\004\022\030\n\023OP_WorldObjectsSen"
"t\020\240\004\022\027\n\022OP_WorldUnknown001\020\241\004\022\034\n\027OP_XTar"
"getAutoAddHaters\020\242\004\022\023\n\016OP_XTargetOpen\020\243\004"
"\022\033\n\026OP_XTargetOpenResponse\020\244\004\022\026\n\021OP_XTar"
"getRequest\020\245\004\022\027\n\022OP_XTargetResponse\020\246\004\022\023"
"\n\016OP_YellForHelp\020\247\004\022\022\n\rOP_ZoneChange\020\250\004\022"
"\024\n\017OP_ZoneComplete\020\251\004\022\021\n\014OP_ZoneEntry\020\252\004"
"\022\025\n\020OP_ZoneGuildList\020\253\004\022\025\n\020OP_ZoneInUnkn"
"own\020\254\004\022\030\n\023OP_ZonePlayerToBind\020\255\004\022\026\n\021OP_Z"
"oneServerInfo\020\256\004\022\027\n\022OP_ZoneServerReady\020\257"
"\004\022\022\n\rOP_ZoneSpawns\020\260\004\022\023\n\016OP_ZoneUnavail\020"
"\261\004\022\017\n\nOP_ResetAA\020\262\004\022\r\n\010OP_Buddy\020\263\004\022\033\n\026OP"
"_ChannelAnnounceJoin\020\264\004\022\034\n\027OP_ChannelAnn"
"ounceLeave\020\265\004\022\016\n\tOP_Ignore\020\266\004\022\014\n\007OP_Mail"
"\020\267\004\022\025\n\020OP_MailboxChange\020\270\004\022\032\n\025OP_MailDel"
"iveryStatus\020\271\004\022\022\n\rOP_MailHeader\020\272\004\022\027\n\022OP"
"_MailHeaderCount\020\273\004\022\021\n\014OP_MailLogin\020\274\004\022\017"
"\n\nOP_MailNew\020\275\004\022\024\n\017OP_MailSendBody\020\276\004b\006p"
"roto3"
};
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
descriptor, 17845);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"message.proto", &protobuf_RegisterTypes);
}
void AddDescriptors() {
static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
}
// Force AddDescriptors() to be called at dynamic initialization time.
struct StaticDescriptorInitializer {
StaticDescriptorInitializer() {
AddDescriptors();
}
} static_descriptor_initializer;
} // namespace protobuf_message_2eproto
namespace eqproto {
const ::google::protobuf::EnumDescriptor* OpCode_descriptor() {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return protobuf_message_2eproto::file_level_enum_descriptors[0];
}
bool OpCode_IsValid(int value) {
switch (value) {
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
case 10:
case 11:
case 12:
case 13:
case 14:
case 15:
case 16:
case 17:
case 18:
case 19:
case 20:
case 21:
case 22:
case 23:
case 24:
case 25:
case 26:
case 27:
case 28:
case 29:
case 30:
case 31:
case 32:
case 33:
case 34:
case 35:
case 36:
case 37:
case 38:
case 39:
case 40:
case 41:
case 42:
case 43:
case 44:
case 45:
case 46:
case 47:
case 48:
case 49:
case 50:
case 51:
case 52:
case 53:
case 54:
case 55:
case 56:
case 57:
case 58:
case 59:
case 60:
case 61:
case 62:
case 63:
case 64:
case 65:
case 66:
case 67:
case 68:
case 69:
case 70:
case 71:
case 72:
case 73:
case 74:
case 75:
case 76:
case 77:
case 78:
case 79:
case 80:
case 81:
case 82:
case 83:
case 84:
case 85:
case 86:
case 87:
case 88:
case 89:
case 90:
case 91:
case 92:
case 93:
case 94:
case 95:
case 96:
case 97:
case 98:
case 99:
case 100:
case 101:
case 102:
case 103:
case 104:
case 105:
case 106:
case 107:
case 108:
case 109:
case 110:
case 111:
case 112:
case 113:
case 114:
case 115:
case 116:
case 117:
case 118:
case 119:
case 120:
case 121:
case 122:
case 123:
case 124:
case 125:
case 126:
case 127:
case 128:
case 129:
case 130:
case 131:
case 132:
case 133:
case 134:
case 135:
case 136:
case 137:
case 138:
case 139:
case 140:
case 141:
case 142:
case 143:
case 144:
case 145:
case 146:
case 147:
case 148:
case 149:
case 150:
case 151:
case 152:
case 153:
case 154:
case 155:
case 156:
case 157:
case 158:
case 159:
case 160:
case 161:
case 162:
case 163:
case 164:
case 165:
case 166:
case 167:
case 168:
case 169:
case 170:
case 171:
case 172:
case 173:
case 174:
case 175:
case 176:
case 177:
case 178:
case 179:
case 180:
case 181:
case 182:
case 183:
case 184:
case 185:
case 186:
case 187:
case 188:
case 189:
case 190:
case 191:
case 192:
case 193:
case 194:
case 195:
case 196:
case 197:
case 198:
case 199:
case 200:
case 201:
case 202:
case 203:
case 204:
case 205:
case 206:
case 207:
case 208:
case 209:
case 210:
case 211:
case 212:
case 213:
case 214:
case 215:
case 216:
case 217:
case 218:
case 219:
case 220:
case 221:
case 222:
case 223:
case 224:
case 225:
case 226:
case 227:
case 228:
case 229:
case 230:
case 231:
case 232:
case 233:
case 234:
case 235:
case 236:
case 237:
case 238:
case 239:
case 240:
case 241:
case 242:
case 243:
case 244:
case 245:
case 246:
case 247:
case 248:
case 249:
case 250:
case 251:
case 252:
case 253:
case 254:
case 255:
case 256:
case 257:
case 258:
case 259:
case 260:
case 261:
case 262:
case 263:
case 264:
case 265:
case 266:
case 267:
case 268:
case 269:
case 270:
case 271:
case 272:
case 273:
case 274:
case 275:
case 276:
case 277:
case 278:
case 279:
case 280:
case 281:
case 282:
case 283:
case 284:
case 285:
case 286:
case 287:
case 288:
case 289:
case 290:
case 291:
case 292:
case 293:
case 294:
case 295:
case 296:
case 297:
case 298:
case 299:
case 300:
case 301:
case 302:
case 303:
case 304:
case 305:
case 306:
case 307:
case 308:
case 309:
case 310:
case 311:
case 312:
case 313:
case 314:
case 315:
case 316:
case 317:
case 318:
case 319:
case 320:
case 321:
case 322:
case 323:
case 324:
case 325:
case 326:
case 327:
case 328:
case 329:
case 330:
case 331:
case 332:
case 333:
case 334:
case 335:
case 336:
case 337:
case 338:
case 339:
case 340:
case 341:
case 342:
case 343:
case 344:
case 345:
case 346:
case 347:
case 348:
case 349:
case 350:
case 351:
case 352:
case 353:
case 354:
case 355:
case 356:
case 357:
case 358:
case 359:
case 360:
case 361:
case 362:
case 363:
case 364:
case 365:
case 366:
case 367:
case 368:
case 369:
case 370:
case 371:
case 372:
case 373:
case 374:
case 375:
case 376:
case 377:
case 378:
case 379:
case 380:
case 381:
case 382:
case 383:
case 384:
case 385:
case 386:
case 387:
case 388:
case 389:
case 390:
case 391:
case 392:
case 393:
case 394:
case 395:
case 396:
case 397:
case 398:
case 399:
case 400:
case 401:
case 402:
case 403:
case 404:
case 405:
case 406:
case 407:
case 408:
case 409:
case 410:
case 411:
case 412:
case 413:
case 414:
case 415:
case 416:
case 417:
case 418:
case 419:
case 420:
case 421:
case 422:
case 423:
case 424:
case 425:
case 426:
case 427:
case 428:
case 429:
case 430:
case 431:
case 432:
case 433:
case 434:
case 435:
case 436:
case 437:
case 438:
case 439:
case 440:
case 441:
case 442:
case 443:
case 444:
case 445:
case 446:
case 447:
case 448:
case 449:
case 450:
case 451:
case 452:
case 453:
case 454:
case 455:
case 456:
case 457:
case 458:
case 459:
case 460:
case 461:
case 462:
case 463:
case 464:
case 465:
case 466:
case 467:
case 468:
case 469:
case 470:
case 471:
case 472:
case 473:
case 474:
case 475:
case 476:
case 477:
case 478:
case 479:
case 480:
case 481:
case 482:
case 483:
case 484:
case 485:
case 486:
case 487:
case 488:
case 489:
case 490:
case 491:
case 492:
case 493:
case 494:
case 495:
case 496:
case 497:
case 498:
case 499:
case 500:
case 501:
case 502:
case 503:
case 504:
case 505:
case 506:
case 507:
case 508:
case 509:
case 510:
case 511:
case 512:
case 513:
case 514:
case 515:
case 516:
case 517:
case 518:
case 519:
case 520:
case 521:
case 522:
case 523:
case 524:
case 525:
case 526:
case 527:
case 528:
case 529:
case 530:
case 531:
case 532:
case 533:
case 534:
case 535:
case 536:
case 537:
case 538:
case 539:
case 540:
case 541:
case 542:
case 543:
case 544:
case 545:
case 546:
case 547:
case 548:
case 549:
case 550:
case 551:
case 552:
case 553:
case 554:
case 555:
case 556:
case 557:
case 558:
case 559:
case 560:
case 561:
case 562:
case 563:
case 564:
case 565:
case 566:
case 567:
case 568:
case 569:
case 570:
case 571:
case 572:
case 573:
case 574:
return true;
default:
return false;
}
}
// ===================================================================
void ChannelMessage::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int ChannelMessage::kChanNumFieldNumber;
const int ChannelMessage::kLanguageFieldNumber;
const int ChannelMessage::kFromFieldNumber;
const int ChannelMessage::kToFieldNumber;
const int ChannelMessage::kMessageFieldNumber;
const int ChannelMessage::kGuilddbidFieldNumber;
const int ChannelMessage::kDelivertoFieldNumber;
const int ChannelMessage::kTypeFieldNumber;
const int ChannelMessage::kMinstatusFieldNumber;
const int ChannelMessage::kFromadminFieldNumber;
const int ChannelMessage::kNoreplyFieldNumber;
const int ChannelMessage::kIsEmoteFieldNumber;
const int ChannelMessage::kQueuedFieldNumber;
const int ChannelMessage::kZoneIdFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
ChannelMessage::ChannelMessage()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsChannelMessage();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.ChannelMessage)
}
ChannelMessage::ChannelMessage(const ChannelMessage& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
from_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.from().size() > 0) {
from_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.from_);
}
to_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.to().size() > 0) {
to_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.to_);
}
message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.message().size() > 0) {
message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
}
deliverto_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.deliverto().size() > 0) {
deliverto_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deliverto_);
}
::memcpy(&chan_num_, &from.chan_num_,
static_cast<size_t>(reinterpret_cast<char*>(&zone_id_) -
reinterpret_cast<char*>(&chan_num_)) + sizeof(zone_id_));
// @@protoc_insertion_point(copy_constructor:eqproto.ChannelMessage)
}
void ChannelMessage::SharedCtor() {
from_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
to_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
deliverto_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&chan_num_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&zone_id_) -
reinterpret_cast<char*>(&chan_num_)) + sizeof(zone_id_));
_cached_size_ = 0;
}
ChannelMessage::~ChannelMessage() {
// @@protoc_insertion_point(destructor:eqproto.ChannelMessage)
SharedDtor();
}
void ChannelMessage::SharedDtor() {
from_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
to_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
deliverto_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void ChannelMessage::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* ChannelMessage::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const ChannelMessage& ChannelMessage::default_instance() {
::protobuf_message_2eproto::InitDefaultsChannelMessage();
return *internal_default_instance();
}
ChannelMessage* ChannelMessage::New(::google::protobuf::Arena* arena) const {
ChannelMessage* n = new ChannelMessage;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void ChannelMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.ChannelMessage)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
from_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
to_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
deliverto_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&chan_num_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&zone_id_) -
reinterpret_cast<char*>(&chan_num_)) + sizeof(zone_id_));
_internal_metadata_.Clear();
}
bool ChannelMessage::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.ChannelMessage)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// int32 chan_num = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &chan_num_)));
} else {
goto handle_unusual;
}
break;
}
// int32 language = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &language_)));
} else {
goto handle_unusual;
}
break;
}
// string from = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_from()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->from().data(), static_cast<int>(this->from().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessage.from"));
} else {
goto handle_unusual;
}
break;
}
// string to = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_to()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->to().data(), static_cast<int>(this->to().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessage.to"));
} else {
goto handle_unusual;
}
break;
}
// string message = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_message()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->message().data(), static_cast<int>(this->message().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessage.message"));
} else {
goto handle_unusual;
}
break;
}
// int32 guilddbid = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &guilddbid_)));
} else {
goto handle_unusual;
}
break;
}
// string deliverto = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_deliverto()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->deliverto().data(), static_cast<int>(this->deliverto().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessage.deliverto"));
} else {
goto handle_unusual;
}
break;
}
// int32 type = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &type_)));
} else {
goto handle_unusual;
}
break;
}
// int32 minstatus = 9;
case 9: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &minstatus_)));
} else {
goto handle_unusual;
}
break;
}
// int32 fromadmin = 10;
case 10: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &fromadmin_)));
} else {
goto handle_unusual;
}
break;
}
// bool noreply = 11;
case 11: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &noreply_)));
} else {
goto handle_unusual;
}
break;
}
// bool is_emote = 12;
case 12: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &is_emote_)));
} else {
goto handle_unusual;
}
break;
}
// int32 queued = 13;
case 13: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &queued_)));
} else {
goto handle_unusual;
}
break;
}
// int32 zone_id = 14;
case 14: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &zone_id_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.ChannelMessage)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.ChannelMessage)
return false;
#undef DO_
}
void ChannelMessage::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.ChannelMessage)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 chan_num = 1;
if (this->chan_num() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->chan_num(), output);
}
// int32 language = 2;
if (this->language() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->language(), output);
}
// string from = 3;
if (this->from().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->from().data(), static_cast<int>(this->from().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.from");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3, this->from(), output);
}
// string to = 4;
if (this->to().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->to().data(), static_cast<int>(this->to().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.to");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4, this->to(), output);
}
// string message = 5;
if (this->message().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->message().data(), static_cast<int>(this->message().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.message");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5, this->message(), output);
}
// int32 guilddbid = 6;
if (this->guilddbid() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->guilddbid(), output);
}
// string deliverto = 7;
if (this->deliverto().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->deliverto().data(), static_cast<int>(this->deliverto().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.deliverto");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7, this->deliverto(), output);
}
// int32 type = 8;
if (this->type() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->type(), output);
}
// int32 minstatus = 9;
if (this->minstatus() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->minstatus(), output);
}
// int32 fromadmin = 10;
if (this->fromadmin() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->fromadmin(), output);
}
// bool noreply = 11;
if (this->noreply() != 0) {
::google::protobuf::internal::WireFormatLite::WriteBool(11, this->noreply(), output);
}
// bool is_emote = 12;
if (this->is_emote() != 0) {
::google::protobuf::internal::WireFormatLite::WriteBool(12, this->is_emote(), output);
}
// int32 queued = 13;
if (this->queued() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->queued(), output);
}
// int32 zone_id = 14;
if (this->zone_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->zone_id(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.ChannelMessage)
}
::google::protobuf::uint8* ChannelMessage::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.ChannelMessage)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 chan_num = 1;
if (this->chan_num() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->chan_num(), target);
}
// int32 language = 2;
if (this->language() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->language(), target);
}
// string from = 3;
if (this->from().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->from().data(), static_cast<int>(this->from().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.from");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3, this->from(), target);
}
// string to = 4;
if (this->to().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->to().data(), static_cast<int>(this->to().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.to");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4, this->to(), target);
}
// string message = 5;
if (this->message().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->message().data(), static_cast<int>(this->message().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.message");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
5, this->message(), target);
}
// int32 guilddbid = 6;
if (this->guilddbid() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->guilddbid(), target);
}
// string deliverto = 7;
if (this->deliverto().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->deliverto().data(), static_cast<int>(this->deliverto().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessage.deliverto");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7, this->deliverto(), target);
}
// int32 type = 8;
if (this->type() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->type(), target);
}
// int32 minstatus = 9;
if (this->minstatus() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->minstatus(), target);
}
// int32 fromadmin = 10;
if (this->fromadmin() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->fromadmin(), target);
}
// bool noreply = 11;
if (this->noreply() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->noreply(), target);
}
// bool is_emote = 12;
if (this->is_emote() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->is_emote(), target);
}
// int32 queued = 13;
if (this->queued() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->queued(), target);
}
// int32 zone_id = 14;
if (this->zone_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->zone_id(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.ChannelMessage)
return target;
}
size_t ChannelMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.ChannelMessage)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// string from = 3;
if (this->from().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->from());
}
// string to = 4;
if (this->to().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->to());
}
// string message = 5;
if (this->message().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->message());
}
// string deliverto = 7;
if (this->deliverto().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->deliverto());
}
// int32 chan_num = 1;
if (this->chan_num() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->chan_num());
}
// int32 language = 2;
if (this->language() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->language());
}
// int32 guilddbid = 6;
if (this->guilddbid() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->guilddbid());
}
// int32 type = 8;
if (this->type() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->type());
}
// int32 minstatus = 9;
if (this->minstatus() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->minstatus());
}
// int32 fromadmin = 10;
if (this->fromadmin() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->fromadmin());
}
// bool noreply = 11;
if (this->noreply() != 0) {
total_size += 1 + 1;
}
// bool is_emote = 12;
if (this->is_emote() != 0) {
total_size += 1 + 1;
}
// int32 queued = 13;
if (this->queued() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->queued());
}
// int32 zone_id = 14;
if (this->zone_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->zone_id());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void ChannelMessage::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.ChannelMessage)
GOOGLE_DCHECK_NE(&from, this);
const ChannelMessage* source =
::google::protobuf::internal::DynamicCastToGenerated<const ChannelMessage>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.ChannelMessage)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.ChannelMessage)
MergeFrom(*source);
}
}
void ChannelMessage::MergeFrom(const ChannelMessage& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.ChannelMessage)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.from().size() > 0) {
from_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.from_);
}
if (from.to().size() > 0) {
to_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.to_);
}
if (from.message().size() > 0) {
message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
}
if (from.deliverto().size() > 0) {
deliverto_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deliverto_);
}
if (from.chan_num() != 0) {
set_chan_num(from.chan_num());
}
if (from.language() != 0) {
set_language(from.language());
}
if (from.guilddbid() != 0) {
set_guilddbid(from.guilddbid());
}
if (from.type() != 0) {
set_type(from.type());
}
if (from.minstatus() != 0) {
set_minstatus(from.minstatus());
}
if (from.fromadmin() != 0) {
set_fromadmin(from.fromadmin());
}
if (from.noreply() != 0) {
set_noreply(from.noreply());
}
if (from.is_emote() != 0) {
set_is_emote(from.is_emote());
}
if (from.queued() != 0) {
set_queued(from.queued());
}
if (from.zone_id() != 0) {
set_zone_id(from.zone_id());
}
}
void ChannelMessage::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.ChannelMessage)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ChannelMessage::CopyFrom(const ChannelMessage& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.ChannelMessage)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool ChannelMessage::IsInitialized() const {
return true;
}
void ChannelMessage::Swap(ChannelMessage* other) {
if (other == this) return;
InternalSwap(other);
}
void ChannelMessage::InternalSwap(ChannelMessage* other) {
using std::swap;
from_.Swap(&other->from_);
to_.Swap(&other->to_);
message_.Swap(&other->message_);
deliverto_.Swap(&other->deliverto_);
swap(chan_num_, other->chan_num_);
swap(language_, other->language_);
swap(guilddbid_, other->guilddbid_);
swap(type_, other->type_);
swap(minstatus_, other->minstatus_);
swap(fromadmin_, other->fromadmin_);
swap(noreply_, other->noreply_);
swap(is_emote_, other->is_emote_);
swap(queued_, other->queued_);
swap(zone_id_, other->zone_id_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata ChannelMessage::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void CommandMessage::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int CommandMessage::kAuthorFieldNumber;
const int CommandMessage::kCommandFieldNumber;
const int CommandMessage::kParamsFieldNumber;
const int CommandMessage::kResultFieldNumber;
const int CommandMessage::kPayloadFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
CommandMessage::CommandMessage()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsCommandMessage();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.CommandMessage)
}
CommandMessage::CommandMessage(const CommandMessage& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
params_(from.params_),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
author_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.author().size() > 0) {
author_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.author_);
}
command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.command().size() > 0) {
command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_);
}
result_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.result().size() > 0) {
result_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.result_);
}
payload_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.payload().size() > 0) {
payload_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.payload_);
}
// @@protoc_insertion_point(copy_constructor:eqproto.CommandMessage)
}
void CommandMessage::SharedCtor() {
author_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
command_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
result_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
payload_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
_cached_size_ = 0;
}
CommandMessage::~CommandMessage() {
// @@protoc_insertion_point(destructor:eqproto.CommandMessage)
SharedDtor();
}
void CommandMessage::SharedDtor() {
author_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
command_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
result_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
payload_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void CommandMessage::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* CommandMessage::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const CommandMessage& CommandMessage::default_instance() {
::protobuf_message_2eproto::InitDefaultsCommandMessage();
return *internal_default_instance();
}
CommandMessage* CommandMessage::New(::google::protobuf::Arena* arena) const {
CommandMessage* n = new CommandMessage;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void CommandMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.CommandMessage)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
params_.Clear();
author_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
command_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
result_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
payload_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
_internal_metadata_.Clear();
}
bool CommandMessage::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.CommandMessage)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// string author = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_author()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->author().data(), static_cast<int>(this->author().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.CommandMessage.author"));
} else {
goto handle_unusual;
}
break;
}
// string command = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_command()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->command().data(), static_cast<int>(this->command().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.CommandMessage.command"));
} else {
goto handle_unusual;
}
break;
}
// repeated string params = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->add_params()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->params(this->params_size() - 1).data(),
static_cast<int>(this->params(this->params_size() - 1).length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.CommandMessage.params"));
} else {
goto handle_unusual;
}
break;
}
// string result = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_result()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->result().data(), static_cast<int>(this->result().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.CommandMessage.result"));
} else {
goto handle_unusual;
}
break;
}
// bytes payload = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
input, this->mutable_payload()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.CommandMessage)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.CommandMessage)
return false;
#undef DO_
}
void CommandMessage::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.CommandMessage)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string author = 1;
if (this->author().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->author().data(), static_cast<int>(this->author().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.author");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1, this->author(), output);
}
// string command = 2;
if (this->command().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->command().data(), static_cast<int>(this->command().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.command");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2, this->command(), output);
}
// repeated string params = 3;
for (int i = 0, n = this->params_size(); i < n; i++) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->params(i).data(), static_cast<int>(this->params(i).length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.params");
::google::protobuf::internal::WireFormatLite::WriteString(
3, this->params(i), output);
}
// string result = 4;
if (this->result().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->result().data(), static_cast<int>(this->result().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.result");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4, this->result(), output);
}
// bytes payload = 5;
if (this->payload().size() > 0) {
::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5, this->payload(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.CommandMessage)
}
::google::protobuf::uint8* CommandMessage::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.CommandMessage)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string author = 1;
if (this->author().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->author().data(), static_cast<int>(this->author().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.author");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1, this->author(), target);
}
// string command = 2;
if (this->command().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->command().data(), static_cast<int>(this->command().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.command");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2, this->command(), target);
}
// repeated string params = 3;
for (int i = 0, n = this->params_size(); i < n; i++) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->params(i).data(), static_cast<int>(this->params(i).length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.params");
target = ::google::protobuf::internal::WireFormatLite::
WriteStringToArray(3, this->params(i), target);
}
// string result = 4;
if (this->result().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->result().data(), static_cast<int>(this->result().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.CommandMessage.result");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4, this->result(), target);
}
// bytes payload = 5;
if (this->payload().size() > 0) {
target =
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5, this->payload(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.CommandMessage)
return target;
}
size_t CommandMessage::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.CommandMessage)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// repeated string params = 3;
total_size += 1 *
::google::protobuf::internal::FromIntSize(this->params_size());
for (int i = 0, n = this->params_size(); i < n; i++) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
this->params(i));
}
// string author = 1;
if (this->author().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->author());
}
// string command = 2;
if (this->command().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->command());
}
// string result = 4;
if (this->result().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->result());
}
// bytes payload = 5;
if (this->payload().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::BytesSize(
this->payload());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void CommandMessage::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.CommandMessage)
GOOGLE_DCHECK_NE(&from, this);
const CommandMessage* source =
::google::protobuf::internal::DynamicCastToGenerated<const CommandMessage>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.CommandMessage)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.CommandMessage)
MergeFrom(*source);
}
}
void CommandMessage::MergeFrom(const CommandMessage& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.CommandMessage)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
params_.MergeFrom(from.params_);
if (from.author().size() > 0) {
author_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.author_);
}
if (from.command().size() > 0) {
command_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.command_);
}
if (from.result().size() > 0) {
result_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.result_);
}
if (from.payload().size() > 0) {
payload_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.payload_);
}
}
void CommandMessage::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.CommandMessage)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CommandMessage::CopyFrom(const CommandMessage& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.CommandMessage)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool CommandMessage::IsInitialized() const {
return true;
}
void CommandMessage::Swap(CommandMessage* other) {
if (other == this) return;
InternalSwap(other);
}
void CommandMessage::InternalSwap(CommandMessage* other) {
using std::swap;
params_.InternalSwap(&other->params_);
author_.Swap(&other->author_);
command_.Swap(&other->command_);
result_.Swap(&other->result_);
payload_.Swap(&other->payload_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata CommandMessage::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void DailyGain::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int DailyGain::kAccountIdFieldNumber;
const int DailyGain::kCharacterIdFieldNumber;
const int DailyGain::kLevelsGainedFieldNumber;
const int DailyGain::kExperienceGainedFieldNumber;
const int DailyGain::kMoneyEarnedFieldNumber;
const int DailyGain::kIdentityFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
DailyGain::DailyGain()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsDailyGain();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.DailyGain)
}
DailyGain::DailyGain(const DailyGain& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.identity().size() > 0) {
identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.identity_);
}
::memcpy(&account_id_, &from.account_id_,
static_cast<size_t>(reinterpret_cast<char*>(&money_earned_) -
reinterpret_cast<char*>(&account_id_)) + sizeof(money_earned_));
// @@protoc_insertion_point(copy_constructor:eqproto.DailyGain)
}
void DailyGain::SharedCtor() {
identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&account_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&money_earned_) -
reinterpret_cast<char*>(&account_id_)) + sizeof(money_earned_));
_cached_size_ = 0;
}
DailyGain::~DailyGain() {
// @@protoc_insertion_point(destructor:eqproto.DailyGain)
SharedDtor();
}
void DailyGain::SharedDtor() {
identity_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void DailyGain::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* DailyGain::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const DailyGain& DailyGain::default_instance() {
::protobuf_message_2eproto::InitDefaultsDailyGain();
return *internal_default_instance();
}
DailyGain* DailyGain::New(::google::protobuf::Arena* arena) const {
DailyGain* n = new DailyGain;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void DailyGain::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.DailyGain)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&account_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&money_earned_) -
reinterpret_cast<char*>(&account_id_)) + sizeof(money_earned_));
_internal_metadata_.Clear();
}
bool DailyGain::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.DailyGain)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// int32 account_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &account_id_)));
} else {
goto handle_unusual;
}
break;
}
// int32 character_id = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &character_id_)));
} else {
goto handle_unusual;
}
break;
}
// int32 levels_gained = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &levels_gained_)));
} else {
goto handle_unusual;
}
break;
}
// int32 experience_gained = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &experience_gained_)));
} else {
goto handle_unusual;
}
break;
}
// int32 money_earned = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &money_earned_)));
} else {
goto handle_unusual;
}
break;
}
// string identity = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_identity()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->identity().data(), static_cast<int>(this->identity().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.DailyGain.identity"));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.DailyGain)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.DailyGain)
return false;
#undef DO_
}
void DailyGain::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.DailyGain)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 account_id = 1;
if (this->account_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->account_id(), output);
}
// int32 character_id = 2;
if (this->character_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->character_id(), output);
}
// int32 levels_gained = 3;
if (this->levels_gained() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->levels_gained(), output);
}
// int32 experience_gained = 4;
if (this->experience_gained() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->experience_gained(), output);
}
// int32 money_earned = 5;
if (this->money_earned() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->money_earned(), output);
}
// string identity = 6;
if (this->identity().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->identity().data(), static_cast<int>(this->identity().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.DailyGain.identity");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6, this->identity(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.DailyGain)
}
::google::protobuf::uint8* DailyGain::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.DailyGain)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 account_id = 1;
if (this->account_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->account_id(), target);
}
// int32 character_id = 2;
if (this->character_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->character_id(), target);
}
// int32 levels_gained = 3;
if (this->levels_gained() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->levels_gained(), target);
}
// int32 experience_gained = 4;
if (this->experience_gained() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->experience_gained(), target);
}
// int32 money_earned = 5;
if (this->money_earned() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->money_earned(), target);
}
// string identity = 6;
if (this->identity().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->identity().data(), static_cast<int>(this->identity().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.DailyGain.identity");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6, this->identity(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.DailyGain)
return target;
}
size_t DailyGain::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.DailyGain)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// string identity = 6;
if (this->identity().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->identity());
}
// int32 account_id = 1;
if (this->account_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->account_id());
}
// int32 character_id = 2;
if (this->character_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->character_id());
}
// int32 levels_gained = 3;
if (this->levels_gained() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->levels_gained());
}
// int32 experience_gained = 4;
if (this->experience_gained() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->experience_gained());
}
// int32 money_earned = 5;
if (this->money_earned() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->money_earned());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void DailyGain::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.DailyGain)
GOOGLE_DCHECK_NE(&from, this);
const DailyGain* source =
::google::protobuf::internal::DynamicCastToGenerated<const DailyGain>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.DailyGain)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.DailyGain)
MergeFrom(*source);
}
}
void DailyGain::MergeFrom(const DailyGain& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.DailyGain)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.identity().size() > 0) {
identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.identity_);
}
if (from.account_id() != 0) {
set_account_id(from.account_id());
}
if (from.character_id() != 0) {
set_character_id(from.character_id());
}
if (from.levels_gained() != 0) {
set_levels_gained(from.levels_gained());
}
if (from.experience_gained() != 0) {
set_experience_gained(from.experience_gained());
}
if (from.money_earned() != 0) {
set_money_earned(from.money_earned());
}
}
void DailyGain::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.DailyGain)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DailyGain::CopyFrom(const DailyGain& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.DailyGain)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool DailyGain::IsInitialized() const {
return true;
}
void DailyGain::Swap(DailyGain* other) {
if (other == this) return;
InternalSwap(other);
}
void DailyGain::InternalSwap(DailyGain* other) {
using std::swap;
identity_.Swap(&other->identity_);
swap(account_id_, other->account_id_);
swap(character_id_, other->character_id_);
swap(levels_gained_, other->levels_gained_);
swap(experience_gained_, other->experience_gained_);
swap(money_earned_, other->money_earned_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata DailyGain::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void Entity::InitAsDefaultInstance() {
::eqproto::_Entity_default_instance_._instance.get_mutable()->position_ = const_cast< ::eqproto::Position*>(
::eqproto::Position::internal_default_instance());
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Entity::kIdFieldNumber;
const int Entity::kNameFieldNumber;
const int Entity::kTypeFieldNumber;
const int Entity::kHpFieldNumber;
const int Entity::kLevelFieldNumber;
const int Entity::kPositionFieldNumber;
const int Entity::kRaceFieldNumber;
const int Entity::kClassFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Entity::Entity()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsEntity();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.Entity)
}
Entity::Entity(const Entity& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.name().size() > 0) {
name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
}
if (from.has_position()) {
position_ = new ::eqproto::Position(*from.position_);
} else {
position_ = NULL;
}
::memcpy(&id_, &from.id_,
static_cast<size_t>(reinterpret_cast<char*>(&class__) -
reinterpret_cast<char*>(&id_)) + sizeof(class__));
// @@protoc_insertion_point(copy_constructor:eqproto.Entity)
}
void Entity::SharedCtor() {
name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&position_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&class__) -
reinterpret_cast<char*>(&position_)) + sizeof(class__));
_cached_size_ = 0;
}
Entity::~Entity() {
// @@protoc_insertion_point(destructor:eqproto.Entity)
SharedDtor();
}
void Entity::SharedDtor() {
name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (this != internal_default_instance()) delete position_;
}
void Entity::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* Entity::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const Entity& Entity::default_instance() {
::protobuf_message_2eproto::InitDefaultsEntity();
return *internal_default_instance();
}
Entity* Entity::New(::google::protobuf::Arena* arena) const {
Entity* n = new Entity;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void Entity::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.Entity)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (GetArenaNoVirtual() == NULL && position_ != NULL) {
delete position_;
}
position_ = NULL;
::memset(&id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&class__) -
reinterpret_cast<char*>(&id_)) + sizeof(class__));
_internal_metadata_.Clear();
}
bool Entity::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.Entity)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// int32 id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &id_)));
} else {
goto handle_unusual;
}
break;
}
// string name = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_name()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->name().data(), static_cast<int>(this->name().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.Entity.name"));
} else {
goto handle_unusual;
}
break;
}
// int32 type = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &type_)));
} else {
goto handle_unusual;
}
break;
}
// int32 hp = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &hp_)));
} else {
goto handle_unusual;
}
break;
}
// int32 level = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &level_)));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Position position = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_position()));
} else {
goto handle_unusual;
}
break;
}
// int32 race = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &race_)));
} else {
goto handle_unusual;
}
break;
}
// int32 class = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &class__)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.Entity)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.Entity)
return false;
#undef DO_
}
void Entity::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.Entity)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 id = 1;
if (this->id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
}
// string name = 2;
if (this->name().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->name().data(), static_cast<int>(this->name().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.Entity.name");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2, this->name(), output);
}
// int32 type = 3;
if (this->type() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
}
// int32 hp = 4;
if (this->hp() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->hp(), output);
}
// int32 level = 5;
if (this->level() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->level(), output);
}
// .eqproto.Position position = 6;
if (this->has_position()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6, *this->position_, output);
}
// int32 race = 7;
if (this->race() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->race(), output);
}
// int32 class = 8;
if (this->class_() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->class_(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.Entity)
}
::google::protobuf::uint8* Entity::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.Entity)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 id = 1;
if (this->id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
}
// string name = 2;
if (this->name().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->name().data(), static_cast<int>(this->name().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.Entity.name");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2, this->name(), target);
}
// int32 type = 3;
if (this->type() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
}
// int32 hp = 4;
if (this->hp() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->hp(), target);
}
// int32 level = 5;
if (this->level() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->level(), target);
}
// .eqproto.Position position = 6;
if (this->has_position()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
6, *this->position_, deterministic, target);
}
// int32 race = 7;
if (this->race() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->race(), target);
}
// int32 class = 8;
if (this->class_() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->class_(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.Entity)
return target;
}
size_t Entity::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.Entity)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// string name = 2;
if (this->name().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->name());
}
// .eqproto.Position position = 6;
if (this->has_position()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->position_);
}
// int32 id = 1;
if (this->id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->id());
}
// int32 type = 3;
if (this->type() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->type());
}
// int32 hp = 4;
if (this->hp() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->hp());
}
// int32 level = 5;
if (this->level() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->level());
}
// int32 race = 7;
if (this->race() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->race());
}
// int32 class = 8;
if (this->class_() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->class_());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void Entity::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.Entity)
GOOGLE_DCHECK_NE(&from, this);
const Entity* source =
::google::protobuf::internal::DynamicCastToGenerated<const Entity>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.Entity)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.Entity)
MergeFrom(*source);
}
}
void Entity::MergeFrom(const Entity& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.Entity)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.name().size() > 0) {
name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
}
if (from.has_position()) {
mutable_position()->::eqproto::Position::MergeFrom(from.position());
}
if (from.id() != 0) {
set_id(from.id());
}
if (from.type() != 0) {
set_type(from.type());
}
if (from.hp() != 0) {
set_hp(from.hp());
}
if (from.level() != 0) {
set_level(from.level());
}
if (from.race() != 0) {
set_race(from.race());
}
if (from.class_() != 0) {
set_class_(from.class_());
}
}
void Entity::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.Entity)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Entity::CopyFrom(const Entity& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.Entity)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Entity::IsInitialized() const {
return true;
}
void Entity::Swap(Entity* other) {
if (other == this) return;
InternalSwap(other);
}
void Entity::InternalSwap(Entity* other) {
using std::swap;
name_.Swap(&other->name_);
swap(position_, other->position_);
swap(id_, other->id_);
swap(type_, other->type_);
swap(hp_, other->hp_);
swap(level_, other->level_);
swap(race_, other->race_);
swap(class__, other->class__);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata Entity::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void Entities::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Entities::kEntitiesFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Entities::Entities()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsEntities();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.Entities)
}
Entities::Entities(const Entities& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
entities_(from.entities_),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
// @@protoc_insertion_point(copy_constructor:eqproto.Entities)
}
void Entities::SharedCtor() {
_cached_size_ = 0;
}
Entities::~Entities() {
// @@protoc_insertion_point(destructor:eqproto.Entities)
SharedDtor();
}
void Entities::SharedDtor() {
}
void Entities::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* Entities::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const Entities& Entities::default_instance() {
::protobuf_message_2eproto::InitDefaultsEntities();
return *internal_default_instance();
}
Entities* Entities::New(::google::protobuf::Arena* arena) const {
Entities* n = new Entities;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void Entities::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.Entities)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
entities_.Clear();
_internal_metadata_.Clear();
}
bool Entities::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.Entities)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// repeated .eqproto.Entity entities = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_entities()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.Entities)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.Entities)
return false;
#undef DO_
}
void Entities::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.Entities)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// repeated .eqproto.Entity entities = 1;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->entities_size()); i < n; i++) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1, this->entities(static_cast<int>(i)), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.Entities)
}
::google::protobuf::uint8* Entities::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.Entities)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// repeated .eqproto.Entity entities = 1;
for (unsigned int i = 0,
n = static_cast<unsigned int>(this->entities_size()); i < n; i++) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
1, this->entities(static_cast<int>(i)), deterministic, target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.Entities)
return target;
}
size_t Entities::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.Entities)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// repeated .eqproto.Entity entities = 1;
{
unsigned int count = static_cast<unsigned int>(this->entities_size());
total_size += 1UL * count;
for (unsigned int i = 0; i < count; i++) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(
this->entities(static_cast<int>(i)));
}
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void Entities::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.Entities)
GOOGLE_DCHECK_NE(&from, this);
const Entities* source =
::google::protobuf::internal::DynamicCastToGenerated<const Entities>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.Entities)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.Entities)
MergeFrom(*source);
}
}
void Entities::MergeFrom(const Entities& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.Entities)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
entities_.MergeFrom(from.entities_);
}
void Entities::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.Entities)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Entities::CopyFrom(const Entities& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.Entities)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Entities::IsInitialized() const {
return true;
}
void Entities::Swap(Entities* other) {
if (other == this) return;
InternalSwap(other);
}
void Entities::InternalSwap(Entities* other) {
using std::swap;
entities_.InternalSwap(&other->entities_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata Entities::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void Position::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Position::kXFieldNumber;
const int Position::kYFieldNumber;
const int Position::kZFieldNumber;
const int Position::kHFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Position::Position()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsPosition();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.Position)
}
Position::Position(const Position& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&x_, &from.x_,
static_cast<size_t>(reinterpret_cast<char*>(&h_) -
reinterpret_cast<char*>(&x_)) + sizeof(h_));
// @@protoc_insertion_point(copy_constructor:eqproto.Position)
}
void Position::SharedCtor() {
::memset(&x_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&h_) -
reinterpret_cast<char*>(&x_)) + sizeof(h_));
_cached_size_ = 0;
}
Position::~Position() {
// @@protoc_insertion_point(destructor:eqproto.Position)
SharedDtor();
}
void Position::SharedDtor() {
}
void Position::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* Position::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const Position& Position::default_instance() {
::protobuf_message_2eproto::InitDefaultsPosition();
return *internal_default_instance();
}
Position* Position::New(::google::protobuf::Arena* arena) const {
Position* n = new Position;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void Position::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.Position)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&x_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&h_) -
reinterpret_cast<char*>(&x_)) + sizeof(h_));
_internal_metadata_.Clear();
}
bool Position::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.Position)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// float x = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &x_)));
} else {
goto handle_unusual;
}
break;
}
// float y = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &y_)));
} else {
goto handle_unusual;
}
break;
}
// float z = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &z_)));
} else {
goto handle_unusual;
}
break;
}
// float h = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &h_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.Position)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.Position)
return false;
#undef DO_
}
void Position::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.Position)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// float x = 1;
if (this->x() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output);
}
// float y = 2;
if (this->y() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output);
}
// float z = 3;
if (this->z() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->z(), output);
}
// float h = 4;
if (this->h() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->h(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.Position)
}
::google::protobuf::uint8* Position::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.Position)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// float x = 1;
if (this->x() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target);
}
// float y = 2;
if (this->y() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target);
}
// float z = 3;
if (this->z() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->z(), target);
}
// float h = 4;
if (this->h() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->h(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.Position)
return target;
}
size_t Position::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.Position)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// float x = 1;
if (this->x() != 0) {
total_size += 1 + 4;
}
// float y = 2;
if (this->y() != 0) {
total_size += 1 + 4;
}
// float z = 3;
if (this->z() != 0) {
total_size += 1 + 4;
}
// float h = 4;
if (this->h() != 0) {
total_size += 1 + 4;
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void Position::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.Position)
GOOGLE_DCHECK_NE(&from, this);
const Position* source =
::google::protobuf::internal::DynamicCastToGenerated<const Position>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.Position)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.Position)
MergeFrom(*source);
}
}
void Position::MergeFrom(const Position& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.Position)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.x() != 0) {
set_x(from.x());
}
if (from.y() != 0) {
set_y(from.y());
}
if (from.z() != 0) {
set_z(from.z());
}
if (from.h() != 0) {
set_h(from.h());
}
}
void Position::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.Position)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Position::CopyFrom(const Position& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.Position)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Position::IsInitialized() const {
return true;
}
void Position::Swap(Position* other) {
if (other == this) return;
InternalSwap(other);
}
void Position::InternalSwap(Position* other) {
using std::swap;
swap(x_, other->x_);
swap(y_, other->y_);
swap(z_, other->z_);
swap(h_, other->h_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata Position::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void TextureProfile::InitAsDefaultInstance() {
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->head_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->chest_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->arms_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->wrist_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->hands_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->legs_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->feet_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->primary_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
::eqproto::_TextureProfile_default_instance_._instance.get_mutable()->secondary_ = const_cast< ::eqproto::Texture*>(
::eqproto::Texture::internal_default_instance());
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int TextureProfile::kHeadFieldNumber;
const int TextureProfile::kChestFieldNumber;
const int TextureProfile::kArmsFieldNumber;
const int TextureProfile::kWristFieldNumber;
const int TextureProfile::kHandsFieldNumber;
const int TextureProfile::kLegsFieldNumber;
const int TextureProfile::kFeetFieldNumber;
const int TextureProfile::kPrimaryFieldNumber;
const int TextureProfile::kSecondaryFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
TextureProfile::TextureProfile()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsTextureProfile();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.TextureProfile)
}
TextureProfile::TextureProfile(const TextureProfile& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
if (from.has_head()) {
head_ = new ::eqproto::Texture(*from.head_);
} else {
head_ = NULL;
}
if (from.has_chest()) {
chest_ = new ::eqproto::Texture(*from.chest_);
} else {
chest_ = NULL;
}
if (from.has_arms()) {
arms_ = new ::eqproto::Texture(*from.arms_);
} else {
arms_ = NULL;
}
if (from.has_wrist()) {
wrist_ = new ::eqproto::Texture(*from.wrist_);
} else {
wrist_ = NULL;
}
if (from.has_hands()) {
hands_ = new ::eqproto::Texture(*from.hands_);
} else {
hands_ = NULL;
}
if (from.has_legs()) {
legs_ = new ::eqproto::Texture(*from.legs_);
} else {
legs_ = NULL;
}
if (from.has_feet()) {
feet_ = new ::eqproto::Texture(*from.feet_);
} else {
feet_ = NULL;
}
if (from.has_primary()) {
primary_ = new ::eqproto::Texture(*from.primary_);
} else {
primary_ = NULL;
}
if (from.has_secondary()) {
secondary_ = new ::eqproto::Texture(*from.secondary_);
} else {
secondary_ = NULL;
}
// @@protoc_insertion_point(copy_constructor:eqproto.TextureProfile)
}
void TextureProfile::SharedCtor() {
::memset(&head_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&secondary_) -
reinterpret_cast<char*>(&head_)) + sizeof(secondary_));
_cached_size_ = 0;
}
TextureProfile::~TextureProfile() {
// @@protoc_insertion_point(destructor:eqproto.TextureProfile)
SharedDtor();
}
void TextureProfile::SharedDtor() {
if (this != internal_default_instance()) delete head_;
if (this != internal_default_instance()) delete chest_;
if (this != internal_default_instance()) delete arms_;
if (this != internal_default_instance()) delete wrist_;
if (this != internal_default_instance()) delete hands_;
if (this != internal_default_instance()) delete legs_;
if (this != internal_default_instance()) delete feet_;
if (this != internal_default_instance()) delete primary_;
if (this != internal_default_instance()) delete secondary_;
}
void TextureProfile::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* TextureProfile::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const TextureProfile& TextureProfile::default_instance() {
::protobuf_message_2eproto::InitDefaultsTextureProfile();
return *internal_default_instance();
}
TextureProfile* TextureProfile::New(::google::protobuf::Arena* arena) const {
TextureProfile* n = new TextureProfile;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void TextureProfile::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.TextureProfile)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
if (GetArenaNoVirtual() == NULL && head_ != NULL) {
delete head_;
}
head_ = NULL;
if (GetArenaNoVirtual() == NULL && chest_ != NULL) {
delete chest_;
}
chest_ = NULL;
if (GetArenaNoVirtual() == NULL && arms_ != NULL) {
delete arms_;
}
arms_ = NULL;
if (GetArenaNoVirtual() == NULL && wrist_ != NULL) {
delete wrist_;
}
wrist_ = NULL;
if (GetArenaNoVirtual() == NULL && hands_ != NULL) {
delete hands_;
}
hands_ = NULL;
if (GetArenaNoVirtual() == NULL && legs_ != NULL) {
delete legs_;
}
legs_ = NULL;
if (GetArenaNoVirtual() == NULL && feet_ != NULL) {
delete feet_;
}
feet_ = NULL;
if (GetArenaNoVirtual() == NULL && primary_ != NULL) {
delete primary_;
}
primary_ = NULL;
if (GetArenaNoVirtual() == NULL && secondary_ != NULL) {
delete secondary_;
}
secondary_ = NULL;
_internal_metadata_.Clear();
}
bool TextureProfile::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.TextureProfile)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// .eqproto.Texture Head = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_head()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Chest = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_chest()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Arms = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_arms()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Wrist = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_wrist()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Hands = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_hands()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Legs = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_legs()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Feet = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_feet()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Primary = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_primary()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Texture Secondary = 9;
case 9: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_secondary()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.TextureProfile)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.TextureProfile)
return false;
#undef DO_
}
void TextureProfile::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.TextureProfile)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .eqproto.Texture Head = 1;
if (this->has_head()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1, *this->head_, output);
}
// .eqproto.Texture Chest = 2;
if (this->has_chest()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2, *this->chest_, output);
}
// .eqproto.Texture Arms = 3;
if (this->has_arms()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3, *this->arms_, output);
}
// .eqproto.Texture Wrist = 4;
if (this->has_wrist()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4, *this->wrist_, output);
}
// .eqproto.Texture Hands = 5;
if (this->has_hands()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5, *this->hands_, output);
}
// .eqproto.Texture Legs = 6;
if (this->has_legs()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6, *this->legs_, output);
}
// .eqproto.Texture Feet = 7;
if (this->has_feet()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7, *this->feet_, output);
}
// .eqproto.Texture Primary = 8;
if (this->has_primary()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8, *this->primary_, output);
}
// .eqproto.Texture Secondary = 9;
if (this->has_secondary()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9, *this->secondary_, output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.TextureProfile)
}
::google::protobuf::uint8* TextureProfile::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.TextureProfile)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .eqproto.Texture Head = 1;
if (this->has_head()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
1, *this->head_, deterministic, target);
}
// .eqproto.Texture Chest = 2;
if (this->has_chest()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
2, *this->chest_, deterministic, target);
}
// .eqproto.Texture Arms = 3;
if (this->has_arms()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
3, *this->arms_, deterministic, target);
}
// .eqproto.Texture Wrist = 4;
if (this->has_wrist()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
4, *this->wrist_, deterministic, target);
}
// .eqproto.Texture Hands = 5;
if (this->has_hands()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
5, *this->hands_, deterministic, target);
}
// .eqproto.Texture Legs = 6;
if (this->has_legs()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
6, *this->legs_, deterministic, target);
}
// .eqproto.Texture Feet = 7;
if (this->has_feet()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
7, *this->feet_, deterministic, target);
}
// .eqproto.Texture Primary = 8;
if (this->has_primary()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
8, *this->primary_, deterministic, target);
}
// .eqproto.Texture Secondary = 9;
if (this->has_secondary()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
9, *this->secondary_, deterministic, target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.TextureProfile)
return target;
}
size_t TextureProfile::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.TextureProfile)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// .eqproto.Texture Head = 1;
if (this->has_head()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->head_);
}
// .eqproto.Texture Chest = 2;
if (this->has_chest()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->chest_);
}
// .eqproto.Texture Arms = 3;
if (this->has_arms()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->arms_);
}
// .eqproto.Texture Wrist = 4;
if (this->has_wrist()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->wrist_);
}
// .eqproto.Texture Hands = 5;
if (this->has_hands()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->hands_);
}
// .eqproto.Texture Legs = 6;
if (this->has_legs()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->legs_);
}
// .eqproto.Texture Feet = 7;
if (this->has_feet()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->feet_);
}
// .eqproto.Texture Primary = 8;
if (this->has_primary()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->primary_);
}
// .eqproto.Texture Secondary = 9;
if (this->has_secondary()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->secondary_);
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void TextureProfile::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.TextureProfile)
GOOGLE_DCHECK_NE(&from, this);
const TextureProfile* source =
::google::protobuf::internal::DynamicCastToGenerated<const TextureProfile>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.TextureProfile)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.TextureProfile)
MergeFrom(*source);
}
}
void TextureProfile::MergeFrom(const TextureProfile& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.TextureProfile)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.has_head()) {
mutable_head()->::eqproto::Texture::MergeFrom(from.head());
}
if (from.has_chest()) {
mutable_chest()->::eqproto::Texture::MergeFrom(from.chest());
}
if (from.has_arms()) {
mutable_arms()->::eqproto::Texture::MergeFrom(from.arms());
}
if (from.has_wrist()) {
mutable_wrist()->::eqproto::Texture::MergeFrom(from.wrist());
}
if (from.has_hands()) {
mutable_hands()->::eqproto::Texture::MergeFrom(from.hands());
}
if (from.has_legs()) {
mutable_legs()->::eqproto::Texture::MergeFrom(from.legs());
}
if (from.has_feet()) {
mutable_feet()->::eqproto::Texture::MergeFrom(from.feet());
}
if (from.has_primary()) {
mutable_primary()->::eqproto::Texture::MergeFrom(from.primary());
}
if (from.has_secondary()) {
mutable_secondary()->::eqproto::Texture::MergeFrom(from.secondary());
}
}
void TextureProfile::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.TextureProfile)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void TextureProfile::CopyFrom(const TextureProfile& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.TextureProfile)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool TextureProfile::IsInitialized() const {
return true;
}
void TextureProfile::Swap(TextureProfile* other) {
if (other == this) return;
InternalSwap(other);
}
void TextureProfile::InternalSwap(TextureProfile* other) {
using std::swap;
swap(head_, other->head_);
swap(chest_, other->chest_);
swap(arms_, other->arms_);
swap(wrist_, other->wrist_);
swap(hands_, other->hands_);
swap(legs_, other->legs_);
swap(feet_, other->feet_);
swap(primary_, other->primary_);
swap(secondary_, other->secondary_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata TextureProfile::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void Texture::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Texture::kMaterialFieldNumber;
const int Texture::kUnknown1FieldNumber;
const int Texture::kEliteModelFieldNumber;
const int Texture::kHerosForgeModelFieldNumber;
const int Texture::kUnknown2FieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Texture::Texture()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsTexture();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.Texture)
}
Texture::Texture(const Texture& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&material_, &from.material_,
static_cast<size_t>(reinterpret_cast<char*>(&unknown2_) -
reinterpret_cast<char*>(&material_)) + sizeof(unknown2_));
// @@protoc_insertion_point(copy_constructor:eqproto.Texture)
}
void Texture::SharedCtor() {
::memset(&material_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&unknown2_) -
reinterpret_cast<char*>(&material_)) + sizeof(unknown2_));
_cached_size_ = 0;
}
Texture::~Texture() {
// @@protoc_insertion_point(destructor:eqproto.Texture)
SharedDtor();
}
void Texture::SharedDtor() {
}
void Texture::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* Texture::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const Texture& Texture::default_instance() {
::protobuf_message_2eproto::InitDefaultsTexture();
return *internal_default_instance();
}
Texture* Texture::New(::google::protobuf::Arena* arena) const {
Texture* n = new Texture;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void Texture::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.Texture)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&material_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&unknown2_) -
reinterpret_cast<char*>(&material_)) + sizeof(unknown2_));
_internal_metadata_.Clear();
}
bool Texture::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.Texture)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 material = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &material_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown1 = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown1_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 EliteModel = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &elitemodel_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 HerosForgeModel = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &herosforgemodel_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 Unknown2 = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown2_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.Texture)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.Texture)
return false;
#undef DO_
}
void Texture::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.Texture)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 material = 1;
if (this->material() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->material(), output);
}
// uint32 unknown1 = 2;
if (this->unknown1() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->unknown1(), output);
}
// uint32 EliteModel = 3;
if (this->elitemodel() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->elitemodel(), output);
}
// uint32 HerosForgeModel = 4;
if (this->herosforgemodel() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->herosforgemodel(), output);
}
// uint32 Unknown2 = 5;
if (this->unknown2() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->unknown2(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.Texture)
}
::google::protobuf::uint8* Texture::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.Texture)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 material = 1;
if (this->material() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->material(), target);
}
// uint32 unknown1 = 2;
if (this->unknown1() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->unknown1(), target);
}
// uint32 EliteModel = 3;
if (this->elitemodel() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->elitemodel(), target);
}
// uint32 HerosForgeModel = 4;
if (this->herosforgemodel() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->herosforgemodel(), target);
}
// uint32 Unknown2 = 5;
if (this->unknown2() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->unknown2(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.Texture)
return target;
}
size_t Texture::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.Texture)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 material = 1;
if (this->material() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->material());
}
// uint32 unknown1 = 2;
if (this->unknown1() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown1());
}
// uint32 EliteModel = 3;
if (this->elitemodel() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->elitemodel());
}
// uint32 HerosForgeModel = 4;
if (this->herosforgemodel() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->herosforgemodel());
}
// uint32 Unknown2 = 5;
if (this->unknown2() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown2());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void Texture::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.Texture)
GOOGLE_DCHECK_NE(&from, this);
const Texture* source =
::google::protobuf::internal::DynamicCastToGenerated<const Texture>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.Texture)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.Texture)
MergeFrom(*source);
}
}
void Texture::MergeFrom(const Texture& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.Texture)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.material() != 0) {
set_material(from.material());
}
if (from.unknown1() != 0) {
set_unknown1(from.unknown1());
}
if (from.elitemodel() != 0) {
set_elitemodel(from.elitemodel());
}
if (from.herosforgemodel() != 0) {
set_herosforgemodel(from.herosforgemodel());
}
if (from.unknown2() != 0) {
set_unknown2(from.unknown2());
}
}
void Texture::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.Texture)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Texture::CopyFrom(const Texture& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.Texture)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Texture::IsInitialized() const {
return true;
}
void Texture::Swap(Texture* other) {
if (other == this) return;
InternalSwap(other);
}
void Texture::InternalSwap(Texture* other) {
using std::swap;
swap(material_, other->material_);
swap(unknown1_, other->unknown1_);
swap(elitemodel_, other->elitemodel_);
swap(herosforgemodel_, other->herosforgemodel_);
swap(unknown2_, other->unknown2_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata Texture::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void TintProfile::InitAsDefaultInstance() {
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->head_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->chest_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->arms_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->wrist_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->hands_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->legs_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->feet_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->primary_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
::eqproto::_TintProfile_default_instance_._instance.get_mutable()->secondary_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int TintProfile::kHeadFieldNumber;
const int TintProfile::kChestFieldNumber;
const int TintProfile::kArmsFieldNumber;
const int TintProfile::kWristFieldNumber;
const int TintProfile::kHandsFieldNumber;
const int TintProfile::kLegsFieldNumber;
const int TintProfile::kFeetFieldNumber;
const int TintProfile::kPrimaryFieldNumber;
const int TintProfile::kSecondaryFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
TintProfile::TintProfile()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsTintProfile();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.TintProfile)
}
TintProfile::TintProfile(const TintProfile& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
if (from.has_head()) {
head_ = new ::eqproto::Tint(*from.head_);
} else {
head_ = NULL;
}
if (from.has_chest()) {
chest_ = new ::eqproto::Tint(*from.chest_);
} else {
chest_ = NULL;
}
if (from.has_arms()) {
arms_ = new ::eqproto::Tint(*from.arms_);
} else {
arms_ = NULL;
}
if (from.has_wrist()) {
wrist_ = new ::eqproto::Tint(*from.wrist_);
} else {
wrist_ = NULL;
}
if (from.has_hands()) {
hands_ = new ::eqproto::Tint(*from.hands_);
} else {
hands_ = NULL;
}
if (from.has_legs()) {
legs_ = new ::eqproto::Tint(*from.legs_);
} else {
legs_ = NULL;
}
if (from.has_feet()) {
feet_ = new ::eqproto::Tint(*from.feet_);
} else {
feet_ = NULL;
}
if (from.has_primary()) {
primary_ = new ::eqproto::Tint(*from.primary_);
} else {
primary_ = NULL;
}
if (from.has_secondary()) {
secondary_ = new ::eqproto::Tint(*from.secondary_);
} else {
secondary_ = NULL;
}
// @@protoc_insertion_point(copy_constructor:eqproto.TintProfile)
}
void TintProfile::SharedCtor() {
::memset(&head_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&secondary_) -
reinterpret_cast<char*>(&head_)) + sizeof(secondary_));
_cached_size_ = 0;
}
TintProfile::~TintProfile() {
// @@protoc_insertion_point(destructor:eqproto.TintProfile)
SharedDtor();
}
void TintProfile::SharedDtor() {
if (this != internal_default_instance()) delete head_;
if (this != internal_default_instance()) delete chest_;
if (this != internal_default_instance()) delete arms_;
if (this != internal_default_instance()) delete wrist_;
if (this != internal_default_instance()) delete hands_;
if (this != internal_default_instance()) delete legs_;
if (this != internal_default_instance()) delete feet_;
if (this != internal_default_instance()) delete primary_;
if (this != internal_default_instance()) delete secondary_;
}
void TintProfile::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* TintProfile::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const TintProfile& TintProfile::default_instance() {
::protobuf_message_2eproto::InitDefaultsTintProfile();
return *internal_default_instance();
}
TintProfile* TintProfile::New(::google::protobuf::Arena* arena) const {
TintProfile* n = new TintProfile;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void TintProfile::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.TintProfile)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
if (GetArenaNoVirtual() == NULL && head_ != NULL) {
delete head_;
}
head_ = NULL;
if (GetArenaNoVirtual() == NULL && chest_ != NULL) {
delete chest_;
}
chest_ = NULL;
if (GetArenaNoVirtual() == NULL && arms_ != NULL) {
delete arms_;
}
arms_ = NULL;
if (GetArenaNoVirtual() == NULL && wrist_ != NULL) {
delete wrist_;
}
wrist_ = NULL;
if (GetArenaNoVirtual() == NULL && hands_ != NULL) {
delete hands_;
}
hands_ = NULL;
if (GetArenaNoVirtual() == NULL && legs_ != NULL) {
delete legs_;
}
legs_ = NULL;
if (GetArenaNoVirtual() == NULL && feet_ != NULL) {
delete feet_;
}
feet_ = NULL;
if (GetArenaNoVirtual() == NULL && primary_ != NULL) {
delete primary_;
}
primary_ = NULL;
if (GetArenaNoVirtual() == NULL && secondary_ != NULL) {
delete secondary_;
}
secondary_ = NULL;
_internal_metadata_.Clear();
}
bool TintProfile::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.TintProfile)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// .eqproto.Tint Head = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_head()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Chest = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_chest()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Arms = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_arms()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Wrist = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_wrist()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Hands = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_hands()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Legs = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_legs()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Feet = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_feet()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Primary = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_primary()));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint Secondary = 9;
case 9: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_secondary()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.TintProfile)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.TintProfile)
return false;
#undef DO_
}
void TintProfile::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.TintProfile)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .eqproto.Tint Head = 1;
if (this->has_head()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1, *this->head_, output);
}
// .eqproto.Tint Chest = 2;
if (this->has_chest()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2, *this->chest_, output);
}
// .eqproto.Tint Arms = 3;
if (this->has_arms()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3, *this->arms_, output);
}
// .eqproto.Tint Wrist = 4;
if (this->has_wrist()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4, *this->wrist_, output);
}
// .eqproto.Tint Hands = 5;
if (this->has_hands()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5, *this->hands_, output);
}
// .eqproto.Tint Legs = 6;
if (this->has_legs()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6, *this->legs_, output);
}
// .eqproto.Tint Feet = 7;
if (this->has_feet()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7, *this->feet_, output);
}
// .eqproto.Tint Primary = 8;
if (this->has_primary()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8, *this->primary_, output);
}
// .eqproto.Tint Secondary = 9;
if (this->has_secondary()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9, *this->secondary_, output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.TintProfile)
}
::google::protobuf::uint8* TintProfile::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.TintProfile)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .eqproto.Tint Head = 1;
if (this->has_head()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
1, *this->head_, deterministic, target);
}
// .eqproto.Tint Chest = 2;
if (this->has_chest()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
2, *this->chest_, deterministic, target);
}
// .eqproto.Tint Arms = 3;
if (this->has_arms()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
3, *this->arms_, deterministic, target);
}
// .eqproto.Tint Wrist = 4;
if (this->has_wrist()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
4, *this->wrist_, deterministic, target);
}
// .eqproto.Tint Hands = 5;
if (this->has_hands()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
5, *this->hands_, deterministic, target);
}
// .eqproto.Tint Legs = 6;
if (this->has_legs()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
6, *this->legs_, deterministic, target);
}
// .eqproto.Tint Feet = 7;
if (this->has_feet()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
7, *this->feet_, deterministic, target);
}
// .eqproto.Tint Primary = 8;
if (this->has_primary()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
8, *this->primary_, deterministic, target);
}
// .eqproto.Tint Secondary = 9;
if (this->has_secondary()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
9, *this->secondary_, deterministic, target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.TintProfile)
return target;
}
size_t TintProfile::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.TintProfile)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// .eqproto.Tint Head = 1;
if (this->has_head()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->head_);
}
// .eqproto.Tint Chest = 2;
if (this->has_chest()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->chest_);
}
// .eqproto.Tint Arms = 3;
if (this->has_arms()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->arms_);
}
// .eqproto.Tint Wrist = 4;
if (this->has_wrist()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->wrist_);
}
// .eqproto.Tint Hands = 5;
if (this->has_hands()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->hands_);
}
// .eqproto.Tint Legs = 6;
if (this->has_legs()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->legs_);
}
// .eqproto.Tint Feet = 7;
if (this->has_feet()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->feet_);
}
// .eqproto.Tint Primary = 8;
if (this->has_primary()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->primary_);
}
// .eqproto.Tint Secondary = 9;
if (this->has_secondary()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->secondary_);
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void TintProfile::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.TintProfile)
GOOGLE_DCHECK_NE(&from, this);
const TintProfile* source =
::google::protobuf::internal::DynamicCastToGenerated<const TintProfile>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.TintProfile)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.TintProfile)
MergeFrom(*source);
}
}
void TintProfile::MergeFrom(const TintProfile& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.TintProfile)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.has_head()) {
mutable_head()->::eqproto::Tint::MergeFrom(from.head());
}
if (from.has_chest()) {
mutable_chest()->::eqproto::Tint::MergeFrom(from.chest());
}
if (from.has_arms()) {
mutable_arms()->::eqproto::Tint::MergeFrom(from.arms());
}
if (from.has_wrist()) {
mutable_wrist()->::eqproto::Tint::MergeFrom(from.wrist());
}
if (from.has_hands()) {
mutable_hands()->::eqproto::Tint::MergeFrom(from.hands());
}
if (from.has_legs()) {
mutable_legs()->::eqproto::Tint::MergeFrom(from.legs());
}
if (from.has_feet()) {
mutable_feet()->::eqproto::Tint::MergeFrom(from.feet());
}
if (from.has_primary()) {
mutable_primary()->::eqproto::Tint::MergeFrom(from.primary());
}
if (from.has_secondary()) {
mutable_secondary()->::eqproto::Tint::MergeFrom(from.secondary());
}
}
void TintProfile::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.TintProfile)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void TintProfile::CopyFrom(const TintProfile& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.TintProfile)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool TintProfile::IsInitialized() const {
return true;
}
void TintProfile::Swap(TintProfile* other) {
if (other == this) return;
InternalSwap(other);
}
void TintProfile::InternalSwap(TintProfile* other) {
using std::swap;
swap(head_, other->head_);
swap(chest_, other->chest_);
swap(arms_, other->arms_);
swap(wrist_, other->wrist_);
swap(hands_, other->hands_);
swap(legs_, other->legs_);
swap(feet_, other->feet_);
swap(primary_, other->primary_);
swap(secondary_, other->secondary_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata TintProfile::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void Tint::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Tint::kBlueFieldNumber;
const int Tint::kGreenFieldNumber;
const int Tint::kRedFieldNumber;
const int Tint::kUseTintFieldNumber;
const int Tint::kColorFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Tint::Tint()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsTint();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.Tint)
}
Tint::Tint(const Tint& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&blue_, &from.blue_,
static_cast<size_t>(reinterpret_cast<char*>(&color_) -
reinterpret_cast<char*>(&blue_)) + sizeof(color_));
// @@protoc_insertion_point(copy_constructor:eqproto.Tint)
}
void Tint::SharedCtor() {
::memset(&blue_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&color_) -
reinterpret_cast<char*>(&blue_)) + sizeof(color_));
_cached_size_ = 0;
}
Tint::~Tint() {
// @@protoc_insertion_point(destructor:eqproto.Tint)
SharedDtor();
}
void Tint::SharedDtor() {
}
void Tint::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* Tint::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const Tint& Tint::default_instance() {
::protobuf_message_2eproto::InitDefaultsTint();
return *internal_default_instance();
}
Tint* Tint::New(::google::protobuf::Arena* arena) const {
Tint* n = new Tint;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void Tint::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.Tint)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&blue_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&color_) -
reinterpret_cast<char*>(&blue_)) + sizeof(color_));
_internal_metadata_.Clear();
}
bool Tint::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.Tint)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 Blue = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &blue_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 Green = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &green_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 Red = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &red_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 UseTint = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &usetint_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 Color = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &color_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.Tint)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.Tint)
return false;
#undef DO_
}
void Tint::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.Tint)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 Blue = 1;
if (this->blue() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->blue(), output);
}
// uint32 Green = 2;
if (this->green() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->green(), output);
}
// uint32 Red = 3;
if (this->red() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->red(), output);
}
// uint32 UseTint = 4;
if (this->usetint() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->usetint(), output);
}
// uint32 Color = 5;
if (this->color() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->color(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.Tint)
}
::google::protobuf::uint8* Tint::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.Tint)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 Blue = 1;
if (this->blue() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->blue(), target);
}
// uint32 Green = 2;
if (this->green() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->green(), target);
}
// uint32 Red = 3;
if (this->red() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->red(), target);
}
// uint32 UseTint = 4;
if (this->usetint() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->usetint(), target);
}
// uint32 Color = 5;
if (this->color() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->color(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.Tint)
return target;
}
size_t Tint::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.Tint)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 Blue = 1;
if (this->blue() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->blue());
}
// uint32 Green = 2;
if (this->green() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->green());
}
// uint32 Red = 3;
if (this->red() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->red());
}
// uint32 UseTint = 4;
if (this->usetint() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->usetint());
}
// uint32 Color = 5;
if (this->color() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->color());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void Tint::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.Tint)
GOOGLE_DCHECK_NE(&from, this);
const Tint* source =
::google::protobuf::internal::DynamicCastToGenerated<const Tint>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.Tint)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.Tint)
MergeFrom(*source);
}
}
void Tint::MergeFrom(const Tint& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.Tint)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.blue() != 0) {
set_blue(from.blue());
}
if (from.green() != 0) {
set_green(from.green());
}
if (from.red() != 0) {
set_red(from.red());
}
if (from.usetint() != 0) {
set_usetint(from.usetint());
}
if (from.color() != 0) {
set_color(from.color());
}
}
void Tint::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.Tint)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Tint::CopyFrom(const Tint& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.Tint)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Tint::IsInitialized() const {
return true;
}
void Tint::Swap(Tint* other) {
if (other == this) return;
InternalSwap(other);
}
void Tint::InternalSwap(Tint* other) {
using std::swap;
swap(blue_, other->blue_);
swap(green_, other->green_);
swap(red_, other->red_);
swap(usetint_, other->usetint_);
swap(color_, other->color_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata Tint::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void Event::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int Event::kOpFieldNumber;
const int Event::kPayloadFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
Event::Event()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.Event)
}
Event::Event(const Event& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
payload_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.payload().size() > 0) {
payload_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.payload_);
}
op_ = from.op_;
// @@protoc_insertion_point(copy_constructor:eqproto.Event)
}
void Event::SharedCtor() {
payload_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
op_ = 0;
_cached_size_ = 0;
}
Event::~Event() {
// @@protoc_insertion_point(destructor:eqproto.Event)
SharedDtor();
}
void Event::SharedDtor() {
payload_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void Event::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* Event::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const Event& Event::default_instance() {
::protobuf_message_2eproto::InitDefaultsEvent();
return *internal_default_instance();
}
Event* Event::New(::google::protobuf::Arena* arena) const {
Event* n = new Event;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void Event::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.Event)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
payload_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
op_ = 0;
_internal_metadata_.Clear();
}
bool Event::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.Event)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// .eqproto.OpCode op = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
int value;
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
input, &value)));
set_op(static_cast< ::eqproto::OpCode >(value));
} else {
goto handle_unusual;
}
break;
}
// bytes payload = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
input, this->mutable_payload()));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.Event)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.Event)
return false;
#undef DO_
}
void Event::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.Event)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .eqproto.OpCode op = 1;
if (this->op() != 0) {
::google::protobuf::internal::WireFormatLite::WriteEnum(
1, this->op(), output);
}
// bytes payload = 2;
if (this->payload().size() > 0) {
::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2, this->payload(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.Event)
}
::google::protobuf::uint8* Event::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.Event)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .eqproto.OpCode op = 1;
if (this->op() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1, this->op(), target);
}
// bytes payload = 2;
if (this->payload().size() > 0) {
target =
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2, this->payload(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.Event)
return target;
}
size_t Event::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.Event)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// bytes payload = 2;
if (this->payload().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::BytesSize(
this->payload());
}
// .eqproto.OpCode op = 1;
if (this->op() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::EnumSize(this->op());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void Event::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.Event)
GOOGLE_DCHECK_NE(&from, this);
const Event* source =
::google::protobuf::internal::DynamicCastToGenerated<const Event>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.Event)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.Event)
MergeFrom(*source);
}
}
void Event::MergeFrom(const Event& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.Event)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.payload().size() > 0) {
payload_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.payload_);
}
if (from.op() != 0) {
set_op(from.op());
}
}
void Event::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.Event)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Event::CopyFrom(const Event& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.Event)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool Event::IsInitialized() const {
return true;
}
void Event::Swap(Event* other) {
if (other == this) return;
InternalSwap(other);
}
void Event::InternalSwap(Event* other) {
using std::swap;
payload_.Swap(&other->payload_);
swap(op_, other->op_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata Event::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void DeathEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int DeathEvent::kSpawnIdFieldNumber;
const int DeathEvent::kKillerIdFieldNumber;
const int DeathEvent::kCorpseIdFieldNumber;
const int DeathEvent::kBindZoneIdFieldNumber;
const int DeathEvent::kSpellIdFieldNumber;
const int DeathEvent::kAttackSkillIdFieldNumber;
const int DeathEvent::kDamageFieldNumber;
const int DeathEvent::kUnknown028FieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
DeathEvent::DeathEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsDeathEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.DeathEvent)
}
DeathEvent::DeathEvent(const DeathEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&spawn_id_, &from.spawn_id_,
static_cast<size_t>(reinterpret_cast<char*>(&unknown028_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(unknown028_));
// @@protoc_insertion_point(copy_constructor:eqproto.DeathEvent)
}
void DeathEvent::SharedCtor() {
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&unknown028_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(unknown028_));
_cached_size_ = 0;
}
DeathEvent::~DeathEvent() {
// @@protoc_insertion_point(destructor:eqproto.DeathEvent)
SharedDtor();
}
void DeathEvent::SharedDtor() {
}
void DeathEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* DeathEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const DeathEvent& DeathEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsDeathEvent();
return *internal_default_instance();
}
DeathEvent* DeathEvent::New(::google::protobuf::Arena* arena) const {
DeathEvent* n = new DeathEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void DeathEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.DeathEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&unknown028_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(unknown028_));
_internal_metadata_.Clear();
}
bool DeathEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.DeathEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 spawn_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawn_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 killer_id = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &killer_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 corpse_id = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &corpse_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 bind_zone_id = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &bind_zone_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 spell_id = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spell_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 attack_skill_id = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &attack_skill_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 damage = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &damage_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown028 = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown028_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.DeathEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.DeathEvent)
return false;
#undef DO_
}
void DeathEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.DeathEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawn_id(), output);
}
// uint32 killer_id = 2;
if (this->killer_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->killer_id(), output);
}
// uint32 corpse_id = 3;
if (this->corpse_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->corpse_id(), output);
}
// uint32 bind_zone_id = 4;
if (this->bind_zone_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->bind_zone_id(), output);
}
// uint32 spell_id = 5;
if (this->spell_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->spell_id(), output);
}
// uint32 attack_skill_id = 6;
if (this->attack_skill_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->attack_skill_id(), output);
}
// uint32 damage = 7;
if (this->damage() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->damage(), output);
}
// uint32 unknown028 = 8;
if (this->unknown028() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->unknown028(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.DeathEvent)
}
::google::protobuf::uint8* DeathEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.DeathEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawn_id(), target);
}
// uint32 killer_id = 2;
if (this->killer_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->killer_id(), target);
}
// uint32 corpse_id = 3;
if (this->corpse_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->corpse_id(), target);
}
// uint32 bind_zone_id = 4;
if (this->bind_zone_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->bind_zone_id(), target);
}
// uint32 spell_id = 5;
if (this->spell_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->spell_id(), target);
}
// uint32 attack_skill_id = 6;
if (this->attack_skill_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->attack_skill_id(), target);
}
// uint32 damage = 7;
if (this->damage() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->damage(), target);
}
// uint32 unknown028 = 8;
if (this->unknown028() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->unknown028(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.DeathEvent)
return target;
}
size_t DeathEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.DeathEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawn_id());
}
// uint32 killer_id = 2;
if (this->killer_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->killer_id());
}
// uint32 corpse_id = 3;
if (this->corpse_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->corpse_id());
}
// uint32 bind_zone_id = 4;
if (this->bind_zone_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->bind_zone_id());
}
// uint32 spell_id = 5;
if (this->spell_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spell_id());
}
// uint32 attack_skill_id = 6;
if (this->attack_skill_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->attack_skill_id());
}
// uint32 damage = 7;
if (this->damage() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->damage());
}
// uint32 unknown028 = 8;
if (this->unknown028() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown028());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void DeathEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.DeathEvent)
GOOGLE_DCHECK_NE(&from, this);
const DeathEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const DeathEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.DeathEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.DeathEvent)
MergeFrom(*source);
}
}
void DeathEvent::MergeFrom(const DeathEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.DeathEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.spawn_id() != 0) {
set_spawn_id(from.spawn_id());
}
if (from.killer_id() != 0) {
set_killer_id(from.killer_id());
}
if (from.corpse_id() != 0) {
set_corpse_id(from.corpse_id());
}
if (from.bind_zone_id() != 0) {
set_bind_zone_id(from.bind_zone_id());
}
if (from.spell_id() != 0) {
set_spell_id(from.spell_id());
}
if (from.attack_skill_id() != 0) {
set_attack_skill_id(from.attack_skill_id());
}
if (from.damage() != 0) {
set_damage(from.damage());
}
if (from.unknown028() != 0) {
set_unknown028(from.unknown028());
}
}
void DeathEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.DeathEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DeathEvent::CopyFrom(const DeathEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.DeathEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool DeathEvent::IsInitialized() const {
return true;
}
void DeathEvent::Swap(DeathEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void DeathEvent::InternalSwap(DeathEvent* other) {
using std::swap;
swap(spawn_id_, other->spawn_id_);
swap(killer_id_, other->killer_id_);
swap(corpse_id_, other->corpse_id_);
swap(bind_zone_id_, other->bind_zone_id_);
swap(spell_id_, other->spell_id_);
swap(attack_skill_id_, other->attack_skill_id_);
swap(damage_, other->damage_);
swap(unknown028_, other->unknown028_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata DeathEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void DamageEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int DamageEvent::kTargetFieldNumber;
const int DamageEvent::kSourceFieldNumber;
const int DamageEvent::kTypeFieldNumber;
const int DamageEvent::kSpellidFieldNumber;
const int DamageEvent::kDamageFieldNumber;
const int DamageEvent::kForceFieldNumber;
const int DamageEvent::kMeleepushXyFieldNumber;
const int DamageEvent::kMeleepushZFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
DamageEvent::DamageEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsDamageEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.DamageEvent)
}
DamageEvent::DamageEvent(const DamageEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&target_, &from.target_,
static_cast<size_t>(reinterpret_cast<char*>(&meleepush_z_) -
reinterpret_cast<char*>(&target_)) + sizeof(meleepush_z_));
// @@protoc_insertion_point(copy_constructor:eqproto.DamageEvent)
}
void DamageEvent::SharedCtor() {
::memset(&target_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&meleepush_z_) -
reinterpret_cast<char*>(&target_)) + sizeof(meleepush_z_));
_cached_size_ = 0;
}
DamageEvent::~DamageEvent() {
// @@protoc_insertion_point(destructor:eqproto.DamageEvent)
SharedDtor();
}
void DamageEvent::SharedDtor() {
}
void DamageEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* DamageEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const DamageEvent& DamageEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsDamageEvent();
return *internal_default_instance();
}
DamageEvent* DamageEvent::New(::google::protobuf::Arena* arena) const {
DamageEvent* n = new DamageEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void DamageEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.DamageEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&target_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&meleepush_z_) -
reinterpret_cast<char*>(&target_)) + sizeof(meleepush_z_));
_internal_metadata_.Clear();
}
bool DamageEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.DamageEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 target = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &target_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 source = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &source_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 type = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &type_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 spellid = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spellid_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 damage = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &damage_)));
} else {
goto handle_unusual;
}
break;
}
// float force = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &force_)));
} else {
goto handle_unusual;
}
break;
}
// float meleepush_xy = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &meleepush_xy_)));
} else {
goto handle_unusual;
}
break;
}
// float meleepush_z = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &meleepush_z_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.DamageEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.DamageEvent)
return false;
#undef DO_
}
void DamageEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.DamageEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 target = 1;
if (this->target() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->target(), output);
}
// uint32 source = 2;
if (this->source() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->source(), output);
}
// uint32 type = 3;
if (this->type() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->type(), output);
}
// uint32 spellid = 4;
if (this->spellid() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->spellid(), output);
}
// uint32 damage = 5;
if (this->damage() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->damage(), output);
}
// float force = 6;
if (this->force() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->force(), output);
}
// float meleepush_xy = 7;
if (this->meleepush_xy() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->meleepush_xy(), output);
}
// float meleepush_z = 8;
if (this->meleepush_z() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->meleepush_z(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.DamageEvent)
}
::google::protobuf::uint8* DamageEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.DamageEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 target = 1;
if (this->target() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->target(), target);
}
// uint32 source = 2;
if (this->source() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->source(), target);
}
// uint32 type = 3;
if (this->type() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->type(), target);
}
// uint32 spellid = 4;
if (this->spellid() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->spellid(), target);
}
// uint32 damage = 5;
if (this->damage() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->damage(), target);
}
// float force = 6;
if (this->force() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->force(), target);
}
// float meleepush_xy = 7;
if (this->meleepush_xy() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->meleepush_xy(), target);
}
// float meleepush_z = 8;
if (this->meleepush_z() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->meleepush_z(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.DamageEvent)
return target;
}
size_t DamageEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.DamageEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 target = 1;
if (this->target() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->target());
}
// uint32 source = 2;
if (this->source() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->source());
}
// uint32 type = 3;
if (this->type() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->type());
}
// uint32 spellid = 4;
if (this->spellid() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spellid());
}
// uint32 damage = 5;
if (this->damage() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->damage());
}
// float force = 6;
if (this->force() != 0) {
total_size += 1 + 4;
}
// float meleepush_xy = 7;
if (this->meleepush_xy() != 0) {
total_size += 1 + 4;
}
// float meleepush_z = 8;
if (this->meleepush_z() != 0) {
total_size += 1 + 4;
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void DamageEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.DamageEvent)
GOOGLE_DCHECK_NE(&from, this);
const DamageEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const DamageEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.DamageEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.DamageEvent)
MergeFrom(*source);
}
}
void DamageEvent::MergeFrom(const DamageEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.DamageEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.target() != 0) {
set_target(from.target());
}
if (from.source() != 0) {
set_source(from.source());
}
if (from.type() != 0) {
set_type(from.type());
}
if (from.spellid() != 0) {
set_spellid(from.spellid());
}
if (from.damage() != 0) {
set_damage(from.damage());
}
if (from.force() != 0) {
set_force(from.force());
}
if (from.meleepush_xy() != 0) {
set_meleepush_xy(from.meleepush_xy());
}
if (from.meleepush_z() != 0) {
set_meleepush_z(from.meleepush_z());
}
}
void DamageEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.DamageEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DamageEvent::CopyFrom(const DamageEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.DamageEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool DamageEvent::IsInitialized() const {
return true;
}
void DamageEvent::Swap(DamageEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void DamageEvent::InternalSwap(DamageEvent* other) {
using std::swap;
swap(target_, other->target_);
swap(source_, other->source_);
swap(type_, other->type_);
swap(spellid_, other->spellid_);
swap(damage_, other->damage_);
swap(force_, other->force_);
swap(meleepush_xy_, other->meleepush_xy_);
swap(meleepush_z_, other->meleepush_z_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata DamageEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void EntityEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int EntityEvent::kEntityIdFieldNumber;
const int EntityEvent::kTargetIdFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
EntityEvent::EntityEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsEntityEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.EntityEvent)
}
EntityEvent::EntityEvent(const EntityEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&entity_id_, &from.entity_id_,
static_cast<size_t>(reinterpret_cast<char*>(&target_id_) -
reinterpret_cast<char*>(&entity_id_)) + sizeof(target_id_));
// @@protoc_insertion_point(copy_constructor:eqproto.EntityEvent)
}
void EntityEvent::SharedCtor() {
::memset(&entity_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&target_id_) -
reinterpret_cast<char*>(&entity_id_)) + sizeof(target_id_));
_cached_size_ = 0;
}
EntityEvent::~EntityEvent() {
// @@protoc_insertion_point(destructor:eqproto.EntityEvent)
SharedDtor();
}
void EntityEvent::SharedDtor() {
}
void EntityEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* EntityEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const EntityEvent& EntityEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsEntityEvent();
return *internal_default_instance();
}
EntityEvent* EntityEvent::New(::google::protobuf::Arena* arena) const {
EntityEvent* n = new EntityEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void EntityEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.EntityEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&entity_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&target_id_) -
reinterpret_cast<char*>(&entity_id_)) + sizeof(target_id_));
_internal_metadata_.Clear();
}
bool EntityEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.EntityEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 entity_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &entity_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 target_id = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &target_id_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.EntityEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.EntityEvent)
return false;
#undef DO_
}
void EntityEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.EntityEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 entity_id = 1;
if (this->entity_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->entity_id(), output);
}
// uint32 target_id = 2;
if (this->target_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->target_id(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.EntityEvent)
}
::google::protobuf::uint8* EntityEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.EntityEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 entity_id = 1;
if (this->entity_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->entity_id(), target);
}
// uint32 target_id = 2;
if (this->target_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->target_id(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.EntityEvent)
return target;
}
size_t EntityEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.EntityEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 entity_id = 1;
if (this->entity_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->entity_id());
}
// uint32 target_id = 2;
if (this->target_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->target_id());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void EntityEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.EntityEvent)
GOOGLE_DCHECK_NE(&from, this);
const EntityEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const EntityEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.EntityEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.EntityEvent)
MergeFrom(*source);
}
}
void EntityEvent::MergeFrom(const EntityEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.EntityEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.entity_id() != 0) {
set_entity_id(from.entity_id());
}
if (from.target_id() != 0) {
set_target_id(from.target_id());
}
}
void EntityEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.EntityEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void EntityEvent::CopyFrom(const EntityEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.EntityEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool EntityEvent::IsInitialized() const {
return true;
}
void EntityEvent::Swap(EntityEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void EntityEvent::InternalSwap(EntityEvent* other) {
using std::swap;
swap(entity_id_, other->entity_id_);
swap(target_id_, other->target_id_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata EntityEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void ChannelMessageEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int ChannelMessageEvent::kTargetNameFieldNumber;
const int ChannelMessageEvent::kSenderFieldNumber;
const int ChannelMessageEvent::kLanguageFieldNumber;
const int ChannelMessageEvent::kChanNumFieldNumber;
const int ChannelMessageEvent::kCmUnknown4FieldNumber;
const int ChannelMessageEvent::kSkillInLanguageFieldNumber;
const int ChannelMessageEvent::kMessageFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
ChannelMessageEvent::ChannelMessageEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsChannelMessageEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.ChannelMessageEvent)
}
ChannelMessageEvent::ChannelMessageEvent(const ChannelMessageEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
target_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.target_name().size() > 0) {
target_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_name_);
}
sender_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.sender().size() > 0) {
sender_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sender_);
}
message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.message().size() > 0) {
message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
}
::memcpy(&language_, &from.language_,
static_cast<size_t>(reinterpret_cast<char*>(&skill_in_language_) -
reinterpret_cast<char*>(&language_)) + sizeof(skill_in_language_));
// @@protoc_insertion_point(copy_constructor:eqproto.ChannelMessageEvent)
}
void ChannelMessageEvent::SharedCtor() {
target_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
sender_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&language_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&skill_in_language_) -
reinterpret_cast<char*>(&language_)) + sizeof(skill_in_language_));
_cached_size_ = 0;
}
ChannelMessageEvent::~ChannelMessageEvent() {
// @@protoc_insertion_point(destructor:eqproto.ChannelMessageEvent)
SharedDtor();
}
void ChannelMessageEvent::SharedDtor() {
target_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
sender_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void ChannelMessageEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* ChannelMessageEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const ChannelMessageEvent& ChannelMessageEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsChannelMessageEvent();
return *internal_default_instance();
}
ChannelMessageEvent* ChannelMessageEvent::New(::google::protobuf::Arena* arena) const {
ChannelMessageEvent* n = new ChannelMessageEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void ChannelMessageEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.ChannelMessageEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
target_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
sender_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&language_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&skill_in_language_) -
reinterpret_cast<char*>(&language_)) + sizeof(skill_in_language_));
_internal_metadata_.Clear();
}
bool ChannelMessageEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.ChannelMessageEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// string target_name = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_target_name()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->target_name().data(), static_cast<int>(this->target_name().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessageEvent.target_name"));
} else {
goto handle_unusual;
}
break;
}
// string sender = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_sender()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->sender().data(), static_cast<int>(this->sender().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessageEvent.sender"));
} else {
goto handle_unusual;
}
break;
}
// uint32 language = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &language_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 chan_num = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &chan_num_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 cm_unknown4 = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &cm_unknown4_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 skill_in_language = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &skill_in_language_)));
} else {
goto handle_unusual;
}
break;
}
// string message = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_message()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->message().data(), static_cast<int>(this->message().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.ChannelMessageEvent.message"));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.ChannelMessageEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.ChannelMessageEvent)
return false;
#undef DO_
}
void ChannelMessageEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.ChannelMessageEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string target_name = 1;
if (this->target_name().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->target_name().data(), static_cast<int>(this->target_name().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessageEvent.target_name");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1, this->target_name(), output);
}
// string sender = 2;
if (this->sender().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->sender().data(), static_cast<int>(this->sender().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessageEvent.sender");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2, this->sender(), output);
}
// uint32 language = 3;
if (this->language() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->language(), output);
}
// uint32 chan_num = 4;
if (this->chan_num() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->chan_num(), output);
}
// uint32 cm_unknown4 = 5;
if (this->cm_unknown4() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->cm_unknown4(), output);
}
// uint32 skill_in_language = 6;
if (this->skill_in_language() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->skill_in_language(), output);
}
// string message = 7;
if (this->message().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->message().data(), static_cast<int>(this->message().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessageEvent.message");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7, this->message(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.ChannelMessageEvent)
}
::google::protobuf::uint8* ChannelMessageEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.ChannelMessageEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string target_name = 1;
if (this->target_name().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->target_name().data(), static_cast<int>(this->target_name().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessageEvent.target_name");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1, this->target_name(), target);
}
// string sender = 2;
if (this->sender().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->sender().data(), static_cast<int>(this->sender().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessageEvent.sender");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2, this->sender(), target);
}
// uint32 language = 3;
if (this->language() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->language(), target);
}
// uint32 chan_num = 4;
if (this->chan_num() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->chan_num(), target);
}
// uint32 cm_unknown4 = 5;
if (this->cm_unknown4() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->cm_unknown4(), target);
}
// uint32 skill_in_language = 6;
if (this->skill_in_language() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->skill_in_language(), target);
}
// string message = 7;
if (this->message().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->message().data(), static_cast<int>(this->message().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.ChannelMessageEvent.message");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7, this->message(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.ChannelMessageEvent)
return target;
}
size_t ChannelMessageEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.ChannelMessageEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// string target_name = 1;
if (this->target_name().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->target_name());
}
// string sender = 2;
if (this->sender().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->sender());
}
// string message = 7;
if (this->message().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->message());
}
// uint32 language = 3;
if (this->language() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->language());
}
// uint32 chan_num = 4;
if (this->chan_num() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->chan_num());
}
// uint32 cm_unknown4 = 5;
if (this->cm_unknown4() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->cm_unknown4());
}
// uint32 skill_in_language = 6;
if (this->skill_in_language() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->skill_in_language());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void ChannelMessageEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.ChannelMessageEvent)
GOOGLE_DCHECK_NE(&from, this);
const ChannelMessageEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const ChannelMessageEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.ChannelMessageEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.ChannelMessageEvent)
MergeFrom(*source);
}
}
void ChannelMessageEvent::MergeFrom(const ChannelMessageEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.ChannelMessageEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.target_name().size() > 0) {
target_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_name_);
}
if (from.sender().size() > 0) {
sender_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sender_);
}
if (from.message().size() > 0) {
message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
}
if (from.language() != 0) {
set_language(from.language());
}
if (from.chan_num() != 0) {
set_chan_num(from.chan_num());
}
if (from.cm_unknown4() != 0) {
set_cm_unknown4(from.cm_unknown4());
}
if (from.skill_in_language() != 0) {
set_skill_in_language(from.skill_in_language());
}
}
void ChannelMessageEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.ChannelMessageEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ChannelMessageEvent::CopyFrom(const ChannelMessageEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.ChannelMessageEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool ChannelMessageEvent::IsInitialized() const {
return true;
}
void ChannelMessageEvent::Swap(ChannelMessageEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void ChannelMessageEvent::InternalSwap(ChannelMessageEvent* other) {
using std::swap;
target_name_.Swap(&other->target_name_);
sender_.Swap(&other->sender_);
message_.Swap(&other->message_);
swap(language_, other->language_);
swap(chan_num_, other->chan_num_);
swap(cm_unknown4_, other->cm_unknown4_);
swap(skill_in_language_, other->skill_in_language_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata ChannelMessageEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void WearChangeEvent::InitAsDefaultInstance() {
::eqproto::_WearChangeEvent_default_instance_._instance.get_mutable()->color_ = const_cast< ::eqproto::Tint*>(
::eqproto::Tint::internal_default_instance());
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int WearChangeEvent::kSpawnIdFieldNumber;
const int WearChangeEvent::kMaterialFieldNumber;
const int WearChangeEvent::kUnknown06FieldNumber;
const int WearChangeEvent::kEliteMaterialFieldNumber;
const int WearChangeEvent::kHeroForgeModelFieldNumber;
const int WearChangeEvent::kUnknown18FieldNumber;
const int WearChangeEvent::kColorFieldNumber;
const int WearChangeEvent::kWearSlotIdFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
WearChangeEvent::WearChangeEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsWearChangeEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.WearChangeEvent)
}
WearChangeEvent::WearChangeEvent(const WearChangeEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
if (from.has_color()) {
color_ = new ::eqproto::Tint(*from.color_);
} else {
color_ = NULL;
}
::memcpy(&spawn_id_, &from.spawn_id_,
static_cast<size_t>(reinterpret_cast<char*>(&wear_slot_id_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(wear_slot_id_));
// @@protoc_insertion_point(copy_constructor:eqproto.WearChangeEvent)
}
void WearChangeEvent::SharedCtor() {
::memset(&color_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&wear_slot_id_) -
reinterpret_cast<char*>(&color_)) + sizeof(wear_slot_id_));
_cached_size_ = 0;
}
WearChangeEvent::~WearChangeEvent() {
// @@protoc_insertion_point(destructor:eqproto.WearChangeEvent)
SharedDtor();
}
void WearChangeEvent::SharedDtor() {
if (this != internal_default_instance()) delete color_;
}
void WearChangeEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* WearChangeEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const WearChangeEvent& WearChangeEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsWearChangeEvent();
return *internal_default_instance();
}
WearChangeEvent* WearChangeEvent::New(::google::protobuf::Arena* arena) const {
WearChangeEvent* n = new WearChangeEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void WearChangeEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.WearChangeEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
if (GetArenaNoVirtual() == NULL && color_ != NULL) {
delete color_;
}
color_ = NULL;
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&wear_slot_id_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(wear_slot_id_));
_internal_metadata_.Clear();
}
bool WearChangeEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.WearChangeEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 spawn_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawn_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 material = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &material_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown06 = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown06_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 elite_material = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &elite_material_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 hero_forge_model = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &hero_forge_model_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown18 = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown18_)));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.Tint color = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_color()));
} else {
goto handle_unusual;
}
break;
}
// uint32 wear_slot_id = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &wear_slot_id_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.WearChangeEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.WearChangeEvent)
return false;
#undef DO_
}
void WearChangeEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.WearChangeEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawn_id(), output);
}
// uint32 material = 2;
if (this->material() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->material(), output);
}
// uint32 unknown06 = 3;
if (this->unknown06() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->unknown06(), output);
}
// uint32 elite_material = 4;
if (this->elite_material() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->elite_material(), output);
}
// uint32 hero_forge_model = 5;
if (this->hero_forge_model() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->hero_forge_model(), output);
}
// uint32 unknown18 = 6;
if (this->unknown18() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->unknown18(), output);
}
// .eqproto.Tint color = 7;
if (this->has_color()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7, *this->color_, output);
}
// uint32 wear_slot_id = 8;
if (this->wear_slot_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->wear_slot_id(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.WearChangeEvent)
}
::google::protobuf::uint8* WearChangeEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.WearChangeEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawn_id(), target);
}
// uint32 material = 2;
if (this->material() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->material(), target);
}
// uint32 unknown06 = 3;
if (this->unknown06() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->unknown06(), target);
}
// uint32 elite_material = 4;
if (this->elite_material() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->elite_material(), target);
}
// uint32 hero_forge_model = 5;
if (this->hero_forge_model() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->hero_forge_model(), target);
}
// uint32 unknown18 = 6;
if (this->unknown18() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->unknown18(), target);
}
// .eqproto.Tint color = 7;
if (this->has_color()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
7, *this->color_, deterministic, target);
}
// uint32 wear_slot_id = 8;
if (this->wear_slot_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->wear_slot_id(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.WearChangeEvent)
return target;
}
size_t WearChangeEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.WearChangeEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// .eqproto.Tint color = 7;
if (this->has_color()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->color_);
}
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawn_id());
}
// uint32 material = 2;
if (this->material() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->material());
}
// uint32 unknown06 = 3;
if (this->unknown06() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown06());
}
// uint32 elite_material = 4;
if (this->elite_material() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->elite_material());
}
// uint32 hero_forge_model = 5;
if (this->hero_forge_model() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->hero_forge_model());
}
// uint32 unknown18 = 6;
if (this->unknown18() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown18());
}
// uint32 wear_slot_id = 8;
if (this->wear_slot_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->wear_slot_id());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void WearChangeEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.WearChangeEvent)
GOOGLE_DCHECK_NE(&from, this);
const WearChangeEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const WearChangeEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.WearChangeEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.WearChangeEvent)
MergeFrom(*source);
}
}
void WearChangeEvent::MergeFrom(const WearChangeEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.WearChangeEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.has_color()) {
mutable_color()->::eqproto::Tint::MergeFrom(from.color());
}
if (from.spawn_id() != 0) {
set_spawn_id(from.spawn_id());
}
if (from.material() != 0) {
set_material(from.material());
}
if (from.unknown06() != 0) {
set_unknown06(from.unknown06());
}
if (from.elite_material() != 0) {
set_elite_material(from.elite_material());
}
if (from.hero_forge_model() != 0) {
set_hero_forge_model(from.hero_forge_model());
}
if (from.unknown18() != 0) {
set_unknown18(from.unknown18());
}
if (from.wear_slot_id() != 0) {
set_wear_slot_id(from.wear_slot_id());
}
}
void WearChangeEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.WearChangeEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void WearChangeEvent::CopyFrom(const WearChangeEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.WearChangeEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool WearChangeEvent::IsInitialized() const {
return true;
}
void WearChangeEvent::Swap(WearChangeEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void WearChangeEvent::InternalSwap(WearChangeEvent* other) {
using std::swap;
swap(color_, other->color_);
swap(spawn_id_, other->spawn_id_);
swap(material_, other->material_);
swap(unknown06_, other->unknown06_);
swap(elite_material_, other->elite_material_);
swap(hero_forge_model_, other->hero_forge_model_);
swap(unknown18_, other->unknown18_);
swap(wear_slot_id_, other->wear_slot_id_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata WearChangeEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void DeleteSpawnEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int DeleteSpawnEvent::kSpawnIdFieldNumber;
const int DeleteSpawnEvent::kDecayFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
DeleteSpawnEvent::DeleteSpawnEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsDeleteSpawnEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.DeleteSpawnEvent)
}
DeleteSpawnEvent::DeleteSpawnEvent(const DeleteSpawnEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&spawn_id_, &from.spawn_id_,
static_cast<size_t>(reinterpret_cast<char*>(&decay_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(decay_));
// @@protoc_insertion_point(copy_constructor:eqproto.DeleteSpawnEvent)
}
void DeleteSpawnEvent::SharedCtor() {
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&decay_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(decay_));
_cached_size_ = 0;
}
DeleteSpawnEvent::~DeleteSpawnEvent() {
// @@protoc_insertion_point(destructor:eqproto.DeleteSpawnEvent)
SharedDtor();
}
void DeleteSpawnEvent::SharedDtor() {
}
void DeleteSpawnEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* DeleteSpawnEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const DeleteSpawnEvent& DeleteSpawnEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsDeleteSpawnEvent();
return *internal_default_instance();
}
DeleteSpawnEvent* DeleteSpawnEvent::New(::google::protobuf::Arena* arena) const {
DeleteSpawnEvent* n = new DeleteSpawnEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void DeleteSpawnEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.DeleteSpawnEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&decay_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(decay_));
_internal_metadata_.Clear();
}
bool DeleteSpawnEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.DeleteSpawnEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 spawn_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawn_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 decay = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &decay_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.DeleteSpawnEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.DeleteSpawnEvent)
return false;
#undef DO_
}
void DeleteSpawnEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.DeleteSpawnEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawn_id(), output);
}
// uint32 decay = 2;
if (this->decay() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->decay(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.DeleteSpawnEvent)
}
::google::protobuf::uint8* DeleteSpawnEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.DeleteSpawnEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawn_id(), target);
}
// uint32 decay = 2;
if (this->decay() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->decay(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.DeleteSpawnEvent)
return target;
}
size_t DeleteSpawnEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.DeleteSpawnEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawn_id());
}
// uint32 decay = 2;
if (this->decay() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->decay());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void DeleteSpawnEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.DeleteSpawnEvent)
GOOGLE_DCHECK_NE(&from, this);
const DeleteSpawnEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const DeleteSpawnEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.DeleteSpawnEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.DeleteSpawnEvent)
MergeFrom(*source);
}
}
void DeleteSpawnEvent::MergeFrom(const DeleteSpawnEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.DeleteSpawnEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.spawn_id() != 0) {
set_spawn_id(from.spawn_id());
}
if (from.decay() != 0) {
set_decay(from.decay());
}
}
void DeleteSpawnEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.DeleteSpawnEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DeleteSpawnEvent::CopyFrom(const DeleteSpawnEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.DeleteSpawnEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool DeleteSpawnEvent::IsInitialized() const {
return true;
}
void DeleteSpawnEvent::Swap(DeleteSpawnEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void DeleteSpawnEvent::InternalSwap(DeleteSpawnEvent* other) {
using std::swap;
swap(spawn_id_, other->spawn_id_);
swap(decay_, other->decay_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata DeleteSpawnEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void HPEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int HPEvent::kSpawnIdFieldNumber;
const int HPEvent::kCurHpFieldNumber;
const int HPEvent::kMaxHpFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
HPEvent::HPEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsHPEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.HPEvent)
}
HPEvent::HPEvent(const HPEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&spawn_id_, &from.spawn_id_,
static_cast<size_t>(reinterpret_cast<char*>(&max_hp_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(max_hp_));
// @@protoc_insertion_point(copy_constructor:eqproto.HPEvent)
}
void HPEvent::SharedCtor() {
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&max_hp_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(max_hp_));
_cached_size_ = 0;
}
HPEvent::~HPEvent() {
// @@protoc_insertion_point(destructor:eqproto.HPEvent)
SharedDtor();
}
void HPEvent::SharedDtor() {
}
void HPEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* HPEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const HPEvent& HPEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsHPEvent();
return *internal_default_instance();
}
HPEvent* HPEvent::New(::google::protobuf::Arena* arena) const {
HPEvent* n = new HPEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void HPEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.HPEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&max_hp_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(max_hp_));
_internal_metadata_.Clear();
}
bool HPEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.HPEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 spawn_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawn_id_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 cur_hp = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &cur_hp_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 max_hp = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &max_hp_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.HPEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.HPEvent)
return false;
#undef DO_
}
void HPEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.HPEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawn_id(), output);
}
// uint32 cur_hp = 2;
if (this->cur_hp() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->cur_hp(), output);
}
// uint32 max_hp = 3;
if (this->max_hp() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->max_hp(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.HPEvent)
}
::google::protobuf::uint8* HPEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.HPEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawn_id(), target);
}
// uint32 cur_hp = 2;
if (this->cur_hp() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->cur_hp(), target);
}
// uint32 max_hp = 3;
if (this->max_hp() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->max_hp(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.HPEvent)
return target;
}
size_t HPEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.HPEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawn_id());
}
// uint32 cur_hp = 2;
if (this->cur_hp() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->cur_hp());
}
// uint32 max_hp = 3;
if (this->max_hp() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->max_hp());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void HPEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.HPEvent)
GOOGLE_DCHECK_NE(&from, this);
const HPEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const HPEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.HPEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.HPEvent)
MergeFrom(*source);
}
}
void HPEvent::MergeFrom(const HPEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.HPEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.spawn_id() != 0) {
set_spawn_id(from.spawn_id());
}
if (from.cur_hp() != 0) {
set_cur_hp(from.cur_hp());
}
if (from.max_hp() != 0) {
set_max_hp(from.max_hp());
}
}
void HPEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.HPEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void HPEvent::CopyFrom(const HPEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.HPEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool HPEvent::IsInitialized() const {
return true;
}
void HPEvent::Swap(HPEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void HPEvent::InternalSwap(HPEvent* other) {
using std::swap;
swap(spawn_id_, other->spawn_id_);
swap(cur_hp_, other->cur_hp_);
swap(max_hp_, other->max_hp_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata HPEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void PlayerPositionUpdateEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int PlayerPositionUpdateEvent::kSpawnIdFieldNumber;
const int PlayerPositionUpdateEvent::kDeltaHeadingFieldNumber;
const int PlayerPositionUpdateEvent::kXPosFieldNumber;
const int PlayerPositionUpdateEvent::kPadding0002FieldNumber;
const int PlayerPositionUpdateEvent::kYPosFieldNumber;
const int PlayerPositionUpdateEvent::kAnimationFieldNumber;
const int PlayerPositionUpdateEvent::kPadding0006FieldNumber;
const int PlayerPositionUpdateEvent::kZPosFieldNumber;
const int PlayerPositionUpdateEvent::kDeltaYFieldNumber;
const int PlayerPositionUpdateEvent::kDeltaXFieldNumber;
const int PlayerPositionUpdateEvent::kHeadingFieldNumber;
const int PlayerPositionUpdateEvent::kPadding0014FieldNumber;
const int PlayerPositionUpdateEvent::kDeltaZFieldNumber;
const int PlayerPositionUpdateEvent::kPadding0018FieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
PlayerPositionUpdateEvent::PlayerPositionUpdateEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsPlayerPositionUpdateEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.PlayerPositionUpdateEvent)
}
PlayerPositionUpdateEvent::PlayerPositionUpdateEvent(const PlayerPositionUpdateEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&spawn_id_, &from.spawn_id_,
static_cast<size_t>(reinterpret_cast<char*>(&padding0018_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(padding0018_));
// @@protoc_insertion_point(copy_constructor:eqproto.PlayerPositionUpdateEvent)
}
void PlayerPositionUpdateEvent::SharedCtor() {
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&padding0018_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(padding0018_));
_cached_size_ = 0;
}
PlayerPositionUpdateEvent::~PlayerPositionUpdateEvent() {
// @@protoc_insertion_point(destructor:eqproto.PlayerPositionUpdateEvent)
SharedDtor();
}
void PlayerPositionUpdateEvent::SharedDtor() {
}
void PlayerPositionUpdateEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PlayerPositionUpdateEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const PlayerPositionUpdateEvent& PlayerPositionUpdateEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsPlayerPositionUpdateEvent();
return *internal_default_instance();
}
PlayerPositionUpdateEvent* PlayerPositionUpdateEvent::New(::google::protobuf::Arena* arena) const {
PlayerPositionUpdateEvent* n = new PlayerPositionUpdateEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void PlayerPositionUpdateEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.PlayerPositionUpdateEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&spawn_id_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&padding0018_) -
reinterpret_cast<char*>(&spawn_id_)) + sizeof(padding0018_));
_internal_metadata_.Clear();
}
bool PlayerPositionUpdateEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.PlayerPositionUpdateEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 spawn_id = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawn_id_)));
} else {
goto handle_unusual;
}
break;
}
// int32 delta_heading = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &delta_heading_)));
} else {
goto handle_unusual;
}
break;
}
// int32 x_pos = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &x_pos_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0002 = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0002_)));
} else {
goto handle_unusual;
}
break;
}
// int32 y_pos = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &y_pos_)));
} else {
goto handle_unusual;
}
break;
}
// int32 animation = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &animation_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0006 = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0006_)));
} else {
goto handle_unusual;
}
break;
}
// int32 z_pos = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &z_pos_)));
} else {
goto handle_unusual;
}
break;
}
// int32 delta_y = 9;
case 9: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &delta_y_)));
} else {
goto handle_unusual;
}
break;
}
// int32 delta_x = 10;
case 10: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &delta_x_)));
} else {
goto handle_unusual;
}
break;
}
// int32 heading = 11;
case 11: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &heading_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0014 = 12;
case 12: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0014_)));
} else {
goto handle_unusual;
}
break;
}
// int32 delta_z = 13;
case 13: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &delta_z_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0018 = 14;
case 14: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0018_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.PlayerPositionUpdateEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.PlayerPositionUpdateEvent)
return false;
#undef DO_
}
void PlayerPositionUpdateEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.PlayerPositionUpdateEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawn_id(), output);
}
// int32 delta_heading = 2;
if (this->delta_heading() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->delta_heading(), output);
}
// int32 x_pos = 3;
if (this->x_pos() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->x_pos(), output);
}
// int32 padding0002 = 4;
if (this->padding0002() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->padding0002(), output);
}
// int32 y_pos = 5;
if (this->y_pos() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->y_pos(), output);
}
// int32 animation = 6;
if (this->animation() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->animation(), output);
}
// int32 padding0006 = 7;
if (this->padding0006() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->padding0006(), output);
}
// int32 z_pos = 8;
if (this->z_pos() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->z_pos(), output);
}
// int32 delta_y = 9;
if (this->delta_y() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->delta_y(), output);
}
// int32 delta_x = 10;
if (this->delta_x() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->delta_x(), output);
}
// int32 heading = 11;
if (this->heading() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->heading(), output);
}
// int32 padding0014 = 12;
if (this->padding0014() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->padding0014(), output);
}
// int32 delta_z = 13;
if (this->delta_z() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->delta_z(), output);
}
// int32 padding0018 = 14;
if (this->padding0018() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->padding0018(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.PlayerPositionUpdateEvent)
}
::google::protobuf::uint8* PlayerPositionUpdateEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.PlayerPositionUpdateEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawn_id(), target);
}
// int32 delta_heading = 2;
if (this->delta_heading() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->delta_heading(), target);
}
// int32 x_pos = 3;
if (this->x_pos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->x_pos(), target);
}
// int32 padding0002 = 4;
if (this->padding0002() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->padding0002(), target);
}
// int32 y_pos = 5;
if (this->y_pos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->y_pos(), target);
}
// int32 animation = 6;
if (this->animation() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->animation(), target);
}
// int32 padding0006 = 7;
if (this->padding0006() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->padding0006(), target);
}
// int32 z_pos = 8;
if (this->z_pos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->z_pos(), target);
}
// int32 delta_y = 9;
if (this->delta_y() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->delta_y(), target);
}
// int32 delta_x = 10;
if (this->delta_x() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->delta_x(), target);
}
// int32 heading = 11;
if (this->heading() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->heading(), target);
}
// int32 padding0014 = 12;
if (this->padding0014() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->padding0014(), target);
}
// int32 delta_z = 13;
if (this->delta_z() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->delta_z(), target);
}
// int32 padding0018 = 14;
if (this->padding0018() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->padding0018(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.PlayerPositionUpdateEvent)
return target;
}
size_t PlayerPositionUpdateEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.PlayerPositionUpdateEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 spawn_id = 1;
if (this->spawn_id() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawn_id());
}
// int32 delta_heading = 2;
if (this->delta_heading() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->delta_heading());
}
// int32 x_pos = 3;
if (this->x_pos() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->x_pos());
}
// int32 padding0002 = 4;
if (this->padding0002() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0002());
}
// int32 y_pos = 5;
if (this->y_pos() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->y_pos());
}
// int32 animation = 6;
if (this->animation() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->animation());
}
// int32 padding0006 = 7;
if (this->padding0006() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0006());
}
// int32 z_pos = 8;
if (this->z_pos() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->z_pos());
}
// int32 delta_y = 9;
if (this->delta_y() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->delta_y());
}
// int32 delta_x = 10;
if (this->delta_x() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->delta_x());
}
// int32 heading = 11;
if (this->heading() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->heading());
}
// int32 padding0014 = 12;
if (this->padding0014() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0014());
}
// int32 delta_z = 13;
if (this->delta_z() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->delta_z());
}
// int32 padding0018 = 14;
if (this->padding0018() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0018());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void PlayerPositionUpdateEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.PlayerPositionUpdateEvent)
GOOGLE_DCHECK_NE(&from, this);
const PlayerPositionUpdateEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const PlayerPositionUpdateEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.PlayerPositionUpdateEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.PlayerPositionUpdateEvent)
MergeFrom(*source);
}
}
void PlayerPositionUpdateEvent::MergeFrom(const PlayerPositionUpdateEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.PlayerPositionUpdateEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.spawn_id() != 0) {
set_spawn_id(from.spawn_id());
}
if (from.delta_heading() != 0) {
set_delta_heading(from.delta_heading());
}
if (from.x_pos() != 0) {
set_x_pos(from.x_pos());
}
if (from.padding0002() != 0) {
set_padding0002(from.padding0002());
}
if (from.y_pos() != 0) {
set_y_pos(from.y_pos());
}
if (from.animation() != 0) {
set_animation(from.animation());
}
if (from.padding0006() != 0) {
set_padding0006(from.padding0006());
}
if (from.z_pos() != 0) {
set_z_pos(from.z_pos());
}
if (from.delta_y() != 0) {
set_delta_y(from.delta_y());
}
if (from.delta_x() != 0) {
set_delta_x(from.delta_x());
}
if (from.heading() != 0) {
set_heading(from.heading());
}
if (from.padding0014() != 0) {
set_padding0014(from.padding0014());
}
if (from.delta_z() != 0) {
set_delta_z(from.delta_z());
}
if (from.padding0018() != 0) {
set_padding0018(from.padding0018());
}
}
void PlayerPositionUpdateEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.PlayerPositionUpdateEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void PlayerPositionUpdateEvent::CopyFrom(const PlayerPositionUpdateEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.PlayerPositionUpdateEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool PlayerPositionUpdateEvent::IsInitialized() const {
return true;
}
void PlayerPositionUpdateEvent::Swap(PlayerPositionUpdateEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void PlayerPositionUpdateEvent::InternalSwap(PlayerPositionUpdateEvent* other) {
using std::swap;
swap(spawn_id_, other->spawn_id_);
swap(delta_heading_, other->delta_heading_);
swap(x_pos_, other->x_pos_);
swap(padding0002_, other->padding0002_);
swap(y_pos_, other->y_pos_);
swap(animation_, other->animation_);
swap(padding0006_, other->padding0006_);
swap(z_pos_, other->z_pos_);
swap(delta_y_, other->delta_y_);
swap(delta_x_, other->delta_x_);
swap(heading_, other->heading_);
swap(padding0014_, other->padding0014_);
swap(delta_z_, other->delta_z_);
swap(padding0018_, other->padding0018_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata PlayerPositionUpdateEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void AnimationEvent::InitAsDefaultInstance() {
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int AnimationEvent::kSpawnidFieldNumber;
const int AnimationEvent::kSpeedFieldNumber;
const int AnimationEvent::kActionFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
AnimationEvent::AnimationEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsAnimationEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.AnimationEvent)
}
AnimationEvent::AnimationEvent(const AnimationEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&spawnid_, &from.spawnid_,
static_cast<size_t>(reinterpret_cast<char*>(&action_) -
reinterpret_cast<char*>(&spawnid_)) + sizeof(action_));
// @@protoc_insertion_point(copy_constructor:eqproto.AnimationEvent)
}
void AnimationEvent::SharedCtor() {
::memset(&spawnid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&action_) -
reinterpret_cast<char*>(&spawnid_)) + sizeof(action_));
_cached_size_ = 0;
}
AnimationEvent::~AnimationEvent() {
// @@protoc_insertion_point(destructor:eqproto.AnimationEvent)
SharedDtor();
}
void AnimationEvent::SharedDtor() {
}
void AnimationEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* AnimationEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const AnimationEvent& AnimationEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsAnimationEvent();
return *internal_default_instance();
}
AnimationEvent* AnimationEvent::New(::google::protobuf::Arena* arena) const {
AnimationEvent* n = new AnimationEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void AnimationEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.AnimationEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&spawnid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&action_) -
reinterpret_cast<char*>(&spawnid_)) + sizeof(action_));
_internal_metadata_.Clear();
}
bool AnimationEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.AnimationEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 spawnid = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawnid_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 speed = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &speed_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 action = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &action_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.AnimationEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.AnimationEvent)
return false;
#undef DO_
}
void AnimationEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.AnimationEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawnid = 1;
if (this->spawnid() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawnid(), output);
}
// uint32 speed = 2;
if (this->speed() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->speed(), output);
}
// uint32 action = 3;
if (this->action() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->action(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.AnimationEvent)
}
::google::protobuf::uint8* AnimationEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.AnimationEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 spawnid = 1;
if (this->spawnid() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawnid(), target);
}
// uint32 speed = 2;
if (this->speed() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->speed(), target);
}
// uint32 action = 3;
if (this->action() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->action(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.AnimationEvent)
return target;
}
size_t AnimationEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.AnimationEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// uint32 spawnid = 1;
if (this->spawnid() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawnid());
}
// uint32 speed = 2;
if (this->speed() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->speed());
}
// uint32 action = 3;
if (this->action() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->action());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void AnimationEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.AnimationEvent)
GOOGLE_DCHECK_NE(&from, this);
const AnimationEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const AnimationEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.AnimationEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.AnimationEvent)
MergeFrom(*source);
}
}
void AnimationEvent::MergeFrom(const AnimationEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.AnimationEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.spawnid() != 0) {
set_spawnid(from.spawnid());
}
if (from.speed() != 0) {
set_speed(from.speed());
}
if (from.action() != 0) {
set_action(from.action());
}
}
void AnimationEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.AnimationEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void AnimationEvent::CopyFrom(const AnimationEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.AnimationEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool AnimationEvent::IsInitialized() const {
return true;
}
void AnimationEvent::Swap(AnimationEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void AnimationEvent::InternalSwap(AnimationEvent* other) {
using std::swap;
swap(spawnid_, other->spawnid_);
swap(speed_, other->speed_);
swap(action_, other->action_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata AnimationEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// ===================================================================
void SpawnEvent::InitAsDefaultInstance() {
::eqproto::_SpawnEvent_default_instance_._instance.get_mutable()->equipment_ = const_cast< ::eqproto::TextureProfile*>(
::eqproto::TextureProfile::internal_default_instance());
::eqproto::_SpawnEvent_default_instance_._instance.get_mutable()->equipment_tint_ = const_cast< ::eqproto::TintProfile*>(
::eqproto::TintProfile::internal_default_instance());
}
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int SpawnEvent::kUnknown0000FieldNumber;
const int SpawnEvent::kGmFieldNumber;
const int SpawnEvent::kUnknown0003FieldNumber;
const int SpawnEvent::kAaitleFieldNumber;
const int SpawnEvent::kUnknown0004FieldNumber;
const int SpawnEvent::kAnonFieldNumber;
const int SpawnEvent::kFaceFieldNumber;
const int SpawnEvent::kNameFieldNumber;
const int SpawnEvent::kDeityFieldNumber;
const int SpawnEvent::kUnknown0073FieldNumber;
const int SpawnEvent::kSizeFieldNumber;
const int SpawnEvent::kUnknown0079FieldNumber;
const int SpawnEvent::kNPCFieldNumber;
const int SpawnEvent::kInvisFieldNumber;
const int SpawnEvent::kHaircolorFieldNumber;
const int SpawnEvent::kCurHpFieldNumber;
const int SpawnEvent::kMaxHpFieldNumber;
const int SpawnEvent::kFindableFieldNumber;
const int SpawnEvent::kUnknown0089FieldNumber;
const int SpawnEvent::kDeltaHeadingFieldNumber;
const int SpawnEvent::kXFieldNumber;
const int SpawnEvent::kPadding0054FieldNumber;
const int SpawnEvent::kYFieldNumber;
const int SpawnEvent::kAnimationFieldNumber;
const int SpawnEvent::kPadding0058FieldNumber;
const int SpawnEvent::kZFieldNumber;
const int SpawnEvent::kDeltaYFieldNumber;
const int SpawnEvent::kDeltaXFieldNumber;
const int SpawnEvent::kHeadingFieldNumber;
const int SpawnEvent::kPadding0066FieldNumber;
const int SpawnEvent::kDeltaZFieldNumber;
const int SpawnEvent::kPadding0070FieldNumber;
const int SpawnEvent::kEyecolor1FieldNumber;
const int SpawnEvent::kUnknown0115FieldNumber;
const int SpawnEvent::kStandStateFieldNumber;
const int SpawnEvent::kDrakkinHeritageFieldNumber;
const int SpawnEvent::kDrakkinTattooFieldNumber;
const int SpawnEvent::kDrakkinDetailsFieldNumber;
const int SpawnEvent::kShowhelmFieldNumber;
const int SpawnEvent::kUnknown0140FieldNumber;
const int SpawnEvent::kIsNpcFieldNumber;
const int SpawnEvent::kHairstyleFieldNumber;
const int SpawnEvent::kBeardFieldNumber;
const int SpawnEvent::kUnknown0147FieldNumber;
const int SpawnEvent::kLevelFieldNumber;
const int SpawnEvent::kPlayerStateFieldNumber;
const int SpawnEvent::kBeardcolorFieldNumber;
const int SpawnEvent::kSuffixFieldNumber;
const int SpawnEvent::kPetOwnerIdFieldNumber;
const int SpawnEvent::kGuildrankFieldNumber;
const int SpawnEvent::kUnknown0194FieldNumber;
const int SpawnEvent::kEquipmentFieldNumber;
const int SpawnEvent::kRunspeedFieldNumber;
const int SpawnEvent::kAfkFieldNumber;
const int SpawnEvent::kGuildIDFieldNumber;
const int SpawnEvent::kTitleFieldNumber;
const int SpawnEvent::kUnknown0274FieldNumber;
const int SpawnEvent::kSetTo0XFFFieldNumber;
const int SpawnEvent::kHelmFieldNumber;
const int SpawnEvent::kRaceFieldNumber;
const int SpawnEvent::kUnknown0288FieldNumber;
const int SpawnEvent::kLastNameFieldNumber;
const int SpawnEvent::kWalkspeedFieldNumber;
const int SpawnEvent::kUnknown0328FieldNumber;
const int SpawnEvent::kIsPetFieldNumber;
const int SpawnEvent::kLightFieldNumber;
const int SpawnEvent::kClassFieldNumber;
const int SpawnEvent::kEyecolor2FieldNumber;
const int SpawnEvent::kFlymodeFieldNumber;
const int SpawnEvent::kGenderFieldNumber;
const int SpawnEvent::kBodytypeFieldNumber;
const int SpawnEvent::kUnknown0336FieldNumber;
const int SpawnEvent::kEquipChest2FieldNumber;
const int SpawnEvent::kMountColorFieldNumber;
const int SpawnEvent::kSpawnIdFieldNumber;
const int SpawnEvent::kUnknown0344FieldNumber;
const int SpawnEvent::kIsMercenaryFieldNumber;
const int SpawnEvent::kEquipmentTintFieldNumber;
const int SpawnEvent::kLfgFieldNumber;
const int SpawnEvent::kDestructibleObjectFieldNumber;
const int SpawnEvent::kDestructibleModelFieldNumber;
const int SpawnEvent::kDestructibleName2FieldNumber;
const int SpawnEvent::kDestructibleStringFieldNumber;
const int SpawnEvent::kDestructibleAppearanceFieldNumber;
const int SpawnEvent::kDestructibleUnk1FieldNumber;
const int SpawnEvent::kDestructibleID1FieldNumber;
const int SpawnEvent::kDestructibleID2FieldNumber;
const int SpawnEvent::kDestructibleID3FieldNumber;
const int SpawnEvent::kDestructibleID4FieldNumber;
const int SpawnEvent::kDestructibleUnk2FieldNumber;
const int SpawnEvent::kDestructibleUnk3FieldNumber;
const int SpawnEvent::kDestructibleUnk4FieldNumber;
const int SpawnEvent::kDestructibleUnk5FieldNumber;
const int SpawnEvent::kDestructibleUnk6FieldNumber;
const int SpawnEvent::kDestructibleUnk7FieldNumber;
const int SpawnEvent::kDestructibleUnk8FieldNumber;
const int SpawnEvent::kDestructibleUnk9FieldNumber;
const int SpawnEvent::kTargetableWithHotkeyFieldNumber;
const int SpawnEvent::kShowNameFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
SpawnEvent::SpawnEvent()
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
::protobuf_message_2eproto::InitDefaultsSpawnEvent();
}
SharedCtor();
// @@protoc_insertion_point(constructor:eqproto.SpawnEvent)
}
SpawnEvent::SpawnEvent(const SpawnEvent& from)
: ::google::protobuf::Message(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.name().size() > 0) {
name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
}
suffix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.suffix().size() > 0) {
suffix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suffix_);
}
title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.title().size() > 0) {
title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_);
}
lastname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.lastname().size() > 0) {
lastname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.lastname_);
}
destructiblemodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.destructiblemodel().size() > 0) {
destructiblemodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.destructiblemodel_);
}
destructiblename2_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.destructiblename2().size() > 0) {
destructiblename2_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.destructiblename2_);
}
destructiblestring_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (from.destructiblestring().size() > 0) {
destructiblestring_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.destructiblestring_);
}
if (from.has_equipment()) {
equipment_ = new ::eqproto::TextureProfile(*from.equipment_);
} else {
equipment_ = NULL;
}
if (from.has_equipment_tint()) {
equipment_tint_ = new ::eqproto::TintProfile(*from.equipment_tint_);
} else {
equipment_tint_ = NULL;
}
::memcpy(&unknown0000_, &from.unknown0000_,
static_cast<size_t>(reinterpret_cast<char*>(&destructibleunk9_) -
reinterpret_cast<char*>(&unknown0000_)) + sizeof(destructibleunk9_));
// @@protoc_insertion_point(copy_constructor:eqproto.SpawnEvent)
}
void SpawnEvent::SharedCtor() {
name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
suffix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
lastname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblemodel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblename2_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblestring_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
::memset(&equipment_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&destructibleunk9_) -
reinterpret_cast<char*>(&equipment_)) + sizeof(destructibleunk9_));
_cached_size_ = 0;
}
SpawnEvent::~SpawnEvent() {
// @@protoc_insertion_point(destructor:eqproto.SpawnEvent)
SharedDtor();
}
void SpawnEvent::SharedDtor() {
name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
suffix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
title_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
lastname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblemodel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblename2_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblestring_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (this != internal_default_instance()) delete equipment_;
if (this != internal_default_instance()) delete equipment_tint_;
}
void SpawnEvent::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* SpawnEvent::descriptor() {
::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}
const SpawnEvent& SpawnEvent::default_instance() {
::protobuf_message_2eproto::InitDefaultsSpawnEvent();
return *internal_default_instance();
}
SpawnEvent* SpawnEvent::New(::google::protobuf::Arena* arena) const {
SpawnEvent* n = new SpawnEvent;
if (arena != NULL) {
arena->Own(n);
}
return n;
}
void SpawnEvent::Clear() {
// @@protoc_insertion_point(message_clear_start:eqproto.SpawnEvent)
::google::protobuf::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
suffix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
title_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
lastname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblemodel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblename2_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
destructiblestring_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
if (GetArenaNoVirtual() == NULL && equipment_ != NULL) {
delete equipment_;
}
equipment_ = NULL;
if (GetArenaNoVirtual() == NULL && equipment_tint_ != NULL) {
delete equipment_tint_;
}
equipment_tint_ = NULL;
::memset(&unknown0000_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&destructibleunk9_) -
reinterpret_cast<char*>(&unknown0000_)) + sizeof(destructibleunk9_));
_internal_metadata_.Clear();
}
bool SpawnEvent::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:eqproto.SpawnEvent)
for (;;) {
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// uint32 unknown0000 = 1;
case 1: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0000_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 gm = 2;
case 2: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &gm_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0003 = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0003_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 aaitle = 4;
case 4: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &aaitle_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0004 = 5;
case 5: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0004_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 anon = 6;
case 6: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &anon_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 face = 7;
case 7: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &face_)));
} else {
goto handle_unusual;
}
break;
}
// string name = 8;
case 8: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_name()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->name().data(), static_cast<int>(this->name().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.name"));
} else {
goto handle_unusual;
}
break;
}
// uint32 deity = 9;
case 9: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &deity_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0073 = 10;
case 10: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0073_)));
} else {
goto handle_unusual;
}
break;
}
// float size = 11;
case 11: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(93u /* 93 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &size_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0079 = 12;
case 12: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0079_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 NPC = 13;
case 13: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &npc_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 invis = 14;
case 14: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &invis_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 haircolor = 15;
case 15: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &haircolor_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 curHp = 16;
case 16: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &curhp_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 max_hp = 17;
case 17: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(136u /* 136 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &max_hp_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 findable = 18;
case 18: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(144u /* 144 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &findable_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0089 = 19;
case 19: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(152u /* 152 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0089_)));
} else {
goto handle_unusual;
}
break;
}
// int32 deltaHeading = 20;
case 20: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(160u /* 160 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &deltaheading_)));
} else {
goto handle_unusual;
}
break;
}
// int32 x = 21;
case 21: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(168u /* 168 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &x_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0054 = 22;
case 22: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(176u /* 176 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0054_)));
} else {
goto handle_unusual;
}
break;
}
// int32 y = 23;
case 23: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(184u /* 184 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &y_)));
} else {
goto handle_unusual;
}
break;
}
// int32 animation = 24;
case 24: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(192u /* 192 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &animation_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0058 = 25;
case 25: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(200u /* 200 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0058_)));
} else {
goto handle_unusual;
}
break;
}
// int32 z = 26;
case 26: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(208u /* 208 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &z_)));
} else {
goto handle_unusual;
}
break;
}
// int32 deltaY = 27;
case 27: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(216u /* 216 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &deltay_)));
} else {
goto handle_unusual;
}
break;
}
// int32 deltaX = 28;
case 28: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(224u /* 224 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &deltax_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 heading = 29;
case 29: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(232u /* 232 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &heading_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0066 = 30;
case 30: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(240u /* 240 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0066_)));
} else {
goto handle_unusual;
}
break;
}
// int32 deltaZ = 31;
case 31: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(248u /* 248 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &deltaz_)));
} else {
goto handle_unusual;
}
break;
}
// int32 padding0070 = 32;
case 32: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(0u /* 256 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &padding0070_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 eyecolor1 = 33;
case 33: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 264 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &eyecolor1_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0115 = 34;
case 34: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 272 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0115_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 StandState = 35;
case 35: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 280 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &standstate_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 drakkin_heritage = 36;
case 36: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 288 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &drakkin_heritage_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 drakkin_tattoo = 37;
case 37: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 296 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &drakkin_tattoo_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 drakkin_details = 38;
case 38: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 304 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &drakkin_details_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 showhelm = 39;
case 39: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(56u /* 312 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &showhelm_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0140 = 40;
case 40: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 320 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0140_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 is_npc = 41;
case 41: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(72u /* 328 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &is_npc_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 hairstyle = 42;
case 42: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(80u /* 336 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &hairstyle_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 beard = 43;
case 43: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(88u /* 344 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &beard_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0147 = 44;
case 44: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(96u /* 352 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0147_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 level = 45;
case 45: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(104u /* 360 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &level_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 PlayerState = 46;
case 46: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(112u /* 368 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &playerstate_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 beardcolor = 47;
case 47: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(120u /* 376 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &beardcolor_)));
} else {
goto handle_unusual;
}
break;
}
// string suffix = 48;
case 48: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(130u /* 386 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_suffix()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->suffix().data(), static_cast<int>(this->suffix().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.suffix"));
} else {
goto handle_unusual;
}
break;
}
// uint32 petOwnerId = 49;
case 49: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(136u /* 392 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &petownerid_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 guildrank = 50;
case 50: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(144u /* 400 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &guildrank_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0194 = 51;
case 51: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(152u /* 408 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0194_)));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.TextureProfile equipment = 52;
case 52: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(162u /* 418 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_equipment()));
} else {
goto handle_unusual;
}
break;
}
// float runspeed = 53;
case 53: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(173u /* 429 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &runspeed_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 afk = 54;
case 54: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(176u /* 432 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &afk_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 guildID = 55;
case 55: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(184u /* 440 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &guildid_)));
} else {
goto handle_unusual;
}
break;
}
// string title = 56;
case 56: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(194u /* 450 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_title()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->title().data(), static_cast<int>(this->title().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.title"));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0274 = 57;
case 57: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(200u /* 456 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0274_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 set_to_0xFF = 58;
case 58: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(208u /* 464 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &set_to_0xff_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 helm = 59;
case 59: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(216u /* 472 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &helm_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 race = 60;
case 60: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(224u /* 480 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &race_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0288 = 61;
case 61: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(232u /* 488 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0288_)));
} else {
goto handle_unusual;
}
break;
}
// string lastName = 62;
case 62: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(242u /* 498 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_lastname()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->lastname().data(), static_cast<int>(this->lastname().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.lastName"));
} else {
goto handle_unusual;
}
break;
}
// float walkspeed = 63;
case 63: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(253u /* 509 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
input, &walkspeed_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0328 = 64;
case 64: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(0u /* 512 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0328_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 is_pet = 65;
case 65: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 520 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &is_pet_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 light = 66;
case 66: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 528 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &light_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 class_ = 67;
case 67: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 536 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &class__)));
} else {
goto handle_unusual;
}
break;
}
// uint32 eyecolor2 = 68;
case 68: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 544 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &eyecolor2_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 flymode = 69;
case 69: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(40u /* 552 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &flymode_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 gender = 70;
case 70: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(48u /* 560 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &gender_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 bodytype = 71;
case 71: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(56u /* 568 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &bodytype_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0336 = 72;
case 72: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(64u /* 576 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0336_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 equip_chest2 = 73;
case 73: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(72u /* 584 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &equip_chest2_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 mount_color = 74;
case 74: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(80u /* 592 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &mount_color_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 spawnId = 75;
case 75: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(88u /* 600 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &spawnid_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 unknown0344 = 76;
case 76: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(96u /* 608 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &unknown0344_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 IsMercenary = 77;
case 77: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(104u /* 616 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &ismercenary_)));
} else {
goto handle_unusual;
}
break;
}
// .eqproto.TintProfile equipment_tint = 78;
case 78: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(114u /* 626 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
input, mutable_equipment_tint()));
} else {
goto handle_unusual;
}
break;
}
// uint32 lfg = 79;
case 79: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(120u /* 632 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &lfg_)));
} else {
goto handle_unusual;
}
break;
}
// bool DestructibleObject = 80;
case 80: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(128u /* 640 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &destructibleobject_)));
} else {
goto handle_unusual;
}
break;
}
// string DestructibleModel = 82;
case 82: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(146u /* 658 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_destructiblemodel()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblemodel().data(), static_cast<int>(this->destructiblemodel().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.DestructibleModel"));
} else {
goto handle_unusual;
}
break;
}
// string DestructibleName2 = 83;
case 83: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(154u /* 666 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_destructiblename2()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblename2().data(), static_cast<int>(this->destructiblename2().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.DestructibleName2"));
} else {
goto handle_unusual;
}
break;
}
// string DestructibleString = 84;
case 84: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(162u /* 674 & 0xFF */)) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_destructiblestring()));
DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblestring().data(), static_cast<int>(this->destructiblestring().length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"eqproto.SpawnEvent.DestructibleString"));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleAppearance = 85;
case 85: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(168u /* 680 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleappearance_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk1 = 86;
case 86: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(176u /* 688 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk1_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleID1 = 87;
case 87: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(184u /* 696 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleid1_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleID2 = 88;
case 88: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(192u /* 704 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleid2_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleID3 = 89;
case 89: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(200u /* 712 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleid3_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleID4 = 90;
case 90: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(208u /* 720 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleid4_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk2 = 91;
case 91: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(216u /* 728 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk2_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk3 = 92;
case 92: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(224u /* 736 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk3_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk4 = 93;
case 93: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(232u /* 744 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk4_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk5 = 94;
case 94: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(240u /* 752 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk5_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk6 = 95;
case 95: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(248u /* 760 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk6_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk7 = 96;
case 96: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(0u /* 768 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk7_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk8 = 97;
case 97: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(8u /* 776 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk8_)));
} else {
goto handle_unusual;
}
break;
}
// uint32 DestructibleUnk9 = 98;
case 98: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(16u /* 784 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
input, &destructibleunk9_)));
} else {
goto handle_unusual;
}
break;
}
// bool targetable_with_hotkey = 99;
case 99: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 792 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &targetable_with_hotkey_)));
} else {
goto handle_unusual;
}
break;
}
// bool show_name = 100;
case 100: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(32u /* 800 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &show_name_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:eqproto.SpawnEvent)
return true;
failure:
// @@protoc_insertion_point(parse_failure:eqproto.SpawnEvent)
return false;
#undef DO_
}
void SpawnEvent::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:eqproto.SpawnEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 unknown0000 = 1;
if (this->unknown0000() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->unknown0000(), output);
}
// uint32 gm = 2;
if (this->gm() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->gm(), output);
}
// uint32 unknown0003 = 3;
if (this->unknown0003() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->unknown0003(), output);
}
// uint32 aaitle = 4;
if (this->aaitle() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->aaitle(), output);
}
// uint32 unknown0004 = 5;
if (this->unknown0004() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->unknown0004(), output);
}
// uint32 anon = 6;
if (this->anon() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->anon(), output);
}
// uint32 face = 7;
if (this->face() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->face(), output);
}
// string name = 8;
if (this->name().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->name().data(), static_cast<int>(this->name().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.name");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8, this->name(), output);
}
// uint32 deity = 9;
if (this->deity() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->deity(), output);
}
// uint32 unknown0073 = 10;
if (this->unknown0073() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->unknown0073(), output);
}
// float size = 11;
if (this->size() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(11, this->size(), output);
}
// uint32 unknown0079 = 12;
if (this->unknown0079() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->unknown0079(), output);
}
// uint32 NPC = 13;
if (this->npc() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->npc(), output);
}
// uint32 invis = 14;
if (this->invis() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(14, this->invis(), output);
}
// uint32 haircolor = 15;
if (this->haircolor() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(15, this->haircolor(), output);
}
// uint32 curHp = 16;
if (this->curhp() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(16, this->curhp(), output);
}
// uint32 max_hp = 17;
if (this->max_hp() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(17, this->max_hp(), output);
}
// uint32 findable = 18;
if (this->findable() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(18, this->findable(), output);
}
// uint32 unknown0089 = 19;
if (this->unknown0089() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(19, this->unknown0089(), output);
}
// int32 deltaHeading = 20;
if (this->deltaheading() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(20, this->deltaheading(), output);
}
// int32 x = 21;
if (this->x() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(21, this->x(), output);
}
// int32 padding0054 = 22;
if (this->padding0054() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(22, this->padding0054(), output);
}
// int32 y = 23;
if (this->y() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(23, this->y(), output);
}
// int32 animation = 24;
if (this->animation() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(24, this->animation(), output);
}
// int32 padding0058 = 25;
if (this->padding0058() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(25, this->padding0058(), output);
}
// int32 z = 26;
if (this->z() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(26, this->z(), output);
}
// int32 deltaY = 27;
if (this->deltay() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(27, this->deltay(), output);
}
// int32 deltaX = 28;
if (this->deltax() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(28, this->deltax(), output);
}
// uint32 heading = 29;
if (this->heading() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(29, this->heading(), output);
}
// int32 padding0066 = 30;
if (this->padding0066() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(30, this->padding0066(), output);
}
// int32 deltaZ = 31;
if (this->deltaz() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(31, this->deltaz(), output);
}
// int32 padding0070 = 32;
if (this->padding0070() != 0) {
::google::protobuf::internal::WireFormatLite::WriteInt32(32, this->padding0070(), output);
}
// uint32 eyecolor1 = 33;
if (this->eyecolor1() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(33, this->eyecolor1(), output);
}
// uint32 unknown0115 = 34;
if (this->unknown0115() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(34, this->unknown0115(), output);
}
// uint32 StandState = 35;
if (this->standstate() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(35, this->standstate(), output);
}
// uint32 drakkin_heritage = 36;
if (this->drakkin_heritage() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(36, this->drakkin_heritage(), output);
}
// uint32 drakkin_tattoo = 37;
if (this->drakkin_tattoo() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(37, this->drakkin_tattoo(), output);
}
// uint32 drakkin_details = 38;
if (this->drakkin_details() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(38, this->drakkin_details(), output);
}
// uint32 showhelm = 39;
if (this->showhelm() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(39, this->showhelm(), output);
}
// uint32 unknown0140 = 40;
if (this->unknown0140() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(40, this->unknown0140(), output);
}
// uint32 is_npc = 41;
if (this->is_npc() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(41, this->is_npc(), output);
}
// uint32 hairstyle = 42;
if (this->hairstyle() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(42, this->hairstyle(), output);
}
// uint32 beard = 43;
if (this->beard() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(43, this->beard(), output);
}
// uint32 unknown0147 = 44;
if (this->unknown0147() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(44, this->unknown0147(), output);
}
// uint32 level = 45;
if (this->level() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(45, this->level(), output);
}
// uint32 PlayerState = 46;
if (this->playerstate() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(46, this->playerstate(), output);
}
// uint32 beardcolor = 47;
if (this->beardcolor() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(47, this->beardcolor(), output);
}
// string suffix = 48;
if (this->suffix().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->suffix().data(), static_cast<int>(this->suffix().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.suffix");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
48, this->suffix(), output);
}
// uint32 petOwnerId = 49;
if (this->petownerid() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(49, this->petownerid(), output);
}
// uint32 guildrank = 50;
if (this->guildrank() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(50, this->guildrank(), output);
}
// uint32 unknown0194 = 51;
if (this->unknown0194() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(51, this->unknown0194(), output);
}
// .eqproto.TextureProfile equipment = 52;
if (this->has_equipment()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
52, *this->equipment_, output);
}
// float runspeed = 53;
if (this->runspeed() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(53, this->runspeed(), output);
}
// uint32 afk = 54;
if (this->afk() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(54, this->afk(), output);
}
// uint32 guildID = 55;
if (this->guildid() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(55, this->guildid(), output);
}
// string title = 56;
if (this->title().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->title().data(), static_cast<int>(this->title().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.title");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
56, this->title(), output);
}
// uint32 unknown0274 = 57;
if (this->unknown0274() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(57, this->unknown0274(), output);
}
// uint32 set_to_0xFF = 58;
if (this->set_to_0xff() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(58, this->set_to_0xff(), output);
}
// uint32 helm = 59;
if (this->helm() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(59, this->helm(), output);
}
// uint32 race = 60;
if (this->race() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(60, this->race(), output);
}
// uint32 unknown0288 = 61;
if (this->unknown0288() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(61, this->unknown0288(), output);
}
// string lastName = 62;
if (this->lastname().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->lastname().data(), static_cast<int>(this->lastname().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.lastName");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
62, this->lastname(), output);
}
// float walkspeed = 63;
if (this->walkspeed() != 0) {
::google::protobuf::internal::WireFormatLite::WriteFloat(63, this->walkspeed(), output);
}
// uint32 unknown0328 = 64;
if (this->unknown0328() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(64, this->unknown0328(), output);
}
// uint32 is_pet = 65;
if (this->is_pet() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(65, this->is_pet(), output);
}
// uint32 light = 66;
if (this->light() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(66, this->light(), output);
}
// uint32 class_ = 67;
if (this->class_() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(67, this->class_(), output);
}
// uint32 eyecolor2 = 68;
if (this->eyecolor2() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(68, this->eyecolor2(), output);
}
// uint32 flymode = 69;
if (this->flymode() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(69, this->flymode(), output);
}
// uint32 gender = 70;
if (this->gender() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(70, this->gender(), output);
}
// uint32 bodytype = 71;
if (this->bodytype() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(71, this->bodytype(), output);
}
// uint32 unknown0336 = 72;
if (this->unknown0336() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(72, this->unknown0336(), output);
}
// uint32 equip_chest2 = 73;
if (this->equip_chest2() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(73, this->equip_chest2(), output);
}
// uint32 mount_color = 74;
if (this->mount_color() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(74, this->mount_color(), output);
}
// uint32 spawnId = 75;
if (this->spawnid() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(75, this->spawnid(), output);
}
// uint32 unknown0344 = 76;
if (this->unknown0344() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(76, this->unknown0344(), output);
}
// uint32 IsMercenary = 77;
if (this->ismercenary() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(77, this->ismercenary(), output);
}
// .eqproto.TintProfile equipment_tint = 78;
if (this->has_equipment_tint()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
78, *this->equipment_tint_, output);
}
// uint32 lfg = 79;
if (this->lfg() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(79, this->lfg(), output);
}
// bool DestructibleObject = 80;
if (this->destructibleobject() != 0) {
::google::protobuf::internal::WireFormatLite::WriteBool(80, this->destructibleobject(), output);
}
// string DestructibleModel = 82;
if (this->destructiblemodel().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblemodel().data(), static_cast<int>(this->destructiblemodel().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.DestructibleModel");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
82, this->destructiblemodel(), output);
}
// string DestructibleName2 = 83;
if (this->destructiblename2().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblename2().data(), static_cast<int>(this->destructiblename2().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.DestructibleName2");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
83, this->destructiblename2(), output);
}
// string DestructibleString = 84;
if (this->destructiblestring().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblestring().data(), static_cast<int>(this->destructiblestring().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.DestructibleString");
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
84, this->destructiblestring(), output);
}
// uint32 DestructibleAppearance = 85;
if (this->destructibleappearance() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(85, this->destructibleappearance(), output);
}
// uint32 DestructibleUnk1 = 86;
if (this->destructibleunk1() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(86, this->destructibleunk1(), output);
}
// uint32 DestructibleID1 = 87;
if (this->destructibleid1() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(87, this->destructibleid1(), output);
}
// uint32 DestructibleID2 = 88;
if (this->destructibleid2() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(88, this->destructibleid2(), output);
}
// uint32 DestructibleID3 = 89;
if (this->destructibleid3() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(89, this->destructibleid3(), output);
}
// uint32 DestructibleID4 = 90;
if (this->destructibleid4() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(90, this->destructibleid4(), output);
}
// uint32 DestructibleUnk2 = 91;
if (this->destructibleunk2() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(91, this->destructibleunk2(), output);
}
// uint32 DestructibleUnk3 = 92;
if (this->destructibleunk3() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(92, this->destructibleunk3(), output);
}
// uint32 DestructibleUnk4 = 93;
if (this->destructibleunk4() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(93, this->destructibleunk4(), output);
}
// uint32 DestructibleUnk5 = 94;
if (this->destructibleunk5() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(94, this->destructibleunk5(), output);
}
// uint32 DestructibleUnk6 = 95;
if (this->destructibleunk6() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(95, this->destructibleunk6(), output);
}
// uint32 DestructibleUnk7 = 96;
if (this->destructibleunk7() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(96, this->destructibleunk7(), output);
}
// uint32 DestructibleUnk8 = 97;
if (this->destructibleunk8() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(97, this->destructibleunk8(), output);
}
// uint32 DestructibleUnk9 = 98;
if (this->destructibleunk9() != 0) {
::google::protobuf::internal::WireFormatLite::WriteUInt32(98, this->destructibleunk9(), output);
}
// bool targetable_with_hotkey = 99;
if (this->targetable_with_hotkey() != 0) {
::google::protobuf::internal::WireFormatLite::WriteBool(99, this->targetable_with_hotkey(), output);
}
// bool show_name = 100;
if (this->show_name() != 0) {
::google::protobuf::internal::WireFormatLite::WriteBool(100, this->show_name(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
}
// @@protoc_insertion_point(serialize_end:eqproto.SpawnEvent)
}
::google::protobuf::uint8* SpawnEvent::InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const {
(void)deterministic; // Unused
// @@protoc_insertion_point(serialize_to_array_start:eqproto.SpawnEvent)
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// uint32 unknown0000 = 1;
if (this->unknown0000() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->unknown0000(), target);
}
// uint32 gm = 2;
if (this->gm() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->gm(), target);
}
// uint32 unknown0003 = 3;
if (this->unknown0003() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->unknown0003(), target);
}
// uint32 aaitle = 4;
if (this->aaitle() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->aaitle(), target);
}
// uint32 unknown0004 = 5;
if (this->unknown0004() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->unknown0004(), target);
}
// uint32 anon = 6;
if (this->anon() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->anon(), target);
}
// uint32 face = 7;
if (this->face() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->face(), target);
}
// string name = 8;
if (this->name().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->name().data(), static_cast<int>(this->name().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.name");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8, this->name(), target);
}
// uint32 deity = 9;
if (this->deity() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->deity(), target);
}
// uint32 unknown0073 = 10;
if (this->unknown0073() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(10, this->unknown0073(), target);
}
// float size = 11;
if (this->size() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(11, this->size(), target);
}
// uint32 unknown0079 = 12;
if (this->unknown0079() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(12, this->unknown0079(), target);
}
// uint32 NPC = 13;
if (this->npc() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(13, this->npc(), target);
}
// uint32 invis = 14;
if (this->invis() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(14, this->invis(), target);
}
// uint32 haircolor = 15;
if (this->haircolor() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(15, this->haircolor(), target);
}
// uint32 curHp = 16;
if (this->curhp() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(16, this->curhp(), target);
}
// uint32 max_hp = 17;
if (this->max_hp() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(17, this->max_hp(), target);
}
// uint32 findable = 18;
if (this->findable() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(18, this->findable(), target);
}
// uint32 unknown0089 = 19;
if (this->unknown0089() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(19, this->unknown0089(), target);
}
// int32 deltaHeading = 20;
if (this->deltaheading() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(20, this->deltaheading(), target);
}
// int32 x = 21;
if (this->x() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(21, this->x(), target);
}
// int32 padding0054 = 22;
if (this->padding0054() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(22, this->padding0054(), target);
}
// int32 y = 23;
if (this->y() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(23, this->y(), target);
}
// int32 animation = 24;
if (this->animation() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(24, this->animation(), target);
}
// int32 padding0058 = 25;
if (this->padding0058() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(25, this->padding0058(), target);
}
// int32 z = 26;
if (this->z() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(26, this->z(), target);
}
// int32 deltaY = 27;
if (this->deltay() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(27, this->deltay(), target);
}
// int32 deltaX = 28;
if (this->deltax() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(28, this->deltax(), target);
}
// uint32 heading = 29;
if (this->heading() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(29, this->heading(), target);
}
// int32 padding0066 = 30;
if (this->padding0066() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(30, this->padding0066(), target);
}
// int32 deltaZ = 31;
if (this->deltaz() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(31, this->deltaz(), target);
}
// int32 padding0070 = 32;
if (this->padding0070() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(32, this->padding0070(), target);
}
// uint32 eyecolor1 = 33;
if (this->eyecolor1() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(33, this->eyecolor1(), target);
}
// uint32 unknown0115 = 34;
if (this->unknown0115() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(34, this->unknown0115(), target);
}
// uint32 StandState = 35;
if (this->standstate() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(35, this->standstate(), target);
}
// uint32 drakkin_heritage = 36;
if (this->drakkin_heritage() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(36, this->drakkin_heritage(), target);
}
// uint32 drakkin_tattoo = 37;
if (this->drakkin_tattoo() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(37, this->drakkin_tattoo(), target);
}
// uint32 drakkin_details = 38;
if (this->drakkin_details() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(38, this->drakkin_details(), target);
}
// uint32 showhelm = 39;
if (this->showhelm() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(39, this->showhelm(), target);
}
// uint32 unknown0140 = 40;
if (this->unknown0140() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(40, this->unknown0140(), target);
}
// uint32 is_npc = 41;
if (this->is_npc() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(41, this->is_npc(), target);
}
// uint32 hairstyle = 42;
if (this->hairstyle() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(42, this->hairstyle(), target);
}
// uint32 beard = 43;
if (this->beard() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(43, this->beard(), target);
}
// uint32 unknown0147 = 44;
if (this->unknown0147() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(44, this->unknown0147(), target);
}
// uint32 level = 45;
if (this->level() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(45, this->level(), target);
}
// uint32 PlayerState = 46;
if (this->playerstate() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(46, this->playerstate(), target);
}
// uint32 beardcolor = 47;
if (this->beardcolor() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(47, this->beardcolor(), target);
}
// string suffix = 48;
if (this->suffix().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->suffix().data(), static_cast<int>(this->suffix().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.suffix");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
48, this->suffix(), target);
}
// uint32 petOwnerId = 49;
if (this->petownerid() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(49, this->petownerid(), target);
}
// uint32 guildrank = 50;
if (this->guildrank() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(50, this->guildrank(), target);
}
// uint32 unknown0194 = 51;
if (this->unknown0194() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(51, this->unknown0194(), target);
}
// .eqproto.TextureProfile equipment = 52;
if (this->has_equipment()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
52, *this->equipment_, deterministic, target);
}
// float runspeed = 53;
if (this->runspeed() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(53, this->runspeed(), target);
}
// uint32 afk = 54;
if (this->afk() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(54, this->afk(), target);
}
// uint32 guildID = 55;
if (this->guildid() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(55, this->guildid(), target);
}
// string title = 56;
if (this->title().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->title().data(), static_cast<int>(this->title().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.title");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
56, this->title(), target);
}
// uint32 unknown0274 = 57;
if (this->unknown0274() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(57, this->unknown0274(), target);
}
// uint32 set_to_0xFF = 58;
if (this->set_to_0xff() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(58, this->set_to_0xff(), target);
}
// uint32 helm = 59;
if (this->helm() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(59, this->helm(), target);
}
// uint32 race = 60;
if (this->race() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(60, this->race(), target);
}
// uint32 unknown0288 = 61;
if (this->unknown0288() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(61, this->unknown0288(), target);
}
// string lastName = 62;
if (this->lastname().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->lastname().data(), static_cast<int>(this->lastname().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.lastName");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
62, this->lastname(), target);
}
// float walkspeed = 63;
if (this->walkspeed() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(63, this->walkspeed(), target);
}
// uint32 unknown0328 = 64;
if (this->unknown0328() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(64, this->unknown0328(), target);
}
// uint32 is_pet = 65;
if (this->is_pet() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(65, this->is_pet(), target);
}
// uint32 light = 66;
if (this->light() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(66, this->light(), target);
}
// uint32 class_ = 67;
if (this->class_() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(67, this->class_(), target);
}
// uint32 eyecolor2 = 68;
if (this->eyecolor2() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(68, this->eyecolor2(), target);
}
// uint32 flymode = 69;
if (this->flymode() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(69, this->flymode(), target);
}
// uint32 gender = 70;
if (this->gender() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(70, this->gender(), target);
}
// uint32 bodytype = 71;
if (this->bodytype() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(71, this->bodytype(), target);
}
// uint32 unknown0336 = 72;
if (this->unknown0336() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(72, this->unknown0336(), target);
}
// uint32 equip_chest2 = 73;
if (this->equip_chest2() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(73, this->equip_chest2(), target);
}
// uint32 mount_color = 74;
if (this->mount_color() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(74, this->mount_color(), target);
}
// uint32 spawnId = 75;
if (this->spawnid() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(75, this->spawnid(), target);
}
// uint32 unknown0344 = 76;
if (this->unknown0344() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(76, this->unknown0344(), target);
}
// uint32 IsMercenary = 77;
if (this->ismercenary() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(77, this->ismercenary(), target);
}
// .eqproto.TintProfile equipment_tint = 78;
if (this->has_equipment_tint()) {
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessageToArray(
78, *this->equipment_tint_, deterministic, target);
}
// uint32 lfg = 79;
if (this->lfg() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(79, this->lfg(), target);
}
// bool DestructibleObject = 80;
if (this->destructibleobject() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(80, this->destructibleobject(), target);
}
// string DestructibleModel = 82;
if (this->destructiblemodel().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblemodel().data(), static_cast<int>(this->destructiblemodel().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.DestructibleModel");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
82, this->destructiblemodel(), target);
}
// string DestructibleName2 = 83;
if (this->destructiblename2().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblename2().data(), static_cast<int>(this->destructiblename2().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.DestructibleName2");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
83, this->destructiblename2(), target);
}
// string DestructibleString = 84;
if (this->destructiblestring().size() > 0) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->destructiblestring().data(), static_cast<int>(this->destructiblestring().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"eqproto.SpawnEvent.DestructibleString");
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
84, this->destructiblestring(), target);
}
// uint32 DestructibleAppearance = 85;
if (this->destructibleappearance() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(85, this->destructibleappearance(), target);
}
// uint32 DestructibleUnk1 = 86;
if (this->destructibleunk1() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(86, this->destructibleunk1(), target);
}
// uint32 DestructibleID1 = 87;
if (this->destructibleid1() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(87, this->destructibleid1(), target);
}
// uint32 DestructibleID2 = 88;
if (this->destructibleid2() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(88, this->destructibleid2(), target);
}
// uint32 DestructibleID3 = 89;
if (this->destructibleid3() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(89, this->destructibleid3(), target);
}
// uint32 DestructibleID4 = 90;
if (this->destructibleid4() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(90, this->destructibleid4(), target);
}
// uint32 DestructibleUnk2 = 91;
if (this->destructibleunk2() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(91, this->destructibleunk2(), target);
}
// uint32 DestructibleUnk3 = 92;
if (this->destructibleunk3() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(92, this->destructibleunk3(), target);
}
// uint32 DestructibleUnk4 = 93;
if (this->destructibleunk4() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(93, this->destructibleunk4(), target);
}
// uint32 DestructibleUnk5 = 94;
if (this->destructibleunk5() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(94, this->destructibleunk5(), target);
}
// uint32 DestructibleUnk6 = 95;
if (this->destructibleunk6() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(95, this->destructibleunk6(), target);
}
// uint32 DestructibleUnk7 = 96;
if (this->destructibleunk7() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(96, this->destructibleunk7(), target);
}
// uint32 DestructibleUnk8 = 97;
if (this->destructibleunk8() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(97, this->destructibleunk8(), target);
}
// uint32 DestructibleUnk9 = 98;
if (this->destructibleunk9() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(98, this->destructibleunk9(), target);
}
// bool targetable_with_hotkey = 99;
if (this->targetable_with_hotkey() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(99, this->targetable_with_hotkey(), target);
}
// bool show_name = 100;
if (this->show_name() != 0) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(100, this->show_name(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:eqproto.SpawnEvent)
return target;
}
size_t SpawnEvent::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:eqproto.SpawnEvent)
size_t total_size = 0;
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
}
// string name = 8;
if (this->name().size() > 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->name());
}
// string suffix = 48;
if (this->suffix().size() > 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->suffix());
}
// string title = 56;
if (this->title().size() > 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->title());
}
// string lastName = 62;
if (this->lastname().size() > 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->lastname());
}
// string DestructibleModel = 82;
if (this->destructiblemodel().size() > 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->destructiblemodel());
}
// string DestructibleName2 = 83;
if (this->destructiblename2().size() > 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->destructiblename2());
}
// string DestructibleString = 84;
if (this->destructiblestring().size() > 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->destructiblestring());
}
// .eqproto.TextureProfile equipment = 52;
if (this->has_equipment()) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->equipment_);
}
// .eqproto.TintProfile equipment_tint = 78;
if (this->has_equipment_tint()) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(
*this->equipment_tint_);
}
// uint32 unknown0000 = 1;
if (this->unknown0000() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0000());
}
// uint32 gm = 2;
if (this->gm() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->gm());
}
// uint32 unknown0003 = 3;
if (this->unknown0003() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0003());
}
// uint32 aaitle = 4;
if (this->aaitle() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->aaitle());
}
// uint32 unknown0004 = 5;
if (this->unknown0004() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0004());
}
// uint32 anon = 6;
if (this->anon() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->anon());
}
// uint32 face = 7;
if (this->face() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->face());
}
// uint32 deity = 9;
if (this->deity() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->deity());
}
// uint32 unknown0073 = 10;
if (this->unknown0073() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0073());
}
// float size = 11;
if (this->size() != 0) {
total_size += 1 + 4;
}
// uint32 unknown0079 = 12;
if (this->unknown0079() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0079());
}
// uint32 NPC = 13;
if (this->npc() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->npc());
}
// uint32 invis = 14;
if (this->invis() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->invis());
}
// uint32 haircolor = 15;
if (this->haircolor() != 0) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->haircolor());
}
// uint32 curHp = 16;
if (this->curhp() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->curhp());
}
// uint32 max_hp = 17;
if (this->max_hp() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->max_hp());
}
// uint32 findable = 18;
if (this->findable() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->findable());
}
// uint32 unknown0089 = 19;
if (this->unknown0089() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0089());
}
// int32 deltaHeading = 20;
if (this->deltaheading() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->deltaheading());
}
// int32 x = 21;
if (this->x() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->x());
}
// int32 padding0054 = 22;
if (this->padding0054() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0054());
}
// int32 y = 23;
if (this->y() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->y());
}
// int32 animation = 24;
if (this->animation() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->animation());
}
// int32 padding0058 = 25;
if (this->padding0058() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0058());
}
// int32 z = 26;
if (this->z() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->z());
}
// int32 deltaY = 27;
if (this->deltay() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->deltay());
}
// int32 deltaX = 28;
if (this->deltax() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->deltax());
}
// uint32 heading = 29;
if (this->heading() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->heading());
}
// int32 padding0066 = 30;
if (this->padding0066() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0066());
}
// int32 deltaZ = 31;
if (this->deltaz() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->deltaz());
}
// int32 padding0070 = 32;
if (this->padding0070() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->padding0070());
}
// uint32 eyecolor1 = 33;
if (this->eyecolor1() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->eyecolor1());
}
// uint32 unknown0115 = 34;
if (this->unknown0115() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0115());
}
// uint32 StandState = 35;
if (this->standstate() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->standstate());
}
// uint32 drakkin_heritage = 36;
if (this->drakkin_heritage() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->drakkin_heritage());
}
// uint32 drakkin_tattoo = 37;
if (this->drakkin_tattoo() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->drakkin_tattoo());
}
// uint32 drakkin_details = 38;
if (this->drakkin_details() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->drakkin_details());
}
// uint32 showhelm = 39;
if (this->showhelm() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->showhelm());
}
// uint32 unknown0140 = 40;
if (this->unknown0140() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0140());
}
// uint32 is_npc = 41;
if (this->is_npc() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->is_npc());
}
// uint32 hairstyle = 42;
if (this->hairstyle() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->hairstyle());
}
// uint32 beard = 43;
if (this->beard() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->beard());
}
// uint32 unknown0147 = 44;
if (this->unknown0147() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0147());
}
// uint32 level = 45;
if (this->level() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->level());
}
// uint32 PlayerState = 46;
if (this->playerstate() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->playerstate());
}
// uint32 beardcolor = 47;
if (this->beardcolor() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->beardcolor());
}
// uint32 petOwnerId = 49;
if (this->petownerid() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->petownerid());
}
// uint32 guildrank = 50;
if (this->guildrank() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->guildrank());
}
// uint32 unknown0194 = 51;
if (this->unknown0194() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0194());
}
// float runspeed = 53;
if (this->runspeed() != 0) {
total_size += 2 + 4;
}
// uint32 afk = 54;
if (this->afk() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->afk());
}
// uint32 guildID = 55;
if (this->guildid() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->guildid());
}
// uint32 unknown0274 = 57;
if (this->unknown0274() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0274());
}
// uint32 set_to_0xFF = 58;
if (this->set_to_0xff() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->set_to_0xff());
}
// uint32 helm = 59;
if (this->helm() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->helm());
}
// uint32 race = 60;
if (this->race() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->race());
}
// uint32 unknown0288 = 61;
if (this->unknown0288() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0288());
}
// float walkspeed = 63;
if (this->walkspeed() != 0) {
total_size += 2 + 4;
}
// uint32 unknown0328 = 64;
if (this->unknown0328() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0328());
}
// uint32 is_pet = 65;
if (this->is_pet() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->is_pet());
}
// uint32 light = 66;
if (this->light() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->light());
}
// uint32 class_ = 67;
if (this->class_() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->class_());
}
// uint32 eyecolor2 = 68;
if (this->eyecolor2() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->eyecolor2());
}
// uint32 flymode = 69;
if (this->flymode() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->flymode());
}
// uint32 gender = 70;
if (this->gender() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->gender());
}
// uint32 bodytype = 71;
if (this->bodytype() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->bodytype());
}
// uint32 unknown0336 = 72;
if (this->unknown0336() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0336());
}
// uint32 equip_chest2 = 73;
if (this->equip_chest2() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->equip_chest2());
}
// uint32 mount_color = 74;
if (this->mount_color() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->mount_color());
}
// uint32 spawnId = 75;
if (this->spawnid() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->spawnid());
}
// uint32 unknown0344 = 76;
if (this->unknown0344() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->unknown0344());
}
// uint32 IsMercenary = 77;
if (this->ismercenary() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->ismercenary());
}
// uint32 lfg = 79;
if (this->lfg() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->lfg());
}
// uint32 DestructibleAppearance = 85;
if (this->destructibleappearance() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleappearance());
}
// uint32 DestructibleUnk1 = 86;
if (this->destructibleunk1() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk1());
}
// uint32 DestructibleID1 = 87;
if (this->destructibleid1() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleid1());
}
// uint32 DestructibleID2 = 88;
if (this->destructibleid2() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleid2());
}
// uint32 DestructibleID3 = 89;
if (this->destructibleid3() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleid3());
}
// uint32 DestructibleID4 = 90;
if (this->destructibleid4() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleid4());
}
// uint32 DestructibleUnk2 = 91;
if (this->destructibleunk2() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk2());
}
// uint32 DestructibleUnk3 = 92;
if (this->destructibleunk3() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk3());
}
// uint32 DestructibleUnk4 = 93;
if (this->destructibleunk4() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk4());
}
// bool DestructibleObject = 80;
if (this->destructibleobject() != 0) {
total_size += 2 + 1;
}
// bool targetable_with_hotkey = 99;
if (this->targetable_with_hotkey() != 0) {
total_size += 2 + 1;
}
// bool show_name = 100;
if (this->show_name() != 0) {
total_size += 2 + 1;
}
// uint32 DestructibleUnk5 = 94;
if (this->destructibleunk5() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk5());
}
// uint32 DestructibleUnk6 = 95;
if (this->destructibleunk6() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk6());
}
// uint32 DestructibleUnk7 = 96;
if (this->destructibleunk7() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk7());
}
// uint32 DestructibleUnk8 = 97;
if (this->destructibleunk8() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk8());
}
// uint32 DestructibleUnk9 = 98;
if (this->destructibleunk9() != 0) {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::UInt32Size(
this->destructibleunk9());
}
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void SpawnEvent::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:eqproto.SpawnEvent)
GOOGLE_DCHECK_NE(&from, this);
const SpawnEvent* source =
::google::protobuf::internal::DynamicCastToGenerated<const SpawnEvent>(
&from);
if (source == NULL) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:eqproto.SpawnEvent)
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:eqproto.SpawnEvent)
MergeFrom(*source);
}
}
void SpawnEvent::MergeFrom(const SpawnEvent& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:eqproto.SpawnEvent)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.name().size() > 0) {
name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
}
if (from.suffix().size() > 0) {
suffix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suffix_);
}
if (from.title().size() > 0) {
title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_);
}
if (from.lastname().size() > 0) {
lastname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.lastname_);
}
if (from.destructiblemodel().size() > 0) {
destructiblemodel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.destructiblemodel_);
}
if (from.destructiblename2().size() > 0) {
destructiblename2_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.destructiblename2_);
}
if (from.destructiblestring().size() > 0) {
destructiblestring_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.destructiblestring_);
}
if (from.has_equipment()) {
mutable_equipment()->::eqproto::TextureProfile::MergeFrom(from.equipment());
}
if (from.has_equipment_tint()) {
mutable_equipment_tint()->::eqproto::TintProfile::MergeFrom(from.equipment_tint());
}
if (from.unknown0000() != 0) {
set_unknown0000(from.unknown0000());
}
if (from.gm() != 0) {
set_gm(from.gm());
}
if (from.unknown0003() != 0) {
set_unknown0003(from.unknown0003());
}
if (from.aaitle() != 0) {
set_aaitle(from.aaitle());
}
if (from.unknown0004() != 0) {
set_unknown0004(from.unknown0004());
}
if (from.anon() != 0) {
set_anon(from.anon());
}
if (from.face() != 0) {
set_face(from.face());
}
if (from.deity() != 0) {
set_deity(from.deity());
}
if (from.unknown0073() != 0) {
set_unknown0073(from.unknown0073());
}
if (from.size() != 0) {
set_size(from.size());
}
if (from.unknown0079() != 0) {
set_unknown0079(from.unknown0079());
}
if (from.npc() != 0) {
set_npc(from.npc());
}
if (from.invis() != 0) {
set_invis(from.invis());
}
if (from.haircolor() != 0) {
set_haircolor(from.haircolor());
}
if (from.curhp() != 0) {
set_curhp(from.curhp());
}
if (from.max_hp() != 0) {
set_max_hp(from.max_hp());
}
if (from.findable() != 0) {
set_findable(from.findable());
}
if (from.unknown0089() != 0) {
set_unknown0089(from.unknown0089());
}
if (from.deltaheading() != 0) {
set_deltaheading(from.deltaheading());
}
if (from.x() != 0) {
set_x(from.x());
}
if (from.padding0054() != 0) {
set_padding0054(from.padding0054());
}
if (from.y() != 0) {
set_y(from.y());
}
if (from.animation() != 0) {
set_animation(from.animation());
}
if (from.padding0058() != 0) {
set_padding0058(from.padding0058());
}
if (from.z() != 0) {
set_z(from.z());
}
if (from.deltay() != 0) {
set_deltay(from.deltay());
}
if (from.deltax() != 0) {
set_deltax(from.deltax());
}
if (from.heading() != 0) {
set_heading(from.heading());
}
if (from.padding0066() != 0) {
set_padding0066(from.padding0066());
}
if (from.deltaz() != 0) {
set_deltaz(from.deltaz());
}
if (from.padding0070() != 0) {
set_padding0070(from.padding0070());
}
if (from.eyecolor1() != 0) {
set_eyecolor1(from.eyecolor1());
}
if (from.unknown0115() != 0) {
set_unknown0115(from.unknown0115());
}
if (from.standstate() != 0) {
set_standstate(from.standstate());
}
if (from.drakkin_heritage() != 0) {
set_drakkin_heritage(from.drakkin_heritage());
}
if (from.drakkin_tattoo() != 0) {
set_drakkin_tattoo(from.drakkin_tattoo());
}
if (from.drakkin_details() != 0) {
set_drakkin_details(from.drakkin_details());
}
if (from.showhelm() != 0) {
set_showhelm(from.showhelm());
}
if (from.unknown0140() != 0) {
set_unknown0140(from.unknown0140());
}
if (from.is_npc() != 0) {
set_is_npc(from.is_npc());
}
if (from.hairstyle() != 0) {
set_hairstyle(from.hairstyle());
}
if (from.beard() != 0) {
set_beard(from.beard());
}
if (from.unknown0147() != 0) {
set_unknown0147(from.unknown0147());
}
if (from.level() != 0) {
set_level(from.level());
}
if (from.playerstate() != 0) {
set_playerstate(from.playerstate());
}
if (from.beardcolor() != 0) {
set_beardcolor(from.beardcolor());
}
if (from.petownerid() != 0) {
set_petownerid(from.petownerid());
}
if (from.guildrank() != 0) {
set_guildrank(from.guildrank());
}
if (from.unknown0194() != 0) {
set_unknown0194(from.unknown0194());
}
if (from.runspeed() != 0) {
set_runspeed(from.runspeed());
}
if (from.afk() != 0) {
set_afk(from.afk());
}
if (from.guildid() != 0) {
set_guildid(from.guildid());
}
if (from.unknown0274() != 0) {
set_unknown0274(from.unknown0274());
}
if (from.set_to_0xff() != 0) {
set_set_to_0xff(from.set_to_0xff());
}
if (from.helm() != 0) {
set_helm(from.helm());
}
if (from.race() != 0) {
set_race(from.race());
}
if (from.unknown0288() != 0) {
set_unknown0288(from.unknown0288());
}
if (from.walkspeed() != 0) {
set_walkspeed(from.walkspeed());
}
if (from.unknown0328() != 0) {
set_unknown0328(from.unknown0328());
}
if (from.is_pet() != 0) {
set_is_pet(from.is_pet());
}
if (from.light() != 0) {
set_light(from.light());
}
if (from.class_() != 0) {
set_class_(from.class_());
}
if (from.eyecolor2() != 0) {
set_eyecolor2(from.eyecolor2());
}
if (from.flymode() != 0) {
set_flymode(from.flymode());
}
if (from.gender() != 0) {
set_gender(from.gender());
}
if (from.bodytype() != 0) {
set_bodytype(from.bodytype());
}
if (from.unknown0336() != 0) {
set_unknown0336(from.unknown0336());
}
if (from.equip_chest2() != 0) {
set_equip_chest2(from.equip_chest2());
}
if (from.mount_color() != 0) {
set_mount_color(from.mount_color());
}
if (from.spawnid() != 0) {
set_spawnid(from.spawnid());
}
if (from.unknown0344() != 0) {
set_unknown0344(from.unknown0344());
}
if (from.ismercenary() != 0) {
set_ismercenary(from.ismercenary());
}
if (from.lfg() != 0) {
set_lfg(from.lfg());
}
if (from.destructibleappearance() != 0) {
set_destructibleappearance(from.destructibleappearance());
}
if (from.destructibleunk1() != 0) {
set_destructibleunk1(from.destructibleunk1());
}
if (from.destructibleid1() != 0) {
set_destructibleid1(from.destructibleid1());
}
if (from.destructibleid2() != 0) {
set_destructibleid2(from.destructibleid2());
}
if (from.destructibleid3() != 0) {
set_destructibleid3(from.destructibleid3());
}
if (from.destructibleid4() != 0) {
set_destructibleid4(from.destructibleid4());
}
if (from.destructibleunk2() != 0) {
set_destructibleunk2(from.destructibleunk2());
}
if (from.destructibleunk3() != 0) {
set_destructibleunk3(from.destructibleunk3());
}
if (from.destructibleunk4() != 0) {
set_destructibleunk4(from.destructibleunk4());
}
if (from.destructibleobject() != 0) {
set_destructibleobject(from.destructibleobject());
}
if (from.targetable_with_hotkey() != 0) {
set_targetable_with_hotkey(from.targetable_with_hotkey());
}
if (from.show_name() != 0) {
set_show_name(from.show_name());
}
if (from.destructibleunk5() != 0) {
set_destructibleunk5(from.destructibleunk5());
}
if (from.destructibleunk6() != 0) {
set_destructibleunk6(from.destructibleunk6());
}
if (from.destructibleunk7() != 0) {
set_destructibleunk7(from.destructibleunk7());
}
if (from.destructibleunk8() != 0) {
set_destructibleunk8(from.destructibleunk8());
}
if (from.destructibleunk9() != 0) {
set_destructibleunk9(from.destructibleunk9());
}
}
void SpawnEvent::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:eqproto.SpawnEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SpawnEvent::CopyFrom(const SpawnEvent& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:eqproto.SpawnEvent)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool SpawnEvent::IsInitialized() const {
return true;
}
void SpawnEvent::Swap(SpawnEvent* other) {
if (other == this) return;
InternalSwap(other);
}
void SpawnEvent::InternalSwap(SpawnEvent* other) {
using std::swap;
name_.Swap(&other->name_);
suffix_.Swap(&other->suffix_);
title_.Swap(&other->title_);
lastname_.Swap(&other->lastname_);
destructiblemodel_.Swap(&other->destructiblemodel_);
destructiblename2_.Swap(&other->destructiblename2_);
destructiblestring_.Swap(&other->destructiblestring_);
swap(equipment_, other->equipment_);
swap(equipment_tint_, other->equipment_tint_);
swap(unknown0000_, other->unknown0000_);
swap(gm_, other->gm_);
swap(unknown0003_, other->unknown0003_);
swap(aaitle_, other->aaitle_);
swap(unknown0004_, other->unknown0004_);
swap(anon_, other->anon_);
swap(face_, other->face_);
swap(deity_, other->deity_);
swap(unknown0073_, other->unknown0073_);
swap(size_, other->size_);
swap(unknown0079_, other->unknown0079_);
swap(npc_, other->npc_);
swap(invis_, other->invis_);
swap(haircolor_, other->haircolor_);
swap(curhp_, other->curhp_);
swap(max_hp_, other->max_hp_);
swap(findable_, other->findable_);
swap(unknown0089_, other->unknown0089_);
swap(deltaheading_, other->deltaheading_);
swap(x_, other->x_);
swap(padding0054_, other->padding0054_);
swap(y_, other->y_);
swap(animation_, other->animation_);
swap(padding0058_, other->padding0058_);
swap(z_, other->z_);
swap(deltay_, other->deltay_);
swap(deltax_, other->deltax_);
swap(heading_, other->heading_);
swap(padding0066_, other->padding0066_);
swap(deltaz_, other->deltaz_);
swap(padding0070_, other->padding0070_);
swap(eyecolor1_, other->eyecolor1_);
swap(unknown0115_, other->unknown0115_);
swap(standstate_, other->standstate_);
swap(drakkin_heritage_, other->drakkin_heritage_);
swap(drakkin_tattoo_, other->drakkin_tattoo_);
swap(drakkin_details_, other->drakkin_details_);
swap(showhelm_, other->showhelm_);
swap(unknown0140_, other->unknown0140_);
swap(is_npc_, other->is_npc_);
swap(hairstyle_, other->hairstyle_);
swap(beard_, other->beard_);
swap(unknown0147_, other->unknown0147_);
swap(level_, other->level_);
swap(playerstate_, other->playerstate_);
swap(beardcolor_, other->beardcolor_);
swap(petownerid_, other->petownerid_);
swap(guildrank_, other->guildrank_);
swap(unknown0194_, other->unknown0194_);
swap(runspeed_, other->runspeed_);
swap(afk_, other->afk_);
swap(guildid_, other->guildid_);
swap(unknown0274_, other->unknown0274_);
swap(set_to_0xff_, other->set_to_0xff_);
swap(helm_, other->helm_);
swap(race_, other->race_);
swap(unknown0288_, other->unknown0288_);
swap(walkspeed_, other->walkspeed_);
swap(unknown0328_, other->unknown0328_);
swap(is_pet_, other->is_pet_);
swap(light_, other->light_);
swap(class__, other->class__);
swap(eyecolor2_, other->eyecolor2_);
swap(flymode_, other->flymode_);
swap(gender_, other->gender_);
swap(bodytype_, other->bodytype_);
swap(unknown0336_, other->unknown0336_);
swap(equip_chest2_, other->equip_chest2_);
swap(mount_color_, other->mount_color_);
swap(spawnid_, other->spawnid_);
swap(unknown0344_, other->unknown0344_);
swap(ismercenary_, other->ismercenary_);
swap(lfg_, other->lfg_);
swap(destructibleappearance_, other->destructibleappearance_);
swap(destructibleunk1_, other->destructibleunk1_);
swap(destructibleid1_, other->destructibleid1_);
swap(destructibleid2_, other->destructibleid2_);
swap(destructibleid3_, other->destructibleid3_);
swap(destructibleid4_, other->destructibleid4_);
swap(destructibleunk2_, other->destructibleunk2_);
swap(destructibleunk3_, other->destructibleunk3_);
swap(destructibleunk4_, other->destructibleunk4_);
swap(destructibleobject_, other->destructibleobject_);
swap(targetable_with_hotkey_, other->targetable_with_hotkey_);
swap(show_name_, other->show_name_);
swap(destructibleunk5_, other->destructibleunk5_);
swap(destructibleunk6_, other->destructibleunk6_);
swap(destructibleunk7_, other->destructibleunk7_);
swap(destructibleunk8_, other->destructibleunk8_);
swap(destructibleunk9_, other->destructibleunk9_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
::google::protobuf::Metadata SpawnEvent::GetMetadata() const {
protobuf_message_2eproto::protobuf_AssignDescriptorsOnce();
return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages];
}
// @@protoc_insertion_point(namespace_scope)
} // namespace eqproto
// @@protoc_insertion_point(global_scope)