mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
293 lines
12 KiB
C#
293 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightQueryInfo.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 GridFightQueryInfo.proto</summary>
|
|
public static partial class GridFightQueryInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightQueryInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightQueryInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChhHcmlkRmlnaHRRdWVyeUluZm8ucHJvdG8aHUdyaWRGaWdodFN0YXRpY0dh",
|
|
"bWVJbmZvLnByb3RvGhlHcmlkRmlnaHRSZXdhcmRJbmZvLnByb3RvIokBChJH",
|
|
"cmlkRmlnaHRRdWVyeUluZm8SNAoWZ3JpZF9maWdodF9yZXdhcmRfaW5mbxgO",
|
|
"IAEoCzIULkdyaWRGaWdodFJld2FyZEluZm8SPQobZ3JpZF9maWdodF9zdGF0",
|
|
"aWNfZ2FtZV9pbmZvGAMgASgLMhguR3JpZEZpZ2h0U3RhdGljR2FtZUluZm9C",
|
|
"HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightStaticGameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightRewardInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightQueryInfo), global::EggLink.DanhengServer.Proto.GridFightQueryInfo.Parser, new[]{ "GridFightRewardInfo", "GridFightStaticGameInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightQueryInfo : pb::IMessage<GridFightQueryInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightQueryInfo> _parser = new pb::MessageParser<GridFightQueryInfo>(() => new GridFightQueryInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightQueryInfo> 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.GridFightQueryInfoReflection.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 GridFightQueryInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightQueryInfo(GridFightQueryInfo other) : this() {
|
|
gridFightRewardInfo_ = other.gridFightRewardInfo_ != null ? other.gridFightRewardInfo_.Clone() : null;
|
|
gridFightStaticGameInfo_ = other.gridFightStaticGameInfo_ != null ? other.gridFightStaticGameInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightQueryInfo Clone() {
|
|
return new GridFightQueryInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "grid_fight_reward_info" field.</summary>
|
|
public const int GridFightRewardInfoFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.GridFightRewardInfo gridFightRewardInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightRewardInfo GridFightRewardInfo {
|
|
get { return gridFightRewardInfo_; }
|
|
set {
|
|
gridFightRewardInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "grid_fight_static_game_info" field.</summary>
|
|
public const int GridFightStaticGameInfoFieldNumber = 3;
|
|
private global::EggLink.DanhengServer.Proto.GridFightStaticGameInfo gridFightStaticGameInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightStaticGameInfo GridFightStaticGameInfo {
|
|
get { return gridFightStaticGameInfo_; }
|
|
set {
|
|
gridFightStaticGameInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightQueryInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightQueryInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(GridFightRewardInfo, other.GridFightRewardInfo)) return false;
|
|
if (!object.Equals(GridFightStaticGameInfo, other.GridFightStaticGameInfo)) 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 (gridFightRewardInfo_ != null) hash ^= GridFightRewardInfo.GetHashCode();
|
|
if (gridFightStaticGameInfo_ != null) hash ^= GridFightStaticGameInfo.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 (gridFightStaticGameInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(GridFightStaticGameInfo);
|
|
}
|
|
if (gridFightRewardInfo_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(GridFightRewardInfo);
|
|
}
|
|
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 (gridFightStaticGameInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(GridFightStaticGameInfo);
|
|
}
|
|
if (gridFightRewardInfo_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(GridFightRewardInfo);
|
|
}
|
|
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 (gridFightRewardInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridFightRewardInfo);
|
|
}
|
|
if (gridFightStaticGameInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridFightStaticGameInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightQueryInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.gridFightRewardInfo_ != null) {
|
|
if (gridFightRewardInfo_ == null) {
|
|
GridFightRewardInfo = new global::EggLink.DanhengServer.Proto.GridFightRewardInfo();
|
|
}
|
|
GridFightRewardInfo.MergeFrom(other.GridFightRewardInfo);
|
|
}
|
|
if (other.gridFightStaticGameInfo_ != null) {
|
|
if (gridFightStaticGameInfo_ == null) {
|
|
GridFightStaticGameInfo = new global::EggLink.DanhengServer.Proto.GridFightStaticGameInfo();
|
|
}
|
|
GridFightStaticGameInfo.MergeFrom(other.GridFightStaticGameInfo);
|
|
}
|
|
_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 26: {
|
|
if (gridFightStaticGameInfo_ == null) {
|
|
GridFightStaticGameInfo = new global::EggLink.DanhengServer.Proto.GridFightStaticGameInfo();
|
|
}
|
|
input.ReadMessage(GridFightStaticGameInfo);
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (gridFightRewardInfo_ == null) {
|
|
GridFightRewardInfo = new global::EggLink.DanhengServer.Proto.GridFightRewardInfo();
|
|
}
|
|
input.ReadMessage(GridFightRewardInfo);
|
|
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 26: {
|
|
if (gridFightStaticGameInfo_ == null) {
|
|
GridFightStaticGameInfo = new global::EggLink.DanhengServer.Proto.GridFightStaticGameInfo();
|
|
}
|
|
input.ReadMessage(GridFightStaticGameInfo);
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (gridFightRewardInfo_ == null) {
|
|
GridFightRewardInfo = new global::EggLink.DanhengServer.Proto.GridFightRewardInfo();
|
|
}
|
|
input.ReadMessage(GridFightRewardInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|