mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-15 16:04:48 +01:00
739 lines
25 KiB
C#
739 lines
25 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: InfinityTowerBountyLevel.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 InfinityTowerBountyLevel.proto</summary>
|
|
public static partial class InfinityTowerBountyLevelReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for InfinityTowerBountyLevel.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static InfinityTowerBountyLevelReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch5JbmZpbml0eVRvd2VyQm91bnR5TGV2ZWwucHJvdG8ipgIKGEluZmluaXR5",
|
|
"VG93ZXJCb3VudHlMZXZlbBIKCgJpZBgBIAEoBRINCgVsZXZlbBgCIAEoBRIM",
|
|
"CgRuYW1lGAMgASgJEgwKBGljb24YBCABKAkSFgoOcmV3YXJkX2Ryb3BfaWQY",
|
|
"BSABKAUSEwoLcmV3YXJkX3Nob3cYBiABKAkSDQoFY29uZDEYByABKAUSEwoL",
|
|
"Y29uZF9wYXJhbTEYCCADKAUSEgoKY29uZF9kZXNjMRgJIAEoCRINCgVjb25k",
|
|
"MhgKIAEoBRITCgtjb25kX3BhcmFtMhgLIAMoBRISCgpjb25kX2Rlc2MyGAwg",
|
|
"ASgJEg0KBWNvbmQzGA0gASgFEhMKC2NvbmRfcGFyYW0zGA4gAygFEhIKCmNv",
|
|
"bmRfZGVzYzMYDyABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerBountyLevel), global::Nova.Client.InfinityTowerBountyLevel.Parser, new[]{ "Id", "Level", "Name", "Icon", "RewardDropId", "RewardShow", "Cond1", "CondParam1", "CondDesc1", "Cond2", "CondParam2", "CondDesc2", "Cond3", "CondParam3", "CondDesc3" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class InfinityTowerBountyLevel : pb::IMessage<InfinityTowerBountyLevel>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<InfinityTowerBountyLevel> _parser = new pb::MessageParser<InfinityTowerBountyLevel>(() => new InfinityTowerBountyLevel());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<InfinityTowerBountyLevel> 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.InfinityTowerBountyLevelReflection.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 InfinityTowerBountyLevel() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public InfinityTowerBountyLevel(InfinityTowerBountyLevel other) : this() {
|
|
id_ = other.id_;
|
|
level_ = other.level_;
|
|
name_ = other.name_;
|
|
icon_ = other.icon_;
|
|
rewardDropId_ = other.rewardDropId_;
|
|
rewardShow_ = other.rewardShow_;
|
|
cond1_ = other.cond1_;
|
|
condParam1_ = other.condParam1_.Clone();
|
|
condDesc1_ = other.condDesc1_;
|
|
cond2_ = other.cond2_;
|
|
condParam2_ = other.condParam2_.Clone();
|
|
condDesc2_ = other.condDesc2_;
|
|
cond3_ = other.cond3_;
|
|
condParam3_ = other.condParam3_.Clone();
|
|
condDesc3_ = other.condDesc3_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public InfinityTowerBountyLevel Clone() {
|
|
return new InfinityTowerBountyLevel(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 "level" field.</summary>
|
|
public const int LevelFieldNumber = 2;
|
|
private int level_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Level {
|
|
get { return level_; }
|
|
set {
|
|
level_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 3;
|
|
private string name_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Name {
|
|
get { return name_; }
|
|
set {
|
|
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "icon" field.</summary>
|
|
public const int IconFieldNumber = 4;
|
|
private string icon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Icon {
|
|
get { return icon_; }
|
|
set {
|
|
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "reward_drop_id" field.</summary>
|
|
public const int RewardDropIdFieldNumber = 5;
|
|
private int rewardDropId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int RewardDropId {
|
|
get { return rewardDropId_; }
|
|
set {
|
|
rewardDropId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "reward_show" field.</summary>
|
|
public const int RewardShowFieldNumber = 6;
|
|
private string rewardShow_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RewardShow {
|
|
get { return rewardShow_; }
|
|
set {
|
|
rewardShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cond1" field.</summary>
|
|
public const int Cond1FieldNumber = 7;
|
|
private int cond1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Cond1 {
|
|
get { return cond1_; }
|
|
set {
|
|
cond1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cond_param1" field.</summary>
|
|
public const int CondParam1FieldNumber = 8;
|
|
private static readonly pb::FieldCodec<int> _repeated_condParam1_codec
|
|
= pb::FieldCodec.ForInt32(66);
|
|
private readonly pbc::RepeatedField<int> condParam1_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> CondParam1 {
|
|
get { return condParam1_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "cond_desc1" field.</summary>
|
|
public const int CondDesc1FieldNumber = 9;
|
|
private string condDesc1_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string CondDesc1 {
|
|
get { return condDesc1_; }
|
|
set {
|
|
condDesc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cond2" field.</summary>
|
|
public const int Cond2FieldNumber = 10;
|
|
private int cond2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Cond2 {
|
|
get { return cond2_; }
|
|
set {
|
|
cond2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cond_param2" field.</summary>
|
|
public const int CondParam2FieldNumber = 11;
|
|
private static readonly pb::FieldCodec<int> _repeated_condParam2_codec
|
|
= pb::FieldCodec.ForInt32(90);
|
|
private readonly pbc::RepeatedField<int> condParam2_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> CondParam2 {
|
|
get { return condParam2_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "cond_desc2" field.</summary>
|
|
public const int CondDesc2FieldNumber = 12;
|
|
private string condDesc2_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string CondDesc2 {
|
|
get { return condDesc2_; }
|
|
set {
|
|
condDesc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cond3" field.</summary>
|
|
public const int Cond3FieldNumber = 13;
|
|
private int cond3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Cond3 {
|
|
get { return cond3_; }
|
|
set {
|
|
cond3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cond_param3" field.</summary>
|
|
public const int CondParam3FieldNumber = 14;
|
|
private static readonly pb::FieldCodec<int> _repeated_condParam3_codec
|
|
= pb::FieldCodec.ForInt32(114);
|
|
private readonly pbc::RepeatedField<int> condParam3_ = new pbc::RepeatedField<int>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<int> CondParam3 {
|
|
get { return condParam3_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "cond_desc3" field.</summary>
|
|
public const int CondDesc3FieldNumber = 15;
|
|
private string condDesc3_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string CondDesc3 {
|
|
get { return condDesc3_; }
|
|
set {
|
|
condDesc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as InfinityTowerBountyLevel);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(InfinityTowerBountyLevel other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (Level != other.Level) return false;
|
|
if (Name != other.Name) return false;
|
|
if (Icon != other.Icon) return false;
|
|
if (RewardDropId != other.RewardDropId) return false;
|
|
if (RewardShow != other.RewardShow) return false;
|
|
if (Cond1 != other.Cond1) return false;
|
|
if(!condParam1_.Equals(other.condParam1_)) return false;
|
|
if (CondDesc1 != other.CondDesc1) return false;
|
|
if (Cond2 != other.Cond2) return false;
|
|
if(!condParam2_.Equals(other.condParam2_)) return false;
|
|
if (CondDesc2 != other.CondDesc2) return false;
|
|
if (Cond3 != other.Cond3) return false;
|
|
if(!condParam3_.Equals(other.condParam3_)) return false;
|
|
if (CondDesc3 != other.CondDesc3) 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 (Level != 0) hash ^= Level.GetHashCode();
|
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
|
|
if (RewardDropId != 0) hash ^= RewardDropId.GetHashCode();
|
|
if (RewardShow.Length != 0) hash ^= RewardShow.GetHashCode();
|
|
if (Cond1 != 0) hash ^= Cond1.GetHashCode();
|
|
hash ^= condParam1_.GetHashCode();
|
|
if (CondDesc1.Length != 0) hash ^= CondDesc1.GetHashCode();
|
|
if (Cond2 != 0) hash ^= Cond2.GetHashCode();
|
|
hash ^= condParam2_.GetHashCode();
|
|
if (CondDesc2.Length != 0) hash ^= CondDesc2.GetHashCode();
|
|
if (Cond3 != 0) hash ^= Cond3.GetHashCode();
|
|
hash ^= condParam3_.GetHashCode();
|
|
if (CondDesc3.Length != 0) hash ^= CondDesc3.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 (Level != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Level);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Name);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (RewardDropId != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(RewardDropId);
|
|
}
|
|
if (RewardShow.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(RewardShow);
|
|
}
|
|
if (Cond1 != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(Cond1);
|
|
}
|
|
condParam1_.WriteTo(output, _repeated_condParam1_codec);
|
|
if (CondDesc1.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(CondDesc1);
|
|
}
|
|
if (Cond2 != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(Cond2);
|
|
}
|
|
condParam2_.WriteTo(output, _repeated_condParam2_codec);
|
|
if (CondDesc2.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(CondDesc2);
|
|
}
|
|
if (Cond3 != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt32(Cond3);
|
|
}
|
|
condParam3_.WriteTo(output, _repeated_condParam3_codec);
|
|
if (CondDesc3.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(CondDesc3);
|
|
}
|
|
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 (Level != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Level);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Name);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (RewardDropId != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(RewardDropId);
|
|
}
|
|
if (RewardShow.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(RewardShow);
|
|
}
|
|
if (Cond1 != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(Cond1);
|
|
}
|
|
condParam1_.WriteTo(ref output, _repeated_condParam1_codec);
|
|
if (CondDesc1.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(CondDesc1);
|
|
}
|
|
if (Cond2 != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(Cond2);
|
|
}
|
|
condParam2_.WriteTo(ref output, _repeated_condParam2_codec);
|
|
if (CondDesc2.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(CondDesc2);
|
|
}
|
|
if (Cond3 != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt32(Cond3);
|
|
}
|
|
condParam3_.WriteTo(ref output, _repeated_condParam3_codec);
|
|
if (CondDesc3.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(CondDesc3);
|
|
}
|
|
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 (Level != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level);
|
|
}
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
|
|
}
|
|
if (RewardDropId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardDropId);
|
|
}
|
|
if (RewardShow.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardShow);
|
|
}
|
|
if (Cond1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond1);
|
|
}
|
|
size += condParam1_.CalculateSize(_repeated_condParam1_codec);
|
|
if (CondDesc1.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc1);
|
|
}
|
|
if (Cond2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond2);
|
|
}
|
|
size += condParam2_.CalculateSize(_repeated_condParam2_codec);
|
|
if (CondDesc2.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc2);
|
|
}
|
|
if (Cond3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond3);
|
|
}
|
|
size += condParam3_.CalculateSize(_repeated_condParam3_codec);
|
|
if (CondDesc3.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc3);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(InfinityTowerBountyLevel other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.Level != 0) {
|
|
Level = other.Level;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
if (other.Icon.Length != 0) {
|
|
Icon = other.Icon;
|
|
}
|
|
if (other.RewardDropId != 0) {
|
|
RewardDropId = other.RewardDropId;
|
|
}
|
|
if (other.RewardShow.Length != 0) {
|
|
RewardShow = other.RewardShow;
|
|
}
|
|
if (other.Cond1 != 0) {
|
|
Cond1 = other.Cond1;
|
|
}
|
|
condParam1_.Add(other.condParam1_);
|
|
if (other.CondDesc1.Length != 0) {
|
|
CondDesc1 = other.CondDesc1;
|
|
}
|
|
if (other.Cond2 != 0) {
|
|
Cond2 = other.Cond2;
|
|
}
|
|
condParam2_.Add(other.condParam2_);
|
|
if (other.CondDesc2.Length != 0) {
|
|
CondDesc2 = other.CondDesc2;
|
|
}
|
|
if (other.Cond3 != 0) {
|
|
Cond3 = other.Cond3;
|
|
}
|
|
condParam3_.Add(other.condParam3_);
|
|
if (other.CondDesc3.Length != 0) {
|
|
CondDesc3 = other.CondDesc3;
|
|
}
|
|
_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: {
|
|
Level = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
RewardDropId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
RewardShow = input.ReadString();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Cond1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66:
|
|
case 64: {
|
|
condParam1_.AddEntriesFrom(input, _repeated_condParam1_codec);
|
|
break;
|
|
}
|
|
case 74: {
|
|
CondDesc1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Cond2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
condParam2_.AddEntriesFrom(input, _repeated_condParam2_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
CondDesc2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Cond3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
condParam3_.AddEntriesFrom(input, _repeated_condParam3_codec);
|
|
break;
|
|
}
|
|
case 122: {
|
|
CondDesc3 = input.ReadString();
|
|
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: {
|
|
Level = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
RewardDropId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
RewardShow = input.ReadString();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Cond1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66:
|
|
case 64: {
|
|
condParam1_.AddEntriesFrom(ref input, _repeated_condParam1_codec);
|
|
break;
|
|
}
|
|
case 74: {
|
|
CondDesc1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Cond2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
condParam2_.AddEntriesFrom(ref input, _repeated_condParam2_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
CondDesc2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Cond3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
condParam3_.AddEntriesFrom(ref input, _repeated_condParam3_codec);
|
|
break;
|
|
}
|
|
case 122: {
|
|
CondDesc3 = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|