mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
432 lines
15 KiB
C#
432 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: UseItemScRsp.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 UseItemScRsp.proto</summary>
|
|
public static partial class UseItemScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for UseItemScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static UseItemScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChJVc2VJdGVtU2NSc3AucHJvdG8aDkl0ZW1MaXN0LnByb3RvIqIBCgxVc2VJ",
|
|
"dGVtU2NSc3ASDwoHcmV0Y29kZRgBIAEoDRIeCgtyZXR1cm5fZGF0YRgFIAEo",
|
|
"CzIJLkl0ZW1MaXN0EiAKGG1vbnRoX2NhcmRfb3V0X2RhdGVfdGltZRgCIAEo",
|
|
"BBITCgt1c2VfaXRlbV9pZBgJIAEoDRISCgpmb3JtdWxhX2lkGAsgASgNEhYK",
|
|
"DnVzZV9pdGVtX2NvdW50GAcgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2",
|
|
"ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UseItemScRsp), global::EggLink.DanhengServer.Proto.UseItemScRsp.Parser, new[]{ "Retcode", "ReturnData", "MonthCardOutDateTime", "UseItemId", "FormulaId", "UseItemCount" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class UseItemScRsp : pb::IMessage<UseItemScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<UseItemScRsp> _parser = new pb::MessageParser<UseItemScRsp>(() => new UseItemScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<UseItemScRsp> 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.UseItemScRspReflection.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 UseItemScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UseItemScRsp(UseItemScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
returnData_ = other.returnData_ != null ? other.returnData_.Clone() : null;
|
|
monthCardOutDateTime_ = other.monthCardOutDateTime_;
|
|
useItemId_ = other.useItemId_;
|
|
formulaId_ = other.formulaId_;
|
|
useItemCount_ = other.useItemCount_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UseItemScRsp Clone() {
|
|
return new UseItemScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 1;
|
|
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 "return_data" field.</summary>
|
|
public const int ReturnDataFieldNumber = 5;
|
|
private global::EggLink.DanhengServer.Proto.ItemList returnData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemList ReturnData {
|
|
get { return returnData_; }
|
|
set {
|
|
returnData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "month_card_out_date_time" field.</summary>
|
|
public const int MonthCardOutDateTimeFieldNumber = 2;
|
|
private ulong monthCardOutDateTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong MonthCardOutDateTime {
|
|
get { return monthCardOutDateTime_; }
|
|
set {
|
|
monthCardOutDateTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "use_item_id" field.</summary>
|
|
public const int UseItemIdFieldNumber = 9;
|
|
private uint useItemId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint UseItemId {
|
|
get { return useItemId_; }
|
|
set {
|
|
useItemId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "formula_id" field.</summary>
|
|
public const int FormulaIdFieldNumber = 11;
|
|
private uint formulaId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint FormulaId {
|
|
get { return formulaId_; }
|
|
set {
|
|
formulaId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "use_item_count" field.</summary>
|
|
public const int UseItemCountFieldNumber = 7;
|
|
private uint useItemCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint UseItemCount {
|
|
get { return useItemCount_; }
|
|
set {
|
|
useItemCount_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as UseItemScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(UseItemScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if (!object.Equals(ReturnData, other.ReturnData)) return false;
|
|
if (MonthCardOutDateTime != other.MonthCardOutDateTime) return false;
|
|
if (UseItemId != other.UseItemId) return false;
|
|
if (FormulaId != other.FormulaId) return false;
|
|
if (UseItemCount != other.UseItemCount) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (returnData_ != null) hash ^= ReturnData.GetHashCode();
|
|
if (MonthCardOutDateTime != 0UL) hash ^= MonthCardOutDateTime.GetHashCode();
|
|
if (UseItemId != 0) hash ^= UseItemId.GetHashCode();
|
|
if (FormulaId != 0) hash ^= FormulaId.GetHashCode();
|
|
if (UseItemCount != 0) hash ^= UseItemCount.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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (MonthCardOutDateTime != 0UL) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt64(MonthCardOutDateTime);
|
|
}
|
|
if (returnData_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(ReturnData);
|
|
}
|
|
if (UseItemCount != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(UseItemCount);
|
|
}
|
|
if (UseItemId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(UseItemId);
|
|
}
|
|
if (FormulaId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(FormulaId);
|
|
}
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (MonthCardOutDateTime != 0UL) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt64(MonthCardOutDateTime);
|
|
}
|
|
if (returnData_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(ReturnData);
|
|
}
|
|
if (UseItemCount != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(UseItemCount);
|
|
}
|
|
if (UseItemId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(UseItemId);
|
|
}
|
|
if (FormulaId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(FormulaId);
|
|
}
|
|
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 (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (returnData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReturnData);
|
|
}
|
|
if (MonthCardOutDateTime != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(MonthCardOutDateTime);
|
|
}
|
|
if (UseItemId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UseItemId);
|
|
}
|
|
if (FormulaId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FormulaId);
|
|
}
|
|
if (UseItemCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UseItemCount);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(UseItemScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.returnData_ != null) {
|
|
if (returnData_ == null) {
|
|
ReturnData = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
ReturnData.MergeFrom(other.ReturnData);
|
|
}
|
|
if (other.MonthCardOutDateTime != 0UL) {
|
|
MonthCardOutDateTime = other.MonthCardOutDateTime;
|
|
}
|
|
if (other.UseItemId != 0) {
|
|
UseItemId = other.UseItemId;
|
|
}
|
|
if (other.FormulaId != 0) {
|
|
FormulaId = other.FormulaId;
|
|
}
|
|
if (other.UseItemCount != 0) {
|
|
UseItemCount = other.UseItemCount;
|
|
}
|
|
_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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
MonthCardOutDateTime = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (returnData_ == null) {
|
|
ReturnData = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(ReturnData);
|
|
break;
|
|
}
|
|
case 56: {
|
|
UseItemCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
UseItemId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
FormulaId = 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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
MonthCardOutDateTime = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (returnData_ == null) {
|
|
ReturnData = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(ReturnData);
|
|
break;
|
|
}
|
|
case 56: {
|
|
UseItemCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
UseItemId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
FormulaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|