mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
430 lines
17 KiB
C#
430 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AetherDivideBattleInfo.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 AetherDivideBattleInfo.proto</summary>
|
|
public static partial class AetherDivideBattleInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for AetherDivideBattleInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static AetherDivideBattleInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChxBZXRoZXJEaXZpZGVCYXR0bGVJbmZvLnByb3RvGhBCYXR0bGVCdWZmLnBy",
|
|
"b3RvGhZTY2VuZU1vbnN0ZXJXYXZlLnByb3RvGhZBZXRoZXJBdmF0YXJJbmZv",
|
|
"LnByb3RvIuoBChZBZXRoZXJEaXZpZGVCYXR0bGVJbmZvEhAKCHN0YWdlX2lk",
|
|
"GA8gASgNEi0KEmJhdHRsZV9hdmF0YXJfbGlzdBgCIAMoCzIRLkFldGhlckF2",
|
|
"YXRhckluZm8SHgoJYnVmZl9saXN0GAogAygLMgsuQmF0dGxlQnVmZhIZChFs",
|
|
"b2dpY19yYW5kb21fc2VlZBgFIAEoDRIRCgliYXR0bGVfaWQYCyABKA0SLAoR",
|
|
"bW9uc3Rlcl93YXZlX2xpc3QYDiADKAsyES5TY2VuZU1vbnN0ZXJXYXZlEhMK",
|
|
"C05CQ0tGREdNRkRCGAQgASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
|
|
"UHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleBuffReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneMonsterWaveReflection.Descriptor, global::EggLink.DanhengServer.Proto.AetherAvatarInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AetherDivideBattleInfo), global::EggLink.DanhengServer.Proto.AetherDivideBattleInfo.Parser, new[]{ "StageId", "BattleAvatarList", "BuffList", "LogicRandomSeed", "BattleId", "MonsterWaveList", "NBCKFDGMFDB" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class AetherDivideBattleInfo : pb::IMessage<AetherDivideBattleInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<AetherDivideBattleInfo> _parser = new pb::MessageParser<AetherDivideBattleInfo>(() => new AetherDivideBattleInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<AetherDivideBattleInfo> 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.AetherDivideBattleInfoReflection.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 AetherDivideBattleInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AetherDivideBattleInfo(AetherDivideBattleInfo other) : this() {
|
|
stageId_ = other.stageId_;
|
|
battleAvatarList_ = other.battleAvatarList_.Clone();
|
|
buffList_ = other.buffList_.Clone();
|
|
logicRandomSeed_ = other.logicRandomSeed_;
|
|
battleId_ = other.battleId_;
|
|
monsterWaveList_ = other.monsterWaveList_.Clone();
|
|
nBCKFDGMFDB_ = other.nBCKFDGMFDB_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AetherDivideBattleInfo Clone() {
|
|
return new AetherDivideBattleInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "stage_id" field.</summary>
|
|
public const int StageIdFieldNumber = 15;
|
|
private uint stageId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint StageId {
|
|
get { return stageId_; }
|
|
set {
|
|
stageId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_avatar_list" field.</summary>
|
|
public const int BattleAvatarListFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AetherAvatarInfo> _repeated_battleAvatarList_codec
|
|
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.AetherAvatarInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AetherAvatarInfo> battleAvatarList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AetherAvatarInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AetherAvatarInfo> BattleAvatarList {
|
|
get { return battleAvatarList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "buff_list" field.</summary>
|
|
public const int BuffListFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleBuff> _repeated_buffList_codec
|
|
= pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.BattleBuff.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleBuff> buffList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleBuff>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleBuff> BuffList {
|
|
get { return buffList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "logic_random_seed" field.</summary>
|
|
public const int LogicRandomSeedFieldNumber = 5;
|
|
private uint logicRandomSeed_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint LogicRandomSeed {
|
|
get { return logicRandomSeed_; }
|
|
set {
|
|
logicRandomSeed_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_id" field.</summary>
|
|
public const int BattleIdFieldNumber = 11;
|
|
private uint battleId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BattleId {
|
|
get { return battleId_; }
|
|
set {
|
|
battleId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "monster_wave_list" field.</summary>
|
|
public const int MonsterWaveListFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.SceneMonsterWave> _repeated_monsterWaveList_codec
|
|
= pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.SceneMonsterWave.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SceneMonsterWave> monsterWaveList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SceneMonsterWave>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.SceneMonsterWave> MonsterWaveList {
|
|
get { return monsterWaveList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "NBCKFDGMFDB" field.</summary>
|
|
public const int NBCKFDGMFDBFieldNumber = 4;
|
|
private bool nBCKFDGMFDB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool NBCKFDGMFDB {
|
|
get { return nBCKFDGMFDB_; }
|
|
set {
|
|
nBCKFDGMFDB_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as AetherDivideBattleInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(AetherDivideBattleInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (StageId != other.StageId) return false;
|
|
if(!battleAvatarList_.Equals(other.battleAvatarList_)) return false;
|
|
if(!buffList_.Equals(other.buffList_)) return false;
|
|
if (LogicRandomSeed != other.LogicRandomSeed) return false;
|
|
if (BattleId != other.BattleId) return false;
|
|
if(!monsterWaveList_.Equals(other.monsterWaveList_)) return false;
|
|
if (NBCKFDGMFDB != other.NBCKFDGMFDB) 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 (StageId != 0) hash ^= StageId.GetHashCode();
|
|
hash ^= battleAvatarList_.GetHashCode();
|
|
hash ^= buffList_.GetHashCode();
|
|
if (LogicRandomSeed != 0) hash ^= LogicRandomSeed.GetHashCode();
|
|
if (BattleId != 0) hash ^= BattleId.GetHashCode();
|
|
hash ^= monsterWaveList_.GetHashCode();
|
|
if (NBCKFDGMFDB != false) hash ^= NBCKFDGMFDB.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
|
|
battleAvatarList_.WriteTo(output, _repeated_battleAvatarList_codec);
|
|
if (NBCKFDGMFDB != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(NBCKFDGMFDB);
|
|
}
|
|
if (LogicRandomSeed != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(LogicRandomSeed);
|
|
}
|
|
buffList_.WriteTo(output, _repeated_buffList_codec);
|
|
if (BattleId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(BattleId);
|
|
}
|
|
monsterWaveList_.WriteTo(output, _repeated_monsterWaveList_codec);
|
|
if (StageId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(StageId);
|
|
}
|
|
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) {
|
|
battleAvatarList_.WriteTo(ref output, _repeated_battleAvatarList_codec);
|
|
if (NBCKFDGMFDB != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(NBCKFDGMFDB);
|
|
}
|
|
if (LogicRandomSeed != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(LogicRandomSeed);
|
|
}
|
|
buffList_.WriteTo(ref output, _repeated_buffList_codec);
|
|
if (BattleId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(BattleId);
|
|
}
|
|
monsterWaveList_.WriteTo(ref output, _repeated_monsterWaveList_codec);
|
|
if (StageId != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(StageId);
|
|
}
|
|
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 (StageId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
|
|
}
|
|
size += battleAvatarList_.CalculateSize(_repeated_battleAvatarList_codec);
|
|
size += buffList_.CalculateSize(_repeated_buffList_codec);
|
|
if (LogicRandomSeed != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogicRandomSeed);
|
|
}
|
|
if (BattleId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleId);
|
|
}
|
|
size += monsterWaveList_.CalculateSize(_repeated_monsterWaveList_codec);
|
|
if (NBCKFDGMFDB != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(AetherDivideBattleInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.StageId != 0) {
|
|
StageId = other.StageId;
|
|
}
|
|
battleAvatarList_.Add(other.battleAvatarList_);
|
|
buffList_.Add(other.buffList_);
|
|
if (other.LogicRandomSeed != 0) {
|
|
LogicRandomSeed = other.LogicRandomSeed;
|
|
}
|
|
if (other.BattleId != 0) {
|
|
BattleId = other.BattleId;
|
|
}
|
|
monsterWaveList_.Add(other.monsterWaveList_);
|
|
if (other.NBCKFDGMFDB != false) {
|
|
NBCKFDGMFDB = other.NBCKFDGMFDB;
|
|
}
|
|
_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: {
|
|
battleAvatarList_.AddEntriesFrom(input, _repeated_battleAvatarList_codec);
|
|
break;
|
|
}
|
|
case 32: {
|
|
NBCKFDGMFDB = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
LogicRandomSeed = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
buffList_.AddEntriesFrom(input, _repeated_buffList_codec);
|
|
break;
|
|
}
|
|
case 88: {
|
|
BattleId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
monsterWaveList_.AddEntriesFrom(input, _repeated_monsterWaveList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
StageId = 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: {
|
|
battleAvatarList_.AddEntriesFrom(ref input, _repeated_battleAvatarList_codec);
|
|
break;
|
|
}
|
|
case 32: {
|
|
NBCKFDGMFDB = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
LogicRandomSeed = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
buffList_.AddEntriesFrom(ref input, _repeated_buffList_codec);
|
|
break;
|
|
}
|
|
case 88: {
|
|
BattleId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
monsterWaveList_.AddEntriesFrom(ref input, _repeated_monsterWaveList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
StageId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|