mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
338 lines
12 KiB
C#
338 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: EvolveBuildCardInfo.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 EvolveBuildCardInfo.proto</summary>
|
|
public static partial class EvolveBuildCardInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for EvolveBuildCardInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static EvolveBuildCardInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlFdm9sdmVCdWlsZENhcmRJbmZvLnByb3RvIlwKE0V2b2x2ZUJ1aWxkQ2Fy",
|
|
"ZEluZm8SDwoHY2FyZF9pZBgBIAEoDRINCgVwYXJhbRgCIAEoARIRCglpc19l",
|
|
"bmFibGUYAyABKAgSEgoKcGFyYW1fbGlzdBgEIAMoAUIeqgIbRWdnTGluay5E",
|
|
"YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildCardInfo), global::EggLink.DanhengServer.Proto.EvolveBuildCardInfo.Parser, new[]{ "CardId", "Param", "IsEnable", "ParamList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class EvolveBuildCardInfo : pb::IMessage<EvolveBuildCardInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<EvolveBuildCardInfo> _parser = new pb::MessageParser<EvolveBuildCardInfo>(() => new EvolveBuildCardInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<EvolveBuildCardInfo> 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.EvolveBuildCardInfoReflection.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 EvolveBuildCardInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EvolveBuildCardInfo(EvolveBuildCardInfo other) : this() {
|
|
cardId_ = other.cardId_;
|
|
param_ = other.param_;
|
|
isEnable_ = other.isEnable_;
|
|
paramList_ = other.paramList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EvolveBuildCardInfo Clone() {
|
|
return new EvolveBuildCardInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "card_id" field.</summary>
|
|
public const int CardIdFieldNumber = 1;
|
|
private uint cardId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint CardId {
|
|
get { return cardId_; }
|
|
set {
|
|
cardId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param" field.</summary>
|
|
public const int ParamFieldNumber = 2;
|
|
private double param_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Param {
|
|
get { return param_; }
|
|
set {
|
|
param_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_enable" field.</summary>
|
|
public const int IsEnableFieldNumber = 3;
|
|
private bool isEnable_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsEnable {
|
|
get { return isEnable_; }
|
|
set {
|
|
isEnable_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param_list" field.</summary>
|
|
public const int ParamListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<double> _repeated_paramList_codec
|
|
= pb::FieldCodec.ForDouble(34);
|
|
private readonly pbc::RepeatedField<double> paramList_ = new pbc::RepeatedField<double>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<double> ParamList {
|
|
get { return paramList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as EvolveBuildCardInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(EvolveBuildCardInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (CardId != other.CardId) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Param, other.Param)) return false;
|
|
if (IsEnable != other.IsEnable) return false;
|
|
if(!paramList_.Equals(other.paramList_)) 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 (CardId != 0) hash ^= CardId.GetHashCode();
|
|
if (Param != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Param);
|
|
if (IsEnable != false) hash ^= IsEnable.GetHashCode();
|
|
hash ^= paramList_.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 (CardId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(CardId);
|
|
}
|
|
if (Param != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(Param);
|
|
}
|
|
if (IsEnable != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsEnable);
|
|
}
|
|
paramList_.WriteTo(output, _repeated_paramList_codec);
|
|
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 (CardId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(CardId);
|
|
}
|
|
if (Param != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(Param);
|
|
}
|
|
if (IsEnable != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsEnable);
|
|
}
|
|
paramList_.WriteTo(ref output, _repeated_paramList_codec);
|
|
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 (CardId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CardId);
|
|
}
|
|
if (Param != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (IsEnable != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += paramList_.CalculateSize(_repeated_paramList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(EvolveBuildCardInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.CardId != 0) {
|
|
CardId = other.CardId;
|
|
}
|
|
if (other.Param != 0D) {
|
|
Param = other.Param;
|
|
}
|
|
if (other.IsEnable != false) {
|
|
IsEnable = other.IsEnable;
|
|
}
|
|
paramList_.Add(other.paramList_);
|
|
_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: {
|
|
CardId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 17: {
|
|
Param = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsEnable = input.ReadBool();
|
|
break;
|
|
}
|
|
case 34:
|
|
case 33: {
|
|
paramList_.AddEntriesFrom(input, _repeated_paramList_codec);
|
|
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: {
|
|
CardId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 17: {
|
|
Param = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsEnable = input.ReadBool();
|
|
break;
|
|
}
|
|
case 34:
|
|
case 33: {
|
|
paramList_.AddEntriesFrom(ref input, _repeated_paramList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|