// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueArea.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 RogueArea.proto public static partial class RogueAreaReflection { #region Descriptor /// File descriptor for RogueArea.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueAreaReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg9Sb2d1ZUFyZWEucHJvdG8aFVJvZ3VlQXJlYVN0YXR1cy5wcm90bxoRUm9n", "dWVTdGF0dXMucHJvdG8ipgEKCVJvZ3VlQXJlYRITCgtHTVBJSUFFR0dFSxgO", "IAEoDRIPCgdhcmVhX2lkGAMgASgNEg4KBm1hcF9pZBgGIAEoDRIiCgxyb2d1", "ZV9zdGF0dXMYCSABKA4yDC5Sb2d1ZVN0YXR1cxIYChBoYXNfdGFrZW5fcmV3", "YXJkGA8gASgIEiUKC2FyZWFfc3RhdHVzGAggASgOMhAuUm9ndWVBcmVhU3Rh", "dHVzQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueAreaStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueStatusReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueArea), global::EggLink.DanhengServer.Proto.RogueArea.Parser, new[]{ "GMPIIAEGGEK", "AreaId", "MapId", "RogueStatus", "HasTakenReward", "AreaStatus" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueArea : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueArea()); 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.RogueAreaReflection.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 RogueArea() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueArea(RogueArea other) : this() { gMPIIAEGGEK_ = other.gMPIIAEGGEK_; areaId_ = other.areaId_; mapId_ = other.mapId_; rogueStatus_ = other.rogueStatus_; hasTakenReward_ = other.hasTakenReward_; areaStatus_ = other.areaStatus_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueArea Clone() { return new RogueArea(this); } /// Field number for the "GMPIIAEGGEK" field. public const int GMPIIAEGGEKFieldNumber = 14; private uint gMPIIAEGGEK_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GMPIIAEGGEK { get { return gMPIIAEGGEK_; } set { gMPIIAEGGEK_ = value; } } /// Field number for the "area_id" field. public const int AreaIdFieldNumber = 3; 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 "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; } } /// Field number for the "rogue_status" field. public const int RogueStatusFieldNumber = 9; private global::EggLink.DanhengServer.Proto.RogueStatus rogueStatus_ = global::EggLink.DanhengServer.Proto.RogueStatus.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueStatus RogueStatus { get { return rogueStatus_; } set { rogueStatus_ = value; } } /// Field number for the "has_taken_reward" field. public const int HasTakenRewardFieldNumber = 15; private bool hasTakenReward_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasTakenReward { get { return hasTakenReward_; } set { hasTakenReward_ = value; } } /// Field number for the "area_status" field. public const int AreaStatusFieldNumber = 8; private global::EggLink.DanhengServer.Proto.RogueAreaStatus areaStatus_ = global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueAreaStatus AreaStatus { get { return areaStatus_; } set { areaStatus_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueArea); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueArea other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GMPIIAEGGEK != other.GMPIIAEGGEK) return false; if (AreaId != other.AreaId) return false; if (MapId != other.MapId) return false; if (RogueStatus != other.RogueStatus) return false; if (HasTakenReward != other.HasTakenReward) return false; if (AreaStatus != other.AreaStatus) 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 (GMPIIAEGGEK != 0) hash ^= GMPIIAEGGEK.GetHashCode(); if (AreaId != 0) hash ^= AreaId.GetHashCode(); if (MapId != 0) hash ^= MapId.GetHashCode(); if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) hash ^= RogueStatus.GetHashCode(); if (HasTakenReward != false) hash ^= HasTakenReward.GetHashCode(); if (AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) hash ^= AreaStatus.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 (AreaId != 0) { output.WriteRawTag(24); output.WriteUInt32(AreaId); } if (MapId != 0) { output.WriteRawTag(48); output.WriteUInt32(MapId); } if (AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) { output.WriteRawTag(64); output.WriteEnum((int) AreaStatus); } if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) { output.WriteRawTag(72); output.WriteEnum((int) RogueStatus); } if (GMPIIAEGGEK != 0) { output.WriteRawTag(112); output.WriteUInt32(GMPIIAEGGEK); } if (HasTakenReward != false) { output.WriteRawTag(120); output.WriteBool(HasTakenReward); } 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 (AreaId != 0) { output.WriteRawTag(24); output.WriteUInt32(AreaId); } if (MapId != 0) { output.WriteRawTag(48); output.WriteUInt32(MapId); } if (AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) { output.WriteRawTag(64); output.WriteEnum((int) AreaStatus); } if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) { output.WriteRawTag(72); output.WriteEnum((int) RogueStatus); } if (GMPIIAEGGEK != 0) { output.WriteRawTag(112); output.WriteUInt32(GMPIIAEGGEK); } if (HasTakenReward != false) { output.WriteRawTag(120); output.WriteBool(HasTakenReward); } 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 (GMPIIAEGGEK != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GMPIIAEGGEK); } if (AreaId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId); } if (MapId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId); } if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RogueStatus); } if (HasTakenReward != false) { size += 1 + 1; } if (AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AreaStatus); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueArea other) { if (other == null) { return; } if (other.GMPIIAEGGEK != 0) { GMPIIAEGGEK = other.GMPIIAEGGEK; } if (other.AreaId != 0) { AreaId = other.AreaId; } if (other.MapId != 0) { MapId = other.MapId; } if (other.RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) { RogueStatus = other.RogueStatus; } if (other.HasTakenReward != false) { HasTakenReward = other.HasTakenReward; } if (other.AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) { AreaStatus = other.AreaStatus; } _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 24: { AreaId = input.ReadUInt32(); break; } case 48: { MapId = input.ReadUInt32(); break; } case 64: { AreaStatus = (global::EggLink.DanhengServer.Proto.RogueAreaStatus) input.ReadEnum(); break; } case 72: { RogueStatus = (global::EggLink.DanhengServer.Proto.RogueStatus) input.ReadEnum(); break; } case 112: { GMPIIAEGGEK = input.ReadUInt32(); break; } case 120: { HasTakenReward = input.ReadBool(); 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 24: { AreaId = input.ReadUInt32(); break; } case 48: { MapId = input.ReadUInt32(); break; } case 64: { AreaStatus = (global::EggLink.DanhengServer.Proto.RogueAreaStatus) input.ReadEnum(); break; } case 72: { RogueStatus = (global::EggLink.DanhengServer.Proto.RogueStatus) input.ReadEnum(); break; } case 112: { GMPIIAEGGEK = input.ReadUInt32(); break; } case 120: { HasTakenReward = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code