Files
DanhengServer-OpenSource/Proto/BattleRogueMagicDetailInfo.cs
2025-03-01 21:18:11 +08:00

334 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BattleRogueMagicDetailInfo.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 BattleRogueMagicDetailInfo.proto</summary>
public static partial class BattleRogueMagicDetailInfoReflection {
#region Descriptor
/// <summary>File descriptor for BattleRogueMagicDetailInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BattleRogueMagicDetailInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBCYXR0bGVSb2d1ZU1hZ2ljRGV0YWlsSW5mby5wcm90bxoRRktPQ0JPT0NE",
"TkwucHJvdG8aHkJhdHRsZVJvZ3VlTWFnaWNJdGVtSW5mby5wcm90byKOAQoa",
"QmF0dGxlUm9ndWVNYWdpY0RldGFpbEluZm8SOwoWYmF0dGxlX21hZ2ljX2l0",
"ZW1faW5mbxgBIAEoCzIZLkJhdHRsZVJvZ3VlTWFnaWNJdGVtSW5mb0gAEiMK",
"C0VOTlBKR0xDQkVNGAIgASgLMgwuRktPQ0JPT0NETkxIAEIOCgxjb250ZW50",
"X2Nhc2VCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FKOCBOOCDNLReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo), global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo.Parser, new[]{ "BattleMagicItemInfo", "ENNPJGLCBEM" }, new[]{ "ContentCase" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BattleRogueMagicDetailInfo : pb::IMessage<BattleRogueMagicDetailInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BattleRogueMagicDetailInfo> _parser = new pb::MessageParser<BattleRogueMagicDetailInfo>(() => new BattleRogueMagicDetailInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BattleRogueMagicDetailInfo> 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.BattleRogueMagicDetailInfoReflection.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 BattleRogueMagicDetailInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BattleRogueMagicDetailInfo(BattleRogueMagicDetailInfo other) : this() {
switch (other.ContentCaseCase) {
case ContentCaseOneofCase.BattleMagicItemInfo:
BattleMagicItemInfo = other.BattleMagicItemInfo.Clone();
break;
case ContentCaseOneofCase.ENNPJGLCBEM:
ENNPJGLCBEM = other.ENNPJGLCBEM.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BattleRogueMagicDetailInfo Clone() {
return new BattleRogueMagicDetailInfo(this);
}
/// <summary>Field number for the "battle_magic_item_info" field.</summary>
public const int BattleMagicItemInfoFieldNumber = 1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo BattleMagicItemInfo {
get { return contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo ? (global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo) contentCase_ : null; }
set {
contentCase_ = value;
contentCaseCase_ = value == null ? ContentCaseOneofCase.None : ContentCaseOneofCase.BattleMagicItemInfo;
}
}
/// <summary>Field number for the "ENNPJGLCBEM" field.</summary>
public const int ENNPJGLCBEMFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.FKOCBOOCDNL ENNPJGLCBEM {
get { return contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM ? (global::EggLink.DanhengServer.Proto.FKOCBOOCDNL) contentCase_ : null; }
set {
contentCase_ = value;
contentCaseCase_ = value == null ? ContentCaseOneofCase.None : ContentCaseOneofCase.ENNPJGLCBEM;
}
}
private object contentCase_;
/// <summary>Enum of possible cases for the "content_case" oneof.</summary>
public enum ContentCaseOneofCase {
None = 0,
BattleMagicItemInfo = 1,
ENNPJGLCBEM = 2,
}
private ContentCaseOneofCase contentCaseCase_ = ContentCaseOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ContentCaseOneofCase ContentCaseCase {
get { return contentCaseCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearContentCase() {
contentCaseCase_ = ContentCaseOneofCase.None;
contentCase_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BattleRogueMagicDetailInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BattleRogueMagicDetailInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BattleMagicItemInfo, other.BattleMagicItemInfo)) return false;
if (!object.Equals(ENNPJGLCBEM, other.ENNPJGLCBEM)) return false;
if (ContentCaseCase != other.ContentCaseCase) 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 (contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo) hash ^= BattleMagicItemInfo.GetHashCode();
if (contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM) hash ^= ENNPJGLCBEM.GetHashCode();
hash ^= (int) contentCaseCase_;
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 (contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo) {
output.WriteRawTag(10);
output.WriteMessage(BattleMagicItemInfo);
}
if (contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM) {
output.WriteRawTag(18);
output.WriteMessage(ENNPJGLCBEM);
}
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 (contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo) {
output.WriteRawTag(10);
output.WriteMessage(BattleMagicItemInfo);
}
if (contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM) {
output.WriteRawTag(18);
output.WriteMessage(ENNPJGLCBEM);
}
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 (contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleMagicItemInfo);
}
if (contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ENNPJGLCBEM);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BattleRogueMagicDetailInfo other) {
if (other == null) {
return;
}
switch (other.ContentCaseCase) {
case ContentCaseOneofCase.BattleMagicItemInfo:
if (BattleMagicItemInfo == null) {
BattleMagicItemInfo = new global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo();
}
BattleMagicItemInfo.MergeFrom(other.BattleMagicItemInfo);
break;
case ContentCaseOneofCase.ENNPJGLCBEM:
if (ENNPJGLCBEM == null) {
ENNPJGLCBEM = new global::EggLink.DanhengServer.Proto.FKOCBOOCDNL();
}
ENNPJGLCBEM.MergeFrom(other.ENNPJGLCBEM);
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 10: {
global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo();
if (contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo) {
subBuilder.MergeFrom(BattleMagicItemInfo);
}
input.ReadMessage(subBuilder);
BattleMagicItemInfo = subBuilder;
break;
}
case 18: {
global::EggLink.DanhengServer.Proto.FKOCBOOCDNL subBuilder = new global::EggLink.DanhengServer.Proto.FKOCBOOCDNL();
if (contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM) {
subBuilder.MergeFrom(ENNPJGLCBEM);
}
input.ReadMessage(subBuilder);
ENNPJGLCBEM = 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 10: {
global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo subBuilder = new global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo();
if (contentCaseCase_ == ContentCaseOneofCase.BattleMagicItemInfo) {
subBuilder.MergeFrom(BattleMagicItemInfo);
}
input.ReadMessage(subBuilder);
BattleMagicItemInfo = subBuilder;
break;
}
case 18: {
global::EggLink.DanhengServer.Proto.FKOCBOOCDNL subBuilder = new global::EggLink.DanhengServer.Proto.FKOCBOOCDNL();
if (contentCaseCase_ == ContentCaseOneofCase.ENNPJGLCBEM) {
subBuilder.MergeFrom(ENNPJGLCBEM);
}
input.ReadMessage(subBuilder);
ENNPJGLCBEM = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code