Files
DanhengServer-OpenSource/Proto/GridGameRoleInfo.cs
2025-11-29 21:57:27 +08:00

433 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridGameRoleInfo.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 GridGameRoleInfo.proto</summary>
public static partial class GridGameRoleInfoReflection {
#region Descriptor
/// <summary>File descriptor for GridGameRoleInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridGameRoleInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZHcmlkR2FtZVJvbGVJbmZvLnByb3RvItkCChBHcmlkR2FtZVJvbGVJbmZv",
"EkYKFGdhbWVfc2F2ZWRfdmFsdWVfbWFwGAUgAygLMiguR3JpZEdhbWVSb2xl",
"SW5mby5HYW1lU2F2ZWRWYWx1ZU1hcEVudHJ5EgwKBHRpZXIYAyABKA0SCwoD",
"cG9zGAggASgNEhEKCXVuaXF1ZV9pZBgEIAEoDRIcChRlcXVpcF91bmlxdWVf",
"aWRfbGlzdBgNIAMoDRI3CgtJTU1OTkdNTURBSRgLIAMoCzIiLkdyaWRHYW1l",
"Um9sZUluZm8uSU1NTk5HTU1EQUlFbnRyeRIKCgJpZBgOIAEoDRo4ChZHYW1l",
"U2F2ZWRWYWx1ZU1hcEVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEo",
"DToCOAEaMgoQSU1NTk5HTU1EQUlFbnRyeRILCgNrZXkYASABKA0SDQoFdmFs",
"dWUYAiABKA06AjgBQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
"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.GridGameRoleInfo), global::EggLink.DanhengServer.Proto.GridGameRoleInfo.Parser, new[]{ "GameSavedValueMap", "Tier", "Pos", "UniqueId", "EquipUniqueIdList", "IMMNNGMMDAI", "Id" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, })
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridGameRoleInfo : pb::IMessage<GridGameRoleInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridGameRoleInfo> _parser = new pb::MessageParser<GridGameRoleInfo>(() => new GridGameRoleInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridGameRoleInfo> 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.GridGameRoleInfoReflection.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 GridGameRoleInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridGameRoleInfo(GridGameRoleInfo other) : this() {
gameSavedValueMap_ = other.gameSavedValueMap_.Clone();
tier_ = other.tier_;
pos_ = other.pos_;
uniqueId_ = other.uniqueId_;
equipUniqueIdList_ = other.equipUniqueIdList_.Clone();
iMMNNGMMDAI_ = other.iMMNNGMMDAI_.Clone();
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridGameRoleInfo Clone() {
return new GridGameRoleInfo(this);
}
/// <summary>Field number for the "game_saved_value_map" field.</summary>
public const int GameSavedValueMapFieldNumber = 5;
private static readonly pbc::MapField<string, uint>.Codec _map_gameSavedValueMap_codec
= new pbc::MapField<string, uint>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForUInt32(16, 0), 42);
private readonly pbc::MapField<string, uint> gameSavedValueMap_ = new pbc::MapField<string, uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<string, uint> GameSavedValueMap {
get { return gameSavedValueMap_; }
}
/// <summary>Field number for the "tier" field.</summary>
public const int TierFieldNumber = 3;
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 "pos" field.</summary>
public const int PosFieldNumber = 8;
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 "unique_id" field.</summary>
public const int UniqueIdFieldNumber = 4;
private uint uniqueId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint UniqueId {
get { return uniqueId_; }
set {
uniqueId_ = value;
}
}
/// <summary>Field number for the "equip_unique_id_list" field.</summary>
public const int EquipUniqueIdListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_equipUniqueIdList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> equipUniqueIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> EquipUniqueIdList {
get { return equipUniqueIdList_; }
}
/// <summary>Field number for the "IMMNNGMMDAI" field.</summary>
public const int IMMNNGMMDAIFieldNumber = 11;
private static readonly pbc::MapField<uint, uint>.Codec _map_iMMNNGMMDAI_codec
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 90);
private readonly pbc::MapField<uint, uint> iMMNNGMMDAI_ = new pbc::MapField<uint, uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<uint, uint> IMMNNGMMDAI {
get { return iMMNNGMMDAI_; }
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 14;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridGameRoleInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridGameRoleInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!GameSavedValueMap.Equals(other.GameSavedValueMap)) return false;
if (Tier != other.Tier) return false;
if (Pos != other.Pos) return false;
if (UniqueId != other.UniqueId) return false;
if(!equipUniqueIdList_.Equals(other.equipUniqueIdList_)) return false;
if (!IMMNNGMMDAI.Equals(other.IMMNNGMMDAI)) return false;
if (Id != other.Id) 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;
hash ^= GameSavedValueMap.GetHashCode();
if (Tier != 0) hash ^= Tier.GetHashCode();
if (Pos != 0) hash ^= Pos.GetHashCode();
if (UniqueId != 0) hash ^= UniqueId.GetHashCode();
hash ^= equipUniqueIdList_.GetHashCode();
hash ^= IMMNNGMMDAI.GetHashCode();
if (Id != 0) hash ^= Id.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 (Tier != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Tier);
}
if (UniqueId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(UniqueId);
}
gameSavedValueMap_.WriteTo(output, _map_gameSavedValueMap_codec);
if (Pos != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Pos);
}
iMMNNGMMDAI_.WriteTo(output, _map_iMMNNGMMDAI_codec);
equipUniqueIdList_.WriteTo(output, _repeated_equipUniqueIdList_codec);
if (Id != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Id);
}
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 (Tier != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Tier);
}
if (UniqueId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(UniqueId);
}
gameSavedValueMap_.WriteTo(ref output, _map_gameSavedValueMap_codec);
if (Pos != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Pos);
}
iMMNNGMMDAI_.WriteTo(ref output, _map_iMMNNGMMDAI_codec);
equipUniqueIdList_.WriteTo(ref output, _repeated_equipUniqueIdList_codec);
if (Id != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Id);
}
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;
size += gameSavedValueMap_.CalculateSize(_map_gameSavedValueMap_codec);
if (Tier != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier);
}
if (Pos != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos);
}
if (UniqueId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UniqueId);
}
size += equipUniqueIdList_.CalculateSize(_repeated_equipUniqueIdList_codec);
size += iMMNNGMMDAI_.CalculateSize(_map_iMMNNGMMDAI_codec);
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridGameRoleInfo other) {
if (other == null) {
return;
}
gameSavedValueMap_.MergeFrom(other.gameSavedValueMap_);
if (other.Tier != 0) {
Tier = other.Tier;
}
if (other.Pos != 0) {
Pos = other.Pos;
}
if (other.UniqueId != 0) {
UniqueId = other.UniqueId;
}
equipUniqueIdList_.Add(other.equipUniqueIdList_);
iMMNNGMMDAI_.MergeFrom(other.iMMNNGMMDAI_);
if (other.Id != 0) {
Id = other.Id;
}
_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: {
Tier = input.ReadUInt32();
break;
}
case 32: {
UniqueId = input.ReadUInt32();
break;
}
case 42: {
gameSavedValueMap_.AddEntriesFrom(input, _map_gameSavedValueMap_codec);
break;
}
case 64: {
Pos = input.ReadUInt32();
break;
}
case 90: {
iMMNNGMMDAI_.AddEntriesFrom(input, _map_iMMNNGMMDAI_codec);
break;
}
case 106:
case 104: {
equipUniqueIdList_.AddEntriesFrom(input, _repeated_equipUniqueIdList_codec);
break;
}
case 112: {
Id = 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 24: {
Tier = input.ReadUInt32();
break;
}
case 32: {
UniqueId = input.ReadUInt32();
break;
}
case 42: {
gameSavedValueMap_.AddEntriesFrom(ref input, _map_gameSavedValueMap_codec);
break;
}
case 64: {
Pos = input.ReadUInt32();
break;
}
case 90: {
iMMNNGMMDAI_.AddEntriesFrom(ref input, _map_iMMNNGMMDAI_codec);
break;
}
case 106:
case 104: {
equipUniqueIdList_.AddEntriesFrom(ref input, _repeated_equipUniqueIdList_codec);
break;
}
case 112: {
Id = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code