//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueMapInfo.proto
//
#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 {
/// Holder for reflection information generated from RogueMapInfo.proto
public static partial class RogueMapInfoReflection {
#region Descriptor
/// File descriptor for RogueMapInfo.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueMapInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChJSb2d1ZU1hcEluZm8ucHJvdG8aD1JvZ3VlUm9vbS5wcm90byJ4CgxSb2d1",
"ZU1hcEluZm8SDwoHYXJlYV9pZBgMIAEoDRITCgtjdXJfc2l0ZV9pZBgHIAEo",
"DRITCgtjdXJfcm9vbV9pZBgEIAEoDRIdCglyb29tX2xpc3QYCCADKAsyCi5S",
"b2d1ZVJvb20SDgoGbWFwX2lkGAYgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdT",
"ZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueRoomReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMapInfo), global::EggLink.DanhengServer.Proto.RogueMapInfo.Parser, new[]{ "AreaId", "CurSiteId", "CurRoomId", "RoomList", "MapId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueMapInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueMapInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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.RogueMapInfoReflection.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 RogueMapInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMapInfo(RogueMapInfo other) : this() {
areaId_ = other.areaId_;
curSiteId_ = other.curSiteId_;
curRoomId_ = other.curRoomId_;
roomList_ = other.roomList_.Clone();
mapId_ = other.mapId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMapInfo Clone() {
return new RogueMapInfo(this);
}
/// Field number for the "area_id" field.
public const int AreaIdFieldNumber = 12;
private uint areaId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AreaId {
get { return areaId_; }
set {
areaId_ = value;
}
}
/// Field number for the "cur_site_id" field.
public const int CurSiteIdFieldNumber = 7;
private uint curSiteId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurSiteId {
get { return curSiteId_; }
set {
curSiteId_ = value;
}
}
/// Field number for the "cur_room_id" field.
public const int CurRoomIdFieldNumber = 4;
private uint curRoomId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CurRoomId {
get { return curRoomId_; }
set {
curRoomId_ = value;
}
}
/// Field number for the "room_list" field.
public const int RoomListFieldNumber = 8;
private static readonly pb::FieldCodec _repeated_roomList_codec
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.RogueRoom.Parser);
private readonly pbc::RepeatedField roomList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField RoomList {
get { return roomList_; }
}
/// Field number for the "map_id" field.
public const int MapIdFieldNumber = 6;
private uint mapId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MapId {
get { return mapId_; }
set {
mapId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueMapInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueMapInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AreaId != other.AreaId) return false;
if (CurSiteId != other.CurSiteId) return false;
if (CurRoomId != other.CurRoomId) return false;
if(!roomList_.Equals(other.roomList_)) return false;
if (MapId != other.MapId) 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 (AreaId != 0) hash ^= AreaId.GetHashCode();
if (CurSiteId != 0) hash ^= CurSiteId.GetHashCode();
if (CurRoomId != 0) hash ^= CurRoomId.GetHashCode();
hash ^= roomList_.GetHashCode();
if (MapId != 0) hash ^= MapId.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 (CurRoomId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(CurRoomId);
}
if (MapId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(MapId);
}
if (CurSiteId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CurSiteId);
}
roomList_.WriteTo(output, _repeated_roomList_codec);
if (AreaId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(AreaId);
}
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 (CurRoomId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(CurRoomId);
}
if (MapId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(MapId);
}
if (CurSiteId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CurSiteId);
}
roomList_.WriteTo(ref output, _repeated_roomList_codec);
if (AreaId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(AreaId);
}
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 (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
if (CurSiteId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurSiteId);
}
if (CurRoomId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurRoomId);
}
size += roomList_.CalculateSize(_repeated_roomList_codec);
if (MapId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueMapInfo other) {
if (other == null) {
return;
}
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
if (other.CurSiteId != 0) {
CurSiteId = other.CurSiteId;
}
if (other.CurRoomId != 0) {
CurRoomId = other.CurRoomId;
}
roomList_.Add(other.roomList_);
if (other.MapId != 0) {
MapId = other.MapId;
}
_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 32: {
CurRoomId = input.ReadUInt32();
break;
}
case 48: {
MapId = input.ReadUInt32();
break;
}
case 56: {
CurSiteId = input.ReadUInt32();
break;
}
case 66: {
roomList_.AddEntriesFrom(input, _repeated_roomList_codec);
break;
}
case 96: {
AreaId = 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 32: {
CurRoomId = input.ReadUInt32();
break;
}
case 48: {
MapId = input.ReadUInt32();
break;
}
case 56: {
CurSiteId = input.ReadUInt32();
break;
}
case 66: {
roomList_.AddEntriesFrom(ref input, _repeated_roomList_codec);
break;
}
case 96: {
AreaId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code