Files
DanhengServer-OpenSource/Proto/EvolveBuildFinishScNotify.cs
2025-03-01 19:45:37 +08:00

545 lines
19 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EvolveBuildFinishScNotify.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 EvolveBuildFinishScNotify.proto</summary>
public static partial class EvolveBuildFinishScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for EvolveBuildFinishScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EvolveBuildFinishScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch9Fdm9sdmVCdWlsZEZpbmlzaFNjTm90aWZ5LnByb3RvGhFETEhDTUNOSUhJ",
"SS5wcm90bxoaRXZvbHZlQnVpbGRMZXZlbEluZm8ucHJvdG8i3QEKGUV2b2x2",
"ZUJ1aWxkRmluaXNoU2NOb3RpZnkSDAoEQ29pbhgGIAEoDRINCgVTY29yZRgP",
"IAEoDRIMCgRXYXZlGAogASgNEhUKDUN1clBlcmlvZFR5cGUYASABKA0SDgoG",
"SXNMb3NlGAcgASgIEiYKEEJhdHRsZVJlc3VsdFR5cGUYAiABKA4yDC5ETEhD",
"TUNOSUhJSRILCgNFeHAYAyABKA0SKAoJTGV2ZWxJbmZvGAUgASgLMhUuRXZv",
"bHZlQnVpbGRMZXZlbEluZm8SDwoHTGV2ZWxJZBgJIAEoDUIeqgIbRWdnTGlu",
"ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.DLHCMCNIHIIReflection.Descriptor, global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildFinishScNotify), global::EggLink.DanhengServer.Proto.EvolveBuildFinishScNotify.Parser, new[]{ "Coin", "Score", "Wave", "CurPeriodType", "IsLose", "BattleResultType", "Exp", "LevelInfo", "LevelId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EvolveBuildFinishScNotify : pb::IMessage<EvolveBuildFinishScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EvolveBuildFinishScNotify> _parser = new pb::MessageParser<EvolveBuildFinishScNotify>(() => new EvolveBuildFinishScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EvolveBuildFinishScNotify> 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.EvolveBuildFinishScNotifyReflection.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 EvolveBuildFinishScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EvolveBuildFinishScNotify(EvolveBuildFinishScNotify other) : this() {
coin_ = other.coin_;
score_ = other.score_;
wave_ = other.wave_;
curPeriodType_ = other.curPeriodType_;
isLose_ = other.isLose_;
battleResultType_ = other.battleResultType_;
exp_ = other.exp_;
levelInfo_ = other.levelInfo_ != null ? other.levelInfo_.Clone() : null;
levelId_ = other.levelId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EvolveBuildFinishScNotify Clone() {
return new EvolveBuildFinishScNotify(this);
}
/// <summary>Field number for the "Coin" field.</summary>
public const int CoinFieldNumber = 6;
private uint coin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Coin {
get { return coin_; }
set {
coin_ = value;
}
}
/// <summary>Field number for the "Score" field.</summary>
public const int ScoreFieldNumber = 15;
private uint score_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Score {
get { return score_; }
set {
score_ = value;
}
}
/// <summary>Field number for the "Wave" field.</summary>
public const int WaveFieldNumber = 10;
private uint wave_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Wave {
get { return wave_; }
set {
wave_ = value;
}
}
/// <summary>Field number for the "CurPeriodType" field.</summary>
public const int CurPeriodTypeFieldNumber = 1;
private uint curPeriodType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurPeriodType {
get { return curPeriodType_; }
set {
curPeriodType_ = value;
}
}
/// <summary>Field number for the "IsLose" field.</summary>
public const int IsLoseFieldNumber = 7;
private bool isLose_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsLose {
get { return isLose_; }
set {
isLose_ = value;
}
}
/// <summary>Field number for the "BattleResultType" field.</summary>
public const int BattleResultTypeFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.DLHCMCNIHII battleResultType_ = global::EggLink.DanhengServer.Proto.DLHCMCNIHII.EvolveBattleResultNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.DLHCMCNIHII BattleResultType {
get { return battleResultType_; }
set {
battleResultType_ = value;
}
}
/// <summary>Field number for the "Exp" field.</summary>
public const int ExpFieldNumber = 3;
private uint exp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Exp {
get { return exp_; }
set {
exp_ = value;
}
}
/// <summary>Field number for the "LevelInfo" field.</summary>
public const int LevelInfoFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo levelInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo LevelInfo {
get { return levelInfo_; }
set {
levelInfo_ = value;
}
}
/// <summary>Field number for the "LevelId" field.</summary>
public const int LevelIdFieldNumber = 9;
private uint levelId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LevelId {
get { return levelId_; }
set {
levelId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as EvolveBuildFinishScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(EvolveBuildFinishScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Coin != other.Coin) return false;
if (Score != other.Score) return false;
if (Wave != other.Wave) return false;
if (CurPeriodType != other.CurPeriodType) return false;
if (IsLose != other.IsLose) return false;
if (BattleResultType != other.BattleResultType) return false;
if (Exp != other.Exp) return false;
if (!object.Equals(LevelInfo, other.LevelInfo)) return false;
if (LevelId != other.LevelId) 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 (Coin != 0) hash ^= Coin.GetHashCode();
if (Score != 0) hash ^= Score.GetHashCode();
if (Wave != 0) hash ^= Wave.GetHashCode();
if (CurPeriodType != 0) hash ^= CurPeriodType.GetHashCode();
if (IsLose != false) hash ^= IsLose.GetHashCode();
if (BattleResultType != global::EggLink.DanhengServer.Proto.DLHCMCNIHII.EvolveBattleResultNone) hash ^= BattleResultType.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
if (levelInfo_ != null) hash ^= LevelInfo.GetHashCode();
if (LevelId != 0) hash ^= LevelId.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 (CurPeriodType != 0) {
output.WriteRawTag(8);
output.WriteUInt32(CurPeriodType);
}
if (BattleResultType != global::EggLink.DanhengServer.Proto.DLHCMCNIHII.EvolveBattleResultNone) {
output.WriteRawTag(16);
output.WriteEnum((int) BattleResultType);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Exp);
}
if (levelInfo_ != null) {
output.WriteRawTag(42);
output.WriteMessage(LevelInfo);
}
if (Coin != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Coin);
}
if (IsLose != false) {
output.WriteRawTag(56);
output.WriteBool(IsLose);
}
if (LevelId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(LevelId);
}
if (Wave != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Wave);
}
if (Score != 0) {
output.WriteRawTag(120);
output.WriteUInt32(Score);
}
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 (CurPeriodType != 0) {
output.WriteRawTag(8);
output.WriteUInt32(CurPeriodType);
}
if (BattleResultType != global::EggLink.DanhengServer.Proto.DLHCMCNIHII.EvolveBattleResultNone) {
output.WriteRawTag(16);
output.WriteEnum((int) BattleResultType);
}
if (Exp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Exp);
}
if (levelInfo_ != null) {
output.WriteRawTag(42);
output.WriteMessage(LevelInfo);
}
if (Coin != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Coin);
}
if (IsLose != false) {
output.WriteRawTag(56);
output.WriteBool(IsLose);
}
if (LevelId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(LevelId);
}
if (Wave != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Wave);
}
if (Score != 0) {
output.WriteRawTag(120);
output.WriteUInt32(Score);
}
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 (Coin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Coin);
}
if (Score != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score);
}
if (Wave != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Wave);
}
if (CurPeriodType != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPeriodType);
}
if (IsLose != false) {
size += 1 + 1;
}
if (BattleResultType != global::EggLink.DanhengServer.Proto.DLHCMCNIHII.EvolveBattleResultNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BattleResultType);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
}
if (levelInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelInfo);
}
if (LevelId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LevelId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(EvolveBuildFinishScNotify other) {
if (other == null) {
return;
}
if (other.Coin != 0) {
Coin = other.Coin;
}
if (other.Score != 0) {
Score = other.Score;
}
if (other.Wave != 0) {
Wave = other.Wave;
}
if (other.CurPeriodType != 0) {
CurPeriodType = other.CurPeriodType;
}
if (other.IsLose != false) {
IsLose = other.IsLose;
}
if (other.BattleResultType != global::EggLink.DanhengServer.Proto.DLHCMCNIHII.EvolveBattleResultNone) {
BattleResultType = other.BattleResultType;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
if (other.levelInfo_ != null) {
if (levelInfo_ == null) {
LevelInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo();
}
LevelInfo.MergeFrom(other.LevelInfo);
}
if (other.LevelId != 0) {
LevelId = other.LevelId;
}
_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: {
CurPeriodType = input.ReadUInt32();
break;
}
case 16: {
BattleResultType = (global::EggLink.DanhengServer.Proto.DLHCMCNIHII) input.ReadEnum();
break;
}
case 24: {
Exp = input.ReadUInt32();
break;
}
case 42: {
if (levelInfo_ == null) {
LevelInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo();
}
input.ReadMessage(LevelInfo);
break;
}
case 48: {
Coin = input.ReadUInt32();
break;
}
case 56: {
IsLose = input.ReadBool();
break;
}
case 72: {
LevelId = input.ReadUInt32();
break;
}
case 80: {
Wave = input.ReadUInt32();
break;
}
case 120: {
Score = 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: {
CurPeriodType = input.ReadUInt32();
break;
}
case 16: {
BattleResultType = (global::EggLink.DanhengServer.Proto.DLHCMCNIHII) input.ReadEnum();
break;
}
case 24: {
Exp = input.ReadUInt32();
break;
}
case 42: {
if (levelInfo_ == null) {
LevelInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo();
}
input.ReadMessage(LevelInfo);
break;
}
case 48: {
Coin = input.ReadUInt32();
break;
}
case 56: {
IsLose = input.ReadBool();
break;
}
case 72: {
LevelId = input.ReadUInt32();
break;
}
case 80: {
Wave = input.ReadUInt32();
break;
}
case 120: {
Score = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code