mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
376 lines
15 KiB
C#
376 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ExchangeStaminaScRsp.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 ExchangeStaminaScRsp.proto</summary>
|
|
public static partial class ExchangeStaminaScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ExchangeStaminaScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ExchangeStaminaScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChpFeGNoYW5nZVN0YW1pbmFTY1JzcC5wcm90bxoOSXRlbUNvc3QucHJvdG8i",
|
|
"uAEKFEV4Y2hhbmdlU3RhbWluYVNjUnNwEiAKGEV4Y2hhbmdlVGltZXNGaWVs",
|
|
"ZE51bWJlchgKIAEoDRIiChpMYXN0UmVjb3ZlclRpbWVGaWVsZE51bWJlchgD",
|
|
"IAEoAxIdChVTdGFtaW5hQWRkRmllbGROdW1iZXIYCSABKA0SDwoHcmV0Y29k",
|
|
"ZRgIIAEoDRIqChdJdGVtQ29zdExpc3RGaWVsZE51bWJlchgOIAMoCzIJLkl0",
|
|
"ZW1Db3N0Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemCostReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ExchangeStaminaScRsp), global::EggLink.DanhengServer.Proto.ExchangeStaminaScRsp.Parser, new[]{ "ExchangeTimesFieldNumber", "LastRecoverTimeFieldNumber", "StaminaAddFieldNumber", "Retcode", "ItemCostListFieldNumber" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ExchangeStaminaScRsp : pb::IMessage<ExchangeStaminaScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ExchangeStaminaScRsp> _parser = new pb::MessageParser<ExchangeStaminaScRsp>(() => new ExchangeStaminaScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ExchangeStaminaScRsp> 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.ExchangeStaminaScRspReflection.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 ExchangeStaminaScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ExchangeStaminaScRsp(ExchangeStaminaScRsp other) : this() {
|
|
exchangeTimesFieldNumber_ = other.exchangeTimesFieldNumber_;
|
|
lastRecoverTimeFieldNumber_ = other.lastRecoverTimeFieldNumber_;
|
|
staminaAddFieldNumber_ = other.staminaAddFieldNumber_;
|
|
retcode_ = other.retcode_;
|
|
itemCostListFieldNumber_ = other.itemCostListFieldNumber_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ExchangeStaminaScRsp Clone() {
|
|
return new ExchangeStaminaScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "ExchangeTimesFieldNumber" field.</summary>
|
|
public const int ExchangeTimesFieldNumberFieldNumber = 10;
|
|
private uint exchangeTimesFieldNumber_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ExchangeTimesFieldNumber {
|
|
get { return exchangeTimesFieldNumber_; }
|
|
set {
|
|
exchangeTimesFieldNumber_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LastRecoverTimeFieldNumber" field.</summary>
|
|
public const int LastRecoverTimeFieldNumberFieldNumber = 3;
|
|
private long lastRecoverTimeFieldNumber_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long LastRecoverTimeFieldNumber {
|
|
get { return lastRecoverTimeFieldNumber_; }
|
|
set {
|
|
lastRecoverTimeFieldNumber_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "StaminaAddFieldNumber" field.</summary>
|
|
public const int StaminaAddFieldNumberFieldNumber = 9;
|
|
private uint staminaAddFieldNumber_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint StaminaAddFieldNumber {
|
|
get { return staminaAddFieldNumber_; }
|
|
set {
|
|
staminaAddFieldNumber_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 8;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ItemCostListFieldNumber" field.</summary>
|
|
public const int ItemCostListFieldNumberFieldNumber = 14;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ItemCost> _repeated_itemCostListFieldNumber_codec
|
|
= pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.ItemCost.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemCost> itemCostListFieldNumber_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemCost>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ItemCost> ItemCostListFieldNumber {
|
|
get { return itemCostListFieldNumber_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ExchangeStaminaScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ExchangeStaminaScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ExchangeTimesFieldNumber != other.ExchangeTimesFieldNumber) return false;
|
|
if (LastRecoverTimeFieldNumber != other.LastRecoverTimeFieldNumber) return false;
|
|
if (StaminaAddFieldNumber != other.StaminaAddFieldNumber) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!itemCostListFieldNumber_.Equals(other.itemCostListFieldNumber_)) 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 (ExchangeTimesFieldNumber != 0) hash ^= ExchangeTimesFieldNumber.GetHashCode();
|
|
if (LastRecoverTimeFieldNumber != 0L) hash ^= LastRecoverTimeFieldNumber.GetHashCode();
|
|
if (StaminaAddFieldNumber != 0) hash ^= StaminaAddFieldNumber.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= itemCostListFieldNumber_.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 (LastRecoverTimeFieldNumber != 0L) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt64(LastRecoverTimeFieldNumber);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (StaminaAddFieldNumber != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(StaminaAddFieldNumber);
|
|
}
|
|
if (ExchangeTimesFieldNumber != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ExchangeTimesFieldNumber);
|
|
}
|
|
itemCostListFieldNumber_.WriteTo(output, _repeated_itemCostListFieldNumber_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 (LastRecoverTimeFieldNumber != 0L) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt64(LastRecoverTimeFieldNumber);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (StaminaAddFieldNumber != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(StaminaAddFieldNumber);
|
|
}
|
|
if (ExchangeTimesFieldNumber != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ExchangeTimesFieldNumber);
|
|
}
|
|
itemCostListFieldNumber_.WriteTo(ref output, _repeated_itemCostListFieldNumber_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;
|
|
if (ExchangeTimesFieldNumber != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExchangeTimesFieldNumber);
|
|
}
|
|
if (LastRecoverTimeFieldNumber != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastRecoverTimeFieldNumber);
|
|
}
|
|
if (StaminaAddFieldNumber != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StaminaAddFieldNumber);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += itemCostListFieldNumber_.CalculateSize(_repeated_itemCostListFieldNumber_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ExchangeStaminaScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ExchangeTimesFieldNumber != 0) {
|
|
ExchangeTimesFieldNumber = other.ExchangeTimesFieldNumber;
|
|
}
|
|
if (other.LastRecoverTimeFieldNumber != 0L) {
|
|
LastRecoverTimeFieldNumber = other.LastRecoverTimeFieldNumber;
|
|
}
|
|
if (other.StaminaAddFieldNumber != 0) {
|
|
StaminaAddFieldNumber = other.StaminaAddFieldNumber;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
itemCostListFieldNumber_.Add(other.itemCostListFieldNumber_);
|
|
_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: {
|
|
LastRecoverTimeFieldNumber = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
StaminaAddFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ExchangeTimesFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
itemCostListFieldNumber_.AddEntriesFrom(input, _repeated_itemCostListFieldNumber_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: {
|
|
LastRecoverTimeFieldNumber = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
StaminaAddFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ExchangeTimesFieldNumber = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
itemCostListFieldNumber_.AddEntriesFrom(ref input, _repeated_itemCostListFieldNumber_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|