Files
DanhengServer-OpenSource/Proto/EndDrinkMakerSequenceScRsp.cs
2025-03-01 21:18:11 +08:00

506 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EndDrinkMakerSequenceScRsp.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 EndDrinkMakerSequenceScRsp.proto</summary>
public static partial class EndDrinkMakerSequenceScRspReflection {
#region Descriptor
/// <summary>File descriptor for EndDrinkMakerSequenceScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EndDrinkMakerSequenceScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBFbmREcmlua01ha2VyU2VxdWVuY2VTY1JzcC5wcm90bxoOSXRlbUxpc3Qu",
"cHJvdG8aEU1GTFBBTUFGSk5DLnByb3RvGhVEcmlua01ha2VyR3Vlc3QucHJv",
"dG8izgEKGkVuZERyaW5rTWFrZXJTZXF1ZW5jZVNjUnNwEg0KBUxldmVsGA0g",
"ASgNEgsKA0V4cBgGIAEoDRIhCgtSZXF1ZXN0TGlzdBgBIAMoCzIMLk1GTFBB",
"TUFGSk5DEhkKBlJld2FyZBgDIAEoCzIJLkl0ZW1MaXN0Eh8KBUd1ZXN0GAwg",
"ASgLMhAuRHJpbmtNYWtlckd1ZXN0EgwKBFRpcHMYCiABKA0SFgoOTmV4dFNl",
"cXVlbmNlSWQYByABKA0SDwoHUmV0Y29kZRgOIAEoDUIeqgIbRWdnTGluay5E",
"YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, global::EggLink.DanhengServer.Proto.MFLPAMAFJNCReflection.Descriptor, global::EggLink.DanhengServer.Proto.DrinkMakerGuestReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EndDrinkMakerSequenceScRsp), global::EggLink.DanhengServer.Proto.EndDrinkMakerSequenceScRsp.Parser, new[]{ "Level", "Exp", "RequestList", "Reward", "Guest", "Tips", "NextSequenceId", "Retcode" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EndDrinkMakerSequenceScRsp : pb::IMessage<EndDrinkMakerSequenceScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EndDrinkMakerSequenceScRsp> _parser = new pb::MessageParser<EndDrinkMakerSequenceScRsp>(() => new EndDrinkMakerSequenceScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EndDrinkMakerSequenceScRsp> 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.EndDrinkMakerSequenceScRspReflection.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 EndDrinkMakerSequenceScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EndDrinkMakerSequenceScRsp(EndDrinkMakerSequenceScRsp other) : this() {
level_ = other.level_;
exp_ = other.exp_;
requestList_ = other.requestList_.Clone();
reward_ = other.reward_ != null ? other.reward_.Clone() : null;
guest_ = other.guest_ != null ? other.guest_.Clone() : null;
tips_ = other.tips_;
nextSequenceId_ = other.nextSequenceId_;
retcode_ = other.retcode_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EndDrinkMakerSequenceScRsp Clone() {
return new EndDrinkMakerSequenceScRsp(this);
}
/// <summary>Field number for the "Level" field.</summary>
public const int LevelFieldNumber = 13;
private uint level_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Level {
get { return level_; }
set {
level_ = value;
}
}
/// <summary>Field number for the "Exp" field.</summary>
public const int ExpFieldNumber = 6;
private uint exp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Exp {
get { return exp_; }
set {
exp_ = value;
}
}
/// <summary>Field number for the "RequestList" field.</summary>
public const int RequestListFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MFLPAMAFJNC> _repeated_requestList_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.MFLPAMAFJNC.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MFLPAMAFJNC> requestList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MFLPAMAFJNC>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MFLPAMAFJNC> RequestList {
get { return requestList_; }
}
/// <summary>Field number for the "Reward" field.</summary>
public const int RewardFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.ItemList reward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ItemList Reward {
get { return reward_; }
set {
reward_ = value;
}
}
/// <summary>Field number for the "Guest" field.</summary>
public const int GuestFieldNumber = 12;
private global::EggLink.DanhengServer.Proto.DrinkMakerGuest guest_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.DrinkMakerGuest Guest {
get { return guest_; }
set {
guest_ = value;
}
}
/// <summary>Field number for the "Tips" field.</summary>
public const int TipsFieldNumber = 10;
private uint tips_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Tips {
get { return tips_; }
set {
tips_ = value;
}
}
/// <summary>Field number for the "NextSequenceId" field.</summary>
public const int NextSequenceIdFieldNumber = 7;
private uint nextSequenceId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NextSequenceId {
get { return nextSequenceId_; }
set {
nextSequenceId_ = 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;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as EndDrinkMakerSequenceScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(EndDrinkMakerSequenceScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Level != other.Level) return false;
if (Exp != other.Exp) return false;
if(!requestList_.Equals(other.requestList_)) return false;
if (!object.Equals(Reward, other.Reward)) return false;
if (!object.Equals(Guest, other.Guest)) return false;
if (Tips != other.Tips) return false;
if (NextSequenceId != other.NextSequenceId) 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;
if (Level != 0) hash ^= Level.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
hash ^= requestList_.GetHashCode();
if (reward_ != null) hash ^= Reward.GetHashCode();
if (guest_ != null) hash ^= Guest.GetHashCode();
if (Tips != 0) hash ^= Tips.GetHashCode();
if (NextSequenceId != 0) hash ^= NextSequenceId.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
requestList_.WriteTo(output, _repeated_requestList_codec);
if (reward_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Reward);
}
if (Exp != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Exp);
}
if (NextSequenceId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(NextSequenceId);
}
if (Tips != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Tips);
}
if (guest_ != null) {
output.WriteRawTag(98);
output.WriteMessage(Guest);
}
if (Level != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Level);
}
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) {
requestList_.WriteTo(ref output, _repeated_requestList_codec);
if (reward_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Reward);
}
if (Exp != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Exp);
}
if (NextSequenceId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(NextSequenceId);
}
if (Tips != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Tips);
}
if (guest_ != null) {
output.WriteRawTag(98);
output.WriteMessage(Guest);
}
if (Level != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Level);
}
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 (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
}
size += requestList_.CalculateSize(_repeated_requestList_codec);
if (reward_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward);
}
if (guest_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Guest);
}
if (Tips != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tips);
}
if (NextSequenceId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NextSequenceId);
}
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(EndDrinkMakerSequenceScRsp other) {
if (other == null) {
return;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.Exp != 0) {
Exp = other.Exp;
}
requestList_.Add(other.requestList_);
if (other.reward_ != null) {
if (reward_ == null) {
Reward = new global::EggLink.DanhengServer.Proto.ItemList();
}
Reward.MergeFrom(other.Reward);
}
if (other.guest_ != null) {
if (guest_ == null) {
Guest = new global::EggLink.DanhengServer.Proto.DrinkMakerGuest();
}
Guest.MergeFrom(other.Guest);
}
if (other.Tips != 0) {
Tips = other.Tips;
}
if (other.NextSequenceId != 0) {
NextSequenceId = other.NextSequenceId;
}
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 10: {
requestList_.AddEntriesFrom(input, _repeated_requestList_codec);
break;
}
case 26: {
if (reward_ == null) {
Reward = new global::EggLink.DanhengServer.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
case 48: {
Exp = input.ReadUInt32();
break;
}
case 56: {
NextSequenceId = input.ReadUInt32();
break;
}
case 80: {
Tips = input.ReadUInt32();
break;
}
case 98: {
if (guest_ == null) {
Guest = new global::EggLink.DanhengServer.Proto.DrinkMakerGuest();
}
input.ReadMessage(Guest);
break;
}
case 104: {
Level = 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 10: {
requestList_.AddEntriesFrom(ref input, _repeated_requestList_codec);
break;
}
case 26: {
if (reward_ == null) {
Reward = new global::EggLink.DanhengServer.Proto.ItemList();
}
input.ReadMessage(Reward);
break;
}
case 48: {
Exp = input.ReadUInt32();
break;
}
case 56: {
NextSequenceId = input.ReadUInt32();
break;
}
case 80: {
Tips = input.ReadUInt32();
break;
}
case 98: {
if (guest_ == null) {
Guest = new global::EggLink.DanhengServer.Proto.DrinkMakerGuest();
}
input.ReadMessage(Guest);
break;
}
case 104: {
Level = input.ReadUInt32();
break;
}
case 112: {
Retcode = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code