Files
DanhengServer-OpenSource/Proto/GFOBLINGFBL.cs
2024-08-11 16:23:02 +08:00

429 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GFOBLINGFBL.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 GFOBLINGFBL.proto</summary>
public static partial class GFOBLINGFBLReflection {
#region Descriptor
/// <summary>File descriptor for GFOBLINGFBL.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GFOBLINGFBLReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFHRk9CTElOR0ZCTC5wcm90bxoQQmF0dGxlQnVmZi5wcm90bxoRTkZIRklQ",
"SU9PQ0IucHJvdG8aFlNjZW5lTW9uc3RlcldhdmUucHJvdG8i2gEKC0dGT0JM",
"SU5HRkJMEigKEmJhdHRsZV9hdmF0YXJfbGlzdBgPIAMoCzIMLk5GSEZJUElP",
"T0NCEiwKEW1vbnN0ZXJfd2F2ZV9saXN0GAYgAygLMhEuU2NlbmVNb25zdGVy",
"V2F2ZRITCgtNT0pMTkNORElPQhgFIAEoCBIRCgliYXR0bGVfaWQYAyABKA0S",
"HgoJYnVmZl9saXN0GAIgAygLMgsuQmF0dGxlQnVmZhIZChFsb2dpY19yYW5k",
"b21fc2VlZBgNIAEoDRIQCghzdGFnZV9pZBgBIAEoDUIeqgIbRWdnTGluay5E",
"YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleBuffReflection.Descriptor, global::EggLink.DanhengServer.Proto.NFHFIPIOOCBReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneMonsterWaveReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GFOBLINGFBL), global::EggLink.DanhengServer.Proto.GFOBLINGFBL.Parser, new[]{ "BattleAvatarList", "MonsterWaveList", "MOJLNCNDIOB", "BattleId", "BuffList", "LogicRandomSeed", "StageId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GFOBLINGFBL : pb::IMessage<GFOBLINGFBL>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GFOBLINGFBL> _parser = new pb::MessageParser<GFOBLINGFBL>(() => new GFOBLINGFBL());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GFOBLINGFBL> 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.GFOBLINGFBLReflection.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 GFOBLINGFBL() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GFOBLINGFBL(GFOBLINGFBL other) : this() {
battleAvatarList_ = other.battleAvatarList_.Clone();
monsterWaveList_ = other.monsterWaveList_.Clone();
mOJLNCNDIOB_ = other.mOJLNCNDIOB_;
battleId_ = other.battleId_;
buffList_ = other.buffList_.Clone();
logicRandomSeed_ = other.logicRandomSeed_;
stageId_ = other.stageId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GFOBLINGFBL Clone() {
return new GFOBLINGFBL(this);
}
/// <summary>Field number for the "battle_avatar_list" field.</summary>
public const int BattleAvatarListFieldNumber = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.NFHFIPIOOCB> _repeated_battleAvatarList_codec
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.NFHFIPIOOCB.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.NFHFIPIOOCB> battleAvatarList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.NFHFIPIOOCB>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.NFHFIPIOOCB> BattleAvatarList {
get { return battleAvatarList_; }
}
/// <summary>Field number for the "monster_wave_list" field.</summary>
public const int MonsterWaveListFieldNumber = 6;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.SceneMonsterWave> _repeated_monsterWaveList_codec
= pb::FieldCodec.ForMessage(50, 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 "MOJLNCNDIOB" field.</summary>
public const int MOJLNCNDIOBFieldNumber = 5;
private bool mOJLNCNDIOB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool MOJLNCNDIOB {
get { return mOJLNCNDIOB_; }
set {
mOJLNCNDIOB_ = value;
}
}
/// <summary>Field number for the "battle_id" field.</summary>
public const int BattleIdFieldNumber = 3;
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 "buff_list" field.</summary>
public const int BuffListFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleBuff> _repeated_buffList_codec
= pb::FieldCodec.ForMessage(18, 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 = 13;
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 "stage_id" field.</summary>
public const int StageIdFieldNumber = 1;
private uint stageId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint StageId {
get { return stageId_; }
set {
stageId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GFOBLINGFBL);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GFOBLINGFBL other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!battleAvatarList_.Equals(other.battleAvatarList_)) return false;
if(!monsterWaveList_.Equals(other.monsterWaveList_)) return false;
if (MOJLNCNDIOB != other.MOJLNCNDIOB) return false;
if (BattleId != other.BattleId) return false;
if(!buffList_.Equals(other.buffList_)) return false;
if (LogicRandomSeed != other.LogicRandomSeed) return false;
if (StageId != other.StageId) 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 ^= battleAvatarList_.GetHashCode();
hash ^= monsterWaveList_.GetHashCode();
if (MOJLNCNDIOB != false) hash ^= MOJLNCNDIOB.GetHashCode();
if (BattleId != 0) hash ^= BattleId.GetHashCode();
hash ^= buffList_.GetHashCode();
if (LogicRandomSeed != 0) hash ^= LogicRandomSeed.GetHashCode();
if (StageId != 0) hash ^= StageId.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 (StageId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(StageId);
}
buffList_.WriteTo(output, _repeated_buffList_codec);
if (BattleId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(BattleId);
}
if (MOJLNCNDIOB != false) {
output.WriteRawTag(40);
output.WriteBool(MOJLNCNDIOB);
}
monsterWaveList_.WriteTo(output, _repeated_monsterWaveList_codec);
if (LogicRandomSeed != 0) {
output.WriteRawTag(104);
output.WriteUInt32(LogicRandomSeed);
}
battleAvatarList_.WriteTo(output, _repeated_battleAvatarList_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 (StageId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(StageId);
}
buffList_.WriteTo(ref output, _repeated_buffList_codec);
if (BattleId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(BattleId);
}
if (MOJLNCNDIOB != false) {
output.WriteRawTag(40);
output.WriteBool(MOJLNCNDIOB);
}
monsterWaveList_.WriteTo(ref output, _repeated_monsterWaveList_codec);
if (LogicRandomSeed != 0) {
output.WriteRawTag(104);
output.WriteUInt32(LogicRandomSeed);
}
battleAvatarList_.WriteTo(ref output, _repeated_battleAvatarList_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 += battleAvatarList_.CalculateSize(_repeated_battleAvatarList_codec);
size += monsterWaveList_.CalculateSize(_repeated_monsterWaveList_codec);
if (MOJLNCNDIOB != false) {
size += 1 + 1;
}
if (BattleId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleId);
}
size += buffList_.CalculateSize(_repeated_buffList_codec);
if (LogicRandomSeed != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogicRandomSeed);
}
if (StageId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GFOBLINGFBL other) {
if (other == null) {
return;
}
battleAvatarList_.Add(other.battleAvatarList_);
monsterWaveList_.Add(other.monsterWaveList_);
if (other.MOJLNCNDIOB != false) {
MOJLNCNDIOB = other.MOJLNCNDIOB;
}
if (other.BattleId != 0) {
BattleId = other.BattleId;
}
buffList_.Add(other.buffList_);
if (other.LogicRandomSeed != 0) {
LogicRandomSeed = other.LogicRandomSeed;
}
if (other.StageId != 0) {
StageId = other.StageId;
}
_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: {
StageId = input.ReadUInt32();
break;
}
case 18: {
buffList_.AddEntriesFrom(input, _repeated_buffList_codec);
break;
}
case 24: {
BattleId = input.ReadUInt32();
break;
}
case 40: {
MOJLNCNDIOB = input.ReadBool();
break;
}
case 50: {
monsterWaveList_.AddEntriesFrom(input, _repeated_monsterWaveList_codec);
break;
}
case 104: {
LogicRandomSeed = input.ReadUInt32();
break;
}
case 122: {
battleAvatarList_.AddEntriesFrom(input, _repeated_battleAvatarList_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: {
StageId = input.ReadUInt32();
break;
}
case 18: {
buffList_.AddEntriesFrom(ref input, _repeated_buffList_codec);
break;
}
case 24: {
BattleId = input.ReadUInt32();
break;
}
case 40: {
MOJLNCNDIOB = input.ReadBool();
break;
}
case 50: {
monsterWaveList_.AddEntriesFrom(ref input, _repeated_monsterWaveList_codec);
break;
}
case 104: {
LogicRandomSeed = input.ReadUInt32();
break;
}
case 122: {
battleAvatarList_.AddEntriesFrom(ref input, _repeated_battleAvatarList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code