Files
DanhengServer-OpenSource/Proto/SceneMonsterWave.cs
2025-01-15 23:20:16 +08:00

374 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SceneMonsterWave.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 SceneMonsterWave.proto</summary>
public static partial class SceneMonsterWaveReflection {
#region Descriptor
/// <summary>File descriptor for SceneMonsterWave.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SceneMonsterWaveReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZTY2VuZU1vbnN0ZXJXYXZlLnByb3RvGhtTY2VuZU1vbnN0ZXJXYXZlUGFy",
"YW0ucHJvdG8aDkl0ZW1MaXN0LnByb3RvGhJTY2VuZU1vbnN0ZXIucHJvdG8i",
"twEKEFNjZW5lTW9uc3RlcldhdmUSLQoNbW9uc3Rlcl9wYXJhbRgFIAEoCzIW",
"LlNjZW5lTW9uc3RlcldhdmVQYXJhbRIjCgxtb25zdGVyX2xpc3QYBCADKAsy",
"DS5TY2VuZU1vbnN0ZXISFgoOYmF0dGxlX3dhdmVfaWQYAiABKA0SFwoPYmF0",
"dGxlX3N0YWdlX2lkGAEgASgNEh4KC0pDRExKR0hIQU9GGA0gAygLMgkuSXRl",
"bUxpc3RCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SceneMonsterWaveParamReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneMonsterReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneMonsterWave), global::EggLink.DanhengServer.Proto.SceneMonsterWave.Parser, new[]{ "MonsterParam", "MonsterList", "BattleWaveId", "BattleStageId", "JCDLJGHHAOF" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SceneMonsterWave : pb::IMessage<SceneMonsterWave>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SceneMonsterWave> _parser = new pb::MessageParser<SceneMonsterWave>(() => new SceneMonsterWave());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SceneMonsterWave> 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.SceneMonsterWaveReflection.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 SceneMonsterWave() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneMonsterWave(SceneMonsterWave other) : this() {
monsterParam_ = other.monsterParam_ != null ? other.monsterParam_.Clone() : null;
monsterList_ = other.monsterList_.Clone();
battleWaveId_ = other.battleWaveId_;
battleStageId_ = other.battleStageId_;
jCDLJGHHAOF_ = other.jCDLJGHHAOF_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneMonsterWave Clone() {
return new SceneMonsterWave(this);
}
/// <summary>Field number for the "monster_param" field.</summary>
public const int MonsterParamFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam monsterParam_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam MonsterParam {
get { return monsterParam_; }
set {
monsterParam_ = value;
}
}
/// <summary>Field number for the "monster_list" field.</summary>
public const int MonsterListFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.SceneMonster> _repeated_monsterList_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.SceneMonster.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SceneMonster> monsterList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SceneMonster>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SceneMonster> MonsterList {
get { return monsterList_; }
}
/// <summary>Field number for the "battle_wave_id" field.</summary>
public const int BattleWaveIdFieldNumber = 2;
private uint battleWaveId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BattleWaveId {
get { return battleWaveId_; }
set {
battleWaveId_ = value;
}
}
/// <summary>Field number for the "battle_stage_id" field.</summary>
public const int BattleStageIdFieldNumber = 1;
private uint battleStageId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BattleStageId {
get { return battleStageId_; }
set {
battleStageId_ = value;
}
}
/// <summary>Field number for the "JCDLJGHHAOF" field.</summary>
public const int JCDLJGHHAOFFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ItemList> _repeated_jCDLJGHHAOF_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.ItemList.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemList> jCDLJGHHAOF_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemList>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemList> JCDLJGHHAOF {
get { return jCDLJGHHAOF_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SceneMonsterWave);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SceneMonsterWave other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(MonsterParam, other.MonsterParam)) return false;
if(!monsterList_.Equals(other.monsterList_)) return false;
if (BattleWaveId != other.BattleWaveId) return false;
if (BattleStageId != other.BattleStageId) return false;
if(!jCDLJGHHAOF_.Equals(other.jCDLJGHHAOF_)) 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 (monsterParam_ != null) hash ^= MonsterParam.GetHashCode();
hash ^= monsterList_.GetHashCode();
if (BattleWaveId != 0) hash ^= BattleWaveId.GetHashCode();
if (BattleStageId != 0) hash ^= BattleStageId.GetHashCode();
hash ^= jCDLJGHHAOF_.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 (BattleStageId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(BattleStageId);
}
if (BattleWaveId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(BattleWaveId);
}
monsterList_.WriteTo(output, _repeated_monsterList_codec);
if (monsterParam_ != null) {
output.WriteRawTag(42);
output.WriteMessage(MonsterParam);
}
jCDLJGHHAOF_.WriteTo(output, _repeated_jCDLJGHHAOF_codec);
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 (BattleStageId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(BattleStageId);
}
if (BattleWaveId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(BattleWaveId);
}
monsterList_.WriteTo(ref output, _repeated_monsterList_codec);
if (monsterParam_ != null) {
output.WriteRawTag(42);
output.WriteMessage(MonsterParam);
}
jCDLJGHHAOF_.WriteTo(ref output, _repeated_jCDLJGHHAOF_codec);
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 (monsterParam_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MonsterParam);
}
size += monsterList_.CalculateSize(_repeated_monsterList_codec);
if (BattleWaveId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleWaveId);
}
if (BattleStageId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleStageId);
}
size += jCDLJGHHAOF_.CalculateSize(_repeated_jCDLJGHHAOF_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SceneMonsterWave other) {
if (other == null) {
return;
}
if (other.monsterParam_ != null) {
if (monsterParam_ == null) {
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
}
MonsterParam.MergeFrom(other.MonsterParam);
}
monsterList_.Add(other.monsterList_);
if (other.BattleWaveId != 0) {
BattleWaveId = other.BattleWaveId;
}
if (other.BattleStageId != 0) {
BattleStageId = other.BattleStageId;
}
jCDLJGHHAOF_.Add(other.jCDLJGHHAOF_);
_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: {
BattleStageId = input.ReadUInt32();
break;
}
case 16: {
BattleWaveId = input.ReadUInt32();
break;
}
case 34: {
monsterList_.AddEntriesFrom(input, _repeated_monsterList_codec);
break;
}
case 42: {
if (monsterParam_ == null) {
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
}
input.ReadMessage(MonsterParam);
break;
}
case 106: {
jCDLJGHHAOF_.AddEntriesFrom(input, _repeated_jCDLJGHHAOF_codec);
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: {
BattleStageId = input.ReadUInt32();
break;
}
case 16: {
BattleWaveId = input.ReadUInt32();
break;
}
case 34: {
monsterList_.AddEntriesFrom(ref input, _repeated_monsterList_codec);
break;
}
case 42: {
if (monsterParam_ == null) {
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
}
input.ReadMessage(MonsterParam);
break;
}
case 106: {
jCDLJGHHAOF_.AddEntriesFrom(ref input, _repeated_jCDLJGHHAOF_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code