Files
DanhengServer-OpenSource/Proto/SceneMonsterExtraInfo.cs
2025-11-09 12:10:41 +08:00

280 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SceneMonsterExtraInfo.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 SceneMonsterExtraInfo.proto</summary>
public static partial class SceneMonsterExtraInfoReflection {
#region Descriptor
/// <summary>File descriptor for SceneMonsterExtraInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SceneMonsterExtraInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChtTY2VuZU1vbnN0ZXJFeHRyYUluZm8ucHJvdG8aH1NjZW5lTW9uc3Rlckdy",
"aWRGaWdodEluZm8ucHJvdG8iZQoVU2NlbmVNb25zdGVyRXh0cmFJbmZvEj0K",
"FmJhdHRsZV9ncmlkX2ZpZ2h0X2luZm8Y0gsgASgLMhouU2NlbmVNb25zdGVy",
"R3JpZEZpZ2h0SW5mb0gAQg0KC01DQk5NR0pQSklCQh6qAhtFZ2dMaW5rLkRh",
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneMonsterExtraInfo), global::EggLink.DanhengServer.Proto.SceneMonsterExtraInfo.Parser, new[]{ "BattleGridFightInfo" }, new[]{ "MCBNMGJPJIB" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SceneMonsterExtraInfo : pb::IMessage<SceneMonsterExtraInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SceneMonsterExtraInfo> _parser = new pb::MessageParser<SceneMonsterExtraInfo>(() => new SceneMonsterExtraInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SceneMonsterExtraInfo> 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.SceneMonsterExtraInfoReflection.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 SceneMonsterExtraInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneMonsterExtraInfo(SceneMonsterExtraInfo other) : this() {
switch (other.MCBNMGJPJIBCase) {
case MCBNMGJPJIBOneofCase.BattleGridFightInfo:
BattleGridFightInfo = other.BattleGridFightInfo.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneMonsterExtraInfo Clone() {
return new SceneMonsterExtraInfo(this);
}
/// <summary>Field number for the "battle_grid_fight_info" field.</summary>
public const int BattleGridFightInfoFieldNumber = 1490;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo BattleGridFightInfo {
get { return mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo ? (global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo) mCBNMGJPJIB_ : null; }
set {
mCBNMGJPJIB_ = value;
mCBNMGJPJIBCase_ = value == null ? MCBNMGJPJIBOneofCase.None : MCBNMGJPJIBOneofCase.BattleGridFightInfo;
}
}
private object mCBNMGJPJIB_;
/// <summary>Enum of possible cases for the "MCBNMGJPJIB" oneof.</summary>
public enum MCBNMGJPJIBOneofCase {
None = 0,
BattleGridFightInfo = 1490,
}
private MCBNMGJPJIBOneofCase mCBNMGJPJIBCase_ = MCBNMGJPJIBOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MCBNMGJPJIBOneofCase MCBNMGJPJIBCase {
get { return mCBNMGJPJIBCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearMCBNMGJPJIB() {
mCBNMGJPJIBCase_ = MCBNMGJPJIBOneofCase.None;
mCBNMGJPJIB_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SceneMonsterExtraInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SceneMonsterExtraInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BattleGridFightInfo, other.BattleGridFightInfo)) return false;
if (MCBNMGJPJIBCase != other.MCBNMGJPJIBCase) 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 (mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo) hash ^= BattleGridFightInfo.GetHashCode();
hash ^= (int) mCBNMGJPJIBCase_;
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 (mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo) {
output.WriteRawTag(146, 93);
output.WriteMessage(BattleGridFightInfo);
}
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 (mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo) {
output.WriteRawTag(146, 93);
output.WriteMessage(BattleGridFightInfo);
}
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 (mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(BattleGridFightInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SceneMonsterExtraInfo other) {
if (other == null) {
return;
}
switch (other.MCBNMGJPJIBCase) {
case MCBNMGJPJIBOneofCase.BattleGridFightInfo:
if (BattleGridFightInfo == null) {
BattleGridFightInfo = new global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo();
}
BattleGridFightInfo.MergeFrom(other.BattleGridFightInfo);
break;
}
_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 11922: {
global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo subBuilder = new global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo();
if (mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo) {
subBuilder.MergeFrom(BattleGridFightInfo);
}
input.ReadMessage(subBuilder);
BattleGridFightInfo = subBuilder;
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 11922: {
global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo subBuilder = new global::EggLink.DanhengServer.Proto.SceneMonsterGridFightInfo();
if (mCBNMGJPJIBCase_ == MCBNMGJPJIBOneofCase.BattleGridFightInfo) {
subBuilder.MergeFrom(BattleGridFightInfo);
}
input.ReadMessage(subBuilder);
BattleGridFightInfo = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code