mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 22:44:35 +01:00
572 lines
20 KiB
C#
572 lines
20 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AffinityLevel.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace Nova.Client {
|
|
|
|
/// <summary>Holder for reflection information generated from AffinityLevel.proto</summary>
|
|
public static partial class AffinityLevelReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for AffinityLevel.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static AffinityLevelReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChNBZmZpbml0eUxldmVsLnByb3RvIpACCg1BZmZpbml0eUxldmVsEgoKAmlk",
|
|
"GAEgASgFEhcKD2FmZmluaXR5X2xldmVsXxgCIAEoBRIQCghuZWVkX2V4cBgD",
|
|
"IAEoBRITCgt0ZW1wbGF0ZV9pZBgEIAEoBRIbChNhZmZpbml0eV9sZXZlbF9u",
|
|
"YW1lGAUgASgJEhsKE2FmZmluaXR5X2xldmVsX2ljb24YBiABKAkSIgoaYWZm",
|
|
"aW5pdHlfbGV2ZWxfcmV3YXJkX2ljb24YByABKAkSJwofYWZmaW5pdHlfbGV2",
|
|
"ZWxfcmV3YXJkX2xvY2tfaWNvbhgIIAEoCRIOCgZlZmZlY3QYCSADKAUSHAoU",
|
|
"YWZmaW5pdHlfbGV2ZWxfc3RhZ2UYCiABKAVCDqoCC05vdmEuQ2xpZW50YgZw",
|
|
"cm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityLevel), global::Nova.Client.AffinityLevel.Parser, new[]{ "Id", "AffinityLevel_", "NeedExp", "TemplateId", "AffinityLevelName", "AffinityLevelIcon", "AffinityLevelRewardIcon", "AffinityLevelRewardLockIcon", "Effect", "AffinityLevelStage" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class AffinityLevel : pb::IMessage<AffinityLevel>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<AffinityLevel> _parser = new pb::MessageParser<AffinityLevel>(() => new AffinityLevel());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<AffinityLevel> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Nova.Client.AffinityLevelReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AffinityLevel() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AffinityLevel(AffinityLevel other) : this() {
|
|
id_ = other.id_;
|
|
affinityLevel_ = other.affinityLevel_;
|
|
needExp_ = other.needExp_;
|
|
templateId_ = other.templateId_;
|
|
affinityLevelName_ = other.affinityLevelName_;
|
|
affinityLevelIcon_ = other.affinityLevelIcon_;
|
|
affinityLevelRewardIcon_ = other.affinityLevelRewardIcon_;
|
|
affinityLevelRewardLockIcon_ = other.affinityLevelRewardLockIcon_;
|
|
effect_ = other.effect_.Clone();
|
|
affinityLevelStage_ = other.affinityLevelStage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AffinityLevel Clone() {
|
|
return new AffinityLevel(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private int id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "affinity_level_" field.</summary>
|
|
public const int AffinityLevel_FieldNumber = 2;
|
|
private int affinityLevel_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AffinityLevel_ {
|
|
get { return affinityLevel_; }
|
|
set {
|
|
affinityLevel_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "need_exp" field.</summary>
|
|
public const int NeedExpFieldNumber = 3;
|
|
private int needExp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int NeedExp {
|
|
get { return needExp_; }
|
|
set {
|
|
needExp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "template_id" field.</summary>
|
|
public const int TemplateIdFieldNumber = 4;
|
|
private int templateId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int TemplateId {
|
|
get { return templateId_; }
|
|
set {
|
|
templateId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "affinity_level_name" field.</summary>
|
|
public const int AffinityLevelNameFieldNumber = 5;
|
|
private string affinityLevelName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string AffinityLevelName {
|
|
get { return affinityLevelName_; }
|
|
set {
|
|
affinityLevelName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "affinity_level_icon" field.</summary>
|
|
public const int AffinityLevelIconFieldNumber = 6;
|
|
private string affinityLevelIcon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string AffinityLevelIcon {
|
|
get { return affinityLevelIcon_; }
|
|
set {
|
|
affinityLevelIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "affinity_level_reward_icon" field.</summary>
|
|
public const int AffinityLevelRewardIconFieldNumber = 7;
|
|
private string affinityLevelRewardIcon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string AffinityLevelRewardIcon {
|
|
get { return affinityLevelRewardIcon_; }
|
|
set {
|
|
affinityLevelRewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "affinity_level_reward_lock_icon" field.</summary>
|
|
public const int AffinityLevelRewardLockIconFieldNumber = 8;
|
|
private string affinityLevelRewardLockIcon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string AffinityLevelRewardLockIcon {
|
|
get { return affinityLevelRewardLockIcon_; }
|
|
set {
|
|
affinityLevelRewardLockIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "effect" field.</summary>
|
|
public const int EffectFieldNumber = 9;
|
|
private static readonly pb::FieldCodec<int> _repeated_effect_codec
|
|
= pb::FieldCodec.ForInt32(74);
|
|
private readonly pbc::RepeatedField<int> effect_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> Effect {
|
|
get { return effect_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "affinity_level_stage" field.</summary>
|
|
public const int AffinityLevelStageFieldNumber = 10;
|
|
private int affinityLevelStage_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int AffinityLevelStage {
|
|
get { return affinityLevelStage_; }
|
|
set {
|
|
affinityLevelStage_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as AffinityLevel);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(AffinityLevel other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (AffinityLevel_ != other.AffinityLevel_) return false;
|
|
if (NeedExp != other.NeedExp) return false;
|
|
if (TemplateId != other.TemplateId) return false;
|
|
if (AffinityLevelName != other.AffinityLevelName) return false;
|
|
if (AffinityLevelIcon != other.AffinityLevelIcon) return false;
|
|
if (AffinityLevelRewardIcon != other.AffinityLevelRewardIcon) return false;
|
|
if (AffinityLevelRewardLockIcon != other.AffinityLevelRewardLockIcon) return false;
|
|
if(!effect_.Equals(other.effect_)) return false;
|
|
if (AffinityLevelStage != other.AffinityLevelStage) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (AffinityLevel_ != 0) hash ^= AffinityLevel_.GetHashCode();
|
|
if (NeedExp != 0) hash ^= NeedExp.GetHashCode();
|
|
if (TemplateId != 0) hash ^= TemplateId.GetHashCode();
|
|
if (AffinityLevelName.Length != 0) hash ^= AffinityLevelName.GetHashCode();
|
|
if (AffinityLevelIcon.Length != 0) hash ^= AffinityLevelIcon.GetHashCode();
|
|
if (AffinityLevelRewardIcon.Length != 0) hash ^= AffinityLevelRewardIcon.GetHashCode();
|
|
if (AffinityLevelRewardLockIcon.Length != 0) hash ^= AffinityLevelRewardLockIcon.GetHashCode();
|
|
hash ^= effect_.GetHashCode();
|
|
if (AffinityLevelStage != 0) hash ^= AffinityLevelStage.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (AffinityLevel_ != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(AffinityLevel_);
|
|
}
|
|
if (NeedExp != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(NeedExp);
|
|
}
|
|
if (TemplateId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(TemplateId);
|
|
}
|
|
if (AffinityLevelName.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(AffinityLevelName);
|
|
}
|
|
if (AffinityLevelIcon.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(AffinityLevelIcon);
|
|
}
|
|
if (AffinityLevelRewardIcon.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(AffinityLevelRewardIcon);
|
|
}
|
|
if (AffinityLevelRewardLockIcon.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(AffinityLevelRewardLockIcon);
|
|
}
|
|
effect_.WriteTo(output, _repeated_effect_codec);
|
|
if (AffinityLevelStage != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(AffinityLevelStage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (AffinityLevel_ != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(AffinityLevel_);
|
|
}
|
|
if (NeedExp != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(NeedExp);
|
|
}
|
|
if (TemplateId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(TemplateId);
|
|
}
|
|
if (AffinityLevelName.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(AffinityLevelName);
|
|
}
|
|
if (AffinityLevelIcon.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(AffinityLevelIcon);
|
|
}
|
|
if (AffinityLevelRewardIcon.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(AffinityLevelRewardIcon);
|
|
}
|
|
if (AffinityLevelRewardLockIcon.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(AffinityLevelRewardLockIcon);
|
|
}
|
|
effect_.WriteTo(ref output, _repeated_effect_codec);
|
|
if (AffinityLevelStage != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(AffinityLevelStage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
|
}
|
|
if (AffinityLevel_ != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityLevel_);
|
|
}
|
|
if (NeedExp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp);
|
|
}
|
|
if (TemplateId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId);
|
|
}
|
|
if (AffinityLevelName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelName);
|
|
}
|
|
if (AffinityLevelIcon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelIcon);
|
|
}
|
|
if (AffinityLevelRewardIcon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelRewardIcon);
|
|
}
|
|
if (AffinityLevelRewardLockIcon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelRewardLockIcon);
|
|
}
|
|
size += effect_.CalculateSize(_repeated_effect_codec);
|
|
if (AffinityLevelStage != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityLevelStage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(AffinityLevel other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.AffinityLevel_ != 0) {
|
|
AffinityLevel_ = other.AffinityLevel_;
|
|
}
|
|
if (other.NeedExp != 0) {
|
|
NeedExp = other.NeedExp;
|
|
}
|
|
if (other.TemplateId != 0) {
|
|
TemplateId = other.TemplateId;
|
|
}
|
|
if (other.AffinityLevelName.Length != 0) {
|
|
AffinityLevelName = other.AffinityLevelName;
|
|
}
|
|
if (other.AffinityLevelIcon.Length != 0) {
|
|
AffinityLevelIcon = other.AffinityLevelIcon;
|
|
}
|
|
if (other.AffinityLevelRewardIcon.Length != 0) {
|
|
AffinityLevelRewardIcon = other.AffinityLevelRewardIcon;
|
|
}
|
|
if (other.AffinityLevelRewardLockIcon.Length != 0) {
|
|
AffinityLevelRewardLockIcon = other.AffinityLevelRewardLockIcon;
|
|
}
|
|
effect_.Add(other.effect_);
|
|
if (other.AffinityLevelStage != 0) {
|
|
AffinityLevelStage = other.AffinityLevelStage;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
AffinityLevel_ = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
NeedExp = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
TemplateId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
AffinityLevelName = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
AffinityLevelIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
AffinityLevelRewardIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 66: {
|
|
AffinityLevelRewardLockIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 74:
|
|
case 72: {
|
|
effect_.AddEntriesFrom(input, _repeated_effect_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
AffinityLevelStage = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
AffinityLevel_ = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
NeedExp = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
TemplateId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
AffinityLevelName = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
AffinityLevelIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
AffinityLevelRewardIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 66: {
|
|
AffinityLevelRewardLockIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 74:
|
|
case 72: {
|
|
effect_.AddEntriesFrom(ref input, _repeated_effect_codec);
|
|
break;
|
|
}
|
|
case 80: {
|
|
AffinityLevelStage = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|