mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
339 lines
13 KiB
C#
339 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DiscardRelicScRsp.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 DiscardRelicScRsp.proto</summary>
|
|
public static partial class DiscardRelicScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DiscardRelicScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DiscardRelicScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChdEaXNjYXJkUmVsaWNTY1JzcC5wcm90bxoRSUNQSU5FSE9MTUwucHJvdG8i",
|
|
"eQoRRGlzY2FyZFJlbGljU2NSc3ASHAoUcmVsaWNfdW5pcXVlX2lkX2xpc3QY",
|
|
"DiADKA0SEgoKaXNfZGlzY2FyZBgDIAEoCBIhCgtOTFBDT05OSk9ORhgIIAEo",
|
|
"DjIMLklDUElORUhPTE1MEg8KB3JldGNvZGUYCyABKA1CHqoCG0VnZ0xpbmsu",
|
|
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ICPINEHOLMLReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DiscardRelicScRsp), global::EggLink.DanhengServer.Proto.DiscardRelicScRsp.Parser, new[]{ "RelicUniqueIdList", "IsDiscard", "NLPCONNJONF", "Retcode" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DiscardRelicScRsp : pb::IMessage<DiscardRelicScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DiscardRelicScRsp> _parser = new pb::MessageParser<DiscardRelicScRsp>(() => new DiscardRelicScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DiscardRelicScRsp> 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.DiscardRelicScRspReflection.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 DiscardRelicScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DiscardRelicScRsp(DiscardRelicScRsp other) : this() {
|
|
relicUniqueIdList_ = other.relicUniqueIdList_.Clone();
|
|
isDiscard_ = other.isDiscard_;
|
|
nLPCONNJONF_ = other.nLPCONNJONF_;
|
|
retcode_ = other.retcode_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DiscardRelicScRsp Clone() {
|
|
return new DiscardRelicScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "relic_unique_id_list" field.</summary>
|
|
public const int RelicUniqueIdListFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<uint> _repeated_relicUniqueIdList_codec
|
|
= pb::FieldCodec.ForUInt32(114);
|
|
private readonly pbc::RepeatedField<uint> relicUniqueIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> RelicUniqueIdList {
|
|
get { return relicUniqueIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "is_discard" field.</summary>
|
|
public const int IsDiscardFieldNumber = 3;
|
|
private bool isDiscard_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsDiscard {
|
|
get { return isDiscard_; }
|
|
set {
|
|
isDiscard_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NLPCONNJONF" field.</summary>
|
|
public const int NLPCONNJONFFieldNumber = 8;
|
|
private global::EggLink.DanhengServer.Proto.ICPINEHOLML nLPCONNJONF_ = global::EggLink.DanhengServer.Proto.ICPINEHOLML.RelicDiscardTypeSingle;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ICPINEHOLML NLPCONNJONF {
|
|
get { return nLPCONNJONF_; }
|
|
set {
|
|
nLPCONNJONF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 11;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DiscardRelicScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DiscardRelicScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!relicUniqueIdList_.Equals(other.relicUniqueIdList_)) return false;
|
|
if (IsDiscard != other.IsDiscard) return false;
|
|
if (NLPCONNJONF != other.NLPCONNJONF) return false;
|
|
if (Retcode != other.Retcode) 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 ^= relicUniqueIdList_.GetHashCode();
|
|
if (IsDiscard != false) hash ^= IsDiscard.GetHashCode();
|
|
if (NLPCONNJONF != global::EggLink.DanhengServer.Proto.ICPINEHOLML.RelicDiscardTypeSingle) hash ^= NLPCONNJONF.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.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 (IsDiscard != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsDiscard);
|
|
}
|
|
if (NLPCONNJONF != global::EggLink.DanhengServer.Proto.ICPINEHOLML.RelicDiscardTypeSingle) {
|
|
output.WriteRawTag(64);
|
|
output.WriteEnum((int) NLPCONNJONF);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
relicUniqueIdList_.WriteTo(output, _repeated_relicUniqueIdList_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 (IsDiscard != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsDiscard);
|
|
}
|
|
if (NLPCONNJONF != global::EggLink.DanhengServer.Proto.ICPINEHOLML.RelicDiscardTypeSingle) {
|
|
output.WriteRawTag(64);
|
|
output.WriteEnum((int) NLPCONNJONF);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
relicUniqueIdList_.WriteTo(ref output, _repeated_relicUniqueIdList_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 += relicUniqueIdList_.CalculateSize(_repeated_relicUniqueIdList_codec);
|
|
if (IsDiscard != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (NLPCONNJONF != global::EggLink.DanhengServer.Proto.ICPINEHOLML.RelicDiscardTypeSingle) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NLPCONNJONF);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DiscardRelicScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
relicUniqueIdList_.Add(other.relicUniqueIdList_);
|
|
if (other.IsDiscard != false) {
|
|
IsDiscard = other.IsDiscard;
|
|
}
|
|
if (other.NLPCONNJONF != global::EggLink.DanhengServer.Proto.ICPINEHOLML.RelicDiscardTypeSingle) {
|
|
NLPCONNJONF = other.NLPCONNJONF;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
_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 24: {
|
|
IsDiscard = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
NLPCONNJONF = (global::EggLink.DanhengServer.Proto.ICPINEHOLML) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
relicUniqueIdList_.AddEntriesFrom(input, _repeated_relicUniqueIdList_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 24: {
|
|
IsDiscard = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
NLPCONNJONF = (global::EggLink.DanhengServer.Proto.ICPINEHOLML) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114:
|
|
case 112: {
|
|
relicUniqueIdList_.AddEntriesFrom(ref input, _repeated_relicUniqueIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|