mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
423 lines
15 KiB
C#
423 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueArea.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 RogueArea.proto</summary>
|
|
public static partial class RogueAreaReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueArea.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueAreaReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cg9Sb2d1ZUFyZWEucHJvdG8aEVJvZ3VlU3RhdHVzLnByb3RvGhVSb2d1ZUFy",
|
|
"ZWFTdGF0dXMucHJvdG8ipgEKCVJvZ3VlQXJlYRIOCgZtYXBfaWQYBCABKA0S",
|
|
"GAoQaGFzX3Rha2VuX3Jld2FyZBgDIAEoCBIiCgxyb2d1ZV9zdGF0dXMYDiAB",
|
|
"KA4yDC5Sb2d1ZVN0YXR1cxITCgtIQ0dHTUtDTVBKTRgBIAEoDRIPCgdhcmVh",
|
|
"X2lkGAsgASgNEiUKC2FyZWFfc3RhdHVzGAwgASgOMhAuUm9ndWVBcmVhU3Rh",
|
|
"dHVzQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueAreaStatusReflection.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[]{ "MapId", "HasTakenReward", "RogueStatus", "HCGGMKCMPJM", "AreaId", "AreaStatus" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueArea : pb::IMessage<RogueArea>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueArea> _parser = new pb::MessageParser<RogueArea>(() => new RogueArea());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueArea> 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() {
|
|
mapId_ = other.mapId_;
|
|
hasTakenReward_ = other.hasTakenReward_;
|
|
rogueStatus_ = other.rogueStatus_;
|
|
hCGGMKCMPJM_ = other.hCGGMKCMPJM_;
|
|
areaId_ = other.areaId_;
|
|
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);
|
|
}
|
|
|
|
/// <summary>Field number for the "map_id" field.</summary>
|
|
public const int MapIdFieldNumber = 4;
|
|
private uint mapId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MapId {
|
|
get { return mapId_; }
|
|
set {
|
|
mapId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "has_taken_reward" field.</summary>
|
|
public const int HasTakenRewardFieldNumber = 3;
|
|
private bool hasTakenReward_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool HasTakenReward {
|
|
get { return hasTakenReward_; }
|
|
set {
|
|
hasTakenReward_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_status" field.</summary>
|
|
public const int RogueStatusFieldNumber = 14;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HCGGMKCMPJM" field.</summary>
|
|
public const int HCGGMKCMPJMFieldNumber = 1;
|
|
private uint hCGGMKCMPJM_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint HCGGMKCMPJM {
|
|
get { return hCGGMKCMPJM_; }
|
|
set {
|
|
hCGGMKCMPJM_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "area_id" field.</summary>
|
|
public const int AreaIdFieldNumber = 11;
|
|
private uint areaId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AreaId {
|
|
get { return areaId_; }
|
|
set {
|
|
areaId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "area_status" field.</summary>
|
|
public const int AreaStatusFieldNumber = 12;
|
|
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 (MapId != other.MapId) return false;
|
|
if (HasTakenReward != other.HasTakenReward) return false;
|
|
if (RogueStatus != other.RogueStatus) return false;
|
|
if (HCGGMKCMPJM != other.HCGGMKCMPJM) return false;
|
|
if (AreaId != other.AreaId) 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 (MapId != 0) hash ^= MapId.GetHashCode();
|
|
if (HasTakenReward != false) hash ^= HasTakenReward.GetHashCode();
|
|
if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) hash ^= RogueStatus.GetHashCode();
|
|
if (HCGGMKCMPJM != 0) hash ^= HCGGMKCMPJM.GetHashCode();
|
|
if (AreaId != 0) hash ^= AreaId.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 (HCGGMKCMPJM != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(HCGGMKCMPJM);
|
|
}
|
|
if (HasTakenReward != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(HasTakenReward);
|
|
}
|
|
if (MapId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(MapId);
|
|
}
|
|
if (AreaId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(AreaId);
|
|
}
|
|
if (AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) {
|
|
output.WriteRawTag(96);
|
|
output.WriteEnum((int) AreaStatus);
|
|
}
|
|
if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) RogueStatus);
|
|
}
|
|
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 (HCGGMKCMPJM != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(HCGGMKCMPJM);
|
|
}
|
|
if (HasTakenReward != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(HasTakenReward);
|
|
}
|
|
if (MapId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(MapId);
|
|
}
|
|
if (AreaId != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(AreaId);
|
|
}
|
|
if (AreaStatus != global::EggLink.DanhengServer.Proto.RogueAreaStatus.Lock) {
|
|
output.WriteRawTag(96);
|
|
output.WriteEnum((int) AreaStatus);
|
|
}
|
|
if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) RogueStatus);
|
|
}
|
|
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 (MapId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId);
|
|
}
|
|
if (HasTakenReward != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RogueStatus);
|
|
}
|
|
if (HCGGMKCMPJM != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HCGGMKCMPJM);
|
|
}
|
|
if (AreaId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
|
|
}
|
|
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.MapId != 0) {
|
|
MapId = other.MapId;
|
|
}
|
|
if (other.HasTakenReward != false) {
|
|
HasTakenReward = other.HasTakenReward;
|
|
}
|
|
if (other.RogueStatus != global::EggLink.DanhengServer.Proto.RogueStatus.None) {
|
|
RogueStatus = other.RogueStatus;
|
|
}
|
|
if (other.HCGGMKCMPJM != 0) {
|
|
HCGGMKCMPJM = other.HCGGMKCMPJM;
|
|
}
|
|
if (other.AreaId != 0) {
|
|
AreaId = other.AreaId;
|
|
}
|
|
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 8: {
|
|
HCGGMKCMPJM = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
HasTakenReward = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
MapId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
AreaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
AreaStatus = (global::EggLink.DanhengServer.Proto.RogueAreaStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 112: {
|
|
RogueStatus = (global::EggLink.DanhengServer.Proto.RogueStatus) input.ReadEnum();
|
|
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: {
|
|
HCGGMKCMPJM = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
HasTakenReward = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
MapId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
AreaId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
AreaStatus = (global::EggLink.DanhengServer.Proto.RogueAreaStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 112: {
|
|
RogueStatus = (global::EggLink.DanhengServer.Proto.RogueStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|