mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
443 lines
16 KiB
C#
443 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AdventureRoomInfo.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 AdventureRoomInfo.proto</summary>
|
|
public static partial class AdventureRoomInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for AdventureRoomInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static AdventureRoomInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChdBZHZlbnR1cmVSb29tSW5mby5wcm90bxoeUm9ndWVBZHZlbnR1cmVSb29t",
|
|
"U3RhdHVzLnByb3RvGitSb2d1ZUFkdmVudHVyZVJvb21HYW1lcGxheVdvbGZH",
|
|
"dW5JbmZvLnByb3RvItEBChFBZHZlbnR1cmVSb29tSW5mbxIaChJyZW1haW5f",
|
|
"bW9uc3Rlcl9udW0YDSABKA0SEAoIc2NvcmVfaWQYDiABKA0SKQoGc3RhdHVz",
|
|
"GAYgASgOMhkuUm9ndWVBZHZlbnR1cmVSb29tU3RhdHVzEhoKEmNhdWdodF9t",
|
|
"b25zdGVyX251bRgDIAEoDRI6CgpxdWVyeV9pbmZvGAkgASgLMiYuUm9ndWVB",
|
|
"ZHZlbnR1cmVSb29tR2FtZXBsYXlXb2xmR3VuSW5mbxILCgNzdXMYCCABKAFC",
|
|
"HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatusReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AdventureRoomInfo), global::EggLink.DanhengServer.Proto.AdventureRoomInfo.Parser, new[]{ "RemainMonsterNum", "ScoreId", "Status", "CaughtMonsterNum", "QueryInfo", "Sus" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class AdventureRoomInfo : pb::IMessage<AdventureRoomInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<AdventureRoomInfo> _parser = new pb::MessageParser<AdventureRoomInfo>(() => new AdventureRoomInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<AdventureRoomInfo> 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.AdventureRoomInfoReflection.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 AdventureRoomInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AdventureRoomInfo(AdventureRoomInfo other) : this() {
|
|
remainMonsterNum_ = other.remainMonsterNum_;
|
|
scoreId_ = other.scoreId_;
|
|
status_ = other.status_;
|
|
caughtMonsterNum_ = other.caughtMonsterNum_;
|
|
queryInfo_ = other.queryInfo_ != null ? other.queryInfo_.Clone() : null;
|
|
sus_ = other.sus_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AdventureRoomInfo Clone() {
|
|
return new AdventureRoomInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "remain_monster_num" field.</summary>
|
|
public const int RemainMonsterNumFieldNumber = 13;
|
|
private uint remainMonsterNum_;
|
|
/// <summary>
|
|
/// 3
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint RemainMonsterNum {
|
|
get { return remainMonsterNum_; }
|
|
set {
|
|
remainMonsterNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "score_id" field.</summary>
|
|
public const int ScoreIdFieldNumber = 14;
|
|
private uint scoreId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ScoreId {
|
|
get { return scoreId_; }
|
|
set {
|
|
scoreId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "status" field.</summary>
|
|
public const int StatusFieldNumber = 6;
|
|
private global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus status_ = global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None;
|
|
/// <summary>
|
|
/// original: uint32
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus Status {
|
|
get { return status_; }
|
|
set {
|
|
status_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "caught_monster_num" field.</summary>
|
|
public const int CaughtMonsterNumFieldNumber = 3;
|
|
private uint caughtMonsterNum_;
|
|
/// <summary>
|
|
/// 13
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CaughtMonsterNum {
|
|
get { return caughtMonsterNum_; }
|
|
set {
|
|
caughtMonsterNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "query_info" field.</summary>
|
|
public const int QueryInfoFieldNumber = 9;
|
|
private global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo queryInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo QueryInfo {
|
|
get { return queryInfo_; }
|
|
set {
|
|
queryInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sus" field.</summary>
|
|
public const int SusFieldNumber = 8;
|
|
private double sus_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Sus {
|
|
get { return sus_; }
|
|
set {
|
|
sus_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as AdventureRoomInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(AdventureRoomInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (RemainMonsterNum != other.RemainMonsterNum) return false;
|
|
if (ScoreId != other.ScoreId) return false;
|
|
if (Status != other.Status) return false;
|
|
if (CaughtMonsterNum != other.CaughtMonsterNum) return false;
|
|
if (!object.Equals(QueryInfo, other.QueryInfo)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Sus, other.Sus)) 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 (RemainMonsterNum != 0) hash ^= RemainMonsterNum.GetHashCode();
|
|
if (ScoreId != 0) hash ^= ScoreId.GetHashCode();
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) hash ^= Status.GetHashCode();
|
|
if (CaughtMonsterNum != 0) hash ^= CaughtMonsterNum.GetHashCode();
|
|
if (queryInfo_ != null) hash ^= QueryInfo.GetHashCode();
|
|
if (Sus != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Sus);
|
|
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 (CaughtMonsterNum != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(CaughtMonsterNum);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
|
|
output.WriteRawTag(48);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
if (Sus != 0D) {
|
|
output.WriteRawTag(65);
|
|
output.WriteDouble(Sus);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(QueryInfo);
|
|
}
|
|
if (RemainMonsterNum != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(RemainMonsterNum);
|
|
}
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ScoreId);
|
|
}
|
|
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 (CaughtMonsterNum != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(CaughtMonsterNum);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
|
|
output.WriteRawTag(48);
|
|
output.WriteEnum((int) Status);
|
|
}
|
|
if (Sus != 0D) {
|
|
output.WriteRawTag(65);
|
|
output.WriteDouble(Sus);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(QueryInfo);
|
|
}
|
|
if (RemainMonsterNum != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(RemainMonsterNum);
|
|
}
|
|
if (ScoreId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ScoreId);
|
|
}
|
|
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 (RemainMonsterNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RemainMonsterNum);
|
|
}
|
|
if (ScoreId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId);
|
|
}
|
|
if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
|
}
|
|
if (CaughtMonsterNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CaughtMonsterNum);
|
|
}
|
|
if (queryInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryInfo);
|
|
}
|
|
if (Sus != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(AdventureRoomInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RemainMonsterNum != 0) {
|
|
RemainMonsterNum = other.RemainMonsterNum;
|
|
}
|
|
if (other.ScoreId != 0) {
|
|
ScoreId = other.ScoreId;
|
|
}
|
|
if (other.Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
|
|
Status = other.Status;
|
|
}
|
|
if (other.CaughtMonsterNum != 0) {
|
|
CaughtMonsterNum = other.CaughtMonsterNum;
|
|
}
|
|
if (other.queryInfo_ != null) {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo();
|
|
}
|
|
QueryInfo.MergeFrom(other.QueryInfo);
|
|
}
|
|
if (other.Sus != 0D) {
|
|
Sus = other.Sus;
|
|
}
|
|
_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: {
|
|
CaughtMonsterNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Status = (global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 65: {
|
|
Sus = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo();
|
|
}
|
|
input.ReadMessage(QueryInfo);
|
|
break;
|
|
}
|
|
case 104: {
|
|
RemainMonsterNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ScoreId = 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 24: {
|
|
CaughtMonsterNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Status = (global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 65: {
|
|
Sus = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (queryInfo_ == null) {
|
|
QueryInfo = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo();
|
|
}
|
|
input.ReadMessage(QueryInfo);
|
|
break;
|
|
}
|
|
case 104: {
|
|
RemainMonsterNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ScoreId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|