mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
386 lines
14 KiB
C#
386 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueRoom.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 RogueRoom.proto</summary>
|
|
public static partial class RogueRoomReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueRoom.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueRoomReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cg9Sb2d1ZVJvb20ucHJvdG8aFVJvZ3VlUm9vbVN0YXR1cy5wcm90byKPAQoJ",
|
|
"Um9ndWVSb29tEiUKC0JFRUVCT0lPSklGGAQgASgOMhAuUm9ndWVSb29tU3Rh",
|
|
"dHVzEg8KB3NpdGVfaWQYCSABKA0SJAoKY3VyX3N0YXR1cxgCIAEoDjIQLlJv",
|
|
"Z3VlUm9vbVN0YXR1cxITCgtJTUlNR0ZBQUdITRgPIAEoDRIPCgdyb29tX2lk",
|
|
"GAwgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueRoomStatusReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueRoom), global::EggLink.DanhengServer.Proto.RogueRoom.Parser, new[]{ "BEEEBOIOJIF", "SiteId", "CurStatus", "IMIMGFAAGHM", "RoomId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueRoom : pb::IMessage<RogueRoom>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueRoom> _parser = new pb::MessageParser<RogueRoom>(() => new RogueRoom());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueRoom> 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.RogueRoomReflection.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 RogueRoom() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueRoom(RogueRoom other) : this() {
|
|
bEEEBOIOJIF_ = other.bEEEBOIOJIF_;
|
|
siteId_ = other.siteId_;
|
|
curStatus_ = other.curStatus_;
|
|
iMIMGFAAGHM_ = other.iMIMGFAAGHM_;
|
|
roomId_ = other.roomId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueRoom Clone() {
|
|
return new RogueRoom(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "BEEEBOIOJIF" field.</summary>
|
|
public const int BEEEBOIOJIFFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.RogueRoomStatus bEEEBOIOJIF_ = global::EggLink.DanhengServer.Proto.RogueRoomStatus.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueRoomStatus BEEEBOIOJIF {
|
|
get { return bEEEBOIOJIF_; }
|
|
set {
|
|
bEEEBOIOJIF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "site_id" field.</summary>
|
|
public const int SiteIdFieldNumber = 9;
|
|
private uint siteId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint SiteId {
|
|
get { return siteId_; }
|
|
set {
|
|
siteId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_status" field.</summary>
|
|
public const int CurStatusFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.RogueRoomStatus curStatus_ = global::EggLink.DanhengServer.Proto.RogueRoomStatus.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueRoomStatus CurStatus {
|
|
get { return curStatus_; }
|
|
set {
|
|
curStatus_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "IMIMGFAAGHM" field.</summary>
|
|
public const int IMIMGFAAGHMFieldNumber = 15;
|
|
private uint iMIMGFAAGHM_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint IMIMGFAAGHM {
|
|
get { return iMIMGFAAGHM_; }
|
|
set {
|
|
iMIMGFAAGHM_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "room_id" field.</summary>
|
|
public const int RoomIdFieldNumber = 12;
|
|
private uint roomId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RogueRoom);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RogueRoom other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (BEEEBOIOJIF != other.BEEEBOIOJIF) return false;
|
|
if (SiteId != other.SiteId) return false;
|
|
if (CurStatus != other.CurStatus) return false;
|
|
if (IMIMGFAAGHM != other.IMIMGFAAGHM) return false;
|
|
if (RoomId != other.RoomId) 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 (BEEEBOIOJIF != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) hash ^= BEEEBOIOJIF.GetHashCode();
|
|
if (SiteId != 0) hash ^= SiteId.GetHashCode();
|
|
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) hash ^= CurStatus.GetHashCode();
|
|
if (IMIMGFAAGHM != 0) hash ^= IMIMGFAAGHM.GetHashCode();
|
|
if (RoomId != 0) hash ^= RoomId.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 (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(16);
|
|
output.WriteEnum((int) CurStatus);
|
|
}
|
|
if (BEEEBOIOJIF != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) BEEEBOIOJIF);
|
|
}
|
|
if (SiteId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(SiteId);
|
|
}
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (IMIMGFAAGHM != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(IMIMGFAAGHM);
|
|
}
|
|
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 (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(16);
|
|
output.WriteEnum((int) CurStatus);
|
|
}
|
|
if (BEEEBOIOJIF != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) BEEEBOIOJIF);
|
|
}
|
|
if (SiteId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(SiteId);
|
|
}
|
|
if (RoomId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (IMIMGFAAGHM != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(IMIMGFAAGHM);
|
|
}
|
|
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 (BEEEBOIOJIF != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BEEEBOIOJIF);
|
|
}
|
|
if (SiteId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SiteId);
|
|
}
|
|
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurStatus);
|
|
}
|
|
if (IMIMGFAAGHM != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IMIMGFAAGHM);
|
|
}
|
|
if (RoomId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RogueRoom other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BEEEBOIOJIF != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
BEEEBOIOJIF = other.BEEEBOIOJIF;
|
|
}
|
|
if (other.SiteId != 0) {
|
|
SiteId = other.SiteId;
|
|
}
|
|
if (other.CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
CurStatus = other.CurStatus;
|
|
}
|
|
if (other.IMIMGFAAGHM != 0) {
|
|
IMIMGFAAGHM = other.IMIMGFAAGHM;
|
|
}
|
|
if (other.RoomId != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
_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: {
|
|
CurStatus = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 32: {
|
|
BEEEBOIOJIF = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 72: {
|
|
SiteId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
IMIMGFAAGHM = 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 16: {
|
|
CurStatus = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 32: {
|
|
BEEEBOIOJIF = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 72: {
|
|
SiteId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
IMIMGFAAGHM = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|