Files
DanhengServer-OpenSource/Proto/BattleRogueMagicItemInfo.cs
2025-12-14 11:26:01 +08:00

274 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BattleRogueMagicItemInfo.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 BattleRogueMagicItemInfo.proto</summary>
public static partial class BattleRogueMagicItemInfoReflection {
#region Descriptor
/// <summary>File descriptor for BattleRogueMagicItemInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BattleRogueMagicItemInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5CYXR0bGVSb2d1ZU1hZ2ljSXRlbUluZm8ucHJvdG8aHUJhdHRsZVJvZ3Vl",
"TWFnaWNTY2VwdGVyLnByb3RvGiBCYXR0bGVSb2d1ZU1hZ2ljUm91bmRDb3Vu",
"dC5wcm90byKKAQoYQmF0dGxlUm9ndWVNYWdpY0l0ZW1JbmZvEjcKEmJhdHRs",
"ZV9yb3VuZF9jb3VudBgBIAEoCzIbLkJhdHRsZVJvZ3VlTWFnaWNSb3VuZENv",
"dW50EjUKE2JhdHRsZV9zY2VwdGVyX2xpc3QYAiADKAsyGC5CYXR0bGVSb2d1",
"ZU1hZ2ljU2NlcHRlckIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
"YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleRogueMagicScepterReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleRogueMagicRoundCountReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo), global::EggLink.DanhengServer.Proto.BattleRogueMagicItemInfo.Parser, new[]{ "BattleRoundCount", "BattleScepterList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BattleRogueMagicItemInfo : pb::IMessage<BattleRogueMagicItemInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BattleRogueMagicItemInfo> _parser = new pb::MessageParser<BattleRogueMagicItemInfo>(() => new BattleRogueMagicItemInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BattleRogueMagicItemInfo> 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.BattleRogueMagicItemInfoReflection.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 BattleRogueMagicItemInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BattleRogueMagicItemInfo(BattleRogueMagicItemInfo other) : this() {
battleRoundCount_ = other.battleRoundCount_ != null ? other.battleRoundCount_.Clone() : null;
battleScepterList_ = other.battleScepterList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BattleRogueMagicItemInfo Clone() {
return new BattleRogueMagicItemInfo(this);
}
/// <summary>Field number for the "battle_round_count" field.</summary>
public const int BattleRoundCountFieldNumber = 1;
private global::EggLink.DanhengServer.Proto.BattleRogueMagicRoundCount battleRoundCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.BattleRogueMagicRoundCount BattleRoundCount {
get { return battleRoundCount_; }
set {
battleRoundCount_ = value;
}
}
/// <summary>Field number for the "battle_scepter_list" field.</summary>
public const int BattleScepterListFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleRogueMagicScepter> _repeated_battleScepterList_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.BattleRogueMagicScepter.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleRogueMagicScepter> battleScepterList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleRogueMagicScepter>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleRogueMagicScepter> BattleScepterList {
get { return battleScepterList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BattleRogueMagicItemInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BattleRogueMagicItemInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BattleRoundCount, other.BattleRoundCount)) return false;
if(!battleScepterList_.Equals(other.battleScepterList_)) 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 (battleRoundCount_ != null) hash ^= BattleRoundCount.GetHashCode();
hash ^= battleScepterList_.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 (battleRoundCount_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BattleRoundCount);
}
battleScepterList_.WriteTo(output, _repeated_battleScepterList_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 (battleRoundCount_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BattleRoundCount);
}
battleScepterList_.WriteTo(ref output, _repeated_battleScepterList_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;
if (battleRoundCount_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleRoundCount);
}
size += battleScepterList_.CalculateSize(_repeated_battleScepterList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BattleRogueMagicItemInfo other) {
if (other == null) {
return;
}
if (other.battleRoundCount_ != null) {
if (battleRoundCount_ == null) {
BattleRoundCount = new global::EggLink.DanhengServer.Proto.BattleRogueMagicRoundCount();
}
BattleRoundCount.MergeFrom(other.BattleRoundCount);
}
battleScepterList_.Add(other.battleScepterList_);
_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 (battleRoundCount_ == null) {
BattleRoundCount = new global::EggLink.DanhengServer.Proto.BattleRogueMagicRoundCount();
}
input.ReadMessage(BattleRoundCount);
break;
}
case 18: {
battleScepterList_.AddEntriesFrom(input, _repeated_battleScepterList_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 10: {
if (battleRoundCount_ == null) {
BattleRoundCount = new global::EggLink.DanhengServer.Proto.BattleRogueMagicRoundCount();
}
input.ReadMessage(BattleRoundCount);
break;
}
case 18: {
battleScepterList_.AddEntriesFrom(ref input, _repeated_battleScepterList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code