// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: score_boss_rank.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 score_boss_rank.proto public static partial class ScoreBossRankReflection { #region Descriptor /// File descriptor for score_boss_rank.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ScoreBossRankReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChVzY29yZV9ib3NzX3JhbmsucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", "ogEKEVNjb3JlQm9zc1JhbmtJbmZvEhcKD0xhc3RSZWZyZXNoVGltZRgBIAEo", "AxImCgRTZWxmGAIgASgLMhgucHJvdG8uU2NvcmVCb3NzUmFua0RhdGESJgoE", "UmFuaxgDIAMoCzIYLnByb3RvLlNjb3JlQm9zc1JhbmtEYXRhEg4KBkJvcmRl", "chgEIAMoBBIUCgtOZXh0UGFja2FnZRj/DyABKAwiRAoRU2NvcmVCb3NzUmFu", "a0NoYXISCgoCSWQYASABKA0SDQoFTGV2ZWwYAiABKA0SFAoLTmV4dFBhY2th", "Z2UY/w8gASgMImYKEVNjb3JlQm9zc1JhbmtUZWFtEhIKCkJ1aWxkU2NvcmUY", "ASABKA0SJwoFQ2hhcnMYAiADKAsyGC5wcm90by5TY29yZUJvc3NSYW5rQ2hh", "chIUCgtOZXh0UGFja2FnZRj/DyABKAwi/wEKEVNjb3JlQm9zc1JhbmtEYXRh", "EgoKAklkGAEgASgEEhAKCE5pY2tOYW1lGAIgASgJEhIKCldvcmxkQ2xhc3MY", "AyABKA0SEAoISGVhZEljb24YBCABKA0SDQoFU2NvcmUYBSABKA0SDAoEUmFu", "axgGIAEoDRITCgtUaXRsZVByZWZpeBgHIAEoDRITCgtUaXRsZVN1ZmZpeBgI", "IAEoDRInCgVUZWFtcxgJIAMoCzIYLnByb3RvLlNjb3JlQm9zc1JhbmtUZWFt", "EiAKBkhvbm9ycxgPIAMoCzIQLnByb3RvLkhvbm9ySW5mbxIUCgtOZXh0UGFj", "a2FnZRj/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.ScoreBossRankInfo), global::Proto.ScoreBossRankInfo.Parser, new[]{ "LastRefreshTime", "Self", "Rank", "Border", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ScoreBossRankChar), global::Proto.ScoreBossRankChar.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ScoreBossRankTeam), global::Proto.ScoreBossRankTeam.Parser, new[]{ "BuildScore", "Chars", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ScoreBossRankData), global::Proto.ScoreBossRankData.Parser, new[]{ "Id", "NickName", "WorldClass", "HeadIcon", "Score", "Rank", "TitlePrefix", "TitleSuffix", "Teams", "Honors", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ScoreBossRankInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScoreBossRankInfo()); 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.ScoreBossRankReflection.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 ScoreBossRankInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankInfo(ScoreBossRankInfo other) : this() { lastRefreshTime_ = other.lastRefreshTime_; self_ = other.self_ != null ? other.self_.Clone() : null; rank_ = other.rank_.Clone(); border_ = other.border_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankInfo Clone() { return new ScoreBossRankInfo(this); } /// Field number for the "LastRefreshTime" field. public const int LastRefreshTimeFieldNumber = 1; private long lastRefreshTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long LastRefreshTime { get { return lastRefreshTime_; } set { lastRefreshTime_ = value; } } /// Field number for the "Self" field. public const int SelfFieldNumber = 2; private global::Proto.ScoreBossRankData self_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.ScoreBossRankData Self { get { return self_; } set { self_ = value; } } /// Field number for the "Rank" field. public const int RankFieldNumber = 3; private static readonly pb::FieldCodec _repeated_rank_codec = pb::FieldCodec.ForMessage(26, global::Proto.ScoreBossRankData.Parser); private readonly pbc::RepeatedField rank_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Rank { get { return rank_; } } /// Field number for the "Border" field. public const int BorderFieldNumber = 4; private static readonly pb::FieldCodec _repeated_border_codec = pb::FieldCodec.ForUInt64(34); private readonly pbc::RepeatedField border_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Border { get { return border_; } } /// 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 ScoreBossRankInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ScoreBossRankInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (LastRefreshTime != other.LastRefreshTime) return false; if (!object.Equals(Self, other.Self)) return false; if(!rank_.Equals(other.rank_)) return false; if(!border_.Equals(other.border_)) 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 (LastRefreshTime != 0L) hash ^= LastRefreshTime.GetHashCode(); if (self_ != null) hash ^= Self.GetHashCode(); hash ^= rank_.GetHashCode(); hash ^= border_.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 (LastRefreshTime != 0L) { output.WriteRawTag(8); output.WriteInt64(LastRefreshTime); } if (self_ != null) { output.WriteRawTag(18); output.WriteMessage(Self); } rank_.WriteTo(output, _repeated_rank_codec); border_.WriteTo(output, _repeated_border_codec); 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 (LastRefreshTime != 0L) { output.WriteRawTag(8); output.WriteInt64(LastRefreshTime); } if (self_ != null) { output.WriteRawTag(18); output.WriteMessage(Self); } rank_.WriteTo(ref output, _repeated_rank_codec); border_.WriteTo(ref output, _repeated_border_codec); 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 (LastRefreshTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastRefreshTime); } if (self_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Self); } size += rank_.CalculateSize(_repeated_rank_codec); size += border_.CalculateSize(_repeated_border_codec); 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(ScoreBossRankInfo other) { if (other == null) { return; } if (other.LastRefreshTime != 0L) { LastRefreshTime = other.LastRefreshTime; } if (other.self_ != null) { if (self_ == null) { Self = new global::Proto.ScoreBossRankData(); } Self.MergeFrom(other.Self); } rank_.Add(other.rank_); border_.Add(other.border_); 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: { LastRefreshTime = input.ReadInt64(); break; } case 18: { if (self_ == null) { Self = new global::Proto.ScoreBossRankData(); } input.ReadMessage(Self); break; } case 26: { rank_.AddEntriesFrom(input, _repeated_rank_codec); break; } case 34: case 32: { border_.AddEntriesFrom(input, _repeated_border_codec); 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: { LastRefreshTime = input.ReadInt64(); break; } case 18: { if (self_ == null) { Self = new global::Proto.ScoreBossRankData(); } input.ReadMessage(Self); break; } case 26: { rank_.AddEntriesFrom(ref input, _repeated_rank_codec); break; } case 34: case 32: { border_.AddEntriesFrom(ref input, _repeated_border_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ScoreBossRankChar : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScoreBossRankChar()); 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.ScoreBossRankReflection.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 ScoreBossRankChar() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankChar(ScoreBossRankChar other) : this() { id_ = other.id_; level_ = other.level_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankChar Clone() { return new ScoreBossRankChar(this); } /// Field number for the "Id" field. public const int IdFieldNumber = 1; private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Id { get { return id_; } set { id_ = value; } } /// Field number for the "Level" field. public const int LevelFieldNumber = 2; private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Level { get { return level_; } set { level_ = 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 ScoreBossRankChar); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ScoreBossRankChar other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Level != other.Level) return false; if (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 != 0) hash ^= Id.GetHashCode(); if (Level != 0) hash ^= Level.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 != 0) { output.WriteRawTag(8); output.WriteUInt32(Id); } if (Level != 0) { output.WriteRawTag(16); output.WriteUInt32(Level); } 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 != 0) { output.WriteRawTag(8); output.WriteUInt32(Id); } if (Level != 0) { output.WriteRawTag(16); output.WriteUInt32(Level); } 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 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } 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(ScoreBossRankChar other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.Level != 0) { Level = other.Level; } 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.ReadUInt32(); break; } case 16: { Level = input.ReadUInt32(); 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.ReadUInt32(); break; } case 16: { Level = input.ReadUInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ScoreBossRankTeam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScoreBossRankTeam()); 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.ScoreBossRankReflection.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 ScoreBossRankTeam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankTeam(ScoreBossRankTeam other) : this() { buildScore_ = other.buildScore_; chars_ = other.chars_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankTeam Clone() { return new ScoreBossRankTeam(this); } /// Field number for the "BuildScore" field. public const int BuildScoreFieldNumber = 1; private uint buildScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BuildScore { get { return buildScore_; } set { buildScore_ = value; } } /// Field number for the "Chars" field. public const int CharsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_chars_codec = pb::FieldCodec.ForMessage(18, global::Proto.ScoreBossRankChar.Parser); private readonly pbc::RepeatedField chars_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Chars { get { return chars_; } } /// 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 ScoreBossRankTeam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ScoreBossRankTeam other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (BuildScore != other.BuildScore) return false; if(!chars_.Equals(other.chars_)) 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 (BuildScore != 0) hash ^= BuildScore.GetHashCode(); hash ^= chars_.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 (BuildScore != 0) { output.WriteRawTag(8); output.WriteUInt32(BuildScore); } chars_.WriteTo(output, _repeated_chars_codec); 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 (BuildScore != 0) { output.WriteRawTag(8); output.WriteUInt32(BuildScore); } chars_.WriteTo(ref output, _repeated_chars_codec); 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 (BuildScore != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuildScore); } size += chars_.CalculateSize(_repeated_chars_codec); 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(ScoreBossRankTeam other) { if (other == null) { return; } if (other.BuildScore != 0) { BuildScore = other.BuildScore; } chars_.Add(other.chars_); 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: { BuildScore = input.ReadUInt32(); break; } case 18: { chars_.AddEntriesFrom(input, _repeated_chars_codec); 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: { BuildScore = input.ReadUInt32(); break; } case 18: { chars_.AddEntriesFrom(ref input, _repeated_chars_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ScoreBossRankData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScoreBossRankData()); 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.ScoreBossRankReflection.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 ScoreBossRankData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankData(ScoreBossRankData other) : this() { id_ = other.id_; nickName_ = other.nickName_; worldClass_ = other.worldClass_; headIcon_ = other.headIcon_; score_ = other.score_; rank_ = other.rank_; titlePrefix_ = other.titlePrefix_; titleSuffix_ = other.titleSuffix_; teams_ = other.teams_.Clone(); honors_ = other.honors_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ScoreBossRankData Clone() { return new ScoreBossRankData(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 "NickName" field. public const int NickNameFieldNumber = 2; 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 "WorldClass" field. public const int WorldClassFieldNumber = 3; private uint worldClass_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint WorldClass { get { return worldClass_; } set { worldClass_ = value; } } /// Field number for the "HeadIcon" field. public const int HeadIconFieldNumber = 4; private uint headIcon_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint HeadIcon { get { return headIcon_; } set { headIcon_ = value; } } /// Field number for the "Score" field. public const int ScoreFieldNumber = 5; private uint score_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Score { get { return score_; } set { score_ = value; } } /// Field number for the "Rank" field. public const int RankFieldNumber = 6; 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 "TitlePrefix" field. public const int TitlePrefixFieldNumber = 7; private uint titlePrefix_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TitlePrefix { get { return titlePrefix_; } set { titlePrefix_ = value; } } /// Field number for the "TitleSuffix" field. public const int TitleSuffixFieldNumber = 8; private uint titleSuffix_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint TitleSuffix { get { return titleSuffix_; } set { titleSuffix_ = value; } } /// Field number for the "Teams" field. public const int TeamsFieldNumber = 9; private static readonly pb::FieldCodec _repeated_teams_codec = pb::FieldCodec.ForMessage(74, global::Proto.ScoreBossRankTeam.Parser); private readonly pbc::RepeatedField teams_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Teams { get { return teams_; } } /// Field number for the "Honors" field. public const int HonorsFieldNumber = 15; private static readonly pb::FieldCodec _repeated_honors_codec = pb::FieldCodec.ForMessage(122, global::Proto.HonorInfo.Parser); private readonly pbc::RepeatedField honors_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Honors { get { return honors_; } } /// 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 ScoreBossRankData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ScoreBossRankData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (NickName != other.NickName) return false; if (WorldClass != other.WorldClass) return false; if (HeadIcon != other.HeadIcon) return false; if (Score != other.Score) return false; if (Rank != other.Rank) return false; if (TitlePrefix != other.TitlePrefix) return false; if (TitleSuffix != other.TitleSuffix) return false; if(!teams_.Equals(other.teams_)) return false; if(!honors_.Equals(other.honors_)) 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 (NickName.Length != 0) hash ^= NickName.GetHashCode(); if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); if (Score != 0) hash ^= Score.GetHashCode(); if (Rank != 0) hash ^= Rank.GetHashCode(); if (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); hash ^= teams_.GetHashCode(); hash ^= honors_.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 (NickName.Length != 0) { output.WriteRawTag(18); output.WriteString(NickName); } if (WorldClass != 0) { output.WriteRawTag(24); output.WriteUInt32(WorldClass); } if (HeadIcon != 0) { output.WriteRawTag(32); output.WriteUInt32(HeadIcon); } if (Score != 0) { output.WriteRawTag(40); output.WriteUInt32(Score); } if (Rank != 0) { output.WriteRawTag(48); output.WriteUInt32(Rank); } if (TitlePrefix != 0) { output.WriteRawTag(56); output.WriteUInt32(TitlePrefix); } if (TitleSuffix != 0) { output.WriteRawTag(64); output.WriteUInt32(TitleSuffix); } teams_.WriteTo(output, _repeated_teams_codec); honors_.WriteTo(output, _repeated_honors_codec); 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 (NickName.Length != 0) { output.WriteRawTag(18); output.WriteString(NickName); } if (WorldClass != 0) { output.WriteRawTag(24); output.WriteUInt32(WorldClass); } if (HeadIcon != 0) { output.WriteRawTag(32); output.WriteUInt32(HeadIcon); } if (Score != 0) { output.WriteRawTag(40); output.WriteUInt32(Score); } if (Rank != 0) { output.WriteRawTag(48); output.WriteUInt32(Rank); } if (TitlePrefix != 0) { output.WriteRawTag(56); output.WriteUInt32(TitlePrefix); } if (TitleSuffix != 0) { output.WriteRawTag(64); output.WriteUInt32(TitleSuffix); } teams_.WriteTo(ref output, _repeated_teams_codec); honors_.WriteTo(ref output, _repeated_honors_codec); 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 (NickName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); } if (WorldClass != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldClass); } if (HeadIcon != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); } if (Score != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); } if (Rank != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); } if (TitlePrefix != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); } if (TitleSuffix != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); } size += teams_.CalculateSize(_repeated_teams_codec); size += honors_.CalculateSize(_repeated_honors_codec); 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(ScoreBossRankData other) { if (other == null) { return; } if (other.Id != 0UL) { Id = other.Id; } if (other.NickName.Length != 0) { NickName = other.NickName; } if (other.WorldClass != 0) { WorldClass = other.WorldClass; } if (other.HeadIcon != 0) { HeadIcon = other.HeadIcon; } if (other.Score != 0) { Score = other.Score; } if (other.Rank != 0) { Rank = other.Rank; } if (other.TitlePrefix != 0) { TitlePrefix = other.TitlePrefix; } if (other.TitleSuffix != 0) { TitleSuffix = other.TitleSuffix; } teams_.Add(other.teams_); honors_.Add(other.honors_); 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 18: { NickName = input.ReadString(); break; } case 24: { WorldClass = input.ReadUInt32(); break; } case 32: { HeadIcon = input.ReadUInt32(); break; } case 40: { Score = input.ReadUInt32(); break; } case 48: { Rank = input.ReadUInt32(); break; } case 56: { TitlePrefix = input.ReadUInt32(); break; } case 64: { TitleSuffix = input.ReadUInt32(); break; } case 74: { teams_.AddEntriesFrom(input, _repeated_teams_codec); break; } case 122: { honors_.AddEntriesFrom(input, _repeated_honors_codec); 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 18: { NickName = input.ReadString(); break; } case 24: { WorldClass = input.ReadUInt32(); break; } case 32: { HeadIcon = input.ReadUInt32(); break; } case 40: { Score = input.ReadUInt32(); break; } case 48: { Rank = input.ReadUInt32(); break; } case 56: { TitlePrefix = input.ReadUInt32(); break; } case 64: { TitleSuffix = input.ReadUInt32(); break; } case 74: { teams_.AddEntriesFrom(ref input, _repeated_teams_codec); break; } case 122: { honors_.AddEntriesFrom(ref input, _repeated_honors_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code