// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: StoryStatisticsInfo.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 EggLink.DanhengServer.Proto { /// Holder for reflection information generated from StoryStatisticsInfo.proto public static partial class StoryStatisticsInfoReflection { #region Descriptor /// File descriptor for StoryStatisticsInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StoryStatisticsInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChlTdG9yeVN0YXRpc3RpY3NJbmZvLnByb3RvGhlDaGFsbGVuZ2VMaW5ldXBM", "aXN0LnByb3RvIp4BChNTdG9yeVN0YXRpc3RpY3NJbmZvEhcKD2N1cl9sZXZl", "bF9zdGFycxgLIAEoDRIQCghzY29yZV9pZBgCIAEoDRIQCghidWZmX3R3bxgI", "IAEoDRIQCghidWZmX29uZRgOIAEoDRINCgVsZXZlbBgEIAEoDRIpCgtsaW5l", "dXBfbGlzdBgNIAMoCzIULkNoYWxsZW5nZUxpbmV1cExpc3RCHqoCG0VnZ0xp", "bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeLineupListReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.StoryStatisticsInfo), global::EggLink.DanhengServer.Proto.StoryStatisticsInfo.Parser, new[]{ "CurLevelStars", "ScoreId", "BuffTwo", "BuffOne", "Level", "LineupList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StoryStatisticsInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StoryStatisticsInfo()); 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::EggLink.DanhengServer.Proto.StoryStatisticsInfoReflection.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 StoryStatisticsInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StoryStatisticsInfo(StoryStatisticsInfo other) : this() { curLevelStars_ = other.curLevelStars_; scoreId_ = other.scoreId_; buffTwo_ = other.buffTwo_; buffOne_ = other.buffOne_; level_ = other.level_; lineupList_ = other.lineupList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StoryStatisticsInfo Clone() { return new StoryStatisticsInfo(this); } /// Field number for the "cur_level_stars" field. public const int CurLevelStarsFieldNumber = 11; private uint curLevelStars_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurLevelStars { get { return curLevelStars_; } set { curLevelStars_ = value; } } /// Field number for the "score_id" field. public const int ScoreIdFieldNumber = 2; private uint scoreId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ScoreId { get { return scoreId_; } set { scoreId_ = value; } } /// Field number for the "buff_two" field. public const int BuffTwoFieldNumber = 8; private uint buffTwo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BuffTwo { get { return buffTwo_; } set { buffTwo_ = value; } } /// Field number for the "buff_one" field. public const int BuffOneFieldNumber = 14; private uint buffOne_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BuffOne { get { return buffOne_; } set { buffOne_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 4; 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 "lineup_list" field. public const int LineupListFieldNumber = 13; private static readonly pb::FieldCodec _repeated_lineupList_codec = pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.ChallengeLineupList.Parser); private readonly pbc::RepeatedField lineupList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LineupList { get { return lineupList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StoryStatisticsInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StoryStatisticsInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CurLevelStars != other.CurLevelStars) return false; if (ScoreId != other.ScoreId) return false; if (BuffTwo != other.BuffTwo) return false; if (BuffOne != other.BuffOne) return false; if (Level != other.Level) return false; if(!lineupList_.Equals(other.lineupList_)) 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 (CurLevelStars != 0) hash ^= CurLevelStars.GetHashCode(); if (ScoreId != 0) hash ^= ScoreId.GetHashCode(); if (BuffTwo != 0) hash ^= BuffTwo.GetHashCode(); if (BuffOne != 0) hash ^= BuffOne.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); hash ^= lineupList_.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 (ScoreId != 0) { output.WriteRawTag(16); output.WriteUInt32(ScoreId); } if (Level != 0) { output.WriteRawTag(32); output.WriteUInt32(Level); } if (BuffTwo != 0) { output.WriteRawTag(64); output.WriteUInt32(BuffTwo); } if (CurLevelStars != 0) { output.WriteRawTag(88); output.WriteUInt32(CurLevelStars); } lineupList_.WriteTo(output, _repeated_lineupList_codec); if (BuffOne != 0) { output.WriteRawTag(112); output.WriteUInt32(BuffOne); } 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 (ScoreId != 0) { output.WriteRawTag(16); output.WriteUInt32(ScoreId); } if (Level != 0) { output.WriteRawTag(32); output.WriteUInt32(Level); } if (BuffTwo != 0) { output.WriteRawTag(64); output.WriteUInt32(BuffTwo); } if (CurLevelStars != 0) { output.WriteRawTag(88); output.WriteUInt32(CurLevelStars); } lineupList_.WriteTo(ref output, _repeated_lineupList_codec); if (BuffOne != 0) { output.WriteRawTag(112); output.WriteUInt32(BuffOne); } 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 (CurLevelStars != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevelStars); } if (ScoreId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId); } if (BuffTwo != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffTwo); } if (BuffOne != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffOne); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } size += lineupList_.CalculateSize(_repeated_lineupList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StoryStatisticsInfo other) { if (other == null) { return; } if (other.CurLevelStars != 0) { CurLevelStars = other.CurLevelStars; } if (other.ScoreId != 0) { ScoreId = other.ScoreId; } if (other.BuffTwo != 0) { BuffTwo = other.BuffTwo; } if (other.BuffOne != 0) { BuffOne = other.BuffOne; } if (other.Level != 0) { Level = other.Level; } lineupList_.Add(other.lineupList_); _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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 16: { ScoreId = input.ReadUInt32(); break; } case 32: { Level = input.ReadUInt32(); break; } case 64: { BuffTwo = input.ReadUInt32(); break; } case 88: { CurLevelStars = input.ReadUInt32(); break; } case 106: { lineupList_.AddEntriesFrom(input, _repeated_lineupList_codec); break; } case 112: { BuffOne = input.ReadUInt32(); 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 16: { ScoreId = input.ReadUInt32(); break; } case 32: { Level = input.ReadUInt32(); break; } case 64: { BuffTwo = input.ReadUInt32(); break; } case 88: { CurLevelStars = input.ReadUInt32(); break; } case 106: { lineupList_.AddEntriesFrom(ref input, _repeated_lineupList_codec); break; } case 112: { BuffOne = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code