mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
375 lines
15 KiB
C#
375 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(
|
|
"ChZTY2VuZU1vbnN0ZXJXYXZlLnByb3RvGg5JdGVtTGlzdC5wcm90bxobU2Nl",
|
|
"bmVNb25zdGVyV2F2ZVBhcmFtLnByb3RvGhJTY2VuZU1vbnN0ZXIucHJvdG8i",
|
|
"ugEKEFNjZW5lTW9uc3RlcldhdmUSIQoOZHJvcF9pdGVtX2xpc3QYBSADKAsy",
|
|
"CS5JdGVtTGlzdBIWCg5iYXR0bGVfd2F2ZV9pZBgPIAEoDRIXCg9iYXR0bGVf",
|
|
"c3RhZ2VfaWQYAyABKA0SIwoMbW9uc3Rlcl9saXN0GAIgAygLMg0uU2NlbmVN",
|
|
"b25zdGVyEi0KDW1vbnN0ZXJfcGFyYW0YDCABKAsyFi5TY2VuZU1vbnN0ZXJX",
|
|
"YXZlUGFyYW1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
|
|
"dG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneMonsterWaveParamReflection.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[]{ "DropItemList", "BattleWaveId", "BattleStageId", "MonsterList", "MonsterParam" }, 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() {
|
|
dropItemList_ = other.dropItemList_.Clone();
|
|
battleWaveId_ = other.battleWaveId_;
|
|
battleStageId_ = other.battleStageId_;
|
|
monsterList_ = other.monsterList_.Clone();
|
|
monsterParam_ = other.monsterParam_ != null ? other.monsterParam_.Clone() : null;
|
|
_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 "drop_item_list" field.</summary>
|
|
public const int DropItemListFieldNumber = 5;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ItemList> _repeated_dropItemList_codec
|
|
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.ItemList.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemList> dropItemList_ = 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> DropItemList {
|
|
get { return dropItemList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_wave_id" field.</summary>
|
|
public const int BattleWaveIdFieldNumber = 15;
|
|
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 = 3;
|
|
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 = 2;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.SceneMonster> _repeated_monsterList_codec
|
|
= pb::FieldCodec.ForMessage(18, 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 "monster_param" field.</summary>
|
|
public const int MonsterParamFieldNumber = 12;
|
|
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;
|
|
}
|
|
}
|
|
|
|
[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(!dropItemList_.Equals(other.dropItemList_)) return false;
|
|
if (BattleWaveId != other.BattleWaveId) return false;
|
|
if (BattleStageId != other.BattleStageId) return false;
|
|
if(!monsterList_.Equals(other.monsterList_)) return false;
|
|
if (!object.Equals(MonsterParam, other.MonsterParam)) 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 ^= dropItemList_.GetHashCode();
|
|
if (BattleWaveId != 0) hash ^= BattleWaveId.GetHashCode();
|
|
if (BattleStageId != 0) hash ^= BattleStageId.GetHashCode();
|
|
hash ^= monsterList_.GetHashCode();
|
|
if (monsterParam_ != null) hash ^= MonsterParam.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(24);
|
|
output.WriteUInt32(BattleStageId);
|
|
}
|
|
dropItemList_.WriteTo(output, _repeated_dropItemList_codec);
|
|
if (monsterParam_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(MonsterParam);
|
|
}
|
|
if (BattleWaveId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(BattleWaveId);
|
|
}
|
|
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(24);
|
|
output.WriteUInt32(BattleStageId);
|
|
}
|
|
dropItemList_.WriteTo(ref output, _repeated_dropItemList_codec);
|
|
if (monsterParam_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(MonsterParam);
|
|
}
|
|
if (BattleWaveId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(BattleWaveId);
|
|
}
|
|
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 += dropItemList_.CalculateSize(_repeated_dropItemList_codec);
|
|
if (BattleWaveId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleWaveId);
|
|
}
|
|
if (BattleStageId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleStageId);
|
|
}
|
|
size += monsterList_.CalculateSize(_repeated_monsterList_codec);
|
|
if (monsterParam_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MonsterParam);
|
|
}
|
|
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;
|
|
}
|
|
dropItemList_.Add(other.dropItemList_);
|
|
if (other.BattleWaveId != 0) {
|
|
BattleWaveId = other.BattleWaveId;
|
|
}
|
|
if (other.BattleStageId != 0) {
|
|
BattleStageId = other.BattleStageId;
|
|
}
|
|
monsterList_.Add(other.monsterList_);
|
|
if (other.monsterParam_ != null) {
|
|
if (monsterParam_ == null) {
|
|
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
|
|
}
|
|
MonsterParam.MergeFrom(other.MonsterParam);
|
|
}
|
|
_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 18: {
|
|
monsterList_.AddEntriesFrom(input, _repeated_monsterList_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
BattleStageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
dropItemList_.AddEntriesFrom(input, _repeated_dropItemList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (monsterParam_ == null) {
|
|
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
|
|
}
|
|
input.ReadMessage(MonsterParam);
|
|
break;
|
|
}
|
|
case 120: {
|
|
BattleWaveId = 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 18: {
|
|
monsterList_.AddEntriesFrom(ref input, _repeated_monsterList_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
BattleStageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
dropItemList_.AddEntriesFrom(ref input, _repeated_dropItemList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (monsterParam_ == null) {
|
|
MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam();
|
|
}
|
|
input.ReadMessage(MonsterParam);
|
|
break;
|
|
}
|
|
case 120: {
|
|
BattleWaveId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|