mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
374 lines
15 KiB
C#
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",
|
|
"twEKEFNjZW5lTW9uc3RlcldhdmUSHgoLSkNETEpHSEhBT0YYDiADKAsyCS5J",
|
|
"dGVtTGlzdBIWCg5iYXR0bGVfd2F2ZV9pZBgMIAEoDRItCg1tb25zdGVyX3Bh",
|
|
"cmFtGA0gASgLMhYuU2NlbmVNb25zdGVyV2F2ZVBhcmFtEhcKD2JhdHRsZV9z",
|
|
"dGFnZV9pZBgHIAEoDRIjCgxtb25zdGVyX2xpc3QYASADKAsyDS5TY2VuZU1v",
|
|
"bnN0ZXJCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
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[]{ "JCDLJGHHAOF", "BattleWaveId", "MonsterParam", "BattleStageId", "MonsterList" }, 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() {
|
|
jCDLJGHHAOF_ = other.jCDLJGHHAOF_.Clone();
|
|
battleWaveId_ = other.battleWaveId_;
|
|
monsterParam_ = other.monsterParam_ != null ? other.monsterParam_.Clone() : null;
|
|
battleStageId_ = other.battleStageId_;
|
|
monsterList_ = other.monsterList_.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 "JCDLJGHHAOF" field.</summary>
|
|
public const int JCDLJGHHAOFFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ItemList> _repeated_jCDLJGHHAOF_codec
|
|
= pb::FieldCodec.ForMessage(114, 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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_wave_id" field.</summary>
|
|
public const int BattleWaveIdFieldNumber = 12;
|
|
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 "monster_param" field.</summary>
|
|
public const int MonsterParamFieldNumber = 13;
|
|
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 "battle_stage_id" field.</summary>
|
|
public const int BattleStageIdFieldNumber = 7;
|
|
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 "monster_list" field.</summary>
|
|
public const int MonsterListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.SceneMonster> _repeated_monsterList_codec
|
|
= pb::FieldCodec.ForMessage(10, 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_; }
|
|
}
|
|
|
|
[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(!jCDLJGHHAOF_.Equals(other.jCDLJGHHAOF_)) return false;
|
|
if (BattleWaveId != other.BattleWaveId) return false;
|
|
if (!object.Equals(MonsterParam, other.MonsterParam)) return false;
|
|
if (BattleStageId != other.BattleStageId) return false;
|
|
if(!monsterList_.Equals(other.monsterList_)) 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;
|
|
hash ^= jCDLJGHHAOF_.GetHashCode();
|
|
if (BattleWaveId != 0) hash ^= BattleWaveId.GetHashCode();
|
|
if (monsterParam_ != null) hash ^= MonsterParam.GetHashCode();
|
|
if (BattleStageId != 0) hash ^= BattleStageId.GetHashCode();
|
|
hash ^= monsterList_.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
|
|
monsterList_.WriteTo(output, _repeated_monsterList_codec);
|
|
if (BattleStageId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(BattleStageId);
|
|
}
|
|
if (BattleWaveId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(BattleWaveId);
|
|
}
|
|
if (monsterParam_ != null) {
|
|
output.WriteRawTag(106);
|
|
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) {
|
|
monsterList_.WriteTo(ref output, _repeated_monsterList_codec);
|
|
if (BattleStageId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(BattleStageId);
|
|
}
|
|
if (BattleWaveId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(BattleWaveId);
|
|
}
|
|
if (monsterParam_ != null) {
|
|
output.WriteRawTag(106);
|
|
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;
|
|
size += jCDLJGHHAOF_.CalculateSize(_repeated_jCDLJGHHAOF_codec);
|
|
if (BattleWaveId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleWaveId);
|
|
}
|
|
if (monsterParam_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MonsterParam);
|
|
}
|
|
if (BattleStageId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleStageId);
|
|
}
|
|
size += monsterList_.CalculateSize(_repeated_monsterList_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;
|
|
}
|
|
jCDLJGHHAOF_.Add(other.jCDLJGHHAOF_);
|
|
if (other.BattleWaveId != 0) {
|
|
BattleWaveId = other.BattleWaveId;
|
|
}
|
|
if (other.monsterParam_ != null) {
|
|
if (monsterParam_ == null) {
|
|
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
|
|
}
|
|
MonsterParam.MergeFrom(other.MonsterParam);
|
|
}
|
|
if (other.BattleStageId != 0) {
|
|
BattleStageId = other.BattleStageId;
|
|
}
|
|
monsterList_.Add(other.monsterList_);
|
|
_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: {
|
|
monsterList_.AddEntriesFrom(input, _repeated_monsterList_codec);
|
|
break;
|
|
}
|
|
case 56: {
|
|
BattleStageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
BattleWaveId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (monsterParam_ == null) {
|
|
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
|
|
}
|
|
input.ReadMessage(MonsterParam);
|
|
break;
|
|
}
|
|
case 114: {
|
|
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 10: {
|
|
monsterList_.AddEntriesFrom(ref input, _repeated_monsterList_codec);
|
|
break;
|
|
}
|
|
case 56: {
|
|
BattleStageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
BattleWaveId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (monsterParam_ == null) {
|
|
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
|
|
}
|
|
input.ReadMessage(MonsterParam);
|
|
break;
|
|
}
|
|
case 114: {
|
|
jCDLJGHHAOF_.AddEntriesFrom(ref input, _repeated_jCDLJGHHAOF_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|