Files
DanhengServer-OpenSource/Proto/HandOperationInfo.cs
2025-09-27 13:58:04 +08:00

348 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HandOperationInfo.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 HandOperationInfo.proto</summary>
public static partial class HandOperationInfoReflection {
#region Descriptor
/// <summary>File descriptor for HandOperationInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static HandOperationInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdIYW5kT3BlcmF0aW9uSW5mby5wcm90bxoSSGFuZFByb3BUeXBlLnByb3Rv",
"Im8KEUhhbmRPcGVyYXRpb25JbmZvEhMKC0lFRk1BREpHQURCGAwgASgNEhAK",
"CGdyb3VwX2lkGAkgASgNEhMKC0tETFBFSUdISkFLGA8gASgNEh4KB29wX3R5",
"cGUYBCABKA4yDS5IYW5kUHJvcFR5cGVCHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
"cnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HandPropTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.HandOperationInfo), global::EggLink.DanhengServer.Proto.HandOperationInfo.Parser, new[]{ "IEFMADJGADB", "GroupId", "KDLPEIGHJAK", "OpType" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class HandOperationInfo : pb::IMessage<HandOperationInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<HandOperationInfo> _parser = new pb::MessageParser<HandOperationInfo>(() => new HandOperationInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<HandOperationInfo> 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.HandOperationInfoReflection.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 HandOperationInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HandOperationInfo(HandOperationInfo other) : this() {
iEFMADJGADB_ = other.iEFMADJGADB_;
groupId_ = other.groupId_;
kDLPEIGHJAK_ = other.kDLPEIGHJAK_;
opType_ = other.opType_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HandOperationInfo Clone() {
return new HandOperationInfo(this);
}
/// <summary>Field number for the "IEFMADJGADB" field.</summary>
public const int IEFMADJGADBFieldNumber = 12;
private uint iEFMADJGADB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint IEFMADJGADB {
get { return iEFMADJGADB_; }
set {
iEFMADJGADB_ = value;
}
}
/// <summary>Field number for the "group_id" field.</summary>
public const int GroupIdFieldNumber = 9;
private uint groupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GroupId {
get { return groupId_; }
set {
groupId_ = value;
}
}
/// <summary>Field number for the "KDLPEIGHJAK" field.</summary>
public const int KDLPEIGHJAKFieldNumber = 15;
private uint kDLPEIGHJAK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint KDLPEIGHJAK {
get { return kDLPEIGHJAK_; }
set {
kDLPEIGHJAK_ = value;
}
}
/// <summary>Field number for the "op_type" field.</summary>
public const int OpTypeFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.HandPropType opType_ = global::EggLink.DanhengServer.Proto.HandPropType.SwitchHandOpPropTypeNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.HandPropType OpType {
get { return opType_; }
set {
opType_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as HandOperationInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(HandOperationInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (IEFMADJGADB != other.IEFMADJGADB) return false;
if (GroupId != other.GroupId) return false;
if (KDLPEIGHJAK != other.KDLPEIGHJAK) return false;
if (OpType != other.OpType) 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 (IEFMADJGADB != 0) hash ^= IEFMADJGADB.GetHashCode();
if (GroupId != 0) hash ^= GroupId.GetHashCode();
if (KDLPEIGHJAK != 0) hash ^= KDLPEIGHJAK.GetHashCode();
if (OpType != global::EggLink.DanhengServer.Proto.HandPropType.SwitchHandOpPropTypeNone) hash ^= OpType.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 (OpType != global::EggLink.DanhengServer.Proto.HandPropType.SwitchHandOpPropTypeNone) {
output.WriteRawTag(32);
output.WriteEnum((int) OpType);
}
if (GroupId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(GroupId);
}
if (IEFMADJGADB != 0) {
output.WriteRawTag(96);
output.WriteUInt32(IEFMADJGADB);
}
if (KDLPEIGHJAK != 0) {
output.WriteRawTag(120);
output.WriteUInt32(KDLPEIGHJAK);
}
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 (OpType != global::EggLink.DanhengServer.Proto.HandPropType.SwitchHandOpPropTypeNone) {
output.WriteRawTag(32);
output.WriteEnum((int) OpType);
}
if (GroupId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(GroupId);
}
if (IEFMADJGADB != 0) {
output.WriteRawTag(96);
output.WriteUInt32(IEFMADJGADB);
}
if (KDLPEIGHJAK != 0) {
output.WriteRawTag(120);
output.WriteUInt32(KDLPEIGHJAK);
}
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 (IEFMADJGADB != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IEFMADJGADB);
}
if (GroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId);
}
if (KDLPEIGHJAK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KDLPEIGHJAK);
}
if (OpType != global::EggLink.DanhengServer.Proto.HandPropType.SwitchHandOpPropTypeNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OpType);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(HandOperationInfo other) {
if (other == null) {
return;
}
if (other.IEFMADJGADB != 0) {
IEFMADJGADB = other.IEFMADJGADB;
}
if (other.GroupId != 0) {
GroupId = other.GroupId;
}
if (other.KDLPEIGHJAK != 0) {
KDLPEIGHJAK = other.KDLPEIGHJAK;
}
if (other.OpType != global::EggLink.DanhengServer.Proto.HandPropType.SwitchHandOpPropTypeNone) {
OpType = other.OpType;
}
_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 32: {
OpType = (global::EggLink.DanhengServer.Proto.HandPropType) input.ReadEnum();
break;
}
case 72: {
GroupId = input.ReadUInt32();
break;
}
case 96: {
IEFMADJGADB = input.ReadUInt32();
break;
}
case 120: {
KDLPEIGHJAK = 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 32: {
OpType = (global::EggLink.DanhengServer.Proto.HandPropType) input.ReadEnum();
break;
}
case 72: {
GroupId = input.ReadUInt32();
break;
}
case 96: {
IEFMADJGADB = input.ReadUInt32();
break;
}
case 120: {
KDLPEIGHJAK = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code