Files
DanhengServer-OpenSource/Proto/SkillUseProperty.cs
2024-12-07 14:00:38 +08:00

535 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SkillUseProperty.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 SkillUseProperty.proto</summary>
public static partial class SkillUsePropertyReflection {
#region Descriptor
/// <summary>File descriptor for SkillUseProperty.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SkillUsePropertyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZTa2lsbFVzZVByb3BlcnR5LnByb3RvIs8BChBTa2lsbFVzZVByb3BlcnR5",
"EhAKCHNraWxsX2lkGAEgASgNEhIKCnNraWxsX3R5cGUYAiABKAkSEwoLc2tp",
"bGxfbGV2ZWwYAyABKA0SFwoPc2tpbGxfdXNlX2NvdW50GAQgASgNEhMKC0hO",
"SUtPQ1BCS0FJGAUgASgNEhMKC0dCQ0JBT0xFQ0tQGAYgASgNEhMKC0VIS05B",
"R0FPR0hCGAcgASgNEhMKC05KTUFNQ1BHRUlLGAggASgNEhMKC0RNUEhHTUtI",
"TE5HGAkgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnBy",
"b3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SkillUseProperty), global::EggLink.DanhengServer.Proto.SkillUseProperty.Parser, new[]{ "SkillId", "SkillType", "SkillLevel", "SkillUseCount", "HNIKOCPBKAI", "GBCBAOLECKP", "EHKNAGAOGHB", "NJMAMCPGEIK", "DMPHGMKHLNG" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SkillUseProperty : pb::IMessage<SkillUseProperty>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SkillUseProperty> _parser = new pb::MessageParser<SkillUseProperty>(() => new SkillUseProperty());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SkillUseProperty> 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.SkillUsePropertyReflection.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 SkillUseProperty() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SkillUseProperty(SkillUseProperty other) : this() {
skillId_ = other.skillId_;
skillType_ = other.skillType_;
skillLevel_ = other.skillLevel_;
skillUseCount_ = other.skillUseCount_;
hNIKOCPBKAI_ = other.hNIKOCPBKAI_;
gBCBAOLECKP_ = other.gBCBAOLECKP_;
eHKNAGAOGHB_ = other.eHKNAGAOGHB_;
nJMAMCPGEIK_ = other.nJMAMCPGEIK_;
dMPHGMKHLNG_ = other.dMPHGMKHLNG_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SkillUseProperty Clone() {
return new SkillUseProperty(this);
}
/// <summary>Field number for the "skill_id" field.</summary>
public const int SkillIdFieldNumber = 1;
private uint skillId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SkillId {
get { return skillId_; }
set {
skillId_ = value;
}
}
/// <summary>Field number for the "skill_type" field.</summary>
public const int SkillTypeFieldNumber = 2;
private string skillType_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SkillType {
get { return skillType_; }
set {
skillType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "skill_level" field.</summary>
public const int SkillLevelFieldNumber = 3;
private uint skillLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SkillLevel {
get { return skillLevel_; }
set {
skillLevel_ = value;
}
}
/// <summary>Field number for the "skill_use_count" field.</summary>
public const int SkillUseCountFieldNumber = 4;
private uint skillUseCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SkillUseCount {
get { return skillUseCount_; }
set {
skillUseCount_ = value;
}
}
/// <summary>Field number for the "HNIKOCPBKAI" field.</summary>
public const int HNIKOCPBKAIFieldNumber = 5;
private uint hNIKOCPBKAI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint HNIKOCPBKAI {
get { return hNIKOCPBKAI_; }
set {
hNIKOCPBKAI_ = value;
}
}
/// <summary>Field number for the "GBCBAOLECKP" field.</summary>
public const int GBCBAOLECKPFieldNumber = 6;
private uint gBCBAOLECKP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GBCBAOLECKP {
get { return gBCBAOLECKP_; }
set {
gBCBAOLECKP_ = value;
}
}
/// <summary>Field number for the "EHKNAGAOGHB" field.</summary>
public const int EHKNAGAOGHBFieldNumber = 7;
private uint eHKNAGAOGHB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EHKNAGAOGHB {
get { return eHKNAGAOGHB_; }
set {
eHKNAGAOGHB_ = value;
}
}
/// <summary>Field number for the "NJMAMCPGEIK" field.</summary>
public const int NJMAMCPGEIKFieldNumber = 8;
private uint nJMAMCPGEIK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NJMAMCPGEIK {
get { return nJMAMCPGEIK_; }
set {
nJMAMCPGEIK_ = value;
}
}
/// <summary>Field number for the "DMPHGMKHLNG" field.</summary>
public const int DMPHGMKHLNGFieldNumber = 9;
private uint dMPHGMKHLNG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DMPHGMKHLNG {
get { return dMPHGMKHLNG_; }
set {
dMPHGMKHLNG_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SkillUseProperty);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SkillUseProperty other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SkillId != other.SkillId) return false;
if (SkillType != other.SkillType) return false;
if (SkillLevel != other.SkillLevel) return false;
if (SkillUseCount != other.SkillUseCount) return false;
if (HNIKOCPBKAI != other.HNIKOCPBKAI) return false;
if (GBCBAOLECKP != other.GBCBAOLECKP) return false;
if (EHKNAGAOGHB != other.EHKNAGAOGHB) return false;
if (NJMAMCPGEIK != other.NJMAMCPGEIK) return false;
if (DMPHGMKHLNG != other.DMPHGMKHLNG) 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 (SkillId != 0) hash ^= SkillId.GetHashCode();
if (SkillType.Length != 0) hash ^= SkillType.GetHashCode();
if (SkillLevel != 0) hash ^= SkillLevel.GetHashCode();
if (SkillUseCount != 0) hash ^= SkillUseCount.GetHashCode();
if (HNIKOCPBKAI != 0) hash ^= HNIKOCPBKAI.GetHashCode();
if (GBCBAOLECKP != 0) hash ^= GBCBAOLECKP.GetHashCode();
if (EHKNAGAOGHB != 0) hash ^= EHKNAGAOGHB.GetHashCode();
if (NJMAMCPGEIK != 0) hash ^= NJMAMCPGEIK.GetHashCode();
if (DMPHGMKHLNG != 0) hash ^= DMPHGMKHLNG.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 (SkillId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(SkillId);
}
if (SkillType.Length != 0) {
output.WriteRawTag(18);
output.WriteString(SkillType);
}
if (SkillLevel != 0) {
output.WriteRawTag(24);
output.WriteUInt32(SkillLevel);
}
if (SkillUseCount != 0) {
output.WriteRawTag(32);
output.WriteUInt32(SkillUseCount);
}
if (HNIKOCPBKAI != 0) {
output.WriteRawTag(40);
output.WriteUInt32(HNIKOCPBKAI);
}
if (GBCBAOLECKP != 0) {
output.WriteRawTag(48);
output.WriteUInt32(GBCBAOLECKP);
}
if (EHKNAGAOGHB != 0) {
output.WriteRawTag(56);
output.WriteUInt32(EHKNAGAOGHB);
}
if (NJMAMCPGEIK != 0) {
output.WriteRawTag(64);
output.WriteUInt32(NJMAMCPGEIK);
}
if (DMPHGMKHLNG != 0) {
output.WriteRawTag(72);
output.WriteUInt32(DMPHGMKHLNG);
}
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 (SkillId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(SkillId);
}
if (SkillType.Length != 0) {
output.WriteRawTag(18);
output.WriteString(SkillType);
}
if (SkillLevel != 0) {
output.WriteRawTag(24);
output.WriteUInt32(SkillLevel);
}
if (SkillUseCount != 0) {
output.WriteRawTag(32);
output.WriteUInt32(SkillUseCount);
}
if (HNIKOCPBKAI != 0) {
output.WriteRawTag(40);
output.WriteUInt32(HNIKOCPBKAI);
}
if (GBCBAOLECKP != 0) {
output.WriteRawTag(48);
output.WriteUInt32(GBCBAOLECKP);
}
if (EHKNAGAOGHB != 0) {
output.WriteRawTag(56);
output.WriteUInt32(EHKNAGAOGHB);
}
if (NJMAMCPGEIK != 0) {
output.WriteRawTag(64);
output.WriteUInt32(NJMAMCPGEIK);
}
if (DMPHGMKHLNG != 0) {
output.WriteRawTag(72);
output.WriteUInt32(DMPHGMKHLNG);
}
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 (SkillId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillId);
}
if (SkillType.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SkillType);
}
if (SkillLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillLevel);
}
if (SkillUseCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillUseCount);
}
if (HNIKOCPBKAI != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HNIKOCPBKAI);
}
if (GBCBAOLECKP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GBCBAOLECKP);
}
if (EHKNAGAOGHB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EHKNAGAOGHB);
}
if (NJMAMCPGEIK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NJMAMCPGEIK);
}
if (DMPHGMKHLNG != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DMPHGMKHLNG);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SkillUseProperty other) {
if (other == null) {
return;
}
if (other.SkillId != 0) {
SkillId = other.SkillId;
}
if (other.SkillType.Length != 0) {
SkillType = other.SkillType;
}
if (other.SkillLevel != 0) {
SkillLevel = other.SkillLevel;
}
if (other.SkillUseCount != 0) {
SkillUseCount = other.SkillUseCount;
}
if (other.HNIKOCPBKAI != 0) {
HNIKOCPBKAI = other.HNIKOCPBKAI;
}
if (other.GBCBAOLECKP != 0) {
GBCBAOLECKP = other.GBCBAOLECKP;
}
if (other.EHKNAGAOGHB != 0) {
EHKNAGAOGHB = other.EHKNAGAOGHB;
}
if (other.NJMAMCPGEIK != 0) {
NJMAMCPGEIK = other.NJMAMCPGEIK;
}
if (other.DMPHGMKHLNG != 0) {
DMPHGMKHLNG = other.DMPHGMKHLNG;
}
_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: {
SkillId = input.ReadUInt32();
break;
}
case 18: {
SkillType = input.ReadString();
break;
}
case 24: {
SkillLevel = input.ReadUInt32();
break;
}
case 32: {
SkillUseCount = input.ReadUInt32();
break;
}
case 40: {
HNIKOCPBKAI = input.ReadUInt32();
break;
}
case 48: {
GBCBAOLECKP = input.ReadUInt32();
break;
}
case 56: {
EHKNAGAOGHB = input.ReadUInt32();
break;
}
case 64: {
NJMAMCPGEIK = input.ReadUInt32();
break;
}
case 72: {
DMPHGMKHLNG = 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: {
SkillId = input.ReadUInt32();
break;
}
case 18: {
SkillType = input.ReadString();
break;
}
case 24: {
SkillLevel = input.ReadUInt32();
break;
}
case 32: {
SkillUseCount = input.ReadUInt32();
break;
}
case 40: {
HNIKOCPBKAI = input.ReadUInt32();
break;
}
case 48: {
GBCBAOLECKP = input.ReadUInt32();
break;
}
case 56: {
EHKNAGAOGHB = input.ReadUInt32();
break;
}
case 64: {
NJMAMCPGEIK = input.ReadUInt32();
break;
}
case 72: {
DMPHGMKHLNG = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code