Files
DanhengServer-OpenSource/Proto/RogueMagicGameScepterInfo.cs
2025-08-16 21:13:05 +08:00

330 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueMagicGameScepterInfo.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 RogueMagicGameScepterInfo.proto</summary>
public static partial class RogueMagicGameScepterInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueMagicGameScepterInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueMagicGameScepterInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch9Sb2d1ZU1hZ2ljR2FtZVNjZXB0ZXJJbmZvLnByb3RvGhdSb2d1ZU1hZ2lj",
"U2NlcHRlci5wcm90bxoYUm9ndWVNYWdpY0dhbWVVbml0LnByb3RvGiBSb2d1",
"ZU1hZ2ljU2NlcHRlckRyZXNzSW5mby5wcm90byKuAgoZUm9ndWVNYWdpY0dh",
"bWVTY2VwdGVySW5mbxJBCgx0cmVuY2hfY291bnQYDSADKAsyKy5Sb2d1ZU1h",
"Z2ljR2FtZVNjZXB0ZXJJbmZvLlRyZW5jaENvdW50RW50cnkSNwoSc2NlcHRl",
"cl9kcmVzc19pbmZvGAwgAygLMhsuUm9ndWVNYWdpY1NjZXB0ZXJEcmVzc0lu",
"Zm8SMwoWbG9ja2VkX21hZ2ljX3VuaXRfbGlzdBgDIAMoCzITLlJvZ3VlTWFn",
"aWNHYW1lVW5pdBIsChBtb2RpZmllcl9jb250ZW50GA8gASgLMhIuUm9ndWVN",
"YWdpY1NjZXB0ZXIaMgoQVHJlbmNoQ291bnRFbnRyeRILCgNrZXkYASABKA0S",
"DQoFdmFsdWUYAiABKA06AjgBQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
"UHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicScepterReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicGameUnitReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo), global::EggLink.DanhengServer.Proto.RogueMagicGameScepterInfo.Parser, new[]{ "TrenchCount", "ScepterDressInfo", "LockedMagicUnitList", "ModifierContent" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueMagicGameScepterInfo : pb::IMessage<RogueMagicGameScepterInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueMagicGameScepterInfo> _parser = new pb::MessageParser<RogueMagicGameScepterInfo>(() => new RogueMagicGameScepterInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueMagicGameScepterInfo> 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.RogueMagicGameScepterInfoReflection.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 RogueMagicGameScepterInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicGameScepterInfo(RogueMagicGameScepterInfo other) : this() {
trenchCount_ = other.trenchCount_.Clone();
scepterDressInfo_ = other.scepterDressInfo_.Clone();
lockedMagicUnitList_ = other.lockedMagicUnitList_.Clone();
modifierContent_ = other.modifierContent_ != null ? other.modifierContent_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicGameScepterInfo Clone() {
return new RogueMagicGameScepterInfo(this);
}
/// <summary>Field number for the "trench_count" field.</summary>
public const int TrenchCountFieldNumber = 13;
private static readonly pbc::MapField<uint, uint>.Codec _map_trenchCount_codec
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 106);
private readonly pbc::MapField<uint, uint> trenchCount_ = new pbc::MapField<uint, uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<uint, uint> TrenchCount {
get { return trenchCount_; }
}
/// <summary>Field number for the "scepter_dress_info" field.</summary>
public const int ScepterDressInfoFieldNumber = 12;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfo> _repeated_scepterDressInfo_codec
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfo> scepterDressInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfo> ScepterDressInfo {
get { return scepterDressInfo_; }
}
/// <summary>Field number for the "locked_magic_unit_list" field.</summary>
public const int LockedMagicUnitListFieldNumber = 3;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueMagicGameUnit> _repeated_lockedMagicUnitList_codec
= pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.RogueMagicGameUnit.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicGameUnit> lockedMagicUnitList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicGameUnit>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicGameUnit> LockedMagicUnitList {
get { return lockedMagicUnitList_; }
}
/// <summary>Field number for the "modifier_content" field.</summary>
public const int ModifierContentFieldNumber = 15;
private global::EggLink.DanhengServer.Proto.RogueMagicScepter modifierContent_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueMagicScepter ModifierContent {
get { return modifierContent_; }
set {
modifierContent_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueMagicGameScepterInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueMagicGameScepterInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!TrenchCount.Equals(other.TrenchCount)) return false;
if(!scepterDressInfo_.Equals(other.scepterDressInfo_)) return false;
if(!lockedMagicUnitList_.Equals(other.lockedMagicUnitList_)) return false;
if (!object.Equals(ModifierContent, other.ModifierContent)) 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;
hash ^= TrenchCount.GetHashCode();
hash ^= scepterDressInfo_.GetHashCode();
hash ^= lockedMagicUnitList_.GetHashCode();
if (modifierContent_ != null) hash ^= ModifierContent.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
lockedMagicUnitList_.WriteTo(output, _repeated_lockedMagicUnitList_codec);
scepterDressInfo_.WriteTo(output, _repeated_scepterDressInfo_codec);
trenchCount_.WriteTo(output, _map_trenchCount_codec);
if (modifierContent_ != null) {
output.WriteRawTag(122);
output.WriteMessage(ModifierContent);
}
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) {
lockedMagicUnitList_.WriteTo(ref output, _repeated_lockedMagicUnitList_codec);
scepterDressInfo_.WriteTo(ref output, _repeated_scepterDressInfo_codec);
trenchCount_.WriteTo(ref output, _map_trenchCount_codec);
if (modifierContent_ != null) {
output.WriteRawTag(122);
output.WriteMessage(ModifierContent);
}
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;
size += trenchCount_.CalculateSize(_map_trenchCount_codec);
size += scepterDressInfo_.CalculateSize(_repeated_scepterDressInfo_codec);
size += lockedMagicUnitList_.CalculateSize(_repeated_lockedMagicUnitList_codec);
if (modifierContent_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModifierContent);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueMagicGameScepterInfo other) {
if (other == null) {
return;
}
trenchCount_.MergeFrom(other.trenchCount_);
scepterDressInfo_.Add(other.scepterDressInfo_);
lockedMagicUnitList_.Add(other.lockedMagicUnitList_);
if (other.modifierContent_ != null) {
if (modifierContent_ == null) {
ModifierContent = new global::EggLink.DanhengServer.Proto.RogueMagicScepter();
}
ModifierContent.MergeFrom(other.ModifierContent);
}
_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 26: {
lockedMagicUnitList_.AddEntriesFrom(input, _repeated_lockedMagicUnitList_codec);
break;
}
case 98: {
scepterDressInfo_.AddEntriesFrom(input, _repeated_scepterDressInfo_codec);
break;
}
case 106: {
trenchCount_.AddEntriesFrom(input, _map_trenchCount_codec);
break;
}
case 122: {
if (modifierContent_ == null) {
ModifierContent = new global::EggLink.DanhengServer.Proto.RogueMagicScepter();
}
input.ReadMessage(ModifierContent);
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 26: {
lockedMagicUnitList_.AddEntriesFrom(ref input, _repeated_lockedMagicUnitList_codec);
break;
}
case 98: {
scepterDressInfo_.AddEntriesFrom(ref input, _repeated_scepterDressInfo_codec);
break;
}
case 106: {
trenchCount_.AddEntriesFrom(ref input, _map_trenchCount_codec);
break;
}
case 122: {
if (modifierContent_ == null) {
ModifierContent = new global::EggLink.DanhengServer.Proto.RogueMagicScepter();
}
input.ReadMessage(ModifierContent);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code