Files
DanhengServer-OpenSource/Proto/RogueMagicScepterSelectInfo.cs
2025-01-15 23:20:16 +08:00

263 lines
10 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueMagicScepterSelectInfo.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 RogueMagicScepterSelectInfo.proto</summary>
public static partial class RogueMagicScepterSelectInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueMagicScepterSelectInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueMagicScepterSelectInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFSb2d1ZU1hZ2ljU2NlcHRlclNlbGVjdEluZm8ucHJvdG8aF1JvZ3VlTWFn",
"aWNTY2VwdGVyLnByb3RvImIKG1JvZ3VlTWFnaWNTY2VwdGVyU2VsZWN0SW5m",
"bxIWCg5zZWxlY3RfaGludF9pZBgGIAEoDRIrCg9zZWxlY3Rfc2NlcHRlcnMY",
"BSADKAsyEi5Sb2d1ZU1hZ2ljU2NlcHRlckIeqgIbRWdnTGluay5EYW5oZW5n",
"U2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicScepterReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicScepterSelectInfo), global::EggLink.DanhengServer.Proto.RogueMagicScepterSelectInfo.Parser, new[]{ "SelectHintId", "SelectScepters" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueMagicScepterSelectInfo : pb::IMessage<RogueMagicScepterSelectInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueMagicScepterSelectInfo> _parser = new pb::MessageParser<RogueMagicScepterSelectInfo>(() => new RogueMagicScepterSelectInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueMagicScepterSelectInfo> 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.RogueMagicScepterSelectInfoReflection.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 RogueMagicScepterSelectInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicScepterSelectInfo(RogueMagicScepterSelectInfo other) : this() {
selectHintId_ = other.selectHintId_;
selectScepters_ = other.selectScepters_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicScepterSelectInfo Clone() {
return new RogueMagicScepterSelectInfo(this);
}
/// <summary>Field number for the "select_hint_id" field.</summary>
public const int SelectHintIdFieldNumber = 6;
private uint selectHintId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SelectHintId {
get { return selectHintId_; }
set {
selectHintId_ = value;
}
}
/// <summary>Field number for the "select_scepters" field.</summary>
public const int SelectSceptersFieldNumber = 5;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueMagicScepter> _repeated_selectScepters_codec
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.RogueMagicScepter.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicScepter> selectScepters_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicScepter>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueMagicScepter> SelectScepters {
get { return selectScepters_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueMagicScepterSelectInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueMagicScepterSelectInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SelectHintId != other.SelectHintId) return false;
if(!selectScepters_.Equals(other.selectScepters_)) 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 (SelectHintId != 0) hash ^= SelectHintId.GetHashCode();
hash ^= selectScepters_.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
selectScepters_.WriteTo(output, _repeated_selectScepters_codec);
if (SelectHintId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(SelectHintId);
}
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) {
selectScepters_.WriteTo(ref output, _repeated_selectScepters_codec);
if (SelectHintId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(SelectHintId);
}
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 (SelectHintId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SelectHintId);
}
size += selectScepters_.CalculateSize(_repeated_selectScepters_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueMagicScepterSelectInfo other) {
if (other == null) {
return;
}
if (other.SelectHintId != 0) {
SelectHintId = other.SelectHintId;
}
selectScepters_.Add(other.selectScepters_);
_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 42: {
selectScepters_.AddEntriesFrom(input, _repeated_selectScepters_codec);
break;
}
case 48: {
SelectHintId = input.ReadUInt32();
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 42: {
selectScepters_.AddEntriesFrom(ref input, _repeated_selectScepters_codec);
break;
}
case 48: {
SelectHintId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code