Files
DanhengServer-OpenSource/Proto/UpdateFloorSavedValueNotify.cs
2025-05-25 09:26:31 +08:00

339 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UpdateFloorSavedValueNotify.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 UpdateFloorSavedValueNotify.proto</summary>
public static partial class UpdateFloorSavedValueNotifyReflection {
#region Descriptor
/// <summary>File descriptor for UpdateFloorSavedValueNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static UpdateFloorSavedValueNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFVcGRhdGVGbG9vclNhdmVkVmFsdWVOb3RpZnkucHJvdG8izQEKG1VwZGF0",
"ZUZsb29yU2F2ZWRWYWx1ZU5vdGlmeRJBCgtzYXZlZF92YWx1ZRgFIAMoCzIs",
"LlVwZGF0ZUZsb29yU2F2ZWRWYWx1ZU5vdGlmeS5TYXZlZFZhbHVlRW50cnkS",
"EAoIcGxhbmVfaWQYDCABKA0SEAoIZmxvb3JfaWQYBiABKA0SFAoMZGltZW5z",
"aW9uX2lkGAcgASgNGjEKD1NhdmVkVmFsdWVFbnRyeRILCgNrZXkYASABKAkS",
"DQoFdmFsdWUYAiABKAU6AjgBQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
"UHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UpdateFloorSavedValueNotify), global::EggLink.DanhengServer.Proto.UpdateFloorSavedValueNotify.Parser, new[]{ "SavedValue", "PlaneId", "FloorId", "DimensionId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UpdateFloorSavedValueNotify : pb::IMessage<UpdateFloorSavedValueNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UpdateFloorSavedValueNotify> _parser = new pb::MessageParser<UpdateFloorSavedValueNotify>(() => new UpdateFloorSavedValueNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UpdateFloorSavedValueNotify> 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.UpdateFloorSavedValueNotifyReflection.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 UpdateFloorSavedValueNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UpdateFloorSavedValueNotify(UpdateFloorSavedValueNotify other) : this() {
savedValue_ = other.savedValue_.Clone();
planeId_ = other.planeId_;
floorId_ = other.floorId_;
dimensionId_ = other.dimensionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UpdateFloorSavedValueNotify Clone() {
return new UpdateFloorSavedValueNotify(this);
}
/// <summary>Field number for the "saved_value" field.</summary>
public const int SavedValueFieldNumber = 5;
private static readonly pbc::MapField<string, int>.Codec _map_savedValue_codec
= new pbc::MapField<string, int>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 42);
private readonly pbc::MapField<string, int> savedValue_ = new pbc::MapField<string, int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::MapField<string, int> SavedValue {
get { return savedValue_; }
}
/// <summary>Field number for the "plane_id" field.</summary>
public const int PlaneIdFieldNumber = 12;
private uint planeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PlaneId {
get { return planeId_; }
set {
planeId_ = value;
}
}
/// <summary>Field number for the "floor_id" field.</summary>
public const int FloorIdFieldNumber = 6;
private uint floorId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint FloorId {
get { return floorId_; }
set {
floorId_ = value;
}
}
/// <summary>Field number for the "dimension_id" field.</summary>
public const int DimensionIdFieldNumber = 7;
private uint dimensionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DimensionId {
get { return dimensionId_; }
set {
dimensionId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UpdateFloorSavedValueNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UpdateFloorSavedValueNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!SavedValue.Equals(other.SavedValue)) return false;
if (PlaneId != other.PlaneId) return false;
if (FloorId != other.FloorId) return false;
if (DimensionId != other.DimensionId) 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 ^= SavedValue.GetHashCode();
if (PlaneId != 0) hash ^= PlaneId.GetHashCode();
if (FloorId != 0) hash ^= FloorId.GetHashCode();
if (DimensionId != 0) hash ^= DimensionId.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
savedValue_.WriteTo(output, _map_savedValue_codec);
if (FloorId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(FloorId);
}
if (DimensionId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(DimensionId);
}
if (PlaneId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(PlaneId);
}
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) {
savedValue_.WriteTo(ref output, _map_savedValue_codec);
if (FloorId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(FloorId);
}
if (DimensionId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(DimensionId);
}
if (PlaneId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(PlaneId);
}
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 += savedValue_.CalculateSize(_map_savedValue_codec);
if (PlaneId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId);
}
if (FloorId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FloorId);
}
if (DimensionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DimensionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UpdateFloorSavedValueNotify other) {
if (other == null) {
return;
}
savedValue_.MergeFrom(other.savedValue_);
if (other.PlaneId != 0) {
PlaneId = other.PlaneId;
}
if (other.FloorId != 0) {
FloorId = other.FloorId;
}
if (other.DimensionId != 0) {
DimensionId = other.DimensionId;
}
_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 42: {
savedValue_.AddEntriesFrom(input, _map_savedValue_codec);
break;
}
case 48: {
FloorId = input.ReadUInt32();
break;
}
case 56: {
DimensionId = input.ReadUInt32();
break;
}
case 96: {
PlaneId = 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 42: {
savedValue_.AddEntriesFrom(ref input, _map_savedValue_codec);
break;
}
case 48: {
FloorId = input.ReadUInt32();
break;
}
case 56: {
DimensionId = input.ReadUInt32();
break;
}
case 96: {
PlaneId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code