Files
DanhengServer-OpenSource/Proto/SetGrowthTargetAvatarCsReq.cs
2025-08-16 21:13:05 +08:00

341 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetGrowthTargetAvatarCsReq.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 SetGrowthTargetAvatarCsReq.proto</summary>
public static partial class SetGrowthTargetAvatarCsReqReflection {
#region Descriptor
/// <summary>File descriptor for SetGrowthTargetAvatarCsReq.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetGrowthTargetAvatarCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBTZXRHcm93dGhUYXJnZXRBdmF0YXJDc1JlcS5wcm90bxoXR3Jvd3RoVGFy",
"Z2V0U3RhdGUucHJvdG8aG0dyb3d0aFRhcnRnZXRGdW5jVHlwZS5wcm90byKh",
"AQoaU2V0R3Jvd3RoVGFyZ2V0QXZhdGFyQ3NSZXESIgoGc291cmNlGAYgASgO",
"MhIuR3Jvd3RoVGFyZ2V0U3RhdGUSEwoLSUROTUVLTkhMUE8YCiABKA0SNwoX",
"Z3Jvd3RoX3RhcmdldF90eXBlX2xpc3QYCSADKA4yFi5Hcm93dGhUYXJ0Z2V0",
"RnVuY1R5cGUSEQoJYXZhdGFyX2lkGA0gASgNQh6qAhtFZ2dMaW5rLkRhbmhl",
"bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GrowthTargetStateReflection.Descriptor, global::EggLink.DanhengServer.Proto.GrowthTartgetFuncTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarCsReq), global::EggLink.DanhengServer.Proto.SetGrowthTargetAvatarCsReq.Parser, new[]{ "Source", "IDNMEKNHLPO", "GrowthTargetTypeList", "AvatarId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SetGrowthTargetAvatarCsReq : pb::IMessage<SetGrowthTargetAvatarCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SetGrowthTargetAvatarCsReq> _parser = new pb::MessageParser<SetGrowthTargetAvatarCsReq>(() => new SetGrowthTargetAvatarCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SetGrowthTargetAvatarCsReq> 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.SetGrowthTargetAvatarCsReqReflection.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 SetGrowthTargetAvatarCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetGrowthTargetAvatarCsReq(SetGrowthTargetAvatarCsReq other) : this() {
source_ = other.source_;
iDNMEKNHLPO_ = other.iDNMEKNHLPO_;
growthTargetTypeList_ = other.growthTargetTypeList_.Clone();
avatarId_ = other.avatarId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetGrowthTargetAvatarCsReq Clone() {
return new SetGrowthTargetAvatarCsReq(this);
}
/// <summary>Field number for the "source" field.</summary>
public const int SourceFieldNumber = 6;
private global::EggLink.DanhengServer.Proto.GrowthTargetState source_ = global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GrowthTargetState Source {
get { return source_; }
set {
source_ = value;
}
}
/// <summary>Field number for the "IDNMEKNHLPO" field.</summary>
public const int IDNMEKNHLPOFieldNumber = 10;
private uint iDNMEKNHLPO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint IDNMEKNHLPO {
get { return iDNMEKNHLPO_; }
set {
iDNMEKNHLPO_ = value;
}
}
/// <summary>Field number for the "growth_target_type_list" field.</summary>
public const int GrowthTargetTypeListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GrowthTartgetFuncType> _repeated_growthTargetTypeList_codec
= pb::FieldCodec.ForEnum(74, 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_; }
}
/// <summary>Field number for the "avatar_id" field.</summary>
public const int AvatarIdFieldNumber = 13;
private uint avatarId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AvatarId {
get { return avatarId_; }
set {
avatarId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SetGrowthTargetAvatarCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SetGrowthTargetAvatarCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Source != other.Source) return false;
if (IDNMEKNHLPO != other.IDNMEKNHLPO) return false;
if(!growthTargetTypeList_.Equals(other.growthTargetTypeList_)) return false;
if (AvatarId != other.AvatarId) 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 (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) hash ^= Source.GetHashCode();
if (IDNMEKNHLPO != 0) hash ^= IDNMEKNHLPO.GetHashCode();
hash ^= growthTargetTypeList_.GetHashCode();
if (AvatarId != 0) hash ^= AvatarId.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 (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
output.WriteRawTag(48);
output.WriteEnum((int) Source);
}
growthTargetTypeList_.WriteTo(output, _repeated_growthTargetTypeList_codec);
if (IDNMEKNHLPO != 0) {
output.WriteRawTag(80);
output.WriteUInt32(IDNMEKNHLPO);
}
if (AvatarId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(AvatarId);
}
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 (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
output.WriteRawTag(48);
output.WriteEnum((int) Source);
}
growthTargetTypeList_.WriteTo(ref output, _repeated_growthTargetTypeList_codec);
if (IDNMEKNHLPO != 0) {
output.WriteRawTag(80);
output.WriteUInt32(IDNMEKNHLPO);
}
if (AvatarId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(AvatarId);
}
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 (Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Source);
}
if (IDNMEKNHLPO != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IDNMEKNHLPO);
}
size += growthTargetTypeList_.CalculateSize(_repeated_growthTargetTypeList_codec);
if (AvatarId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SetGrowthTargetAvatarCsReq other) {
if (other == null) {
return;
}
if (other.Source != global::EggLink.DanhengServer.Proto.GrowthTargetState.GrowthTargetAvatarNone) {
Source = other.Source;
}
if (other.IDNMEKNHLPO != 0) {
IDNMEKNHLPO = other.IDNMEKNHLPO;
}
growthTargetTypeList_.Add(other.growthTargetTypeList_);
if (other.AvatarId != 0) {
AvatarId = other.AvatarId;
}
_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 48: {
Source = (global::EggLink.DanhengServer.Proto.GrowthTargetState) input.ReadEnum();
break;
}
case 74:
case 72: {
growthTargetTypeList_.AddEntriesFrom(input, _repeated_growthTargetTypeList_codec);
break;
}
case 80: {
IDNMEKNHLPO = input.ReadUInt32();
break;
}
case 104: {
AvatarId = 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 48: {
Source = (global::EggLink.DanhengServer.Proto.GrowthTargetState) input.ReadEnum();
break;
}
case 74:
case 72: {
growthTargetTypeList_.AddEntriesFrom(ref input, _repeated_growthTargetTypeList_codec);
break;
}
case 80: {
IDNMEKNHLPO = input.ReadUInt32();
break;
}
case 104: {
AvatarId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code