mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
389 lines
14 KiB
C#
389 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",
|
|
"Um9ndWVSb29tEiUKC0NKQVBPQ09GS0ZDGAggASgOMhAuUm9ndWVSb29tU3Rh",
|
|
"dHVzEg8KB3NpdGVfaWQYDCABKA0SDwoHcm9vbV9pZBgHIAEoDRIkCgpjdXJf",
|
|
"c3RhdHVzGAsgASgOMhAuUm9ndWVSb29tU3RhdHVzEhMKC0VDQU9QT0pGRUJC",
|
|
"GAogASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"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[]{ "CJAPOCOFKFC", "SiteId", "RoomId", "CurStatus", "ECAOPOJFEBB" }, 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() {
|
|
cJAPOCOFKFC_ = other.cJAPOCOFKFC_;
|
|
siteId_ = other.siteId_;
|
|
roomId_ = other.roomId_;
|
|
curStatus_ = other.curStatus_;
|
|
eCAOPOJFEBB_ = other.eCAOPOJFEBB_;
|
|
_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 "CJAPOCOFKFC" field.</summary>
|
|
public const int CJAPOCOFKFCFieldNumber = 8;
|
|
private global::EggLink.DanhengServer.Proto.RogueRoomStatus cJAPOCOFKFC_ = global::EggLink.DanhengServer.Proto.RogueRoomStatus.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueRoomStatus CJAPOCOFKFC {
|
|
get { return cJAPOCOFKFC_; }
|
|
set {
|
|
cJAPOCOFKFC_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "site_id" field.</summary>
|
|
public const int SiteIdFieldNumber = 12;
|
|
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 "room_id" field.</summary>
|
|
public const int RoomIdFieldNumber = 7;
|
|
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 "cur_status" field.</summary>
|
|
public const int CurStatusFieldNumber = 11;
|
|
private global::EggLink.DanhengServer.Proto.RogueRoomStatus curStatus_ = global::EggLink.DanhengServer.Proto.RogueRoomStatus.None;
|
|
/// <summary>
|
|
/// 8
|
|
/// </summary>
|
|
[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 "ECAOPOJFEBB" field.</summary>
|
|
public const int ECAOPOJFEBBFieldNumber = 10;
|
|
private uint eCAOPOJFEBB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ECAOPOJFEBB {
|
|
get { return eCAOPOJFEBB_; }
|
|
set {
|
|
eCAOPOJFEBB_ = 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 (CJAPOCOFKFC != other.CJAPOCOFKFC) return false;
|
|
if (SiteId != other.SiteId) return false;
|
|
if (RoomId != other.RoomId) return false;
|
|
if (CurStatus != other.CurStatus) return false;
|
|
if (ECAOPOJFEBB != other.ECAOPOJFEBB) 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 (CJAPOCOFKFC != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) hash ^= CJAPOCOFKFC.GetHashCode();
|
|
if (SiteId != 0) hash ^= SiteId.GetHashCode();
|
|
if (RoomId != 0) hash ^= RoomId.GetHashCode();
|
|
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) hash ^= CurStatus.GetHashCode();
|
|
if (ECAOPOJFEBB != 0) hash ^= ECAOPOJFEBB.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 (RoomId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (CJAPOCOFKFC != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(64);
|
|
output.WriteEnum((int) CJAPOCOFKFC);
|
|
}
|
|
if (ECAOPOJFEBB != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ECAOPOJFEBB);
|
|
}
|
|
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(88);
|
|
output.WriteEnum((int) CurStatus);
|
|
}
|
|
if (SiteId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(SiteId);
|
|
}
|
|
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 (RoomId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(RoomId);
|
|
}
|
|
if (CJAPOCOFKFC != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(64);
|
|
output.WriteEnum((int) CJAPOCOFKFC);
|
|
}
|
|
if (ECAOPOJFEBB != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ECAOPOJFEBB);
|
|
}
|
|
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
output.WriteRawTag(88);
|
|
output.WriteEnum((int) CurStatus);
|
|
}
|
|
if (SiteId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(SiteId);
|
|
}
|
|
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 (CJAPOCOFKFC != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CJAPOCOFKFC);
|
|
}
|
|
if (SiteId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SiteId);
|
|
}
|
|
if (RoomId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId);
|
|
}
|
|
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurStatus);
|
|
}
|
|
if (ECAOPOJFEBB != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ECAOPOJFEBB);
|
|
}
|
|
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.CJAPOCOFKFC != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
CJAPOCOFKFC = other.CJAPOCOFKFC;
|
|
}
|
|
if (other.SiteId != 0) {
|
|
SiteId = other.SiteId;
|
|
}
|
|
if (other.RoomId != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
|
|
CurStatus = other.CurStatus;
|
|
}
|
|
if (other.ECAOPOJFEBB != 0) {
|
|
ECAOPOJFEBB = other.ECAOPOJFEBB;
|
|
}
|
|
_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 56: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
CJAPOCOFKFC = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ECAOPOJFEBB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CurStatus = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 96: {
|
|
SiteId = 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 56: {
|
|
RoomId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
CJAPOCOFKFC = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ECAOPOJFEBB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CurStatus = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 96: {
|
|
SiteId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|