mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
330 lines
14 KiB
C#
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(
|
|
"Ch9Sb2d1ZU1hZ2ljR2FtZVNjZXB0ZXJJbmZvLnByb3RvGiBSb2d1ZU1hZ2lj",
|
|
"U2NlcHRlckRyZXNzSW5mby5wcm90bxoXUm9ndWVNYWdpY1NjZXB0ZXIucHJv",
|
|
"dG8aGFJvZ3VlTWFnaWNHYW1lVW5pdC5wcm90byKuAgoZUm9ndWVNYWdpY0dh",
|
|
"bWVTY2VwdGVySW5mbxJBCgx0cmVuY2hfY291bnQYByADKAsyKy5Sb2d1ZU1h",
|
|
"Z2ljR2FtZVNjZXB0ZXJJbmZvLlRyZW5jaENvdW50RW50cnkSLAoQbW9kaWZp",
|
|
"ZXJfY29udGVudBgKIAEoCzISLlJvZ3VlTWFnaWNTY2VwdGVyEjMKFmxvY2tl",
|
|
"ZF9tYWdpY191bml0X2xpc3QYAyADKAsyEy5Sb2d1ZU1hZ2ljR2FtZVVuaXQS",
|
|
"NwoSc2NlcHRlcl9kcmVzc19pbmZvGAwgAygLMhsuUm9ndWVNYWdpY1NjZXB0",
|
|
"ZXJEcmVzc0luZm8aMgoQVHJlbmNoQ291bnRFbnRyeRILCgNrZXkYASABKA0S",
|
|
"DQoFdmFsdWUYAiABKA06AjgBQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
|
|
"UHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicScepterDressInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicScepterReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueMagicGameUnitReflection.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", "ModifierContent", "LockedMagicUnitList", "ScepterDressInfo" }, 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();
|
|
modifierContent_ = other.modifierContent_ != null ? other.modifierContent_.Clone() : null;
|
|
lockedMagicUnitList_ = other.lockedMagicUnitList_.Clone();
|
|
scepterDressInfo_ = other.scepterDressInfo_.Clone();
|
|
_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 = 7;
|
|
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), 58);
|
|
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 "modifier_content" field.</summary>
|
|
public const int ModifierContentFieldNumber = 10;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <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 "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_; }
|
|
}
|
|
|
|
[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 (!object.Equals(ModifierContent, other.ModifierContent)) return false;
|
|
if(!lockedMagicUnitList_.Equals(other.lockedMagicUnitList_)) return false;
|
|
if(!scepterDressInfo_.Equals(other.scepterDressInfo_)) 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();
|
|
if (modifierContent_ != null) hash ^= ModifierContent.GetHashCode();
|
|
hash ^= lockedMagicUnitList_.GetHashCode();
|
|
hash ^= scepterDressInfo_.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);
|
|
trenchCount_.WriteTo(output, _map_trenchCount_codec);
|
|
if (modifierContent_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(ModifierContent);
|
|
}
|
|
scepterDressInfo_.WriteTo(output, _repeated_scepterDressInfo_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) {
|
|
lockedMagicUnitList_.WriteTo(ref output, _repeated_lockedMagicUnitList_codec);
|
|
trenchCount_.WriteTo(ref output, _map_trenchCount_codec);
|
|
if (modifierContent_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(ModifierContent);
|
|
}
|
|
scepterDressInfo_.WriteTo(ref output, _repeated_scepterDressInfo_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;
|
|
size += trenchCount_.CalculateSize(_map_trenchCount_codec);
|
|
if (modifierContent_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModifierContent);
|
|
}
|
|
size += lockedMagicUnitList_.CalculateSize(_repeated_lockedMagicUnitList_codec);
|
|
size += scepterDressInfo_.CalculateSize(_repeated_scepterDressInfo_codec);
|
|
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_);
|
|
if (other.modifierContent_ != null) {
|
|
if (modifierContent_ == null) {
|
|
ModifierContent = new global::EggLink.DanhengServer.Proto.RogueMagicScepter();
|
|
}
|
|
ModifierContent.MergeFrom(other.ModifierContent);
|
|
}
|
|
lockedMagicUnitList_.Add(other.lockedMagicUnitList_);
|
|
scepterDressInfo_.Add(other.scepterDressInfo_);
|
|
_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 58: {
|
|
trenchCount_.AddEntriesFrom(input, _map_trenchCount_codec);
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (modifierContent_ == null) {
|
|
ModifierContent = new global::EggLink.DanhengServer.Proto.RogueMagicScepter();
|
|
}
|
|
input.ReadMessage(ModifierContent);
|
|
break;
|
|
}
|
|
case 98: {
|
|
scepterDressInfo_.AddEntriesFrom(input, _repeated_scepterDressInfo_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 26: {
|
|
lockedMagicUnitList_.AddEntriesFrom(ref input, _repeated_lockedMagicUnitList_codec);
|
|
break;
|
|
}
|
|
case 58: {
|
|
trenchCount_.AddEntriesFrom(ref input, _map_trenchCount_codec);
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (modifierContent_ == null) {
|
|
ModifierContent = new global::EggLink.DanhengServer.Proto.RogueMagicScepter();
|
|
}
|
|
input.ReadMessage(ModifierContent);
|
|
break;
|
|
}
|
|
case 98: {
|
|
scepterDressInfo_.AddEntriesFrom(ref input, _repeated_scepterDressInfo_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|