Files
DanhengServer-OpenSource/Proto/SetGrowthTargetAvatarScRsp.cs
2025-05-25 12:12:53 +08:00

340 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetGrowthTargetAvatarScRsp.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 SetGrowthTargetAvatarScRsp.proto</summary>
public static partial class SetGrowthTargetAvatarScRspReflection {
#region Descriptor
/// <summary>File descriptor for SetGrowthTargetAvatarScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetGrowthTargetAvatarScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBTZXRHcm93dGhUYXJnZXRBdmF0YXJTY1JzcC5wcm90bxobR3Jvd3RoVGFy",
"dGdldEZ1bmNUeXBlLnByb3RvIpkBChpTZXRHcm93dGhUYXJnZXRBdmF0YXJT",
"Y1JzcBIPCgdyZXRjb2RlGAYgASgNEhwKFHNldF90YXJnZXRfYXZhdGFyX2lk",
"GAogASgNEhMKC0pQTkxQT1BNS0VKGAEgASgNEjcKF2dyb3d0aF90YXJnZXRf",
"dHlwZV9saXN0GAcgAygOMhYuR3Jvd3RoVGFydGdldEZ1bmNUeXBlQh6qAhtF",
"Z2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GrowthTartgetFuncTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarScRsp), global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarScRsp.Parser, new[]{ "Retcode", "SetTargetAvatarId", "JPNLPOPMKEJ", "GrowthTargetTypeList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SetGrowthTargetAvatarScRsp : pb::IMessage<SetGrowthTargetAvatarScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SetGrowthTargetAvatarScRsp> _parser = new pb::MessageParser<SetGrowthTargetAvatarScRsp>(() => new SetGrowthTargetAvatarScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SetGrowthTargetAvatarScRsp> 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.SetGrowthTargetAvatarScRspReflection.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 SetGrowthTargetAvatarScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetGrowthTargetAvatarScRsp(SetGrowthTargetAvatarScRsp other) : this() {
retcode_ = other.retcode_;
setTargetAvatarId_ = other.setTargetAvatarId_;
jPNLPOPMKEJ_ = other.jPNLPOPMKEJ_;
growthTargetTypeList_ = other.growthTargetTypeList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetGrowthTargetAvatarScRsp Clone() {
return new SetGrowthTargetAvatarScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 6;
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 "set_target_avatar_id" field.</summary>
public const int SetTargetAvatarIdFieldNumber = 10;
private uint setTargetAvatarId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SetTargetAvatarId {
get { return setTargetAvatarId_; }
set {
setTargetAvatarId_ = value;
}
}
/// <summary>Field number for the "JPNLPOPMKEJ" field.</summary>
public const int JPNLPOPMKEJFieldNumber = 1;
private uint jPNLPOPMKEJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint JPNLPOPMKEJ {
get { return jPNLPOPMKEJ_; }
set {
jPNLPOPMKEJ_ = value;
}
}
/// <summary>Field number for the "growth_target_type_list" field.</summary>
public const int GrowthTargetTypeListFieldNumber = 7;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> _repeated_growthTargetTypeList_codec
= pb::FieldCodec.ForEnum(58, x => (int) x, x => (global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType) x);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> growthTargetTypeList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> GrowthTargetTypeList {
get { return growthTargetTypeList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SetGrowthTargetAvatarScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SetGrowthTargetAvatarScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (SetTargetAvatarId != other.SetTargetAvatarId) return false;
if (JPNLPOPMKEJ != other.JPNLPOPMKEJ) return false;
if(!growthTargetTypeList_.Equals(other.growthTargetTypeList_)) 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 (SetTargetAvatarId != 0) hash ^= SetTargetAvatarId.GetHashCode();
if (JPNLPOPMKEJ != 0) hash ^= JPNLPOPMKEJ.GetHashCode();
hash ^= growthTargetTypeList_.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 (JPNLPOPMKEJ != 0) {
output.WriteRawTag(8);
output.WriteUInt32(JPNLPOPMKEJ);
}
if (Retcode != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Retcode);
}
growthTargetTypeList_.WriteTo(output, _repeated_growthTargetTypeList_codec);
if (SetTargetAvatarId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(SetTargetAvatarId);
}
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 (JPNLPOPMKEJ != 0) {
output.WriteRawTag(8);
output.WriteUInt32(JPNLPOPMKEJ);
}
if (Retcode != 0) {
output.WriteRawTag(48);
output.WriteUInt32(Retcode);
}
growthTargetTypeList_.WriteTo(ref output, _repeated_growthTargetTypeList_codec);
if (SetTargetAvatarId != 0) {
output.WriteRawTag(80);
output.WriteUInt32(SetTargetAvatarId);
}
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 (SetTargetAvatarId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SetTargetAvatarId);
}
if (JPNLPOPMKEJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JPNLPOPMKEJ);
}
size += growthTargetTypeList_.CalculateSize(_repeated_growthTargetTypeList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SetGrowthTargetAvatarScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.SetTargetAvatarId != 0) {
SetTargetAvatarId = other.SetTargetAvatarId;
}
if (other.JPNLPOPMKEJ != 0) {
JPNLPOPMKEJ = other.JPNLPOPMKEJ;
}
growthTargetTypeList_.Add(other.growthTargetTypeList_);
_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: {
JPNLPOPMKEJ = input.ReadUInt32();
break;
}
case 48: {
Retcode = input.ReadUInt32();
break;
}
case 58:
case 56: {
growthTargetTypeList_.AddEntriesFrom(input, _repeated_growthTargetTypeList_codec);
break;
}
case 80: {
SetTargetAvatarId = 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: {
JPNLPOPMKEJ = input.ReadUInt32();
break;
}
case 48: {
Retcode = input.ReadUInt32();
break;
}
case 58:
case 56: {
growthTargetTypeList_.AddEntriesFrom(ref input, _repeated_growthTargetTypeList_codec);
break;
}
case 80: {
SetTargetAvatarId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code