// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: AffinityUpReward.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 AffinityUpReward.proto public static partial class AffinityUpRewardReflection { #region Descriptor /// File descriptor for AffinityUpReward.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static AffinityUpRewardReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZBZmZpbml0eVVwUmV3YXJkLnByb3RvIvYBChBBZmZpbml0eVVwUmV3YXJk", "EgoKAmlkGAEgASgFEg8KB2NoYXJfaWQYAiABKAUSFAoMcmV3YXJkX2xldmVs", "GAMgASgFEg8KB3Jld2FyZDEYBCADKAUSDwoHcmV3YXJkMhgFIAMoBRIPCgdy", "ZXdhcmQzGAYgAygFEhMKC2Rlc2NfZnJvbnQxGAcgASgJEhMKC2Rlc2NfZnJv", "bnQyGAggASgJEhMKC2Rlc2NfZnJvbnQzGAkgASgJEhMKC2Rlc2NfYWZ0ZXIx", "GAogASgJEhMKC2Rlc2NfYWZ0ZXIyGAsgASgJEhMKC2Rlc2NfYWZ0ZXIzGAwg", "ASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityUpReward), global::Nova.Client.AffinityUpReward.Parser, new[]{ "Id", "CharId", "RewardLevel", "Reward1", "Reward2", "Reward3", "DescFront1", "DescFront2", "DescFront3", "DescAfter1", "DescAfter2", "DescAfter3" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AffinityUpReward : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AffinityUpReward()); 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.AffinityUpRewardReflection.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 AffinityUpReward() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AffinityUpReward(AffinityUpReward other) : this() { id_ = other.id_; charId_ = other.charId_; rewardLevel_ = other.rewardLevel_; reward1_ = other.reward1_.Clone(); reward2_ = other.reward2_.Clone(); reward3_ = other.reward3_.Clone(); descFront1_ = other.descFront1_; descFront2_ = other.descFront2_; descFront3_ = other.descFront3_; descAfter1_ = other.descAfter1_; descAfter2_ = other.descAfter2_; descAfter3_ = other.descAfter3_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AffinityUpReward Clone() { return new AffinityUpReward(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 "char_id" field. public const int CharIdFieldNumber = 2; private int charId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CharId { get { return charId_; } set { charId_ = value; } } /// Field number for the "reward_level" field. public const int RewardLevelFieldNumber = 3; private int rewardLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int RewardLevel { get { return rewardLevel_; } set { rewardLevel_ = value; } } /// Field number for the "reward1" field. public const int Reward1FieldNumber = 4; private static readonly pb::FieldCodec _repeated_reward1_codec = pb::FieldCodec.ForInt32(34); private readonly pbc::RepeatedField reward1_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Reward1 { get { return reward1_; } } /// Field number for the "reward2" field. public const int Reward2FieldNumber = 5; private static readonly pb::FieldCodec _repeated_reward2_codec = pb::FieldCodec.ForInt32(42); private readonly pbc::RepeatedField reward2_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Reward2 { get { return reward2_; } } /// Field number for the "reward3" field. public const int Reward3FieldNumber = 6; private static readonly pb::FieldCodec _repeated_reward3_codec = pb::FieldCodec.ForInt32(50); private readonly pbc::RepeatedField reward3_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Reward3 { get { return reward3_; } } /// Field number for the "desc_front1" field. public const int DescFront1FieldNumber = 7; private string descFront1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DescFront1 { get { return descFront1_; } set { descFront1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc_front2" field. public const int DescFront2FieldNumber = 8; private string descFront2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DescFront2 { get { return descFront2_; } set { descFront2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc_front3" field. public const int DescFront3FieldNumber = 9; private string descFront3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DescFront3 { get { return descFront3_; } set { descFront3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc_after1" field. public const int DescAfter1FieldNumber = 10; private string descAfter1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DescAfter1 { get { return descAfter1_; } set { descAfter1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc_after2" field. public const int DescAfter2FieldNumber = 11; private string descAfter2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DescAfter2 { get { return descAfter2_; } set { descAfter2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc_after3" field. public const int DescAfter3FieldNumber = 12; private string descAfter3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DescAfter3 { get { return descAfter3_; } set { descAfter3_ = 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 AffinityUpReward); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AffinityUpReward other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (CharId != other.CharId) return false; if (RewardLevel != other.RewardLevel) return false; if(!reward1_.Equals(other.reward1_)) return false; if(!reward2_.Equals(other.reward2_)) return false; if(!reward3_.Equals(other.reward3_)) return false; if (DescFront1 != other.DescFront1) return false; if (DescFront2 != other.DescFront2) return false; if (DescFront3 != other.DescFront3) return false; if (DescAfter1 != other.DescAfter1) return false; if (DescAfter2 != other.DescAfter2) return false; if (DescAfter3 != other.DescAfter3) 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 (CharId != 0) hash ^= CharId.GetHashCode(); if (RewardLevel != 0) hash ^= RewardLevel.GetHashCode(); hash ^= reward1_.GetHashCode(); hash ^= reward2_.GetHashCode(); hash ^= reward3_.GetHashCode(); if (DescFront1.Length != 0) hash ^= DescFront1.GetHashCode(); if (DescFront2.Length != 0) hash ^= DescFront2.GetHashCode(); if (DescFront3.Length != 0) hash ^= DescFront3.GetHashCode(); if (DescAfter1.Length != 0) hash ^= DescAfter1.GetHashCode(); if (DescAfter2.Length != 0) hash ^= DescAfter2.GetHashCode(); if (DescAfter3.Length != 0) hash ^= DescAfter3.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 (CharId != 0) { output.WriteRawTag(16); output.WriteInt32(CharId); } if (RewardLevel != 0) { output.WriteRawTag(24); output.WriteInt32(RewardLevel); } reward1_.WriteTo(output, _repeated_reward1_codec); reward2_.WriteTo(output, _repeated_reward2_codec); reward3_.WriteTo(output, _repeated_reward3_codec); if (DescFront1.Length != 0) { output.WriteRawTag(58); output.WriteString(DescFront1); } if (DescFront2.Length != 0) { output.WriteRawTag(66); output.WriteString(DescFront2); } if (DescFront3.Length != 0) { output.WriteRawTag(74); output.WriteString(DescFront3); } if (DescAfter1.Length != 0) { output.WriteRawTag(82); output.WriteString(DescAfter1); } if (DescAfter2.Length != 0) { output.WriteRawTag(90); output.WriteString(DescAfter2); } if (DescAfter3.Length != 0) { output.WriteRawTag(98); output.WriteString(DescAfter3); } 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 (CharId != 0) { output.WriteRawTag(16); output.WriteInt32(CharId); } if (RewardLevel != 0) { output.WriteRawTag(24); output.WriteInt32(RewardLevel); } reward1_.WriteTo(ref output, _repeated_reward1_codec); reward2_.WriteTo(ref output, _repeated_reward2_codec); reward3_.WriteTo(ref output, _repeated_reward3_codec); if (DescFront1.Length != 0) { output.WriteRawTag(58); output.WriteString(DescFront1); } if (DescFront2.Length != 0) { output.WriteRawTag(66); output.WriteString(DescFront2); } if (DescFront3.Length != 0) { output.WriteRawTag(74); output.WriteString(DescFront3); } if (DescAfter1.Length != 0) { output.WriteRawTag(82); output.WriteString(DescAfter1); } if (DescAfter2.Length != 0) { output.WriteRawTag(90); output.WriteString(DescAfter2); } if (DescAfter3.Length != 0) { output.WriteRawTag(98); output.WriteString(DescAfter3); } 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 (CharId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); } if (RewardLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardLevel); } size += reward1_.CalculateSize(_repeated_reward1_codec); size += reward2_.CalculateSize(_repeated_reward2_codec); size += reward3_.CalculateSize(_repeated_reward3_codec); if (DescFront1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront1); } if (DescFront2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront2); } if (DescFront3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront3); } if (DescAfter1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter1); } if (DescAfter2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter2); } if (DescAfter3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter3); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AffinityUpReward other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.CharId != 0) { CharId = other.CharId; } if (other.RewardLevel != 0) { RewardLevel = other.RewardLevel; } reward1_.Add(other.reward1_); reward2_.Add(other.reward2_); reward3_.Add(other.reward3_); if (other.DescFront1.Length != 0) { DescFront1 = other.DescFront1; } if (other.DescFront2.Length != 0) { DescFront2 = other.DescFront2; } if (other.DescFront3.Length != 0) { DescFront3 = other.DescFront3; } if (other.DescAfter1.Length != 0) { DescAfter1 = other.DescAfter1; } if (other.DescAfter2.Length != 0) { DescAfter2 = other.DescAfter2; } if (other.DescAfter3.Length != 0) { DescAfter3 = other.DescAfter3; } _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: { CharId = input.ReadInt32(); break; } case 24: { RewardLevel = input.ReadInt32(); break; } case 34: case 32: { reward1_.AddEntriesFrom(input, _repeated_reward1_codec); break; } case 42: case 40: { reward2_.AddEntriesFrom(input, _repeated_reward2_codec); break; } case 50: case 48: { reward3_.AddEntriesFrom(input, _repeated_reward3_codec); break; } case 58: { DescFront1 = input.ReadString(); break; } case 66: { DescFront2 = input.ReadString(); break; } case 74: { DescFront3 = input.ReadString(); break; } case 82: { DescAfter1 = input.ReadString(); break; } case 90: { DescAfter2 = input.ReadString(); break; } case 98: { DescAfter3 = 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: { CharId = input.ReadInt32(); break; } case 24: { RewardLevel = input.ReadInt32(); break; } case 34: case 32: { reward1_.AddEntriesFrom(ref input, _repeated_reward1_codec); break; } case 42: case 40: { reward2_.AddEntriesFrom(ref input, _repeated_reward2_codec); break; } case 50: case 48: { reward3_.AddEntriesFrom(ref input, _repeated_reward3_codec); break; } case 58: { DescFront1 = input.ReadString(); break; } case 66: { DescFront2 = input.ReadString(); break; } case 74: { DescFront3 = input.ReadString(); break; } case 82: { DescAfter1 = input.ReadString(); break; } case 90: { DescAfter2 = input.ReadString(); break; } case 98: { DescAfter3 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code