Files
DanhengServer-OpenSource/Proto/RogueMagicRoomInfo.cs
2025-08-15 12:52:47 +08:00

348 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueMagicRoomInfo.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 RogueMagicRoomInfo.proto</summary>
public static partial class RogueMagicRoomInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueMagicRoomInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueMagicRoomInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhSb2d1ZU1hZ2ljUm9vbUluZm8ucHJvdG8aGlJvZ3VlTWFnaWNSb29tU3Rh",
"dHVzLnByb3RvInUKElJvZ3VlTWFnaWNSb29tSW5mbxIlCgZzdGF0dXMYDiAB",
"KA4yFS5Sb2d1ZU1hZ2ljUm9vbVN0YXR1cxIPCgdyb29tX2lkGAggASgNEhMK",
"C0VJUE5ORUpOTktKGAYgASgNEhIKCnJvb21faW5kZXgYDyABKA1CHqoCG0Vn",
"Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicRoomStatusReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicRoomInfo), global::EggLink.DanhengServer.Proto.RogueMagicRoomInfo.Parser, new[]{ "Status", "RoomId", "EIPNNEJNNKJ", "RoomIndex" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueMagicRoomInfo : pb::IMessage<RogueMagicRoomInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueMagicRoomInfo> _parser = new pb::MessageParser<RogueMagicRoomInfo>(() => new RogueMagicRoomInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueMagicRoomInfo> 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.RogueMagicRoomInfoReflection.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 RogueMagicRoomInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicRoomInfo(RogueMagicRoomInfo other) : this() {
status_ = other.status_;
roomId_ = other.roomId_;
eIPNNEJNNKJ_ = other.eIPNNEJNNKJ_;
roomIndex_ = other.roomIndex_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicRoomInfo Clone() {
return new RogueMagicRoomInfo(this);
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 14;
private global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus status_ = global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "room_id" field.</summary>
public const int RoomIdFieldNumber = 8;
private uint roomId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RoomId {
get { return roomId_; }
set {
roomId_ = value;
}
}
/// <summary>Field number for the "EIPNNEJNNKJ" field.</summary>
public const int EIPNNEJNNKJFieldNumber = 6;
private uint eIPNNEJNNKJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EIPNNEJNNKJ {
get { return eIPNNEJNNKJ_; }
set {
eIPNNEJNNKJ_ = value;
}
}
/// <summary>Field number for the "room_index" field.</summary>
public const int RoomIndexFieldNumber = 15;
private uint roomIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RoomIndex {
get { return roomIndex_; }
set {
roomIndex_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueMagicRoomInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueMagicRoomInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Status != other.Status) return false;
if (RoomId != other.RoomId) return false;
if (EIPNNEJNNKJ != other.EIPNNEJNNKJ) return false;
if (RoomIndex != other.RoomIndex) 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 (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) hash ^= Status.GetHashCode();
if (RoomId != 0) hash ^= RoomId.GetHashCode();
if (EIPNNEJNNKJ != 0) hash ^= EIPNNEJNNKJ.GetHashCode();
if (RoomIndex != 0) hash ^= RoomIndex.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 (EIPNNEJNNKJ != 0) {
output.WriteRawTag(48);
output.WriteUInt32(EIPNNEJNNKJ);
}
if (RoomId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(RoomId);
}
if (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
output.WriteRawTag(112);
output.WriteEnum((int) Status);
}
if (RoomIndex != 0) {
output.WriteRawTag(120);
output.WriteUInt32(RoomIndex);
}
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 (EIPNNEJNNKJ != 0) {
output.WriteRawTag(48);
output.WriteUInt32(EIPNNEJNNKJ);
}
if (RoomId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(RoomId);
}
if (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
output.WriteRawTag(112);
output.WriteEnum((int) Status);
}
if (RoomIndex != 0) {
output.WriteRawTag(120);
output.WriteUInt32(RoomIndex);
}
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 (Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
}
if (RoomId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
}
if (EIPNNEJNNKJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EIPNNEJNNKJ);
}
if (RoomIndex != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomIndex);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueMagicRoomInfo other) {
if (other == null) {
return;
}
if (other.Status != global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus.None) {
Status = other.Status;
}
if (other.RoomId != 0) {
RoomId = other.RoomId;
}
if (other.EIPNNEJNNKJ != 0) {
EIPNNEJNNKJ = other.EIPNNEJNNKJ;
}
if (other.RoomIndex != 0) {
RoomIndex = other.RoomIndex;
}
_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 48: {
EIPNNEJNNKJ = input.ReadUInt32();
break;
}
case 64: {
RoomId = input.ReadUInt32();
break;
}
case 112: {
Status = (global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus) input.ReadEnum();
break;
}
case 120: {
RoomIndex = 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 48: {
EIPNNEJNNKJ = input.ReadUInt32();
break;
}
case 64: {
RoomId = input.ReadUInt32();
break;
}
case 112: {
Status = (global::EggLink.DanhengServer.Proto.RogueMagicRoomStatus) input.ReadEnum();
break;
}
case 120: {
RoomIndex = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code