// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: vampire_survivor_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 vampire_survivor_rank.proto public static partial class VampireSurvivorRankReflection { #region Descriptor /// File descriptor for vampire_survivor_rank.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static VampireSurvivorRankReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cht2YW1waXJlX3N1cnZpdm9yX3JhbmsucHJvdG8SBXByb3RvGgxwdWJsaWMu", "cHJvdG8aH3RyYXZlbGVyX2R1ZWxfcmFua191cGxvYWQucHJvdG8ijAEKD1Zh", "bXBpcmVSYW5rSW5mbxIXCg9MYXN0UmVmcmVzaFRpbWUYASABKAMSJAoEU2Vs", "ZhgCIAEoCzIWLnByb3RvLlZhbXBpcmVSYW5rRGF0YRIkCgRSYW5rGAMgAygL", "MhYucHJvdG8uVmFtcGlyZVJhbmtEYXRhEhQKC05leHRQYWNrYWdlGP8PIAEo", "DCI/CgxTdXJ2aXZvckNoYXISCgoCSWQYASABKA0SDQoFTGV2ZWwYAiABKA0S", "FAoLTmV4dFBhY2thZ2UY/w8gASgMIlwKDFN1cnZpdm9yVGVhbRISCgpCdWls", "ZFNjb3JlGAEgASgNEiIKBUNoYXJzGAIgAygLMhMucHJvdG8uU3Vydml2b3JD", "aGFyEhQKC05leHRQYWNrYWdlGP8PIAEoDCL4AQoPVmFtcGlyZVJhbmtEYXRh", "EgoKAklkGAEgASgEEhAKCE5pY2tOYW1lGAIgASgJEhIKCldvcmxkQ2xhc3MY", "AyABKA0SEAoISGVhZEljb24YBCABKA0SDQoFU2NvcmUYBSABKA0SDAoEUmFu", "axgGIAEoDRITCgtUaXRsZVByZWZpeBgHIAEoDRITCgtUaXRsZVN1ZmZpeBgI", "IAEoDRIgCgZIb25vcnMYCSADKAsyEC5wcm90by5Ib25vckluZm8SIgoFVGVh", "bXMYCiADKAsyEy5wcm90by5TdXJ2aXZvclRlYW0SFAoLTmV4dFBhY2thZ2UY", "/w8gASgMIlgKFFZhbXBpcmVCYXR0bGVTYW1wbGVzEioKBlNhbXBsZRgBIAMo", "CzIaLnByb3RvLlZhbXBpcmVCYXR0bGVTYW1wbGUSFAoLTmV4dFBhY2thZ2UY", "/w8gASgMIn0KEVZhbXBpcmVCYXR0bGVEYXRhEiQKBE1ldGEYASABKAsyFi5w", "cm90by5WYW1waXJlTWV0YUluZm8SLAoHU2FtcGxlcxgCIAEoCzIbLnByb3Rv", "LlZhbXBpcmVCYXR0bGVTYW1wbGVzEhQKC05leHRQYWNrYWdlGP8PIAEoDCLF", "AQoPVmFtcGlyZU1ldGFJbmZvEgoKAklkGAEgASgEEgwKBFpvbmUYAiABKAkS", "EQoJTWlzc2lvbklkGAMgASgNEg4KBlNlYXNvbhgEIAEoDRIQCghQbGF5ZXJJ", "ZBgFIAEoBBIQCghOaWNrbmFtZRgGIAEoCRIQCghEdXJhdGlvbhgHIAEoDRIN", "CgVTY29yZRgIIAEoDRIMCgRSYW5rGAkgASgNEgwKBFRpbWUYCiABKAMSFAoL", "TmV4dFBhY2thZ2UY/w8gASgMIn0KE1ZhbXBpcmVCYXR0bGVTYW1wbGUSDgoG", "Qm9zc0lkGAEgASgNEg8KB1ZlcnNpb24YAiABKA0SLwoGU2FtcGxlGAMgAygL", "Mh8ucHJvdG8uVHJhdmVsZXJEdWVsQmF0dGxlU2FtcGxlEhQKC05leHRQYWNr", "YWdlGP8PIAEoDFAAUAFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.TravelerDuelRankUploadReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireRankInfo), global::Proto.VampireRankInfo.Parser, new[]{ "LastRefreshTime", "Self", "Rank", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SurvivorChar), global::Proto.SurvivorChar.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SurvivorTeam), global::Proto.SurvivorTeam.Parser, new[]{ "BuildScore", "Chars", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireRankData), global::Proto.VampireRankData.Parser, new[]{ "Id", "NickName", "WorldClass", "HeadIcon", "Score", "Rank", "TitlePrefix", "TitleSuffix", "Honors", "Teams", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireBattleSamples), global::Proto.VampireBattleSamples.Parser, new[]{ "Sample", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireBattleData), global::Proto.VampireBattleData.Parser, new[]{ "Meta", "Samples", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireMetaInfo), global::Proto.VampireMetaInfo.Parser, new[]{ "Id", "Zone", "MissionId", "Season", "PlayerId", "Nickname", "Duration", "Score", "Rank", "Time", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireBattleSample), global::Proto.VampireBattleSample.Parser, new[]{ "BossId", "Version", "Sample", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class VampireRankInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireRankInfo()); 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.VampireSurvivorRankReflection.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 VampireRankInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireRankInfo(VampireRankInfo other) : this() { lastRefreshTime_ = other.lastRefreshTime_; self_ = other.self_ != null ? other.self_.Clone() : null; rank_ = other.rank_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireRankInfo Clone() { return new VampireRankInfo(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.VampireRankData self_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.VampireRankData 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.VampireRankData.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 "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 VampireRankInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VampireRankInfo 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 (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(); 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); 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); 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); 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(VampireRankInfo other) { if (other == null) { return; } if (other.LastRefreshTime != 0L) { LastRefreshTime = other.LastRefreshTime; } if (other.self_ != null) { if (self_ == null) { Self = new global::Proto.VampireRankData(); } Self.MergeFrom(other.Self); } rank_.Add(other.rank_); 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.VampireRankData(); } input.ReadMessage(Self); break; } case 26: { rank_.AddEntriesFrom(input, _repeated_rank_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.VampireRankData(); } input.ReadMessage(Self); break; } case 26: { rank_.AddEntriesFrom(ref input, _repeated_rank_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SurvivorChar : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SurvivorChar()); 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.VampireSurvivorRankReflection.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 SurvivorChar() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SurvivorChar(SurvivorChar 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 SurvivorChar Clone() { return new SurvivorChar(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 SurvivorChar); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SurvivorChar 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(SurvivorChar 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 SurvivorTeam : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SurvivorTeam()); 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.VampireSurvivorRankReflection.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 SurvivorTeam() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SurvivorTeam(SurvivorTeam 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 SurvivorTeam Clone() { return new SurvivorTeam(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.SurvivorChar.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 SurvivorTeam); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SurvivorTeam 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(SurvivorTeam 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 VampireRankData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireRankData()); 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.VampireSurvivorRankReflection.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 VampireRankData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireRankData(VampireRankData 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_; honors_ = other.honors_.Clone(); teams_ = other.teams_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireRankData Clone() { return new VampireRankData(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 "Honors" field. public const int HonorsFieldNumber = 9; private static readonly pb::FieldCodec _repeated_honors_codec = pb::FieldCodec.ForMessage(74, 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 "Teams" field. public const int TeamsFieldNumber = 10; private static readonly pb::FieldCodec _repeated_teams_codec = pb::FieldCodec.ForMessage(82, global::Proto.SurvivorTeam.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 "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 VampireRankData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VampireRankData 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(!honors_.Equals(other.honors_)) return false; if(!teams_.Equals(other.teams_)) 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 ^= honors_.GetHashCode(); hash ^= teams_.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); } honors_.WriteTo(output, _repeated_honors_codec); teams_.WriteTo(output, _repeated_teams_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); } honors_.WriteTo(ref output, _repeated_honors_codec); teams_.WriteTo(ref output, _repeated_teams_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 += honors_.CalculateSize(_repeated_honors_codec); size += teams_.CalculateSize(_repeated_teams_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(VampireRankData 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; } honors_.Add(other.honors_); teams_.Add(other.teams_); 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: { honors_.AddEntriesFrom(input, _repeated_honors_codec); break; } case 82: { teams_.AddEntriesFrom(input, _repeated_teams_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: { honors_.AddEntriesFrom(ref input, _repeated_honors_codec); break; } case 82: { teams_.AddEntriesFrom(ref input, _repeated_teams_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class VampireBattleSamples : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireBattleSamples()); 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.VampireSurvivorRankReflection.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 VampireBattleSamples() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireBattleSamples(VampireBattleSamples other) : this() { sample_ = other.sample_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireBattleSamples Clone() { return new VampireBattleSamples(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.VampireBattleSample.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 "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 VampireBattleSamples); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VampireBattleSamples other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!sample_.Equals(other.sample_)) 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 (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 (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 (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 (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(VampireBattleSamples other) { if (other == null) { return; } sample_.Add(other.sample_); 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 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 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class VampireBattleData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireBattleData()); 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.VampireSurvivorRankReflection.Descriptor.MessageTypes[5]; } } [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 VampireBattleData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireBattleData(VampireBattleData 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 VampireBattleData Clone() { return new VampireBattleData(this); } /// Field number for the "Meta" field. public const int MetaFieldNumber = 1; private global::Proto.VampireMetaInfo meta_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.VampireMetaInfo Meta { get { return meta_; } set { meta_ = value; } } /// Field number for the "Samples" field. public const int SamplesFieldNumber = 2; private global::Proto.VampireBattleSamples samples_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Proto.VampireBattleSamples 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 VampireBattleData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VampireBattleData 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(VampireBattleData other) { if (other == null) { return; } if (other.meta_ != null) { if (meta_ == null) { Meta = new global::Proto.VampireMetaInfo(); } Meta.MergeFrom(other.Meta); } if (other.samples_ != null) { if (samples_ == null) { Samples = new global::Proto.VampireBattleSamples(); } 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.VampireMetaInfo(); } input.ReadMessage(Meta); break; } case 18: { if (samples_ == null) { Samples = new global::Proto.VampireBattleSamples(); } 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.VampireMetaInfo(); } input.ReadMessage(Meta); break; } case 18: { if (samples_ == null) { Samples = new global::Proto.VampireBattleSamples(); } input.ReadMessage(Samples); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class VampireMetaInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireMetaInfo()); 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.VampireSurvivorRankReflection.Descriptor.MessageTypes[6]; } } [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 VampireMetaInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireMetaInfo(VampireMetaInfo other) : this() { id_ = other.id_; zone_ = other.zone_; missionId_ = other.missionId_; season_ = other.season_; playerId_ = other.playerId_; nickname_ = other.nickname_; duration_ = other.duration_; score_ = other.score_; 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 VampireMetaInfo Clone() { return new VampireMetaInfo(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 "Zone" field. public const int ZoneFieldNumber = 2; 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 = 3; 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 = 4; 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 = 5; 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 = 6; 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 = 7; 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 "Score" field. public const int ScoreFieldNumber = 8; 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 = 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 VampireMetaInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VampireMetaInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) 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 (Score != other.Score) 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 (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 (Score != 0) hash ^= Score.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 (Zone.Length != 0) { output.WriteRawTag(18); output.WriteString(Zone); } if (MissionId != 0) { output.WriteRawTag(24); output.WriteUInt32(MissionId); } if (Season != 0) { output.WriteRawTag(32); output.WriteUInt32(Season); } if (PlayerId != 0UL) { output.WriteRawTag(40); output.WriteUInt64(PlayerId); } if (Nickname.Length != 0) { output.WriteRawTag(50); output.WriteString(Nickname); } if (Duration != 0) { output.WriteRawTag(56); output.WriteUInt32(Duration); } if (Score != 0) { output.WriteRawTag(64); output.WriteUInt32(Score); } 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 (Zone.Length != 0) { output.WriteRawTag(18); output.WriteString(Zone); } if (MissionId != 0) { output.WriteRawTag(24); output.WriteUInt32(MissionId); } if (Season != 0) { output.WriteRawTag(32); output.WriteUInt32(Season); } if (PlayerId != 0UL) { output.WriteRawTag(40); output.WriteUInt64(PlayerId); } if (Nickname.Length != 0) { output.WriteRawTag(50); output.WriteString(Nickname); } if (Duration != 0) { output.WriteRawTag(56); output.WriteUInt32(Duration); } if (Score != 0) { output.WriteRawTag(64); output.WriteUInt32(Score); } 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 (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 (Score != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); } 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(VampireMetaInfo other) { if (other == null) { return; } if (other.Id != 0UL) { Id = other.Id; } 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.Score != 0) { Score = other.Score; } 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 18: { Zone = input.ReadString(); break; } case 24: { MissionId = input.ReadUInt32(); break; } case 32: { Season = input.ReadUInt32(); break; } case 40: { PlayerId = input.ReadUInt64(); break; } case 50: { Nickname = input.ReadString(); break; } case 56: { Duration = input.ReadUInt32(); break; } case 64: { Score = 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 18: { Zone = input.ReadString(); break; } case 24: { MissionId = input.ReadUInt32(); break; } case 32: { Season = input.ReadUInt32(); break; } case 40: { PlayerId = input.ReadUInt64(); break; } case 50: { Nickname = input.ReadString(); break; } case 56: { Duration = input.ReadUInt32(); break; } case 64: { Score = 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 VampireBattleSample : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireBattleSample()); 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.VampireSurvivorRankReflection.Descriptor.MessageTypes[7]; } } [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 VampireBattleSample() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireBattleSample(VampireBattleSample other) : this() { bossId_ = other.bossId_; version_ = other.version_; sample_ = other.sample_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public VampireBattleSample Clone() { return new VampireBattleSample(this); } /// Field number for the "BossId" field. public const int BossIdFieldNumber = 1; private uint bossId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BossId { get { return bossId_; } set { bossId_ = 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 "Sample" field. public const int SampleFieldNumber = 3; private static readonly pb::FieldCodec _repeated_sample_codec = pb::FieldCodec.ForMessage(26, 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 "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 VampireBattleSample); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(VampireBattleSample other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (BossId != other.BossId) return false; if (Version != other.Version) return false; if(!sample_.Equals(other.sample_)) 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 (BossId != 0) hash ^= BossId.GetHashCode(); if (Version != 0) hash ^= Version.GetHashCode(); hash ^= sample_.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 (BossId != 0) { output.WriteRawTag(8); output.WriteUInt32(BossId); } if (Version != 0) { output.WriteRawTag(16); output.WriteUInt32(Version); } sample_.WriteTo(output, _repeated_sample_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 (BossId != 0) { output.WriteRawTag(8); output.WriteUInt32(BossId); } if (Version != 0) { output.WriteRawTag(16); output.WriteUInt32(Version); } sample_.WriteTo(ref output, _repeated_sample_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 (BossId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BossId); } if (Version != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); } size += sample_.CalculateSize(_repeated_sample_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(VampireBattleSample other) { if (other == null) { return; } if (other.BossId != 0) { BossId = other.BossId; } if (other.Version != 0) { Version = other.Version; } sample_.Add(other.sample_); 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: { BossId = input.ReadUInt32(); break; } case 16: { Version = input.ReadUInt32(); break; } case 26: { sample_.AddEntriesFrom(input, _repeated_sample_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: { BossId = input.ReadUInt32(); break; } case 16: { Version = input.ReadUInt32(); break; } case 26: { sample_.AddEntriesFrom(ref input, _repeated_sample_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code