mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
293 lines
11 KiB
C#
293 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: BattleRogueMagicInfo.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 BattleRogueMagicInfo.proto</summary>
|
|
public static partial class BattleRogueMagicInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for BattleRogueMagicInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static BattleRogueMagicInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpCYXR0bGVSb2d1ZU1hZ2ljSW5mby5wcm90bxoiQmF0dGxlUm9ndWVNYWdp",
|
|
"Y01vZGlmaWVySW5mby5wcm90bxogQmF0dGxlUm9ndWVNYWdpY0RldGFpbElu",
|
|
"Zm8ucHJvdG8igQEKFEJhdHRsZVJvZ3VlTWFnaWNJbmZvEjcKEG1vZGlmaWVy",
|
|
"X2NvbnRlbnQYASABKAsyHS5CYXR0bGVSb2d1ZU1hZ2ljTW9kaWZpZXJJbmZv",
|
|
"EjAKC2RldGFpbF9pbmZvGAIgASgLMhsuQmF0dGxlUm9ndWVNYWdpY0RldGFp",
|
|
"bEluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleRogueMagicModifierInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicInfo), global::EggLink.DanhengServer.Proto.BattleRogueMagicInfo.Parser, new[]{ "ModifierContent", "DetailInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BattleRogueMagicInfo : pb::IMessage<BattleRogueMagicInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BattleRogueMagicInfo> _parser = new pb::MessageParser<BattleRogueMagicInfo>(() => new BattleRogueMagicInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BattleRogueMagicInfo> 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.BattleRogueMagicInfoReflection.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 BattleRogueMagicInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BattleRogueMagicInfo(BattleRogueMagicInfo other) : this() {
|
|
modifierContent_ = other.modifierContent_ != null ? other.modifierContent_.Clone() : null;
|
|
detailInfo_ = other.detailInfo_ != null ? other.detailInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BattleRogueMagicInfo Clone() {
|
|
return new BattleRogueMagicInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "modifier_content" field.</summary>
|
|
public const int ModifierContentFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.BattleRogueMagicModifierInfo modifierContent_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BattleRogueMagicModifierInfo ModifierContent {
|
|
get { return modifierContent_; }
|
|
set {
|
|
modifierContent_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "detail_info" field.</summary>
|
|
public const int DetailInfoFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo detailInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo DetailInfo {
|
|
get { return detailInfo_; }
|
|
set {
|
|
detailInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BattleRogueMagicInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BattleRogueMagicInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(ModifierContent, other.ModifierContent)) return false;
|
|
if (!object.Equals(DetailInfo, other.DetailInfo)) 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 (modifierContent_ != null) hash ^= ModifierContent.GetHashCode();
|
|
if (detailInfo_ != null) hash ^= DetailInfo.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 (modifierContent_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(ModifierContent);
|
|
}
|
|
if (detailInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(DetailInfo);
|
|
}
|
|
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 (modifierContent_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(ModifierContent);
|
|
}
|
|
if (detailInfo_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(DetailInfo);
|
|
}
|
|
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 (modifierContent_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModifierContent);
|
|
}
|
|
if (detailInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DetailInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(BattleRogueMagicInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.modifierContent_ != null) {
|
|
if (modifierContent_ == null) {
|
|
ModifierContent = new global::EggLink.DanhengServer.Proto.BattleRogueMagicModifierInfo();
|
|
}
|
|
ModifierContent.MergeFrom(other.ModifierContent);
|
|
}
|
|
if (other.detailInfo_ != null) {
|
|
if (detailInfo_ == null) {
|
|
DetailInfo = new global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo();
|
|
}
|
|
DetailInfo.MergeFrom(other.DetailInfo);
|
|
}
|
|
_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: {
|
|
if (modifierContent_ == null) {
|
|
ModifierContent = new global::EggLink.DanhengServer.Proto.BattleRogueMagicModifierInfo();
|
|
}
|
|
input.ReadMessage(ModifierContent);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (detailInfo_ == null) {
|
|
DetailInfo = new global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo();
|
|
}
|
|
input.ReadMessage(DetailInfo);
|
|
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: {
|
|
if (modifierContent_ == null) {
|
|
ModifierContent = new global::EggLink.DanhengServer.Proto.BattleRogueMagicModifierInfo();
|
|
}
|
|
input.ReadMessage(ModifierContent);
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (detailInfo_ == null) {
|
|
DetailInfo = new global::EggLink.DanhengServer.Proto.BattleRogueMagicDetailInfo();
|
|
}
|
|
input.ReadMessage(DetailInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|