Files
DanhengServer-OpenSource/Proto/GridFightEquipDressCsReq.cs
2025-11-09 12:10:41 +08:00

312 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightEquipDressCsReq.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 GridFightEquipDressCsReq.proto</summary>
public static partial class GridFightEquipDressCsReqReflection {
#region Descriptor
/// <summary>File descriptor for GridFightEquipDressCsReq.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightEquipDressCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5HcmlkRmlnaHRFcXVpcERyZXNzQ3NSZXEucHJvdG8aH0dyaWRGaWdodEVx",
"dWlwRHJlc3NTb3VyY2UucHJvdG8ijQEKGEdyaWRGaWdodEVxdWlwRHJlc3ND",
"c1JlcRIcChRkcmVzc19yb2xlX3VuaXF1ZV9pZBgIIAEoDRIhChlkcmVzc19l",
"cXVpcG1lbnRfdW5pcXVlX2lkGAMgASgNEjAKDGRyZXNzX3NvdXJjZRgOIAEo",
"DjIaLkdyaWRGaWdodEVxdWlwRHJlc3NTb3VyY2VCHqoCG0VnZ0xpbmsuRGFu",
"aGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightEquipDressSourceReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightEquipDressCsReq), global::EggLink.DanhengServer.Proto.GridFightEquipDressCsReq.Parser, new[]{ "DressRoleUniqueId", "DressEquipmentUniqueId", "DressSource" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightEquipDressCsReq : pb::IMessage<GridFightEquipDressCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightEquipDressCsReq> _parser = new pb::MessageParser<GridFightEquipDressCsReq>(() => new GridFightEquipDressCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightEquipDressCsReq> 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.GridFightEquipDressCsReqReflection.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 GridFightEquipDressCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightEquipDressCsReq(GridFightEquipDressCsReq other) : this() {
dressRoleUniqueId_ = other.dressRoleUniqueId_;
dressEquipmentUniqueId_ = other.dressEquipmentUniqueId_;
dressSource_ = other.dressSource_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightEquipDressCsReq Clone() {
return new GridFightEquipDressCsReq(this);
}
/// <summary>Field number for the "dress_role_unique_id" field.</summary>
public const int DressRoleUniqueIdFieldNumber = 8;
private uint dressRoleUniqueId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DressRoleUniqueId {
get { return dressRoleUniqueId_; }
set {
dressRoleUniqueId_ = value;
}
}
/// <summary>Field number for the "dress_equipment_unique_id" field.</summary>
public const int DressEquipmentUniqueIdFieldNumber = 3;
private uint dressEquipmentUniqueId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DressEquipmentUniqueId {
get { return dressEquipmentUniqueId_; }
set {
dressEquipmentUniqueId_ = value;
}
}
/// <summary>Field number for the "dress_source" field.</summary>
public const int DressSourceFieldNumber = 14;
private global::EggLink.DanhengServer.Proto.GridFightEquipDressSource dressSource_ = global::EggLink.DanhengServer.Proto.GridFightEquipDressSource.KGridFightEquipDressSourceNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightEquipDressSource DressSource {
get { return dressSource_; }
set {
dressSource_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightEquipDressCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightEquipDressCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DressRoleUniqueId != other.DressRoleUniqueId) return false;
if (DressEquipmentUniqueId != other.DressEquipmentUniqueId) return false;
if (DressSource != other.DressSource) 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 (DressRoleUniqueId != 0) hash ^= DressRoleUniqueId.GetHashCode();
if (DressEquipmentUniqueId != 0) hash ^= DressEquipmentUniqueId.GetHashCode();
if (DressSource != global::EggLink.DanhengServer.Proto.GridFightEquipDressSource.KGridFightEquipDressSourceNone) hash ^= DressSource.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 (DressEquipmentUniqueId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(DressEquipmentUniqueId);
}
if (DressRoleUniqueId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(DressRoleUniqueId);
}
if (DressSource != global::EggLink.DanhengServer.Proto.GridFightEquipDressSource.KGridFightEquipDressSourceNone) {
output.WriteRawTag(112);
output.WriteEnum((int) DressSource);
}
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 (DressEquipmentUniqueId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(DressEquipmentUniqueId);
}
if (DressRoleUniqueId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(DressRoleUniqueId);
}
if (DressSource != global::EggLink.DanhengServer.Proto.GridFightEquipDressSource.KGridFightEquipDressSourceNone) {
output.WriteRawTag(112);
output.WriteEnum((int) DressSource);
}
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 (DressRoleUniqueId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DressRoleUniqueId);
}
if (DressEquipmentUniqueId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DressEquipmentUniqueId);
}
if (DressSource != global::EggLink.DanhengServer.Proto.GridFightEquipDressSource.KGridFightEquipDressSourceNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DressSource);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridFightEquipDressCsReq other) {
if (other == null) {
return;
}
if (other.DressRoleUniqueId != 0) {
DressRoleUniqueId = other.DressRoleUniqueId;
}
if (other.DressEquipmentUniqueId != 0) {
DressEquipmentUniqueId = other.DressEquipmentUniqueId;
}
if (other.DressSource != global::EggLink.DanhengServer.Proto.GridFightEquipDressSource.KGridFightEquipDressSourceNone) {
DressSource = other.DressSource;
}
_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: {
DressEquipmentUniqueId = input.ReadUInt32();
break;
}
case 64: {
DressRoleUniqueId = input.ReadUInt32();
break;
}
case 112: {
DressSource = (global::EggLink.DanhengServer.Proto.GridFightEquipDressSource) input.ReadEnum();
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: {
DressEquipmentUniqueId = input.ReadUInt32();
break;
}
case 64: {
DressRoleUniqueId = input.ReadUInt32();
break;
}
case 112: {
DressSource = (global::EggLink.DanhengServer.Proto.GridFightEquipDressSource) input.ReadEnum();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code