mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
470 lines
17 KiB
C#
470 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ComposeSelectedRelicCsReq.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 ComposeSelectedRelicCsReq.proto</summary>
|
|
public static partial class ComposeSelectedRelicCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ComposeSelectedRelicCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ComposeSelectedRelicCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch9Db21wb3NlU2VsZWN0ZWRSZWxpY0NzUmVxLnByb3RvGhJJdGVtQ29zdERh",
|
|
"dGEucHJvdG8i2QEKGUNvbXBvc2VTZWxlY3RlZFJlbGljQ3NSZXESEgoKY29t",
|
|
"cG9zZV9pZBgIIAEoDRIoChFjb21wb3NlX2l0ZW1fbGlzdBgJIAEoCzINLkl0",
|
|
"ZW1Db3N0RGF0YRIjCgx3cl9pdGVtX2xpc3QYBSABKAsyDS5JdGVtQ29zdERh",
|
|
"dGESDQoFY291bnQYDSABKA0SFQoNbWFpbl9hZmZpeF9pZBgLIAEoDRIYChBj",
|
|
"b21wb3NlX3JlbGljX2lkGAYgASgNEhkKEXN1Yl9hZmZpeF9pZF9saXN0GAEg",
|
|
"AygNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ComposeSelectedRelicCsReq), global::EggLink.DanhengServer.Proto.ComposeSelectedRelicCsReq.Parser, new[]{ "ComposeId", "ComposeItemList", "WrItemList", "Count", "MainAffixId", "ComposeRelicId", "SubAffixIdList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ComposeSelectedRelicCsReq : pb::IMessage<ComposeSelectedRelicCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ComposeSelectedRelicCsReq> _parser = new pb::MessageParser<ComposeSelectedRelicCsReq>(() => new ComposeSelectedRelicCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ComposeSelectedRelicCsReq> 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.ComposeSelectedRelicCsReqReflection.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 ComposeSelectedRelicCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ComposeSelectedRelicCsReq(ComposeSelectedRelicCsReq other) : this() {
|
|
composeId_ = other.composeId_;
|
|
composeItemList_ = other.composeItemList_ != null ? other.composeItemList_.Clone() : null;
|
|
wrItemList_ = other.wrItemList_ != null ? other.wrItemList_.Clone() : null;
|
|
count_ = other.count_;
|
|
mainAffixId_ = other.mainAffixId_;
|
|
composeRelicId_ = other.composeRelicId_;
|
|
subAffixIdList_ = other.subAffixIdList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ComposeSelectedRelicCsReq Clone() {
|
|
return new ComposeSelectedRelicCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "compose_id" field.</summary>
|
|
public const int ComposeIdFieldNumber = 8;
|
|
private uint composeId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ComposeId {
|
|
get { return composeId_; }
|
|
set {
|
|
composeId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "compose_item_list" field.</summary>
|
|
public const int ComposeItemListFieldNumber = 9;
|
|
private global::EggLink.DanhengServer.Proto.ItemCostData composeItemList_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemCostData ComposeItemList {
|
|
get { return composeItemList_; }
|
|
set {
|
|
composeItemList_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "wr_item_list" field.</summary>
|
|
public const int WrItemListFieldNumber = 5;
|
|
private global::EggLink.DanhengServer.Proto.ItemCostData wrItemList_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemCostData WrItemList {
|
|
get { return wrItemList_; }
|
|
set {
|
|
wrItemList_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "count" field.</summary>
|
|
public const int CountFieldNumber = 13;
|
|
private uint count_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Count {
|
|
get { return count_; }
|
|
set {
|
|
count_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "main_affix_id" field.</summary>
|
|
public const int MainAffixIdFieldNumber = 11;
|
|
private uint mainAffixId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MainAffixId {
|
|
get { return mainAffixId_; }
|
|
set {
|
|
mainAffixId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "compose_relic_id" field.</summary>
|
|
public const int ComposeRelicIdFieldNumber = 6;
|
|
private uint composeRelicId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ComposeRelicId {
|
|
get { return composeRelicId_; }
|
|
set {
|
|
composeRelicId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sub_affix_id_list" field.</summary>
|
|
public const int SubAffixIdListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_subAffixIdList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> subAffixIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> SubAffixIdList {
|
|
get { return subAffixIdList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ComposeSelectedRelicCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ComposeSelectedRelicCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ComposeId != other.ComposeId) return false;
|
|
if (!object.Equals(ComposeItemList, other.ComposeItemList)) return false;
|
|
if (!object.Equals(WrItemList, other.WrItemList)) return false;
|
|
if (Count != other.Count) return false;
|
|
if (MainAffixId != other.MainAffixId) return false;
|
|
if (ComposeRelicId != other.ComposeRelicId) return false;
|
|
if(!subAffixIdList_.Equals(other.subAffixIdList_)) 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 (ComposeId != 0) hash ^= ComposeId.GetHashCode();
|
|
if (composeItemList_ != null) hash ^= ComposeItemList.GetHashCode();
|
|
if (wrItemList_ != null) hash ^= WrItemList.GetHashCode();
|
|
if (Count != 0) hash ^= Count.GetHashCode();
|
|
if (MainAffixId != 0) hash ^= MainAffixId.GetHashCode();
|
|
if (ComposeRelicId != 0) hash ^= ComposeRelicId.GetHashCode();
|
|
hash ^= subAffixIdList_.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
|
|
subAffixIdList_.WriteTo(output, _repeated_subAffixIdList_codec);
|
|
if (wrItemList_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(WrItemList);
|
|
}
|
|
if (ComposeRelicId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(ComposeRelicId);
|
|
}
|
|
if (ComposeId != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(ComposeId);
|
|
}
|
|
if (composeItemList_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(ComposeItemList);
|
|
}
|
|
if (MainAffixId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(MainAffixId);
|
|
}
|
|
if (Count != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Count);
|
|
}
|
|
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) {
|
|
subAffixIdList_.WriteTo(ref output, _repeated_subAffixIdList_codec);
|
|
if (wrItemList_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(WrItemList);
|
|
}
|
|
if (ComposeRelicId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(ComposeRelicId);
|
|
}
|
|
if (ComposeId != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(ComposeId);
|
|
}
|
|
if (composeItemList_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(ComposeItemList);
|
|
}
|
|
if (MainAffixId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(MainAffixId);
|
|
}
|
|
if (Count != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Count);
|
|
}
|
|
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 (ComposeId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ComposeId);
|
|
}
|
|
if (composeItemList_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComposeItemList);
|
|
}
|
|
if (wrItemList_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(WrItemList);
|
|
}
|
|
if (Count != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
|
|
}
|
|
if (MainAffixId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MainAffixId);
|
|
}
|
|
if (ComposeRelicId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ComposeRelicId);
|
|
}
|
|
size += subAffixIdList_.CalculateSize(_repeated_subAffixIdList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ComposeSelectedRelicCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ComposeId != 0) {
|
|
ComposeId = other.ComposeId;
|
|
}
|
|
if (other.composeItemList_ != null) {
|
|
if (composeItemList_ == null) {
|
|
ComposeItemList = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
ComposeItemList.MergeFrom(other.ComposeItemList);
|
|
}
|
|
if (other.wrItemList_ != null) {
|
|
if (wrItemList_ == null) {
|
|
WrItemList = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
WrItemList.MergeFrom(other.WrItemList);
|
|
}
|
|
if (other.Count != 0) {
|
|
Count = other.Count;
|
|
}
|
|
if (other.MainAffixId != 0) {
|
|
MainAffixId = other.MainAffixId;
|
|
}
|
|
if (other.ComposeRelicId != 0) {
|
|
ComposeRelicId = other.ComposeRelicId;
|
|
}
|
|
subAffixIdList_.Add(other.subAffixIdList_);
|
|
_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:
|
|
case 8: {
|
|
subAffixIdList_.AddEntriesFrom(input, _repeated_subAffixIdList_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (wrItemList_ == null) {
|
|
WrItemList = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(WrItemList);
|
|
break;
|
|
}
|
|
case 48: {
|
|
ComposeRelicId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
ComposeId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (composeItemList_ == null) {
|
|
ComposeItemList = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(ComposeItemList);
|
|
break;
|
|
}
|
|
case 88: {
|
|
MainAffixId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Count = 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 10:
|
|
case 8: {
|
|
subAffixIdList_.AddEntriesFrom(ref input, _repeated_subAffixIdList_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (wrItemList_ == null) {
|
|
WrItemList = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(WrItemList);
|
|
break;
|
|
}
|
|
case 48: {
|
|
ComposeRelicId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
ComposeId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (composeItemList_ == null) {
|
|
ComposeItemList = new global::EggLink.DanhengServer.Proto.ItemCostData();
|
|
}
|
|
input.ReadMessage(ComposeItemList);
|
|
break;
|
|
}
|
|
case 88: {
|
|
MainAffixId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Count = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|