Files
DanhengServer-OpenSource/Proto/RogueRoom.cs

392 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",
"Um9ndWVSb29tEg8KB3NpdGVfaWQYASABKA0SEwoLTUdBSEhNQ09HS0sYDiAB",
"KA0SJAoKY3VyX3N0YXR1cxgDIAEoDjIQLlJvZ3VlUm9vbVN0YXR1cxIlCgtH",
"Q0FBRU1PRkxETRgKIAEoDjIQLlJvZ3VlUm9vbVN0YXR1cxIPCgdyb29tX2lk",
"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[]{ "SiteId", "MGAHHMCOGKK", "CurStatus", "GCAAEMOFLDM", "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() {
siteId_ = other.siteId_;
mGAHHMCOGKK_ = other.mGAHHMCOGKK_;
curStatus_ = other.curStatus_;
gCAAEMOFLDM_ = other.gCAAEMOFLDM_;
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 "site_id" field.</summary>
public const int SiteIdFieldNumber = 1;
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 "MGAHHMCOGKK" field.</summary>
public const int MGAHHMCOGKKFieldNumber = 14;
private uint mGAHHMCOGKK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MGAHHMCOGKK {
get { return mGAHHMCOGKK_; }
set {
mGAHHMCOGKK_ = value;
}
}
/// <summary>Field number for the "cur_status" field.</summary>
public const int CurStatusFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.RogueRoomStatus curStatus_ = global::EggLink.DanhengServer.Proto.RogueRoomStatus.None;
/// <summary>
/// 10
/// </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 "GCAAEMOFLDM" field.</summary>
public const int GCAAEMOFLDMFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.RogueRoomStatus gCAAEMOFLDM_ = global::EggLink.DanhengServer.Proto.RogueRoomStatus.None;
/// <summary>
/// 3
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueRoomStatus GCAAEMOFLDM {
get { return gCAAEMOFLDM_; }
set {
gCAAEMOFLDM_ = 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 (SiteId != other.SiteId) return false;
if (MGAHHMCOGKK != other.MGAHHMCOGKK) return false;
if (CurStatus != other.CurStatus) return false;
if (GCAAEMOFLDM != other.GCAAEMOFLDM) 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 (SiteId != 0) hash ^= SiteId.GetHashCode();
if (MGAHHMCOGKK != 0) hash ^= MGAHHMCOGKK.GetHashCode();
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) hash ^= CurStatus.GetHashCode();
if (GCAAEMOFLDM != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) hash ^= GCAAEMOFLDM.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 (SiteId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(SiteId);
}
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
output.WriteRawTag(24);
output.WriteEnum((int) CurStatus);
}
if (GCAAEMOFLDM != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
output.WriteRawTag(80);
output.WriteEnum((int) GCAAEMOFLDM);
}
if (RoomId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(RoomId);
}
if (MGAHHMCOGKK != 0) {
output.WriteRawTag(112);
output.WriteUInt32(MGAHHMCOGKK);
}
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 (SiteId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(SiteId);
}
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
output.WriteRawTag(24);
output.WriteEnum((int) CurStatus);
}
if (GCAAEMOFLDM != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
output.WriteRawTag(80);
output.WriteEnum((int) GCAAEMOFLDM);
}
if (RoomId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(RoomId);
}
if (MGAHHMCOGKK != 0) {
output.WriteRawTag(112);
output.WriteUInt32(MGAHHMCOGKK);
}
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 (SiteId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SiteId);
}
if (MGAHHMCOGKK != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MGAHHMCOGKK);
}
if (CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurStatus);
}
if (GCAAEMOFLDM != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GCAAEMOFLDM);
}
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.SiteId != 0) {
SiteId = other.SiteId;
}
if (other.MGAHHMCOGKK != 0) {
MGAHHMCOGKK = other.MGAHHMCOGKK;
}
if (other.CurStatus != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
CurStatus = other.CurStatus;
}
if (other.GCAAEMOFLDM != global::EggLink.DanhengServer.Proto.RogueRoomStatus.None) {
GCAAEMOFLDM = other.GCAAEMOFLDM;
}
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 8: {
SiteId = input.ReadUInt32();
break;
}
case 24: {
CurStatus = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
break;
}
case 80: {
GCAAEMOFLDM = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
break;
}
case 96: {
RoomId = input.ReadUInt32();
break;
}
case 112: {
MGAHHMCOGKK = 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 8: {
SiteId = input.ReadUInt32();
break;
}
case 24: {
CurStatus = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
break;
}
case 80: {
GCAAEMOFLDM = (global::EggLink.DanhengServer.Proto.RogueRoomStatus) input.ReadEnum();
break;
}
case 96: {
RoomId = input.ReadUInt32();
break;
}
case 112: {
MGAHHMCOGKK = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code