mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
404 lines
16 KiB
C#
404 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: EvolveBuildLevelInfo.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 EvolveBuildLevelInfo.proto</summary>
|
|
public static partial class EvolveBuildLevelInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for EvolveBuildLevelInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static EvolveBuildLevelInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpFdm9sdmVCdWlsZExldmVsSW5mby5wcm90bxoXRXZvbHZlQnVpbGRBdmF0",
|
|
"YXIucHJvdG8aEkJhdHRsZVRhcmdldC5wcm90bxobRXZvbHZlQnVpbGRCYXR0",
|
|
"bGVJbmZvLnByb3RvItgBChRFdm9sdmVCdWlsZExldmVsSW5mbxIrCgtiYXR0",
|
|
"bGVfaW5mbxgJIAEoCzIWLkV2b2x2ZUJ1aWxkQmF0dGxlSW5mbxIUCgxjdXJf",
|
|
"Z2FtZV9leHAYByABKA0SKQoSYmF0dGxlX3RhcmdldF9saXN0GAMgAygLMg0u",
|
|
"QmF0dGxlVGFyZ2V0EhEKCXJvdW5kX2NudBgKIAEoDRIWCg5wZXJpb2RfaWRf",
|
|
"bGlzdBgCIAMoDRInCgthdmF0YXJfbGlzdBgBIAMoCzISLkV2b2x2ZUJ1aWxk",
|
|
"QXZhdGFyQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EvolveBuildAvatarReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleTargetReflection.Descriptor, global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo), global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo.Parser, new[]{ "BattleInfo", "CurGameExp", "BattleTargetList", "RoundCnt", "PeriodIdList", "AvatarList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class EvolveBuildLevelInfo : pb::IMessage<EvolveBuildLevelInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<EvolveBuildLevelInfo> _parser = new pb::MessageParser<EvolveBuildLevelInfo>(() => new EvolveBuildLevelInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<EvolveBuildLevelInfo> 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.EvolveBuildLevelInfoReflection.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 EvolveBuildLevelInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EvolveBuildLevelInfo(EvolveBuildLevelInfo other) : this() {
|
|
battleInfo_ = other.battleInfo_ != null ? other.battleInfo_.Clone() : null;
|
|
curGameExp_ = other.curGameExp_;
|
|
battleTargetList_ = other.battleTargetList_.Clone();
|
|
roundCnt_ = other.roundCnt_;
|
|
periodIdList_ = other.periodIdList_.Clone();
|
|
avatarList_ = other.avatarList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EvolveBuildLevelInfo Clone() {
|
|
return new EvolveBuildLevelInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_info" field.</summary>
|
|
public const int BattleInfoFieldNumber = 9;
|
|
private global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo battleInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo BattleInfo {
|
|
get { return battleInfo_; }
|
|
set {
|
|
battleInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_game_exp" field.</summary>
|
|
public const int CurGameExpFieldNumber = 7;
|
|
private uint curGameExp_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CurGameExp {
|
|
get { return curGameExp_; }
|
|
set {
|
|
curGameExp_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_target_list" field.</summary>
|
|
public const int BattleTargetListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleTarget> _repeated_battleTargetList_codec
|
|
= pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.BattleTarget.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget> battleTargetList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget> BattleTargetList {
|
|
get { return battleTargetList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "round_cnt" field.</summary>
|
|
public const int RoundCntFieldNumber = 10;
|
|
private uint roundCnt_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RoundCnt {
|
|
get { return roundCnt_; }
|
|
set {
|
|
roundCnt_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "period_id_list" field.</summary>
|
|
public const int PeriodIdListFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<uint> _repeated_periodIdList_codec
|
|
= pb::FieldCodec.ForUInt32(18);
|
|
private readonly pbc::RepeatedField<uint> periodIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> PeriodIdList {
|
|
get { return periodIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "avatar_list" field.</summary>
|
|
public const int AvatarListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.EvolveBuildAvatar> _repeated_avatarList_codec
|
|
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.EvolveBuildAvatar.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EvolveBuildAvatar> avatarList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EvolveBuildAvatar>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EvolveBuildAvatar> AvatarList {
|
|
get { return avatarList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as EvolveBuildLevelInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(EvolveBuildLevelInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(BattleInfo, other.BattleInfo)) return false;
|
|
if (CurGameExp != other.CurGameExp) return false;
|
|
if(!battleTargetList_.Equals(other.battleTargetList_)) return false;
|
|
if (RoundCnt != other.RoundCnt) return false;
|
|
if(!periodIdList_.Equals(other.periodIdList_)) return false;
|
|
if(!avatarList_.Equals(other.avatarList_)) 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 (battleInfo_ != null) hash ^= BattleInfo.GetHashCode();
|
|
if (CurGameExp != 0) hash ^= CurGameExp.GetHashCode();
|
|
hash ^= battleTargetList_.GetHashCode();
|
|
if (RoundCnt != 0) hash ^= RoundCnt.GetHashCode();
|
|
hash ^= periodIdList_.GetHashCode();
|
|
hash ^= avatarList_.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
|
|
avatarList_.WriteTo(output, _repeated_avatarList_codec);
|
|
periodIdList_.WriteTo(output, _repeated_periodIdList_codec);
|
|
battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec);
|
|
if (CurGameExp != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(CurGameExp);
|
|
}
|
|
if (battleInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(BattleInfo);
|
|
}
|
|
if (RoundCnt != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(RoundCnt);
|
|
}
|
|
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) {
|
|
avatarList_.WriteTo(ref output, _repeated_avatarList_codec);
|
|
periodIdList_.WriteTo(ref output, _repeated_periodIdList_codec);
|
|
battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec);
|
|
if (CurGameExp != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(CurGameExp);
|
|
}
|
|
if (battleInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(BattleInfo);
|
|
}
|
|
if (RoundCnt != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(RoundCnt);
|
|
}
|
|
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 (battleInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleInfo);
|
|
}
|
|
if (CurGameExp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurGameExp);
|
|
}
|
|
size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec);
|
|
if (RoundCnt != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoundCnt);
|
|
}
|
|
size += periodIdList_.CalculateSize(_repeated_periodIdList_codec);
|
|
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(EvolveBuildLevelInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.battleInfo_ != null) {
|
|
if (battleInfo_ == null) {
|
|
BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo();
|
|
}
|
|
BattleInfo.MergeFrom(other.BattleInfo);
|
|
}
|
|
if (other.CurGameExp != 0) {
|
|
CurGameExp = other.CurGameExp;
|
|
}
|
|
battleTargetList_.Add(other.battleTargetList_);
|
|
if (other.RoundCnt != 0) {
|
|
RoundCnt = other.RoundCnt;
|
|
}
|
|
periodIdList_.Add(other.periodIdList_);
|
|
avatarList_.Add(other.avatarList_);
|
|
_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 10: {
|
|
avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec);
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
periodIdList_.AddEntriesFrom(input, _repeated_periodIdList_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec);
|
|
break;
|
|
}
|
|
case 56: {
|
|
CurGameExp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (battleInfo_ == null) {
|
|
BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo();
|
|
}
|
|
input.ReadMessage(BattleInfo);
|
|
break;
|
|
}
|
|
case 80: {
|
|
RoundCnt = 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 10: {
|
|
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
periodIdList_.AddEntriesFrom(ref input, _repeated_periodIdList_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec);
|
|
break;
|
|
}
|
|
case 56: {
|
|
CurGameExp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (battleInfo_ == null) {
|
|
BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo();
|
|
}
|
|
input.ReadMessage(BattleInfo);
|
|
break;
|
|
}
|
|
case 80: {
|
|
RoundCnt = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|