Files
DanhengServer-OpenSource/Proto/UseItemScRsp.cs
Somebody b84800bc80 Upload to Game 2.5.0
- Fix ChessRogue Final Boss
2024-09-14 19:46:42 +08:00

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(
"ChJVc2VJdGVtU2NSc3AucHJvdG8aDkl0ZW1MaXN0LnByb3RvIpUBCgxVc2VJ",
"dGVtU2NSc3ASEwoLdXNlX2l0ZW1faWQYDSABKA0SHgoLcmV0dXJuX2RhdGEY",
"BCABKAsyCS5JdGVtTGlzdBISCgpmb3JtdWxhX2lkGAMgASgNEhYKDnVzZV9p",
"dGVtX2NvdW50GAwgASgNEg8KB3JldGNvZGUYDiABKA0SEwoLUEVLSkxCSU5E",
"R0cYByABKARCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
"dG8z"));
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[]{ "UseItemId", "ReturnData", "FormulaId", "UseItemCount", "Retcode", "PEKJLBINDGG" }, 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() {
useItemId_ = other.useItemId_;
returnData_ = other.returnData_ != null ? other.returnData_.Clone() : null;
formulaId_ = other.formulaId_;
useItemCount_ = other.useItemCount_;
retcode_ = other.retcode_;
pEKJLBINDGG_ = other.pEKJLBINDGG_;
_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 "use_item_id" field.</summary>
public const int UseItemIdFieldNumber = 13;
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 "return_data" field.</summary>
public const int ReturnDataFieldNumber = 4;
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 "formula_id" field.</summary>
public const int FormulaIdFieldNumber = 3;
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 = 12;
private uint useItemCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint UseItemCount {
get { return useItemCount_; }
set {
useItemCount_ = value;
}
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 14;
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 "PEKJLBINDGG" field.</summary>
public const int PEKJLBINDGGFieldNumber = 7;
private ulong pEKJLBINDGG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong PEKJLBINDGG {
get { return pEKJLBINDGG_; }
set {
pEKJLBINDGG_ = 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 (UseItemId != other.UseItemId) return false;
if (!object.Equals(ReturnData, other.ReturnData)) return false;
if (FormulaId != other.FormulaId) return false;
if (UseItemCount != other.UseItemCount) return false;
if (Retcode != other.Retcode) return false;
if (PEKJLBINDGG != other.PEKJLBINDGG) 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 (UseItemId != 0) hash ^= UseItemId.GetHashCode();
if (returnData_ != null) hash ^= ReturnData.GetHashCode();
if (FormulaId != 0) hash ^= FormulaId.GetHashCode();
if (UseItemCount != 0) hash ^= UseItemCount.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
if (PEKJLBINDGG != 0UL) hash ^= PEKJLBINDGG.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 (FormulaId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(FormulaId);
}
if (returnData_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ReturnData);
}
if (PEKJLBINDGG != 0UL) {
output.WriteRawTag(56);
output.WriteUInt64(PEKJLBINDGG);
}
if (UseItemCount != 0) {
output.WriteRawTag(96);
output.WriteUInt32(UseItemCount);
}
if (UseItemId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(UseItemId);
}
if (Retcode != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Retcode);
}
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 (FormulaId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(FormulaId);
}
if (returnData_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ReturnData);
}
if (PEKJLBINDGG != 0UL) {
output.WriteRawTag(56);
output.WriteUInt64(PEKJLBINDGG);
}
if (UseItemCount != 0) {
output.WriteRawTag(96);
output.WriteUInt32(UseItemCount);
}
if (UseItemId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(UseItemId);
}
if (Retcode != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Retcode);
}
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 (UseItemId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UseItemId);
}
if (returnData_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReturnData);
}
if (FormulaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FormulaId);
}
if (UseItemCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UseItemCount);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (PEKJLBINDGG != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PEKJLBINDGG);
}
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.UseItemId != 0) {
UseItemId = other.UseItemId;
}
if (other.returnData_ != null) {
if (returnData_ == null) {
ReturnData = new global::EggLink.DanhengServer.Proto.ItemList();
}
ReturnData.MergeFrom(other.ReturnData);
}
if (other.FormulaId != 0) {
FormulaId = other.FormulaId;
}
if (other.UseItemCount != 0) {
UseItemCount = other.UseItemCount;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.PEKJLBINDGG != 0UL) {
PEKJLBINDGG = other.PEKJLBINDGG;
}
_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: {
FormulaId = input.ReadUInt32();
break;
}
case 34: {
if (returnData_ == null) {
ReturnData = new global::EggLink.DanhengServer.Proto.ItemList();
}
input.ReadMessage(ReturnData);
break;
}
case 56: {
PEKJLBINDGG = input.ReadUInt64();
break;
}
case 96: {
UseItemCount = input.ReadUInt32();
break;
}
case 104: {
UseItemId = input.ReadUInt32();
break;
}
case 112: {
Retcode = 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 24: {
FormulaId = input.ReadUInt32();
break;
}
case 34: {
if (returnData_ == null) {
ReturnData = new global::EggLink.DanhengServer.Proto.ItemList();
}
input.ReadMessage(ReturnData);
break;
}
case 56: {
PEKJLBINDGG = input.ReadUInt64();
break;
}
case 96: {
UseItemCount = input.ReadUInt32();
break;
}
case 104: {
UseItemId = input.ReadUInt32();
break;
}
case 112: {
Retcode = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code