// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: CharacterAdvance.proto // #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 { /// Holder for reflection information generated from CharacterAdvance.proto public static partial class CharacterAdvanceReflection { #region Descriptor /// File descriptor for CharacterAdvance.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CharacterAdvanceReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZDaGFyYWN0ZXJBZHZhbmNlLnByb3RvIuoDChBDaGFyYWN0ZXJBZHZhbmNl", "EgoKAmlkGAEgASgFEg0KBWdyb3VwGAIgASgFEhMKC2FkdmFuY2VfbHZsGAMg", "ASgFEgwKBHRpZDEYBCABKAUSDAoEcXR5MRgFIAEoBRIMCgR0aWQyGAYgASgF", "EgwKBHF0eTIYByABKAUSDAoEdGlkMxgIIAEoBRIMCgRxdHkzGAkgASgFEgwK", "BHRpZDQYCiABKAUSDAoEcXR5NBgLIAEoBRIQCghnb2xkX3F0eRgMIAEoBRIS", "Cgphd2FyZF90aWQxGA0gASgFEhIKCmF3YXJkX3F0eTEYDiABKAUSEgoKYXdh", "cmRfdGlkMhgPIAEoBRISCgphd2FyZF9xdHkyGBAgASgFEhIKCmF3YXJkX3Rp", "ZDMYESABKAUSEgoKYXdhcmRfcXR5MxgSIAEoBRIbChNhZHZhbmNlX2Rlc2Nf", "ZnJvbnQxGBMgASgJEhsKE2FkdmFuY2VfZGVzY19hZnRlcjEYFCABKAkSGwoT", "YWR2YW5jZV9kZXNjX2Zyb250MhgVIAEoCRIbChNhZHZhbmNlX2Rlc2NfYWZ0", "ZXIyGBYgASgJEhsKE2FkdmFuY2VfZGVzY19mcm9udDMYFyABKAkSGwoTYWR2", "YW5jZV9kZXNjX2FmdGVyMxgYIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3Rv", "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterAdvance), global::Nova.Client.CharacterAdvance.Parser, new[]{ "Id", "Group", "AdvanceLvl", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Tid4", "Qty4", "GoldQty", "AwardTid1", "AwardQty1", "AwardTid2", "AwardQty2", "AwardTid3", "AwardQty3", "AdvanceDescFront1", "AdvanceDescAfter1", "AdvanceDescFront2", "AdvanceDescAfter2", "AdvanceDescFront3", "AdvanceDescAfter3" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CharacterAdvance : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterAdvance()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.CharacterAdvanceReflection.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 CharacterAdvance() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CharacterAdvance(CharacterAdvance other) : this() { id_ = other.id_; group_ = other.group_; advanceLvl_ = other.advanceLvl_; tid1_ = other.tid1_; qty1_ = other.qty1_; tid2_ = other.tid2_; qty2_ = other.qty2_; tid3_ = other.tid3_; qty3_ = other.qty3_; tid4_ = other.tid4_; qty4_ = other.qty4_; goldQty_ = other.goldQty_; awardTid1_ = other.awardTid1_; awardQty1_ = other.awardQty1_; awardTid2_ = other.awardTid2_; awardQty2_ = other.awardQty2_; awardTid3_ = other.awardTid3_; awardQty3_ = other.awardQty3_; advanceDescFront1_ = other.advanceDescFront1_; advanceDescAfter1_ = other.advanceDescAfter1_; advanceDescFront2_ = other.advanceDescFront2_; advanceDescAfter2_ = other.advanceDescAfter2_; advanceDescFront3_ = other.advanceDescFront3_; advanceDescAfter3_ = other.advanceDescAfter3_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CharacterAdvance Clone() { return new CharacterAdvance(this); } /// Field number for the "id" field. 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; } } /// Field number for the "group" field. public const int GroupFieldNumber = 2; private int group_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Group { get { return group_; } set { group_ = value; } } /// Field number for the "advance_lvl" field. public const int AdvanceLvlFieldNumber = 3; private int advanceLvl_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AdvanceLvl { get { return advanceLvl_; } set { advanceLvl_ = value; } } /// Field number for the "tid1" field. public const int Tid1FieldNumber = 4; private int tid1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Tid1 { get { return tid1_; } set { tid1_ = value; } } /// Field number for the "qty1" field. public const int Qty1FieldNumber = 5; private int qty1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Qty1 { get { return qty1_; } set { qty1_ = value; } } /// Field number for the "tid2" field. public const int Tid2FieldNumber = 6; private int tid2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Tid2 { get { return tid2_; } set { tid2_ = value; } } /// Field number for the "qty2" field. public const int Qty2FieldNumber = 7; private int qty2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Qty2 { get { return qty2_; } set { qty2_ = value; } } /// Field number for the "tid3" field. public const int Tid3FieldNumber = 8; private int tid3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Tid3 { get { return tid3_; } set { tid3_ = value; } } /// Field number for the "qty3" field. public const int Qty3FieldNumber = 9; private int qty3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Qty3 { get { return qty3_; } set { qty3_ = value; } } /// Field number for the "tid4" field. public const int Tid4FieldNumber = 10; private int tid4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Tid4 { get { return tid4_; } set { tid4_ = value; } } /// Field number for the "qty4" field. public const int Qty4FieldNumber = 11; private int qty4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Qty4 { get { return qty4_; } set { qty4_ = value; } } /// Field number for the "gold_qty" field. public const int GoldQtyFieldNumber = 12; private int goldQty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GoldQty { get { return goldQty_; } set { goldQty_ = value; } } /// Field number for the "award_tid1" field. public const int AwardTid1FieldNumber = 13; private int awardTid1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardTid1 { get { return awardTid1_; } set { awardTid1_ = value; } } /// Field number for the "award_qty1" field. public const int AwardQty1FieldNumber = 14; private int awardQty1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardQty1 { get { return awardQty1_; } set { awardQty1_ = value; } } /// Field number for the "award_tid2" field. public const int AwardTid2FieldNumber = 15; private int awardTid2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardTid2 { get { return awardTid2_; } set { awardTid2_ = value; } } /// Field number for the "award_qty2" field. public const int AwardQty2FieldNumber = 16; private int awardQty2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardQty2 { get { return awardQty2_; } set { awardQty2_ = value; } } /// Field number for the "award_tid3" field. public const int AwardTid3FieldNumber = 17; private int awardTid3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardTid3 { get { return awardTid3_; } set { awardTid3_ = value; } } /// Field number for the "award_qty3" field. public const int AwardQty3FieldNumber = 18; private int awardQty3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AwardQty3 { get { return awardQty3_; } set { awardQty3_ = value; } } /// Field number for the "advance_desc_front1" field. public const int AdvanceDescFront1FieldNumber = 19; private string advanceDescFront1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AdvanceDescFront1 { get { return advanceDescFront1_; } set { advanceDescFront1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "advance_desc_after1" field. public const int AdvanceDescAfter1FieldNumber = 20; private string advanceDescAfter1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AdvanceDescAfter1 { get { return advanceDescAfter1_; } set { advanceDescAfter1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "advance_desc_front2" field. public const int AdvanceDescFront2FieldNumber = 21; private string advanceDescFront2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AdvanceDescFront2 { get { return advanceDescFront2_; } set { advanceDescFront2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "advance_desc_after2" field. public const int AdvanceDescAfter2FieldNumber = 22; private string advanceDescAfter2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AdvanceDescAfter2 { get { return advanceDescAfter2_; } set { advanceDescAfter2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "advance_desc_front3" field. public const int AdvanceDescFront3FieldNumber = 23; private string advanceDescFront3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AdvanceDescFront3 { get { return advanceDescFront3_; } set { advanceDescFront3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "advance_desc_after3" field. public const int AdvanceDescAfter3FieldNumber = 24; private string advanceDescAfter3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string AdvanceDescAfter3 { get { return advanceDescAfter3_; } set { advanceDescAfter3_ = 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 CharacterAdvance); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CharacterAdvance other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Group != other.Group) return false; if (AdvanceLvl != other.AdvanceLvl) return false; if (Tid1 != other.Tid1) return false; if (Qty1 != other.Qty1) return false; if (Tid2 != other.Tid2) return false; if (Qty2 != other.Qty2) return false; if (Tid3 != other.Tid3) return false; if (Qty3 != other.Qty3) return false; if (Tid4 != other.Tid4) return false; if (Qty4 != other.Qty4) return false; if (GoldQty != other.GoldQty) return false; if (AwardTid1 != other.AwardTid1) return false; if (AwardQty1 != other.AwardQty1) return false; if (AwardTid2 != other.AwardTid2) return false; if (AwardQty2 != other.AwardQty2) return false; if (AwardTid3 != other.AwardTid3) return false; if (AwardQty3 != other.AwardQty3) return false; if (AdvanceDescFront1 != other.AdvanceDescFront1) return false; if (AdvanceDescAfter1 != other.AdvanceDescAfter1) return false; if (AdvanceDescFront2 != other.AdvanceDescFront2) return false; if (AdvanceDescAfter2 != other.AdvanceDescAfter2) return false; if (AdvanceDescFront3 != other.AdvanceDescFront3) return false; if (AdvanceDescAfter3 != other.AdvanceDescAfter3) 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 (Group != 0) hash ^= Group.GetHashCode(); if (AdvanceLvl != 0) hash ^= AdvanceLvl.GetHashCode(); if (Tid1 != 0) hash ^= Tid1.GetHashCode(); if (Qty1 != 0) hash ^= Qty1.GetHashCode(); if (Tid2 != 0) hash ^= Tid2.GetHashCode(); if (Qty2 != 0) hash ^= Qty2.GetHashCode(); if (Tid3 != 0) hash ^= Tid3.GetHashCode(); if (Qty3 != 0) hash ^= Qty3.GetHashCode(); if (Tid4 != 0) hash ^= Tid4.GetHashCode(); if (Qty4 != 0) hash ^= Qty4.GetHashCode(); if (GoldQty != 0) hash ^= GoldQty.GetHashCode(); if (AwardTid1 != 0) hash ^= AwardTid1.GetHashCode(); if (AwardQty1 != 0) hash ^= AwardQty1.GetHashCode(); if (AwardTid2 != 0) hash ^= AwardTid2.GetHashCode(); if (AwardQty2 != 0) hash ^= AwardQty2.GetHashCode(); if (AwardTid3 != 0) hash ^= AwardTid3.GetHashCode(); if (AwardQty3 != 0) hash ^= AwardQty3.GetHashCode(); if (AdvanceDescFront1.Length != 0) hash ^= AdvanceDescFront1.GetHashCode(); if (AdvanceDescAfter1.Length != 0) hash ^= AdvanceDescAfter1.GetHashCode(); if (AdvanceDescFront2.Length != 0) hash ^= AdvanceDescFront2.GetHashCode(); if (AdvanceDescAfter2.Length != 0) hash ^= AdvanceDescAfter2.GetHashCode(); if (AdvanceDescFront3.Length != 0) hash ^= AdvanceDescFront3.GetHashCode(); if (AdvanceDescAfter3.Length != 0) hash ^= AdvanceDescAfter3.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 (Group != 0) { output.WriteRawTag(16); output.WriteInt32(Group); } if (AdvanceLvl != 0) { output.WriteRawTag(24); output.WriteInt32(AdvanceLvl); } if (Tid1 != 0) { output.WriteRawTag(32); output.WriteInt32(Tid1); } if (Qty1 != 0) { output.WriteRawTag(40); output.WriteInt32(Qty1); } if (Tid2 != 0) { output.WriteRawTag(48); output.WriteInt32(Tid2); } if (Qty2 != 0) { output.WriteRawTag(56); output.WriteInt32(Qty2); } if (Tid3 != 0) { output.WriteRawTag(64); output.WriteInt32(Tid3); } if (Qty3 != 0) { output.WriteRawTag(72); output.WriteInt32(Qty3); } if (Tid4 != 0) { output.WriteRawTag(80); output.WriteInt32(Tid4); } if (Qty4 != 0) { output.WriteRawTag(88); output.WriteInt32(Qty4); } if (GoldQty != 0) { output.WriteRawTag(96); output.WriteInt32(GoldQty); } if (AwardTid1 != 0) { output.WriteRawTag(104); output.WriteInt32(AwardTid1); } if (AwardQty1 != 0) { output.WriteRawTag(112); output.WriteInt32(AwardQty1); } if (AwardTid2 != 0) { output.WriteRawTag(120); output.WriteInt32(AwardTid2); } if (AwardQty2 != 0) { output.WriteRawTag(128, 1); output.WriteInt32(AwardQty2); } if (AwardTid3 != 0) { output.WriteRawTag(136, 1); output.WriteInt32(AwardTid3); } if (AwardQty3 != 0) { output.WriteRawTag(144, 1); output.WriteInt32(AwardQty3); } if (AdvanceDescFront1.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(AdvanceDescFront1); } if (AdvanceDescAfter1.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(AdvanceDescAfter1); } if (AdvanceDescFront2.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(AdvanceDescFront2); } if (AdvanceDescAfter2.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(AdvanceDescAfter2); } if (AdvanceDescFront3.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(AdvanceDescFront3); } if (AdvanceDescAfter3.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(AdvanceDescAfter3); } 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 (Group != 0) { output.WriteRawTag(16); output.WriteInt32(Group); } if (AdvanceLvl != 0) { output.WriteRawTag(24); output.WriteInt32(AdvanceLvl); } if (Tid1 != 0) { output.WriteRawTag(32); output.WriteInt32(Tid1); } if (Qty1 != 0) { output.WriteRawTag(40); output.WriteInt32(Qty1); } if (Tid2 != 0) { output.WriteRawTag(48); output.WriteInt32(Tid2); } if (Qty2 != 0) { output.WriteRawTag(56); output.WriteInt32(Qty2); } if (Tid3 != 0) { output.WriteRawTag(64); output.WriteInt32(Tid3); } if (Qty3 != 0) { output.WriteRawTag(72); output.WriteInt32(Qty3); } if (Tid4 != 0) { output.WriteRawTag(80); output.WriteInt32(Tid4); } if (Qty4 != 0) { output.WriteRawTag(88); output.WriteInt32(Qty4); } if (GoldQty != 0) { output.WriteRawTag(96); output.WriteInt32(GoldQty); } if (AwardTid1 != 0) { output.WriteRawTag(104); output.WriteInt32(AwardTid1); } if (AwardQty1 != 0) { output.WriteRawTag(112); output.WriteInt32(AwardQty1); } if (AwardTid2 != 0) { output.WriteRawTag(120); output.WriteInt32(AwardTid2); } if (AwardQty2 != 0) { output.WriteRawTag(128, 1); output.WriteInt32(AwardQty2); } if (AwardTid3 != 0) { output.WriteRawTag(136, 1); output.WriteInt32(AwardTid3); } if (AwardQty3 != 0) { output.WriteRawTag(144, 1); output.WriteInt32(AwardQty3); } if (AdvanceDescFront1.Length != 0) { output.WriteRawTag(154, 1); output.WriteString(AdvanceDescFront1); } if (AdvanceDescAfter1.Length != 0) { output.WriteRawTag(162, 1); output.WriteString(AdvanceDescAfter1); } if (AdvanceDescFront2.Length != 0) { output.WriteRawTag(170, 1); output.WriteString(AdvanceDescFront2); } if (AdvanceDescAfter2.Length != 0) { output.WriteRawTag(178, 1); output.WriteString(AdvanceDescAfter2); } if (AdvanceDescFront3.Length != 0) { output.WriteRawTag(186, 1); output.WriteString(AdvanceDescFront3); } if (AdvanceDescAfter3.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(AdvanceDescAfter3); } 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 (Group != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); } if (AdvanceLvl != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceLvl); } if (Tid1 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); } if (Qty1 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); } if (Tid2 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); } if (Qty2 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); } if (Tid3 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); } if (Qty3 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); } if (Tid4 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid4); } if (Qty4 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty4); } if (GoldQty != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GoldQty); } if (AwardTid1 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardTid1); } if (AwardQty1 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardQty1); } if (AwardTid2 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardTid2); } if (AwardQty2 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardQty2); } if (AwardTid3 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardTid3); } if (AwardQty3 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardQty3); } if (AdvanceDescFront1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront1); } if (AdvanceDescAfter1.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter1); } if (AdvanceDescFront2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront2); } if (AdvanceDescAfter2.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter2); } if (AdvanceDescFront3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront3); } if (AdvanceDescAfter3.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter3); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CharacterAdvance other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Group != 0) { Group = other.Group; } if (other.AdvanceLvl != 0) { AdvanceLvl = other.AdvanceLvl; } if (other.Tid1 != 0) { Tid1 = other.Tid1; } if (other.Qty1 != 0) { Qty1 = other.Qty1; } if (other.Tid2 != 0) { Tid2 = other.Tid2; } if (other.Qty2 != 0) { Qty2 = other.Qty2; } if (other.Tid3 != 0) { Tid3 = other.Tid3; } if (other.Qty3 != 0) { Qty3 = other.Qty3; } if (other.Tid4 != 0) { Tid4 = other.Tid4; } if (other.Qty4 != 0) { Qty4 = other.Qty4; } if (other.GoldQty != 0) { GoldQty = other.GoldQty; } if (other.AwardTid1 != 0) { AwardTid1 = other.AwardTid1; } if (other.AwardQty1 != 0) { AwardQty1 = other.AwardQty1; } if (other.AwardTid2 != 0) { AwardTid2 = other.AwardTid2; } if (other.AwardQty2 != 0) { AwardQty2 = other.AwardQty2; } if (other.AwardTid3 != 0) { AwardTid3 = other.AwardTid3; } if (other.AwardQty3 != 0) { AwardQty3 = other.AwardQty3; } if (other.AdvanceDescFront1.Length != 0) { AdvanceDescFront1 = other.AdvanceDescFront1; } if (other.AdvanceDescAfter1.Length != 0) { AdvanceDescAfter1 = other.AdvanceDescAfter1; } if (other.AdvanceDescFront2.Length != 0) { AdvanceDescFront2 = other.AdvanceDescFront2; } if (other.AdvanceDescAfter2.Length != 0) { AdvanceDescAfter2 = other.AdvanceDescAfter2; } if (other.AdvanceDescFront3.Length != 0) { AdvanceDescFront3 = other.AdvanceDescFront3; } if (other.AdvanceDescAfter3.Length != 0) { AdvanceDescAfter3 = other.AdvanceDescAfter3; } _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: { Group = input.ReadInt32(); break; } case 24: { AdvanceLvl = input.ReadInt32(); break; } case 32: { Tid1 = input.ReadInt32(); break; } case 40: { Qty1 = input.ReadInt32(); break; } case 48: { Tid2 = input.ReadInt32(); break; } case 56: { Qty2 = input.ReadInt32(); break; } case 64: { Tid3 = input.ReadInt32(); break; } case 72: { Qty3 = input.ReadInt32(); break; } case 80: { Tid4 = input.ReadInt32(); break; } case 88: { Qty4 = input.ReadInt32(); break; } case 96: { GoldQty = input.ReadInt32(); break; } case 104: { AwardTid1 = input.ReadInt32(); break; } case 112: { AwardQty1 = input.ReadInt32(); break; } case 120: { AwardTid2 = input.ReadInt32(); break; } case 128: { AwardQty2 = input.ReadInt32(); break; } case 136: { AwardTid3 = input.ReadInt32(); break; } case 144: { AwardQty3 = input.ReadInt32(); break; } case 154: { AdvanceDescFront1 = input.ReadString(); break; } case 162: { AdvanceDescAfter1 = input.ReadString(); break; } case 170: { AdvanceDescFront2 = input.ReadString(); break; } case 178: { AdvanceDescAfter2 = input.ReadString(); break; } case 186: { AdvanceDescFront3 = input.ReadString(); break; } case 194: { AdvanceDescAfter3 = 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: { Group = input.ReadInt32(); break; } case 24: { AdvanceLvl = input.ReadInt32(); break; } case 32: { Tid1 = input.ReadInt32(); break; } case 40: { Qty1 = input.ReadInt32(); break; } case 48: { Tid2 = input.ReadInt32(); break; } case 56: { Qty2 = input.ReadInt32(); break; } case 64: { Tid3 = input.ReadInt32(); break; } case 72: { Qty3 = input.ReadInt32(); break; } case 80: { Tid4 = input.ReadInt32(); break; } case 88: { Qty4 = input.ReadInt32(); break; } case 96: { GoldQty = input.ReadInt32(); break; } case 104: { AwardTid1 = input.ReadInt32(); break; } case 112: { AwardQty1 = input.ReadInt32(); break; } case 120: { AwardTid2 = input.ReadInt32(); break; } case 128: { AwardQty2 = input.ReadInt32(); break; } case 136: { AwardTid3 = input.ReadInt32(); break; } case 144: { AwardQty3 = input.ReadInt32(); break; } case 154: { AdvanceDescFront1 = input.ReadString(); break; } case 162: { AdvanceDescAfter1 = input.ReadString(); break; } case 170: { AdvanceDescFront2 = input.ReadString(); break; } case 178: { AdvanceDescAfter2 = input.ReadString(); break; } case 186: { AdvanceDescFront3 = input.ReadString(); break; } case 194: { AdvanceDescAfter3 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code