Files
DanhengServer-OpenSource/Proto/GridFightRoleInfo.cs
2025-10-26 12:05:44 +08:00

376 lines
13 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightRoleInfo.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 GridFightRoleInfo.proto</summary>
public static partial class GridFightRoleInfoReflection {
#region Descriptor
/// <summary>File descriptor for GridFightRoleInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightRoleInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdHcmlkRmlnaHRSb2xlSW5mby5wcm90byJ4ChFHcmlkRmlnaHRSb2xlSW5m",
"bxILCgNwb3MYBCABKA0SEwoLSkREQ0dFQ0hHREUYAiABKAgSDAoEdGllchgF",
"IAEoDRIcChRncmlkX2ZpZ2h0X2l0ZW1fbGlzdBgLIAMoDRIVCg1yb2xlX2Jh",
"c2ljX2lkGAMgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
"BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightRoleInfo), global::EggLink.DanhengServer.Proto.GridFightRoleInfo.Parser, new[]{ "Pos", "JDDCGECHGDE", "Tier", "GridFightItemList", "RoleBasicId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightRoleInfo : pb::IMessage<GridFightRoleInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightRoleInfo> _parser = new pb::MessageParser<GridFightRoleInfo>(() => new GridFightRoleInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightRoleInfo> 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.GridFightRoleInfoReflection.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 GridFightRoleInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightRoleInfo(GridFightRoleInfo other) : this() {
pos_ = other.pos_;
jDDCGECHGDE_ = other.jDDCGECHGDE_;
tier_ = other.tier_;
gridFightItemList_ = other.gridFightItemList_.Clone();
roleBasicId_ = other.roleBasicId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightRoleInfo Clone() {
return new GridFightRoleInfo(this);
}
/// <summary>Field number for the "pos" field.</summary>
public const int PosFieldNumber = 4;
private uint pos_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Pos {
get { return pos_; }
set {
pos_ = value;
}
}
/// <summary>Field number for the "JDDCGECHGDE" field.</summary>
public const int JDDCGECHGDEFieldNumber = 2;
private bool jDDCGECHGDE_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool JDDCGECHGDE {
get { return jDDCGECHGDE_; }
set {
jDDCGECHGDE_ = value;
}
}
/// <summary>Field number for the "tier" field.</summary>
public const int TierFieldNumber = 5;
private uint tier_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Tier {
get { return tier_; }
set {
tier_ = value;
}
}
/// <summary>Field number for the "grid_fight_item_list" field.</summary>
public const int GridFightItemListFieldNumber = 11;
private static readonly pb::FieldCodec<uint> _repeated_gridFightItemList_codec
= pb::FieldCodec.ForUInt32(90);
private readonly pbc::RepeatedField<uint> gridFightItemList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> GridFightItemList {
get { return gridFightItemList_; }
}
/// <summary>Field number for the "role_basic_id" field.</summary>
public const int RoleBasicIdFieldNumber = 3;
private uint roleBasicId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RoleBasicId {
get { return roleBasicId_; }
set {
roleBasicId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightRoleInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightRoleInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Pos != other.Pos) return false;
if (JDDCGECHGDE != other.JDDCGECHGDE) return false;
if (Tier != other.Tier) return false;
if(!gridFightItemList_.Equals(other.gridFightItemList_)) return false;
if (RoleBasicId != other.RoleBasicId) 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 (Pos != 0) hash ^= Pos.GetHashCode();
if (JDDCGECHGDE != false) hash ^= JDDCGECHGDE.GetHashCode();
if (Tier != 0) hash ^= Tier.GetHashCode();
hash ^= gridFightItemList_.GetHashCode();
if (RoleBasicId != 0) hash ^= RoleBasicId.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 (JDDCGECHGDE != false) {
output.WriteRawTag(16);
output.WriteBool(JDDCGECHGDE);
}
if (RoleBasicId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(RoleBasicId);
}
if (Pos != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Pos);
}
if (Tier != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Tier);
}
gridFightItemList_.WriteTo(output, _repeated_gridFightItemList_codec);
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 (JDDCGECHGDE != false) {
output.WriteRawTag(16);
output.WriteBool(JDDCGECHGDE);
}
if (RoleBasicId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(RoleBasicId);
}
if (Pos != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Pos);
}
if (Tier != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Tier);
}
gridFightItemList_.WriteTo(ref output, _repeated_gridFightItemList_codec);
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 (Pos != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos);
}
if (JDDCGECHGDE != false) {
size += 1 + 1;
}
if (Tier != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier);
}
size += gridFightItemList_.CalculateSize(_repeated_gridFightItemList_codec);
if (RoleBasicId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoleBasicId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridFightRoleInfo other) {
if (other == null) {
return;
}
if (other.Pos != 0) {
Pos = other.Pos;
}
if (other.JDDCGECHGDE != false) {
JDDCGECHGDE = other.JDDCGECHGDE;
}
if (other.Tier != 0) {
Tier = other.Tier;
}
gridFightItemList_.Add(other.gridFightItemList_);
if (other.RoleBasicId != 0) {
RoleBasicId = other.RoleBasicId;
}
_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 16: {
JDDCGECHGDE = input.ReadBool();
break;
}
case 24: {
RoleBasicId = input.ReadUInt32();
break;
}
case 32: {
Pos = input.ReadUInt32();
break;
}
case 40: {
Tier = input.ReadUInt32();
break;
}
case 90:
case 88: {
gridFightItemList_.AddEntriesFrom(input, _repeated_gridFightItemList_codec);
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 16: {
JDDCGECHGDE = input.ReadBool();
break;
}
case 24: {
RoleBasicId = input.ReadUInt32();
break;
}
case 32: {
Pos = input.ReadUInt32();
break;
}
case 40: {
Tier = input.ReadUInt32();
break;
}
case 90:
case 88: {
gridFightItemList_.AddEntriesFrom(ref input, _repeated_gridFightItemList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code