// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueTournLevelInfoUpdateScNotify.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 RogueTournLevelInfoUpdateScNotify.proto public static partial class RogueTournLevelInfoUpdateScNotifyReflection { #region Descriptor /// File descriptor for RogueTournLevelInfoUpdateScNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueTournLevelInfoUpdateScNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CidSb2d1ZVRvdXJuTGV2ZWxJbmZvVXBkYXRlU2NOb3RpZnkucHJvdG8aHFJv", "Z3VlVG91cm5TZXR0bGVSZWFzb24ucHJvdG8aFVJvZ3VlVG91cm5MZXZlbC5w", "cm90bxobUm9ndWVUb3VybkxldmVsU3RhdHVzLnByb3RvIrgBCiFSb2d1ZVRv", "dXJuTGV2ZWxJbmZvVXBkYXRlU2NOb3RpZnkSJgoGc3RhdHVzGAggASgOMhYu", "Um9ndWVUb3VybkxldmVsU3RhdHVzEicKBnJlYXNvbhgNIAEoDjIXLlJvZ3Vl", "VG91cm5TZXR0bGVSZWFzb24SKQoPbGV2ZWxfaW5mb19saXN0GAYgAygLMhAu", "Um9ndWVUb3VybkxldmVsEhcKD2N1cl9sZXZlbF9pbmRleBgEIAEoDUIeqgIb", "RWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueTournSettleReasonReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueTournLevelReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueTournLevelStatusReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueTournLevelInfoUpdateScNotify), global::EggLink.DanhengServer.Proto.RogueTournLevelInfoUpdateScNotify.Parser, new[]{ "Status", "Reason", "LevelInfoList", "CurLevelIndex" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueTournLevelInfoUpdateScNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueTournLevelInfoUpdateScNotify()); 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.RogueTournLevelInfoUpdateScNotifyReflection.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 RogueTournLevelInfoUpdateScNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueTournLevelInfoUpdateScNotify(RogueTournLevelInfoUpdateScNotify other) : this() { status_ = other.status_; reason_ = other.reason_; levelInfoList_ = other.levelInfoList_.Clone(); curLevelIndex_ = other.curLevelIndex_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueTournLevelInfoUpdateScNotify Clone() { return new RogueTournLevelInfoUpdateScNotify(this); } /// Field number for the "status" field. public const int StatusFieldNumber = 8; private global::EggLink.DanhengServer.Proto.RogueTournLevelStatus status_ = global::EggLink.DanhengServer.Proto.RogueTournLevelStatus.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueTournLevelStatus Status { get { return status_; } set { status_ = value; } } /// Field number for the "reason" field. public const int ReasonFieldNumber = 13; private global::EggLink.DanhengServer.Proto.RogueTournSettleReason reason_ = global::EggLink.DanhengServer.Proto.RogueTournSettleReason.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueTournSettleReason Reason { get { return reason_; } set { reason_ = value; } } /// Field number for the "level_info_list" field. public const int LevelInfoListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_levelInfoList_codec = pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.RogueTournLevel.Parser); private readonly pbc::RepeatedField levelInfoList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LevelInfoList { get { return levelInfoList_; } } /// Field number for the "cur_level_index" field. public const int CurLevelIndexFieldNumber = 4; private uint curLevelIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurLevelIndex { get { return curLevelIndex_; } set { curLevelIndex_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueTournLevelInfoUpdateScNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueTournLevelInfoUpdateScNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Status != other.Status) return false; if (Reason != other.Reason) return false; if(!levelInfoList_.Equals(other.levelInfoList_)) return false; if (CurLevelIndex != other.CurLevelIndex) 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 (Status != global::EggLink.DanhengServer.Proto.RogueTournLevelStatus.None) hash ^= Status.GetHashCode(); if (Reason != global::EggLink.DanhengServer.Proto.RogueTournSettleReason.None) hash ^= Reason.GetHashCode(); hash ^= levelInfoList_.GetHashCode(); if (CurLevelIndex != 0) hash ^= CurLevelIndex.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 (CurLevelIndex != 0) { output.WriteRawTag(32); output.WriteUInt32(CurLevelIndex); } levelInfoList_.WriteTo(output, _repeated_levelInfoList_codec); if (Status != global::EggLink.DanhengServer.Proto.RogueTournLevelStatus.None) { output.WriteRawTag(64); output.WriteEnum((int) Status); } if (Reason != global::EggLink.DanhengServer.Proto.RogueTournSettleReason.None) { output.WriteRawTag(104); output.WriteEnum((int) Reason); } 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 (CurLevelIndex != 0) { output.WriteRawTag(32); output.WriteUInt32(CurLevelIndex); } levelInfoList_.WriteTo(ref output, _repeated_levelInfoList_codec); if (Status != global::EggLink.DanhengServer.Proto.RogueTournLevelStatus.None) { output.WriteRawTag(64); output.WriteEnum((int) Status); } if (Reason != global::EggLink.DanhengServer.Proto.RogueTournSettleReason.None) { output.WriteRawTag(104); output.WriteEnum((int) Reason); } 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 (Status != global::EggLink.DanhengServer.Proto.RogueTournLevelStatus.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); } if (Reason != global::EggLink.DanhengServer.Proto.RogueTournSettleReason.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason); } size += levelInfoList_.CalculateSize(_repeated_levelInfoList_codec); if (CurLevelIndex != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevelIndex); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueTournLevelInfoUpdateScNotify other) { if (other == null) { return; } if (other.Status != global::EggLink.DanhengServer.Proto.RogueTournLevelStatus.None) { Status = other.Status; } if (other.Reason != global::EggLink.DanhengServer.Proto.RogueTournSettleReason.None) { Reason = other.Reason; } levelInfoList_.Add(other.levelInfoList_); if (other.CurLevelIndex != 0) { CurLevelIndex = other.CurLevelIndex; } _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 32: { CurLevelIndex = input.ReadUInt32(); break; } case 50: { levelInfoList_.AddEntriesFrom(input, _repeated_levelInfoList_codec); break; } case 64: { Status = (global::EggLink.DanhengServer.Proto.RogueTournLevelStatus) input.ReadEnum(); break; } case 104: { Reason = (global::EggLink.DanhengServer.Proto.RogueTournSettleReason) input.ReadEnum(); 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 32: { CurLevelIndex = input.ReadUInt32(); break; } case 50: { levelInfoList_.AddEntriesFrom(ref input, _repeated_levelInfoList_codec); break; } case 64: { Status = (global::EggLink.DanhengServer.Proto.RogueTournLevelStatus) input.ReadEnum(); break; } case 104: { Reason = (global::EggLink.DanhengServer.Proto.RogueTournSettleReason) input.ReadEnum(); break; } } } } #endif } #endregion } #endregion Designer generated code