// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: traveler_duel_rank_upload.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 Proto { /// Holder for reflection information generated from traveler_duel_rank_upload.proto public static partial class TravelerDuelRankUploadReflection { #region Descriptor /// File descriptor for traveler_duel_rank_upload.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static TravelerDuelRankUploadReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch90cmF2ZWxlcl9kdWVsX3JhbmtfdXBsb2FkLnByb3RvEgVwcm90bxoMcHVi", "bGljLnByb3RvInQKGVRyYXZlbGVyRHVlbEJhdHRsZVNhbXBsZXMSLwoGU2Ft", "cGxlGAEgAygLMh8ucHJvdG8uVHJhdmVsZXJEdWVsQmF0dGxlU2FtcGxlEhAK", "CENoZWNrc3VtGAIgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDCKMAQoWVHJh", "dmVsZXJEdWVsQmF0dGxlRGF0YRIpCgRNZXRhGAEgASgLMhsucHJvdG8uVHJh", "dmVsZXJEdWVsTWV0YUluZm8SMQoHU2FtcGxlcxgCIAEoCzIgLnByb3RvLlRy", "YXZlbGVyRHVlbEJhdHRsZVNhbXBsZXMSFAoLTmV4dFBhY2thZ2UY/w8gASgM", "IswBChRUcmF2ZWxlckR1ZWxNZXRhSW5mbxIKCgJJZBgBIAEoBBIPCgdWZXJz", "aW9uGAIgASgNEgwKBFpvbmUYAyABKAkSEQoJTWlzc2lvbklkGAQgASgNEg4K", "BlNlYXNvbhgFIAEoDRIQCghQbGF5ZXJJZBgGIAEoBBIQCghOaWNrbmFtZRgH", "IAEoCRIQCghEdXJhdGlvbhgIIAEoDRIMCgRSYW5rGAkgASgNEgwKBFRpbWUY", "CiABKAMSFAoLTmV4dFBhY2thZ2UY/w8gASgMIrYDChhUcmF2ZWxlckR1ZWxC", "YXR0bGVTYW1wbGUSEgoKRnJvbVNyY0F0axgBIAEoBRIeChZGcm9tUGVya0lu", "dGVuc2l0eVJhdGlvGAIgASgCEhgKEEZyb21TbG90RG1nUmF0aW8YAyABKAIS", "DgoGRnJvbUVFGAQgASgCEhcKD0Zyb21HZW5EbWdSYXRpbxgFIAEoAhITCgtG", "cm9tRG1nUGx1cxgGIAEoBRIVCg1Gcm9tQ3JpdFJhdGlvGAcgASgCEhkKEUZy", "b21GaW5hbERtZ1JhdGlvGAggASgCEhgKEEZyb21GaW5hbERtZ1BsdXMYCSAB", "KAUSEQoJVG9FckFtZW5kGAogASgCEhIKClRvRGVmQW1lbmQYCyABKAISGQoR", "VG9SY2RTbG90RG1nUmF0aW8YDCABKAISDwoHVG9FRVJDRBgNIAEoAhIYChBU", "b0dlbkRtZ1JjZFJhdGlvGA4gASgCEhQKDFRvRG1nUGx1c1JjZBgPIAEoAhIL", "CgNEbWcYECABKAUSEAoIQ3JpdFJhdGUYESABKAISCgoCSHAYEiABKAUSFAoL", "TmV4dFBhY2thZ2UY/w8gASgMIksKClJhbmtDaGFuZ2USCwoDT2xkGAEgASgN", "EgsKA05ldxgCIAEoDRINCgVUb2tlbhgDIAEoCRIUCgtOZXh0UGFja2FnZRj/", "DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBattleSamples), global::Proto.TravelerDuelBattleSamples.Parser, new[]{ "Sample", "Checksum", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBattleData), global::Proto.TravelerDuelBattleData.Parser, new[]{ "Meta", "Samples", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelMetaInfo), global::Proto.TravelerDuelMetaInfo.Parser, new[]{ "Id", "Version", "Zone", "MissionId", "Season", "PlayerId", "Nickname", "Duration", "Rank", "Time", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBattleSample), global::Proto.TravelerDuelBattleSample.Parser, new[]{ "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RankChange), global::Proto.RankChange.Parser, new[]{ "Old", "New", "Token", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TravelerDuelBattleSamples : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TravelerDuelBattleSamples()); 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::Proto.TravelerDuelRankUploadReflection.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 TravelerDuelBattleSamples() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBattleSamples(TravelerDuelBattleSamples other) : this() { sample_ = other.sample_.Clone(); checksum_ = other.checksum_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBattleSamples Clone() { return new TravelerDuelBattleSamples(this); } /// Field number for the "Sample" field. public const int SampleFieldNumber = 1; private static readonly pb::FieldCodec _repeated_sample_codec = pb::FieldCodec.ForMessage(10, global::Proto.TravelerDuelBattleSample.Parser); private readonly pbc::RepeatedField sample_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Sample { get { return sample_; } } /// Field number for the "Checksum" field. public const int ChecksumFieldNumber = 2; private ulong checksum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Checksum { get { return checksum_; } set { checksum_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = 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 TravelerDuelBattleSamples); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TravelerDuelBattleSamples other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!sample_.Equals(other.sample_)) return false; if (Checksum != other.Checksum) return false; if (NextPackage != other.NextPackage) 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; hash ^= sample_.GetHashCode(); if (Checksum != 0UL) hash ^= Checksum.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 sample_.WriteTo(output, _repeated_sample_codec); if (Checksum != 0UL) { output.WriteRawTag(16); output.WriteUInt64(Checksum); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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) { sample_.WriteTo(ref output, _repeated_sample_codec); if (Checksum != 0UL) { output.WriteRawTag(16); output.WriteUInt64(Checksum); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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; size += sample_.CalculateSize(_repeated_sample_codec); if (Checksum != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Checksum); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TravelerDuelBattleSamples other) { if (other == null) { return; } sample_.Add(other.sample_); if (other.Checksum != 0UL) { Checksum = other.Checksum; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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 10: { sample_.AddEntriesFrom(input, _repeated_sample_codec); break; } case 16: { Checksum = input.ReadUInt64(); break; } case 16378: { NextPackage = input.ReadBytes(); 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 10: { sample_.AddEntriesFrom(ref input, _repeated_sample_codec); break; } case 16: { Checksum = input.ReadUInt64(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TravelerDuelBattleData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TravelerDuelBattleData()); 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::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[1]; } } [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 TravelerDuelBattleData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBattleData(TravelerDuelBattleData other) : this() { meta_ = other.meta_ != null ? other.meta_.Clone() : null; samples_ = other.samples_ != null ? other.samples_.Clone() : null; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBattleData Clone() { return new TravelerDuelBattleData(this); } /// Field number for the "Meta" field. public const int MetaFieldNumber = 1; private global::Proto.TravelerDuelMetaInfo meta_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.TravelerDuelMetaInfo Meta { get { return meta_; } set { meta_ = value; } } /// Field number for the "Samples" field. public const int SamplesFieldNumber = 2; private global::Proto.TravelerDuelBattleSamples samples_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.TravelerDuelBattleSamples Samples { get { return samples_; } set { samples_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = 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 TravelerDuelBattleData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TravelerDuelBattleData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Meta, other.Meta)) return false; if (!object.Equals(Samples, other.Samples)) return false; if (NextPackage != other.NextPackage) 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 (meta_ != null) hash ^= Meta.GetHashCode(); if (samples_ != null) hash ^= Samples.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (meta_ != null) { output.WriteRawTag(10); output.WriteMessage(Meta); } if (samples_ != null) { output.WriteRawTag(18); output.WriteMessage(Samples); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (meta_ != null) { output.WriteRawTag(10); output.WriteMessage(Meta); } if (samples_ != null) { output.WriteRawTag(18); output.WriteMessage(Samples); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (meta_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Meta); } if (samples_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Samples); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TravelerDuelBattleData other) { if (other == null) { return; } if (other.meta_ != null) { if (meta_ == null) { Meta = new global::Proto.TravelerDuelMetaInfo(); } Meta.MergeFrom(other.Meta); } if (other.samples_ != null) { if (samples_ == null) { Samples = new global::Proto.TravelerDuelBattleSamples(); } Samples.MergeFrom(other.Samples); } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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 10: { if (meta_ == null) { Meta = new global::Proto.TravelerDuelMetaInfo(); } input.ReadMessage(Meta); break; } case 18: { if (samples_ == null) { Samples = new global::Proto.TravelerDuelBattleSamples(); } input.ReadMessage(Samples); break; } case 16378: { NextPackage = input.ReadBytes(); 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 10: { if (meta_ == null) { Meta = new global::Proto.TravelerDuelMetaInfo(); } input.ReadMessage(Meta); break; } case 18: { if (samples_ == null) { Samples = new global::Proto.TravelerDuelBattleSamples(); } input.ReadMessage(Samples); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TravelerDuelMetaInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TravelerDuelMetaInfo()); 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::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[2]; } } [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 TravelerDuelMetaInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelMetaInfo(TravelerDuelMetaInfo other) : this() { id_ = other.id_; version_ = other.version_; zone_ = other.zone_; missionId_ = other.missionId_; season_ = other.season_; playerId_ = other.playerId_; nickname_ = other.nickname_; duration_ = other.duration_; rank_ = other.rank_; time_ = other.time_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelMetaInfo Clone() { return new TravelerDuelMetaInfo(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private ulong id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong Id { get { return id_; } set { id_ = value; } } /// Field number for the "Version" field. public const int VersionFieldNumber = 2; private uint version_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Version { get { return version_; } set { version_ = value; } } /// Field number for the "Zone" field. public const int ZoneFieldNumber = 3; private string zone_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Zone { get { return zone_; } set { zone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "MissionId" field. public const int MissionIdFieldNumber = 4; private uint missionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MissionId { get { return missionId_; } set { missionId_ = value; } } /// Field number for the "Season" field. public const int SeasonFieldNumber = 5; private uint season_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Season { get { return season_; } set { season_ = value; } } /// Field number for the "PlayerId" field. public const int PlayerIdFieldNumber = 6; private ulong playerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong PlayerId { get { return playerId_; } set { playerId_ = value; } } /// Field number for the "Nickname" field. public const int NicknameFieldNumber = 7; private string nickname_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Nickname { get { return nickname_; } set { nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Duration" field. public const int DurationFieldNumber = 8; private uint duration_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Duration { get { return duration_; } set { duration_ = value; } } /// Field number for the "Rank" field. public const int RankFieldNumber = 9; private uint rank_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Rank { get { return rank_; } set { rank_ = value; } } /// Field number for the "Time" field. public const int TimeFieldNumber = 10; private long time_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Time { get { return time_; } set { time_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = 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 TravelerDuelMetaInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TravelerDuelMetaInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Version != other.Version) return false; if (Zone != other.Zone) return false; if (MissionId != other.MissionId) return false; if (Season != other.Season) return false; if (PlayerId != other.PlayerId) return false; if (Nickname != other.Nickname) return false; if (Duration != other.Duration) return false; if (Rank != other.Rank) return false; if (Time != other.Time) return false; if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); if (Version != 0) hash ^= Version.GetHashCode(); if (Zone.Length != 0) hash ^= Zone.GetHashCode(); if (MissionId != 0) hash ^= MissionId.GetHashCode(); if (Season != 0) hash ^= Season.GetHashCode(); if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); if (Duration != 0) hash ^= Duration.GetHashCode(); if (Rank != 0) hash ^= Rank.GetHashCode(); if (Time != 0L) hash ^= Time.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { output.WriteRawTag(8); output.WriteUInt64(Id); } if (Version != 0) { output.WriteRawTag(16); output.WriteUInt32(Version); } if (Zone.Length != 0) { output.WriteRawTag(26); output.WriteString(Zone); } if (MissionId != 0) { output.WriteRawTag(32); output.WriteUInt32(MissionId); } if (Season != 0) { output.WriteRawTag(40); output.WriteUInt32(Season); } if (PlayerId != 0UL) { output.WriteRawTag(48); output.WriteUInt64(PlayerId); } if (Nickname.Length != 0) { output.WriteRawTag(58); output.WriteString(Nickname); } if (Duration != 0) { output.WriteRawTag(64); output.WriteUInt32(Duration); } if (Rank != 0) { output.WriteRawTag(72); output.WriteUInt32(Rank); } if (Time != 0L) { output.WriteRawTag(80); output.WriteInt64(Time); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 != 0UL) { output.WriteRawTag(8); output.WriteUInt64(Id); } if (Version != 0) { output.WriteRawTag(16); output.WriteUInt32(Version); } if (Zone.Length != 0) { output.WriteRawTag(26); output.WriteString(Zone); } if (MissionId != 0) { output.WriteRawTag(32); output.WriteUInt32(MissionId); } if (Season != 0) { output.WriteRawTag(40); output.WriteUInt32(Season); } if (PlayerId != 0UL) { output.WriteRawTag(48); output.WriteUInt64(PlayerId); } if (Nickname.Length != 0) { output.WriteRawTag(58); output.WriteString(Nickname); } if (Duration != 0) { output.WriteRawTag(64); output.WriteUInt32(Duration); } if (Rank != 0) { output.WriteRawTag(72); output.WriteUInt32(Rank); } if (Time != 0L) { output.WriteRawTag(80); output.WriteInt64(Time); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); } if (Version != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); } if (Zone.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Zone); } if (MissionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MissionId); } if (Season != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Season); } if (PlayerId != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); } if (Nickname.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); } if (Duration != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration); } if (Rank != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); } if (Time != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TravelerDuelMetaInfo other) { if (other == null) { return; } if (other.Id != 0UL) { Id = other.Id; } if (other.Version != 0) { Version = other.Version; } if (other.Zone.Length != 0) { Zone = other.Zone; } if (other.MissionId != 0) { MissionId = other.MissionId; } if (other.Season != 0) { Season = other.Season; } if (other.PlayerId != 0UL) { PlayerId = other.PlayerId; } if (other.Nickname.Length != 0) { Nickname = other.Nickname; } if (other.Duration != 0) { Duration = other.Duration; } if (other.Rank != 0) { Rank = other.Rank; } if (other.Time != 0L) { Time = other.Time; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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.ReadUInt64(); break; } case 16: { Version = input.ReadUInt32(); break; } case 26: { Zone = input.ReadString(); break; } case 32: { MissionId = input.ReadUInt32(); break; } case 40: { Season = input.ReadUInt32(); break; } case 48: { PlayerId = input.ReadUInt64(); break; } case 58: { Nickname = input.ReadString(); break; } case 64: { Duration = input.ReadUInt32(); break; } case 72: { Rank = input.ReadUInt32(); break; } case 80: { Time = input.ReadInt64(); break; } case 16378: { NextPackage = input.ReadBytes(); 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.ReadUInt64(); break; } case 16: { Version = input.ReadUInt32(); break; } case 26: { Zone = input.ReadString(); break; } case 32: { MissionId = input.ReadUInt32(); break; } case 40: { Season = input.ReadUInt32(); break; } case 48: { PlayerId = input.ReadUInt64(); break; } case 58: { Nickname = input.ReadString(); break; } case 64: { Duration = input.ReadUInt32(); break; } case 72: { Rank = input.ReadUInt32(); break; } case 80: { Time = input.ReadInt64(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class TravelerDuelBattleSample : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TravelerDuelBattleSample()); 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::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[3]; } } [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 TravelerDuelBattleSample() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBattleSample(TravelerDuelBattleSample other) : this() { fromSrcAtk_ = other.fromSrcAtk_; fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; fromSlotDmgRatio_ = other.fromSlotDmgRatio_; fromEE_ = other.fromEE_; fromGenDmgRatio_ = other.fromGenDmgRatio_; fromDmgPlus_ = other.fromDmgPlus_; fromCritRatio_ = other.fromCritRatio_; fromFinalDmgRatio_ = other.fromFinalDmgRatio_; fromFinalDmgPlus_ = other.fromFinalDmgPlus_; toErAmend_ = other.toErAmend_; toDefAmend_ = other.toDefAmend_; toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; toEERCD_ = other.toEERCD_; toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; toDmgPlusRcd_ = other.toDmgPlusRcd_; dmg_ = other.dmg_; critRate_ = other.critRate_; hp_ = other.hp_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TravelerDuelBattleSample Clone() { return new TravelerDuelBattleSample(this); } /// Field number for the "FromSrcAtk" field. public const int FromSrcAtkFieldNumber = 1; private int fromSrcAtk_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FromSrcAtk { get { return fromSrcAtk_; } set { fromSrcAtk_ = value; } } /// Field number for the "FromPerkIntensityRatio" field. public const int FromPerkIntensityRatioFieldNumber = 2; private float fromPerkIntensityRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FromPerkIntensityRatio { get { return fromPerkIntensityRatio_; } set { fromPerkIntensityRatio_ = value; } } /// Field number for the "FromSlotDmgRatio" field. public const int FromSlotDmgRatioFieldNumber = 3; private float fromSlotDmgRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FromSlotDmgRatio { get { return fromSlotDmgRatio_; } set { fromSlotDmgRatio_ = value; } } /// Field number for the "FromEE" field. public const int FromEEFieldNumber = 4; private float fromEE_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FromEE { get { return fromEE_; } set { fromEE_ = value; } } /// Field number for the "FromGenDmgRatio" field. public const int FromGenDmgRatioFieldNumber = 5; private float fromGenDmgRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FromGenDmgRatio { get { return fromGenDmgRatio_; } set { fromGenDmgRatio_ = value; } } /// Field number for the "FromDmgPlus" field. public const int FromDmgPlusFieldNumber = 6; private int fromDmgPlus_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FromDmgPlus { get { return fromDmgPlus_; } set { fromDmgPlus_ = value; } } /// Field number for the "FromCritRatio" field. public const int FromCritRatioFieldNumber = 7; private float fromCritRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FromCritRatio { get { return fromCritRatio_; } set { fromCritRatio_ = value; } } /// Field number for the "FromFinalDmgRatio" field. public const int FromFinalDmgRatioFieldNumber = 8; private float fromFinalDmgRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float FromFinalDmgRatio { get { return fromFinalDmgRatio_; } set { fromFinalDmgRatio_ = value; } } /// Field number for the "FromFinalDmgPlus" field. public const int FromFinalDmgPlusFieldNumber = 9; private int fromFinalDmgPlus_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FromFinalDmgPlus { get { return fromFinalDmgPlus_; } set { fromFinalDmgPlus_ = value; } } /// Field number for the "ToErAmend" field. public const int ToErAmendFieldNumber = 10; private float toErAmend_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ToErAmend { get { return toErAmend_; } set { toErAmend_ = value; } } /// Field number for the "ToDefAmend" field. public const int ToDefAmendFieldNumber = 11; private float toDefAmend_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ToDefAmend { get { return toDefAmend_; } set { toDefAmend_ = value; } } /// Field number for the "ToRcdSlotDmgRatio" field. public const int ToRcdSlotDmgRatioFieldNumber = 12; private float toRcdSlotDmgRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ToRcdSlotDmgRatio { get { return toRcdSlotDmgRatio_; } set { toRcdSlotDmgRatio_ = value; } } /// Field number for the "ToEERCD" field. public const int ToEERCDFieldNumber = 13; private float toEERCD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ToEERCD { get { return toEERCD_; } set { toEERCD_ = value; } } /// Field number for the "ToGenDmgRcdRatio" field. public const int ToGenDmgRcdRatioFieldNumber = 14; private float toGenDmgRcdRatio_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ToGenDmgRcdRatio { get { return toGenDmgRcdRatio_; } set { toGenDmgRcdRatio_ = value; } } /// Field number for the "ToDmgPlusRcd" field. public const int ToDmgPlusRcdFieldNumber = 15; private float toDmgPlusRcd_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ToDmgPlusRcd { get { return toDmgPlusRcd_; } set { toDmgPlusRcd_ = value; } } /// Field number for the "Dmg" field. public const int DmgFieldNumber = 16; private int dmg_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Dmg { get { return dmg_; } set { dmg_ = value; } } /// Field number for the "CritRate" field. public const int CritRateFieldNumber = 17; private float critRate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float CritRate { get { return critRate_; } set { critRate_ = value; } } /// Field number for the "Hp" field. public const int HpFieldNumber = 18; private int hp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Hp { get { return hp_; } set { hp_ = value; } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = 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 TravelerDuelBattleSample); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(TravelerDuelBattleSample other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (FromSrcAtk != other.FromSrcAtk) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromPerkIntensityRatio, other.FromPerkIntensityRatio)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromSlotDmgRatio, other.FromSlotDmgRatio)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromEE, other.FromEE)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromGenDmgRatio, other.FromGenDmgRatio)) return false; if (FromDmgPlus != other.FromDmgPlus) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromCritRatio, other.FromCritRatio)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromFinalDmgRatio, other.FromFinalDmgRatio)) return false; if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToErAmend, other.ToErAmend)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToDefAmend, other.ToDefAmend)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToRcdSlotDmgRatio, other.ToRcdSlotDmgRatio)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToEERCD, other.ToEERCD)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToGenDmgRcdRatio, other.ToGenDmgRcdRatio)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToDmgPlusRcd, other.ToDmgPlusRcd)) return false; if (Dmg != other.Dmg) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CritRate, other.CritRate)) return false; if (Hp != other.Hp) return false; if (NextPackage != other.NextPackage) 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 (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); if (FromPerkIntensityRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromPerkIntensityRatio); if (FromSlotDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromSlotDmgRatio); if (FromEE != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromEE); if (FromGenDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromGenDmgRatio); if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); if (FromCritRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromCritRatio); if (FromFinalDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromFinalDmgRatio); if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); if (ToErAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToErAmend); if (ToDefAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToDefAmend); if (ToRcdSlotDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToRcdSlotDmgRatio); if (ToEERCD != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToEERCD); if (ToGenDmgRcdRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToGenDmgRcdRatio); if (ToDmgPlusRcd != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToDmgPlusRcd); if (Dmg != 0) hash ^= Dmg.GetHashCode(); if (CritRate != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CritRate); if (Hp != 0) hash ^= Hp.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (FromSrcAtk != 0) { output.WriteRawTag(8); output.WriteInt32(FromSrcAtk); } if (FromPerkIntensityRatio != 0F) { output.WriteRawTag(21); output.WriteFloat(FromPerkIntensityRatio); } if (FromSlotDmgRatio != 0F) { output.WriteRawTag(29); output.WriteFloat(FromSlotDmgRatio); } if (FromEE != 0F) { output.WriteRawTag(37); output.WriteFloat(FromEE); } if (FromGenDmgRatio != 0F) { output.WriteRawTag(45); output.WriteFloat(FromGenDmgRatio); } if (FromDmgPlus != 0) { output.WriteRawTag(48); output.WriteInt32(FromDmgPlus); } if (FromCritRatio != 0F) { output.WriteRawTag(61); output.WriteFloat(FromCritRatio); } if (FromFinalDmgRatio != 0F) { output.WriteRawTag(69); output.WriteFloat(FromFinalDmgRatio); } if (FromFinalDmgPlus != 0) { output.WriteRawTag(72); output.WriteInt32(FromFinalDmgPlus); } if (ToErAmend != 0F) { output.WriteRawTag(85); output.WriteFloat(ToErAmend); } if (ToDefAmend != 0F) { output.WriteRawTag(93); output.WriteFloat(ToDefAmend); } if (ToRcdSlotDmgRatio != 0F) { output.WriteRawTag(101); output.WriteFloat(ToRcdSlotDmgRatio); } if (ToEERCD != 0F) { output.WriteRawTag(109); output.WriteFloat(ToEERCD); } if (ToGenDmgRcdRatio != 0F) { output.WriteRawTag(117); output.WriteFloat(ToGenDmgRcdRatio); } if (ToDmgPlusRcd != 0F) { output.WriteRawTag(125); output.WriteFloat(ToDmgPlusRcd); } if (Dmg != 0) { output.WriteRawTag(128, 1); output.WriteInt32(Dmg); } if (CritRate != 0F) { output.WriteRawTag(141, 1); output.WriteFloat(CritRate); } if (Hp != 0) { output.WriteRawTag(144, 1); output.WriteInt32(Hp); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (FromSrcAtk != 0) { output.WriteRawTag(8); output.WriteInt32(FromSrcAtk); } if (FromPerkIntensityRatio != 0F) { output.WriteRawTag(21); output.WriteFloat(FromPerkIntensityRatio); } if (FromSlotDmgRatio != 0F) { output.WriteRawTag(29); output.WriteFloat(FromSlotDmgRatio); } if (FromEE != 0F) { output.WriteRawTag(37); output.WriteFloat(FromEE); } if (FromGenDmgRatio != 0F) { output.WriteRawTag(45); output.WriteFloat(FromGenDmgRatio); } if (FromDmgPlus != 0) { output.WriteRawTag(48); output.WriteInt32(FromDmgPlus); } if (FromCritRatio != 0F) { output.WriteRawTag(61); output.WriteFloat(FromCritRatio); } if (FromFinalDmgRatio != 0F) { output.WriteRawTag(69); output.WriteFloat(FromFinalDmgRatio); } if (FromFinalDmgPlus != 0) { output.WriteRawTag(72); output.WriteInt32(FromFinalDmgPlus); } if (ToErAmend != 0F) { output.WriteRawTag(85); output.WriteFloat(ToErAmend); } if (ToDefAmend != 0F) { output.WriteRawTag(93); output.WriteFloat(ToDefAmend); } if (ToRcdSlotDmgRatio != 0F) { output.WriteRawTag(101); output.WriteFloat(ToRcdSlotDmgRatio); } if (ToEERCD != 0F) { output.WriteRawTag(109); output.WriteFloat(ToEERCD); } if (ToGenDmgRcdRatio != 0F) { output.WriteRawTag(117); output.WriteFloat(ToGenDmgRcdRatio); } if (ToDmgPlusRcd != 0F) { output.WriteRawTag(125); output.WriteFloat(ToDmgPlusRcd); } if (Dmg != 0) { output.WriteRawTag(128, 1); output.WriteInt32(Dmg); } if (CritRate != 0F) { output.WriteRawTag(141, 1); output.WriteFloat(CritRate); } if (Hp != 0) { output.WriteRawTag(144, 1); output.WriteInt32(Hp); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (FromSrcAtk != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); } if (FromPerkIntensityRatio != 0F) { size += 1 + 4; } if (FromSlotDmgRatio != 0F) { size += 1 + 4; } if (FromEE != 0F) { size += 1 + 4; } if (FromGenDmgRatio != 0F) { size += 1 + 4; } if (FromDmgPlus != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); } if (FromCritRatio != 0F) { size += 1 + 4; } if (FromFinalDmgRatio != 0F) { size += 1 + 4; } if (FromFinalDmgPlus != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); } if (ToErAmend != 0F) { size += 1 + 4; } if (ToDefAmend != 0F) { size += 1 + 4; } if (ToRcdSlotDmgRatio != 0F) { size += 1 + 4; } if (ToEERCD != 0F) { size += 1 + 4; } if (ToGenDmgRcdRatio != 0F) { size += 1 + 4; } if (ToDmgPlusRcd != 0F) { size += 1 + 4; } if (Dmg != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); } if (CritRate != 0F) { size += 2 + 4; } if (Hp != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(TravelerDuelBattleSample other) { if (other == null) { return; } if (other.FromSrcAtk != 0) { FromSrcAtk = other.FromSrcAtk; } if (other.FromPerkIntensityRatio != 0F) { FromPerkIntensityRatio = other.FromPerkIntensityRatio; } if (other.FromSlotDmgRatio != 0F) { FromSlotDmgRatio = other.FromSlotDmgRatio; } if (other.FromEE != 0F) { FromEE = other.FromEE; } if (other.FromGenDmgRatio != 0F) { FromGenDmgRatio = other.FromGenDmgRatio; } if (other.FromDmgPlus != 0) { FromDmgPlus = other.FromDmgPlus; } if (other.FromCritRatio != 0F) { FromCritRatio = other.FromCritRatio; } if (other.FromFinalDmgRatio != 0F) { FromFinalDmgRatio = other.FromFinalDmgRatio; } if (other.FromFinalDmgPlus != 0) { FromFinalDmgPlus = other.FromFinalDmgPlus; } if (other.ToErAmend != 0F) { ToErAmend = other.ToErAmend; } if (other.ToDefAmend != 0F) { ToDefAmend = other.ToDefAmend; } if (other.ToRcdSlotDmgRatio != 0F) { ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; } if (other.ToEERCD != 0F) { ToEERCD = other.ToEERCD; } if (other.ToGenDmgRcdRatio != 0F) { ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; } if (other.ToDmgPlusRcd != 0F) { ToDmgPlusRcd = other.ToDmgPlusRcd; } if (other.Dmg != 0) { Dmg = other.Dmg; } if (other.CritRate != 0F) { CritRate = other.CritRate; } if (other.Hp != 0) { Hp = other.Hp; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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: { FromSrcAtk = input.ReadInt32(); break; } case 21: { FromPerkIntensityRatio = input.ReadFloat(); break; } case 29: { FromSlotDmgRatio = input.ReadFloat(); break; } case 37: { FromEE = input.ReadFloat(); break; } case 45: { FromGenDmgRatio = input.ReadFloat(); break; } case 48: { FromDmgPlus = input.ReadInt32(); break; } case 61: { FromCritRatio = input.ReadFloat(); break; } case 69: { FromFinalDmgRatio = input.ReadFloat(); break; } case 72: { FromFinalDmgPlus = input.ReadInt32(); break; } case 85: { ToErAmend = input.ReadFloat(); break; } case 93: { ToDefAmend = input.ReadFloat(); break; } case 101: { ToRcdSlotDmgRatio = input.ReadFloat(); break; } case 109: { ToEERCD = input.ReadFloat(); break; } case 117: { ToGenDmgRcdRatio = input.ReadFloat(); break; } case 125: { ToDmgPlusRcd = input.ReadFloat(); break; } case 128: { Dmg = input.ReadInt32(); break; } case 141: { CritRate = input.ReadFloat(); break; } case 144: { Hp = input.ReadInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); 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: { FromSrcAtk = input.ReadInt32(); break; } case 21: { FromPerkIntensityRatio = input.ReadFloat(); break; } case 29: { FromSlotDmgRatio = input.ReadFloat(); break; } case 37: { FromEE = input.ReadFloat(); break; } case 45: { FromGenDmgRatio = input.ReadFloat(); break; } case 48: { FromDmgPlus = input.ReadInt32(); break; } case 61: { FromCritRatio = input.ReadFloat(); break; } case 69: { FromFinalDmgRatio = input.ReadFloat(); break; } case 72: { FromFinalDmgPlus = input.ReadInt32(); break; } case 85: { ToErAmend = input.ReadFloat(); break; } case 93: { ToDefAmend = input.ReadFloat(); break; } case 101: { ToRcdSlotDmgRatio = input.ReadFloat(); break; } case 109: { ToEERCD = input.ReadFloat(); break; } case 117: { ToGenDmgRcdRatio = input.ReadFloat(); break; } case 125: { ToDmgPlusRcd = input.ReadFloat(); break; } case 128: { Dmg = input.ReadInt32(); break; } case 141: { CritRate = input.ReadFloat(); break; } case 144: { Hp = input.ReadInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RankChange : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RankChange()); 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::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[4]; } } [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 RankChange() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RankChange(RankChange other) : this() { old_ = other.old_; new_ = other.new_; token_ = other.token_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RankChange Clone() { return new RankChange(this); } /// Field number for the "Old" field. public const int OldFieldNumber = 1; private uint old_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Old { get { return old_; } set { old_ = value; } } /// Field number for the "New" field. public const int NewFieldNumber = 2; private uint new_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint New { get { return new_; } set { new_ = value; } } /// Field number for the "Token" field. public const int TokenFieldNumber = 3; private string token_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Token { get { return token_; } set { token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "NextPackage" field. public const int NextPackageFieldNumber = 2047; private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString NextPackage { get { return nextPackage_; } set { nextPackage_ = 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 RankChange); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RankChange other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Old != other.Old) return false; if (New != other.New) return false; if (Token != other.Token) return false; if (NextPackage != other.NextPackage) 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 (Old != 0) hash ^= Old.GetHashCode(); if (New != 0) hash ^= New.GetHashCode(); if (Token.Length != 0) hash ^= Token.GetHashCode(); if (NextPackage.Length != 0) hash ^= NextPackage.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 (Old != 0) { output.WriteRawTag(8); output.WriteUInt32(Old); } if (New != 0) { output.WriteRawTag(16); output.WriteUInt32(New); } if (Token.Length != 0) { output.WriteRawTag(26); output.WriteString(Token); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (Old != 0) { output.WriteRawTag(8); output.WriteUInt32(Old); } if (New != 0) { output.WriteRawTag(16); output.WriteUInt32(New); } if (Token.Length != 0) { output.WriteRawTag(26); output.WriteString(Token); } if (NextPackage.Length != 0) { output.WriteRawTag(250, 127); output.WriteBytes(NextPackage); } 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 (Old != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Old); } if (New != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(New); } if (Token.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); } if (NextPackage.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RankChange other) { if (other == null) { return; } if (other.Old != 0) { Old = other.Old; } if (other.New != 0) { New = other.New; } if (other.Token.Length != 0) { Token = other.Token; } if (other.NextPackage.Length != 0) { NextPackage = other.NextPackage; } _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: { Old = input.ReadUInt32(); break; } case 16: { New = input.ReadUInt32(); break; } case 26: { Token = input.ReadString(); break; } case 16378: { NextPackage = input.ReadBytes(); 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: { Old = input.ReadUInt32(); break; } case 16: { New = input.ReadUInt32(); break; } case 26: { Token = input.ReadString(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code