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

265 lines
10 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightPortalBuffSyncInfo.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 GridFightPortalBuffSyncInfo.proto</summary>
public static partial class GridFightPortalBuffSyncInfoReflection {
#region Descriptor
/// <summary>File descriptor for GridFightPortalBuffSyncInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightPortalBuffSyncInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFHcmlkRmlnaHRQb3J0YWxCdWZmU3luY0luZm8ucHJvdG8iwgEKG0dyaWRG",
"aWdodFBvcnRhbEJ1ZmZTeW5jSW5mbxJRChRnYW1lX3NhdmVkX3ZhbHVlX21h",
"cBgKIAMoCzIzLkdyaWRGaWdodFBvcnRhbEJ1ZmZTeW5jSW5mby5HYW1lU2F2",
"ZWRWYWx1ZU1hcEVudHJ5EhYKDnBvcnRhbF9idWZmX2lkGAsgASgNGjgKFkdh",
"bWVTYXZlZFZhbHVlTWFwRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIg",
"ASgNOgI4AUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
"bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo), global::EggLink.DanhengServer.Proto.GridFightPortalBuffSyncInfo.Parser, new[]{ "GameSavedValueMap", "PortalBuffId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightPortalBuffSyncInfo : pb::IMessage<GridFightPortalBuffSyncInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightPortalBuffSyncInfo> _parser = new pb::MessageParser<GridFightPortalBuffSyncInfo>(() => new GridFightPortalBuffSyncInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightPortalBuffSyncInfo> 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.GridFightPortalBuffSyncInfoReflection.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 GridFightPortalBuffSyncInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightPortalBuffSyncInfo(GridFightPortalBuffSyncInfo other) : this() {
gameSavedValueMap_ = other.gameSavedValueMap_.Clone();
portalBuffId_ = other.portalBuffId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightPortalBuffSyncInfo Clone() {
return new GridFightPortalBuffSyncInfo(this);
}
/// <summary>Field number for the "game_saved_value_map" field.</summary>
public const int GameSavedValueMapFieldNumber = 10;
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), 82);
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 "portal_buff_id" field.</summary>
public const int PortalBuffIdFieldNumber = 11;
private uint portalBuffId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PortalBuffId {
get { return portalBuffId_; }
set {
portalBuffId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightPortalBuffSyncInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightPortalBuffSyncInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!GameSavedValueMap.Equals(other.GameSavedValueMap)) return false;
if (PortalBuffId != other.PortalBuffId) 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 (PortalBuffId != 0) hash ^= PortalBuffId.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
gameSavedValueMap_.WriteTo(output, _map_gameSavedValueMap_codec);
if (PortalBuffId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(PortalBuffId);
}
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) {
gameSavedValueMap_.WriteTo(ref output, _map_gameSavedValueMap_codec);
if (PortalBuffId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(PortalBuffId);
}
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 (PortalBuffId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PortalBuffId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridFightPortalBuffSyncInfo other) {
if (other == null) {
return;
}
gameSavedValueMap_.MergeFrom(other.gameSavedValueMap_);
if (other.PortalBuffId != 0) {
PortalBuffId = other.PortalBuffId;
}
_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 82: {
gameSavedValueMap_.AddEntriesFrom(input, _map_gameSavedValueMap_codec);
break;
}
case 88: {
PortalBuffId = 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 82: {
gameSavedValueMap_.AddEntriesFrom(ref input, _map_gameSavedValueMap_codec);
break;
}
case 88: {
PortalBuffId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code