mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
292 lines
11 KiB
C#
292 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: CommonRogueQuery.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 CommonRogueQuery.proto</summary>
|
|
public static partial class CommonRogueQueryReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for CommonRogueQuery.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CommonRogueQueryReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChZDb21tb25Sb2d1ZVF1ZXJ5LnByb3RvGhFSb2d1ZVVwZGF0ZS5wcm90bxoQ",
|
|
"Um9ndWVRdWVyeS5wcm90byJYChBDb21tb25Sb2d1ZVF1ZXJ5EiIKDHJvZ3Vl",
|
|
"X3VwZGF0ZRgGIAEoCzIMLlJvZ3VlVXBkYXRlEiAKC3JvZ3VlX3F1ZXJ5GAIg",
|
|
"ASgLMgsuUm9ndWVRdWVyeUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
|
"b3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueUpdateReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueQueryReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CommonRogueQuery), global::EggLink.DanhengServer.Proto.CommonRogueQuery.Parser, new[]{ "RogueUpdate", "RogueQuery" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class CommonRogueQuery : pb::IMessage<CommonRogueQuery>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<CommonRogueQuery> _parser = new pb::MessageParser<CommonRogueQuery>(() => new CommonRogueQuery());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<CommonRogueQuery> 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.CommonRogueQueryReflection.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 CommonRogueQuery() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CommonRogueQuery(CommonRogueQuery other) : this() {
|
|
rogueUpdate_ = other.rogueUpdate_ != null ? other.rogueUpdate_.Clone() : null;
|
|
rogueQuery_ = other.rogueQuery_ != null ? other.rogueQuery_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CommonRogueQuery Clone() {
|
|
return new CommonRogueQuery(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_update" field.</summary>
|
|
public const int RogueUpdateFieldNumber = 6;
|
|
private global::EggLink.DanhengServer.Proto.RogueUpdate rogueUpdate_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueUpdate RogueUpdate {
|
|
get { return rogueUpdate_; }
|
|
set {
|
|
rogueUpdate_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_query" field.</summary>
|
|
public const int RogueQueryFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.RogueQuery rogueQuery_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueQuery RogueQuery {
|
|
get { return rogueQuery_; }
|
|
set {
|
|
rogueQuery_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as CommonRogueQuery);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(CommonRogueQuery other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(RogueUpdate, other.RogueUpdate)) return false;
|
|
if (!object.Equals(RogueQuery, other.RogueQuery)) 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 (rogueUpdate_ != null) hash ^= RogueUpdate.GetHashCode();
|
|
if (rogueQuery_ != null) hash ^= RogueQuery.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 (rogueQuery_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(RogueQuery);
|
|
}
|
|
if (rogueUpdate_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(RogueUpdate);
|
|
}
|
|
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 (rogueQuery_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(RogueQuery);
|
|
}
|
|
if (rogueUpdate_ != null) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(RogueUpdate);
|
|
}
|
|
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 (rogueUpdate_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueUpdate);
|
|
}
|
|
if (rogueQuery_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueQuery);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(CommonRogueQuery other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.rogueUpdate_ != null) {
|
|
if (rogueUpdate_ == null) {
|
|
RogueUpdate = new global::EggLink.DanhengServer.Proto.RogueUpdate();
|
|
}
|
|
RogueUpdate.MergeFrom(other.RogueUpdate);
|
|
}
|
|
if (other.rogueQuery_ != null) {
|
|
if (rogueQuery_ == null) {
|
|
RogueQuery = new global::EggLink.DanhengServer.Proto.RogueQuery();
|
|
}
|
|
RogueQuery.MergeFrom(other.RogueQuery);
|
|
}
|
|
_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 18: {
|
|
if (rogueQuery_ == null) {
|
|
RogueQuery = new global::EggLink.DanhengServer.Proto.RogueQuery();
|
|
}
|
|
input.ReadMessage(RogueQuery);
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (rogueUpdate_ == null) {
|
|
RogueUpdate = new global::EggLink.DanhengServer.Proto.RogueUpdate();
|
|
}
|
|
input.ReadMessage(RogueUpdate);
|
|
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 18: {
|
|
if (rogueQuery_ == null) {
|
|
RogueQuery = new global::EggLink.DanhengServer.Proto.RogueQuery();
|
|
}
|
|
input.ReadMessage(RogueQuery);
|
|
break;
|
|
}
|
|
case 50: {
|
|
if (rogueUpdate_ == null) {
|
|
RogueUpdate = new global::EggLink.DanhengServer.Proto.RogueUpdate();
|
|
}
|
|
input.ReadMessage(RogueUpdate);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|