mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
416 lines
16 KiB
C#
416 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueMagicLevelInfoUpdateScNotify.proto
|
|
// </auto-generated>
|
|
#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 {
|
|
|
|
/// <summary>Holder for reflection information generated from RogueMagicLevelInfoUpdateScNotify.proto</summary>
|
|
public static partial class RogueMagicLevelInfoUpdateScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueMagicLevelInfoUpdateScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueMagicLevelInfoUpdateScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CidSb2d1ZU1hZ2ljTGV2ZWxJbmZvVXBkYXRlU2NOb3RpZnkucHJvdG8aGVJv",
|
|
"Z3VlTWFnaWNMYXllckluZm8ucHJvdG8aG1JvZ3VlTWFnaWNMZXZlbFN0YXR1",
|
|
"cy5wcm90bxocUm9ndWVNYWdpY1NldHRsZVJlYXNvbi5wcm90byLsAQohUm9n",
|
|
"dWVNYWdpY0xldmVsSW5mb1VwZGF0ZVNjTm90aWZ5EhMKC0RFQ0tBSUxNR0VK",
|
|
"GA8gASgNEhkKEWV4dHJhX3JvdW5kX2xpbWl0GAEgASgNEi0KD2xldmVsX2lu",
|
|
"Zm9fbGlzdBgHIAMoCzIULlJvZ3VlTWFnaWNMYXllckluZm8SJgoGc3RhdHVz",
|
|
"GAYgASgOMhYuUm9ndWVNYWdpY0xldmVsU3RhdHVzEicKBnJlYXNvbhgJIAEo",
|
|
"DjIXLlJvZ3VlTWFnaWNTZXR0bGVSZWFzb24SFwoPY3VyX2xldmVsX2luZGV4",
|
|
"GA4gASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicLayerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicLevelStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicSettleReasonReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicLevelInfoUpdateScNotify), global::EggLink.DanhengServer.Proto.RogueMagicLevelInfoUpdateScNotify.Parser, new[]{ "DECKAILMGEJ", "ExtraRoundLimit", "LevelInfoList", "Status", "Reason", "CurLevelIndex" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueMagicLevelInfoUpdateScNotify : pb::IMessage<RogueMagicLevelInfoUpdateScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueMagicLevelInfoUpdateScNotify> _parser = new pb::MessageParser<RogueMagicLevelInfoUpdateScNotify>(() => new RogueMagicLevelInfoUpdateScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueMagicLevelInfoUpdateScNotify> 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.RogueMagicLevelInfoUpdateScNotifyReflection.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 RogueMagicLevelInfoUpdateScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueMagicLevelInfoUpdateScNotify(RogueMagicLevelInfoUpdateScNotify other) : this() {
|
|
dECKAILMGEJ_ = other.dECKAILMGEJ_;
|
|
extraRoundLimit_ = other.extraRoundLimit_;
|
|
levelInfoList_ = other.levelInfoList_.Clone();
|
|
status_ = other.status_;
|
|
reason_ = other.reason_;
|
|
curLevelIndex_ = other.curLevelIndex_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueMagicLevelInfoUpdateScNotify Clone() {
|
|
return new RogueMagicLevelInfoUpdateScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "DECKAILMGEJ" field.</summary>
|
|
public const int DECKAILMGEJFieldNumber = 15;
|
|
private uint dECKAILMGEJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint DECKAILMGEJ {
|
|
get { return dECKAILMGEJ_; }
|
|
set {
|
|
dECKAILMGEJ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "extra_round_limit" field.</summary>
|
|
public const int ExtraRoundLimitFieldNumber = 1;
|
|
private uint extraRoundLimit_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ExtraRoundLimit {
|
|
get { return extraRoundLimit_; }
|
|
set {
|
|
extraRoundLimit_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "level_info_list" field.</summary>
|
|
public const int LevelInfoListFieldNumber = 7;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueMagicLayerInfo> _repeated_levelInfoList_codec
|
|
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.RogueMagicLayerInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicLayerInfo> levelInfoList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicLayerInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicLayerInfo> LevelInfoList {
|
|
get { return levelInfoList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "status" field.</summary>
|
|
public const int StatusFieldNumber = 6;
|
|
private global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus status_ = global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus Status {
|
|
get { return status_; }
|
|
set {
|
|
status_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "reason" field.</summary>
|
|
public const int ReasonFieldNumber = 9;
|
|
private global::EggLink.DanhengServer.Proto.RogueMagicSettleReason reason_ = global::EggLink.DanhengServer.Proto.RogueMagicSettleReason.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueMagicSettleReason Reason {
|
|
get { return reason_; }
|
|
set {
|
|
reason_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_level_index" field.</summary>
|
|
public const int CurLevelIndexFieldNumber = 14;
|
|
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 RogueMagicLevelInfoUpdateScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RogueMagicLevelInfoUpdateScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (DECKAILMGEJ != other.DECKAILMGEJ) return false;
|
|
if (ExtraRoundLimit != other.ExtraRoundLimit) return false;
|
|
if(!levelInfoList_.Equals(other.levelInfoList_)) return false;
|
|
if (Status != other.Status) return false;
|
|
if (Reason != other.Reason) 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 (DECKAILMGEJ != 0) hash ^= DECKAILMGEJ.GetHashCode();
|
|
if (ExtraRoundLimit != 0) hash ^= ExtraRoundLimit.GetHashCode();
|
|
hash ^= levelInfoList_.GetHashCode();
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus.None) hash ^= Status.GetHashCode();
|
|
if (Reason != global::EggLink.DanhengServer.Proto.RogueMagicSettleReason.None) hash ^= Reason.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 (ExtraRoundLimit != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(ExtraRoundLimit);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus.None) {
|
|
output.WriteRawTag(48);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
levelInfoList_.WriteTo(output, _repeated_levelInfoList_codec);
|
|
if (Reason != global::EggLink.DanhengServer.Proto.RogueMagicSettleReason.None) {
|
|
output.WriteRawTag(72);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (CurLevelIndex != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(CurLevelIndex);
|
|
}
|
|
if (DECKAILMGEJ != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(DECKAILMGEJ);
|
|
}
|
|
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 (ExtraRoundLimit != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(ExtraRoundLimit);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus.None) {
|
|
output.WriteRawTag(48);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
levelInfoList_.WriteTo(ref output, _repeated_levelInfoList_codec);
|
|
if (Reason != global::EggLink.DanhengServer.Proto.RogueMagicSettleReason.None) {
|
|
output.WriteRawTag(72);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (CurLevelIndex != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(CurLevelIndex);
|
|
}
|
|
if (DECKAILMGEJ != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(DECKAILMGEJ);
|
|
}
|
|
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 (DECKAILMGEJ != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DECKAILMGEJ);
|
|
}
|
|
if (ExtraRoundLimit != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExtraRoundLimit);
|
|
}
|
|
size += levelInfoList_.CalculateSize(_repeated_levelInfoList_codec);
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
|
}
|
|
if (Reason != global::EggLink.DanhengServer.Proto.RogueMagicSettleReason.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
|
|
}
|
|
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(RogueMagicLevelInfoUpdateScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.DECKAILMGEJ != 0) {
|
|
DECKAILMGEJ = other.DECKAILMGEJ;
|
|
}
|
|
if (other.ExtraRoundLimit != 0) {
|
|
ExtraRoundLimit = other.ExtraRoundLimit;
|
|
}
|
|
levelInfoList_.Add(other.levelInfoList_);
|
|
if (other.Status != global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus.None) {
|
|
Status = other.Status;
|
|
}
|
|
if (other.Reason != global::EggLink.DanhengServer.Proto.RogueMagicSettleReason.None) {
|
|
Reason = other.Reason;
|
|
}
|
|
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 8: {
|
|
ExtraRoundLimit = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Status = (global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 58: {
|
|
levelInfoList_.AddEntriesFrom(input, _repeated_levelInfoList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.RogueMagicSettleReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 112: {
|
|
CurLevelIndex = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
DECKAILMGEJ = 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 8: {
|
|
ExtraRoundLimit = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Status = (global::EggLink.DanhengServer.Proto.RogueMagicLevelStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 58: {
|
|
levelInfoList_.AddEntriesFrom(ref input, _repeated_levelInfoList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.RogueMagicSettleReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 112: {
|
|
CurLevelIndex = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
DECKAILMGEJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|