Files
DanhengServer-OpenSource/Proto/CellFinalMonsterInfo.cs
2025-08-22 21:52:38 +08:00

293 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CellFinalMonsterInfo.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 CellFinalMonsterInfo.proto</summary>
public static partial class CellFinalMonsterInfoReflection {
#region Descriptor
/// <summary>File descriptor for CellFinalMonsterInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CellFinalMonsterInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChpDZWxsRmluYWxNb25zdGVySW5mby5wcm90bxobQ2VsbE1vbnN0ZXJTZWxl",
"Y3RJbmZvLnByb3RvGhVDZWxsTW9uc3RlckluZm8ucHJvdG8icgoUQ2VsbEZp",
"bmFsTW9uc3RlckluZm8SMAoQc2VsZWN0X2Jvc3NfaW5mbxgEIAEoCzIWLkNl",
"bGxNb25zdGVyU2VsZWN0SW5mbxIoCg5jZWxsX2Jvc3NfaW5mbxgIIAEoCzIQ",
"LkNlbGxNb25zdGVySW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"b3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CellMonsterSelectInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellMonsterInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo), global::EggLink.DanhengServer.Proto.CellFinalMonsterInfo.Parser, new[]{ "SelectBossInfo", "CellBossInfo" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CellFinalMonsterInfo : pb::IMessage<CellFinalMonsterInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<CellFinalMonsterInfo> _parser = new pb::MessageParser<CellFinalMonsterInfo>(() => new CellFinalMonsterInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<CellFinalMonsterInfo> 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.CellFinalMonsterInfoReflection.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 CellFinalMonsterInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CellFinalMonsterInfo(CellFinalMonsterInfo other) : this() {
selectBossInfo_ = other.selectBossInfo_ != null ? other.selectBossInfo_.Clone() : null;
cellBossInfo_ = other.cellBossInfo_ != null ? other.cellBossInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CellFinalMonsterInfo Clone() {
return new CellFinalMonsterInfo(this);
}
/// <summary>Field number for the "select_boss_info" field.</summary>
public const int SelectBossInfoFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo selectBossInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo SelectBossInfo {
get { return selectBossInfo_; }
set {
selectBossInfo_ = value;
}
}
/// <summary>Field number for the "cell_boss_info" field.</summary>
public const int CellBossInfoFieldNumber = 8;
private global::EggLink.DanhengServer.Proto.CellMonsterInfo cellBossInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.CellMonsterInfo CellBossInfo {
get { return cellBossInfo_; }
set {
cellBossInfo_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CellFinalMonsterInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CellFinalMonsterInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(SelectBossInfo, other.SelectBossInfo)) return false;
if (!object.Equals(CellBossInfo, other.CellBossInfo)) 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 (selectBossInfo_ != null) hash ^= SelectBossInfo.GetHashCode();
if (cellBossInfo_ != null) hash ^= CellBossInfo.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 (selectBossInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(SelectBossInfo);
}
if (cellBossInfo_ != null) {
output.WriteRawTag(66);
output.WriteMessage(CellBossInfo);
}
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 (selectBossInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(SelectBossInfo);
}
if (cellBossInfo_ != null) {
output.WriteRawTag(66);
output.WriteMessage(CellBossInfo);
}
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 (selectBossInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectBossInfo);
}
if (cellBossInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CellBossInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CellFinalMonsterInfo other) {
if (other == null) {
return;
}
if (other.selectBossInfo_ != null) {
if (selectBossInfo_ == null) {
SelectBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
}
SelectBossInfo.MergeFrom(other.SelectBossInfo);
}
if (other.cellBossInfo_ != null) {
if (cellBossInfo_ == null) {
CellBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
}
CellBossInfo.MergeFrom(other.CellBossInfo);
}
_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 34: {
if (selectBossInfo_ == null) {
SelectBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
}
input.ReadMessage(SelectBossInfo);
break;
}
case 66: {
if (cellBossInfo_ == null) {
CellBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
}
input.ReadMessage(CellBossInfo);
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 34: {
if (selectBossInfo_ == null) {
SelectBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
}
input.ReadMessage(SelectBossInfo);
break;
}
case 66: {
if (cellBossInfo_ == null) {
CellBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
}
input.ReadMessage(CellBossInfo);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code