mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-15 16:04:48 +01:00
765 lines
24 KiB
C#
765 lines
24 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: Word.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 Nova.Client {
|
|
|
|
/// <summary>Holder for reflection information generated from Word.proto</summary>
|
|
public static partial class WordReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for Word.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static WordReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CgpXb3JkLnByb3RvIu0BCgRXb3JkEgoKAmlkGAEgASgFEg0KBXRpdGxlGAIg",
|
|
"ASgJEgwKBGRlc2MYAyABKAkSDQoFY29sb3IYBCABKAkSDAoEaWNvbhgFIAEo",
|
|
"CRIOCgZwYXJhbTEYBiABKAkSDgoGcGFyYW0yGAcgASgJEg4KBnBhcmFtMxgI",
|
|
"IAEoCRIOCgZwYXJhbTQYCSABKAkSDgoGcGFyYW01GAogASgJEg4KBnBhcmFt",
|
|
"NhgLIAEoCRIOCgZwYXJhbTcYDCABKAkSDgoGcGFyYW04GA0gASgJEg4KBnBh",
|
|
"cmFtORgOIAEoCRIPCgdwYXJhbTEwGA8gASgJQg6qAgtOb3ZhLkNsaWVudGIG",
|
|
"cHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Word), global::Nova.Client.Word.Parser, new[]{ "Id", "Title", "Desc", "Color", "Icon", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class Word : pb::IMessage<Word>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<Word> _parser = new pb::MessageParser<Word>(() => new Word());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<Word> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Nova.Client.WordReflection.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 Word() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Word(Word other) : this() {
|
|
id_ = other.id_;
|
|
title_ = other.title_;
|
|
desc_ = other.desc_;
|
|
color_ = other.color_;
|
|
icon_ = other.icon_;
|
|
param1_ = other.param1_;
|
|
param2_ = other.param2_;
|
|
param3_ = other.param3_;
|
|
param4_ = other.param4_;
|
|
param5_ = other.param5_;
|
|
param6_ = other.param6_;
|
|
param7_ = other.param7_;
|
|
param8_ = other.param8_;
|
|
param9_ = other.param9_;
|
|
param10_ = other.param10_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public Word Clone() {
|
|
return new Word(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private int id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "title" field.</summary>
|
|
public const int TitleFieldNumber = 2;
|
|
private string title_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Title {
|
|
get { return title_; }
|
|
set {
|
|
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "desc" field.</summary>
|
|
public const int DescFieldNumber = 3;
|
|
private string desc_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc {
|
|
get { return desc_; }
|
|
set {
|
|
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "color" field.</summary>
|
|
public const int ColorFieldNumber = 4;
|
|
private string color_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Color {
|
|
get { return color_; }
|
|
set {
|
|
color_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "icon" field.</summary>
|
|
public const int IconFieldNumber = 5;
|
|
private string icon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Icon {
|
|
get { return icon_; }
|
|
set {
|
|
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param1" field.</summary>
|
|
public const int Param1FieldNumber = 6;
|
|
private string param1_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param1 {
|
|
get { return param1_; }
|
|
set {
|
|
param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param2" field.</summary>
|
|
public const int Param2FieldNumber = 7;
|
|
private string param2_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param2 {
|
|
get { return param2_; }
|
|
set {
|
|
param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param3" field.</summary>
|
|
public const int Param3FieldNumber = 8;
|
|
private string param3_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param3 {
|
|
get { return param3_; }
|
|
set {
|
|
param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param4" field.</summary>
|
|
public const int Param4FieldNumber = 9;
|
|
private string param4_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param4 {
|
|
get { return param4_; }
|
|
set {
|
|
param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param5" field.</summary>
|
|
public const int Param5FieldNumber = 10;
|
|
private string param5_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param5 {
|
|
get { return param5_; }
|
|
set {
|
|
param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param6" field.</summary>
|
|
public const int Param6FieldNumber = 11;
|
|
private string param6_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param6 {
|
|
get { return param6_; }
|
|
set {
|
|
param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param7" field.</summary>
|
|
public const int Param7FieldNumber = 12;
|
|
private string param7_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param7 {
|
|
get { return param7_; }
|
|
set {
|
|
param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param8" field.</summary>
|
|
public const int Param8FieldNumber = 13;
|
|
private string param8_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param8 {
|
|
get { return param8_; }
|
|
set {
|
|
param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param9" field.</summary>
|
|
public const int Param9FieldNumber = 14;
|
|
private string param9_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param9 {
|
|
get { return param9_; }
|
|
set {
|
|
param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param10" field.</summary>
|
|
public const int Param10FieldNumber = 15;
|
|
private string param10_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Param10 {
|
|
get { return param10_; }
|
|
set {
|
|
param10_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Word);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(Word other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (Title != other.Title) return false;
|
|
if (Desc != other.Desc) return false;
|
|
if (Color != other.Color) return false;
|
|
if (Icon != other.Icon) return false;
|
|
if (Param1 != other.Param1) return false;
|
|
if (Param2 != other.Param2) return false;
|
|
if (Param3 != other.Param3) return false;
|
|
if (Param4 != other.Param4) return false;
|
|
if (Param5 != other.Param5) return false;
|
|
if (Param6 != other.Param6) return false;
|
|
if (Param7 != other.Param7) return false;
|
|
if (Param8 != other.Param8) return false;
|
|
if (Param9 != other.Param9) return false;
|
|
if (Param10 != other.Param10) 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 (Id != 0) hash ^= Id.GetHashCode();
|
|
if (Title.Length != 0) hash ^= Title.GetHashCode();
|
|
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
|
if (Color.Length != 0) hash ^= Color.GetHashCode();
|
|
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
|
|
if (Param1.Length != 0) hash ^= Param1.GetHashCode();
|
|
if (Param2.Length != 0) hash ^= Param2.GetHashCode();
|
|
if (Param3.Length != 0) hash ^= Param3.GetHashCode();
|
|
if (Param4.Length != 0) hash ^= Param4.GetHashCode();
|
|
if (Param5.Length != 0) hash ^= Param5.GetHashCode();
|
|
if (Param6.Length != 0) hash ^= Param6.GetHashCode();
|
|
if (Param7.Length != 0) hash ^= Param7.GetHashCode();
|
|
if (Param8.Length != 0) hash ^= Param8.GetHashCode();
|
|
if (Param9.Length != 0) hash ^= Param9.GetHashCode();
|
|
if (Param10.Length != 0) hash ^= Param10.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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Title);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Color.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Color);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (Param1.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Param1);
|
|
}
|
|
if (Param2.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(Param2);
|
|
}
|
|
if (Param3.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(Param3);
|
|
}
|
|
if (Param4.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(Param4);
|
|
}
|
|
if (Param5.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(Param5);
|
|
}
|
|
if (Param6.Length != 0) {
|
|
output.WriteRawTag(90);
|
|
output.WriteString(Param6);
|
|
}
|
|
if (Param7.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Param7);
|
|
}
|
|
if (Param8.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(Param8);
|
|
}
|
|
if (Param9.Length != 0) {
|
|
output.WriteRawTag(114);
|
|
output.WriteString(Param9);
|
|
}
|
|
if (Param10.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(Param10);
|
|
}
|
|
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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Title);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Color.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Color);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (Param1.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Param1);
|
|
}
|
|
if (Param2.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(Param2);
|
|
}
|
|
if (Param3.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(Param3);
|
|
}
|
|
if (Param4.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(Param4);
|
|
}
|
|
if (Param5.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(Param5);
|
|
}
|
|
if (Param6.Length != 0) {
|
|
output.WriteRawTag(90);
|
|
output.WriteString(Param6);
|
|
}
|
|
if (Param7.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Param7);
|
|
}
|
|
if (Param8.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(Param8);
|
|
}
|
|
if (Param9.Length != 0) {
|
|
output.WriteRawTag(114);
|
|
output.WriteString(Param9);
|
|
}
|
|
if (Param10.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(Param10);
|
|
}
|
|
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 (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
|
}
|
|
if (Title.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
|
}
|
|
if (Color.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Color);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
|
|
}
|
|
if (Param1.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1);
|
|
}
|
|
if (Param2.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2);
|
|
}
|
|
if (Param3.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3);
|
|
}
|
|
if (Param4.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4);
|
|
}
|
|
if (Param5.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param5);
|
|
}
|
|
if (Param6.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param6);
|
|
}
|
|
if (Param7.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param7);
|
|
}
|
|
if (Param8.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param8);
|
|
}
|
|
if (Param9.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param9);
|
|
}
|
|
if (Param10.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param10);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(Word other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.Title.Length != 0) {
|
|
Title = other.Title;
|
|
}
|
|
if (other.Desc.Length != 0) {
|
|
Desc = other.Desc;
|
|
}
|
|
if (other.Color.Length != 0) {
|
|
Color = other.Color;
|
|
}
|
|
if (other.Icon.Length != 0) {
|
|
Icon = other.Icon;
|
|
}
|
|
if (other.Param1.Length != 0) {
|
|
Param1 = other.Param1;
|
|
}
|
|
if (other.Param2.Length != 0) {
|
|
Param2 = other.Param2;
|
|
}
|
|
if (other.Param3.Length != 0) {
|
|
Param3 = other.Param3;
|
|
}
|
|
if (other.Param4.Length != 0) {
|
|
Param4 = other.Param4;
|
|
}
|
|
if (other.Param5.Length != 0) {
|
|
Param5 = other.Param5;
|
|
}
|
|
if (other.Param6.Length != 0) {
|
|
Param6 = other.Param6;
|
|
}
|
|
if (other.Param7.Length != 0) {
|
|
Param7 = other.Param7;
|
|
}
|
|
if (other.Param8.Length != 0) {
|
|
Param8 = other.Param8;
|
|
}
|
|
if (other.Param9.Length != 0) {
|
|
Param9 = other.Param9;
|
|
}
|
|
if (other.Param10.Length != 0) {
|
|
Param10 = other.Param10;
|
|
}
|
|
_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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Color = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Param1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
Param2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 66: {
|
|
Param3 = input.ReadString();
|
|
break;
|
|
}
|
|
case 74: {
|
|
Param4 = input.ReadString();
|
|
break;
|
|
}
|
|
case 82: {
|
|
Param5 = input.ReadString();
|
|
break;
|
|
}
|
|
case 90: {
|
|
Param6 = input.ReadString();
|
|
break;
|
|
}
|
|
case 98: {
|
|
Param7 = input.ReadString();
|
|
break;
|
|
}
|
|
case 106: {
|
|
Param8 = input.ReadString();
|
|
break;
|
|
}
|
|
case 114: {
|
|
Param9 = input.ReadString();
|
|
break;
|
|
}
|
|
case 122: {
|
|
Param10 = input.ReadString();
|
|
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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Color = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Param1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
Param2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 66: {
|
|
Param3 = input.ReadString();
|
|
break;
|
|
}
|
|
case 74: {
|
|
Param4 = input.ReadString();
|
|
break;
|
|
}
|
|
case 82: {
|
|
Param5 = input.ReadString();
|
|
break;
|
|
}
|
|
case 90: {
|
|
Param6 = input.ReadString();
|
|
break;
|
|
}
|
|
case 98: {
|
|
Param7 = input.ReadString();
|
|
break;
|
|
}
|
|
case 106: {
|
|
Param8 = input.ReadString();
|
|
break;
|
|
}
|
|
case 114: {
|
|
Param9 = input.ReadString();
|
|
break;
|
|
}
|
|
case 122: {
|
|
Param10 = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|