Files
Novaria/Novaria.Common/Protos/DiscCommonSkill.cs

920 lines
36 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DiscCommonSkill.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 DiscCommonSkill.proto</summary>
public static partial class DiscCommonSkillReflection {
#region Descriptor
/// <summary>File descriptor for DiscCommonSkill.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static DiscCommonSkillReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVEaXNjQ29tbW9uU2tpbGwucHJvdG8iyQMKD0Rpc2NDb21tb25Ta2lsbBIK",
"CgJpZBgBIAEoBRIYChBhY3RpdmVfbm90ZV90eXBlGAIgAygFEhcKD2FjdGl2",
"ZV9ub3RlX251bRgDIAMoBRISCgplZmZlY3RfaWQxGAQgAygFEhIKCmVmZmVj",
"dF9pZDIYBSADKAUSEgoKZWZmZWN0X2lkMxgGIAMoBRISCgplZmZlY3RfaWQ0",
"GAcgAygFEhIKCmVmZmVjdF9pZDUYCCADKAUSEgoKZWZmZWN0X2lkNhgJIAMo",
"BRISCgplZmZlY3RfaWQ3GAogAygFEhIKCmVmZmVjdF9pZDgYCyADKAUSEgoK",
"ZWZmZWN0X2lkORgMIAMoBRITCgtlZmZlY3RfaWQxMBgNIAMoBRITCgtsYXll",
"cl9zY29yZRgOIAMoBRIMCgRuYW1lGA8gASgJEgwKBGljb24YECABKAkSDwoH",
"aWNvbl9iZxgRIAEoCRIMCgRkZXNjGBIgASgJEg4KBnBhcmFtMRgTIAMoCRIO",
"CgZwYXJhbTIYFCADKAkSDgoGcGFyYW0zGBUgAygJEg4KBnBhcmFtNBgWIAMo",
"CRIOCgZwYXJhbTUYFyADKAkSDgoGcGFyYW02GBggAygJQg6qAgtOb3ZhLkNs",
"aWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscCommonSkill), global::Nova.Client.DiscCommonSkill.Parser, new[]{ "Id", "ActiveNoteType", "ActiveNoteNum", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "EffectId5", "EffectId6", "EffectId7", "EffectId8", "EffectId9", "EffectId10", "LayerScore", "Name", "Icon", "IconBg", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DiscCommonSkill : pb::IMessage<DiscCommonSkill>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DiscCommonSkill> _parser = new pb::MessageParser<DiscCommonSkill>(() => new DiscCommonSkill());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DiscCommonSkill> 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.DiscCommonSkillReflection.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 DiscCommonSkill() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DiscCommonSkill(DiscCommonSkill other) : this() {
id_ = other.id_;
activeNoteType_ = other.activeNoteType_.Clone();
activeNoteNum_ = other.activeNoteNum_.Clone();
effectId1_ = other.effectId1_.Clone();
effectId2_ = other.effectId2_.Clone();
effectId3_ = other.effectId3_.Clone();
effectId4_ = other.effectId4_.Clone();
effectId5_ = other.effectId5_.Clone();
effectId6_ = other.effectId6_.Clone();
effectId7_ = other.effectId7_.Clone();
effectId8_ = other.effectId8_.Clone();
effectId9_ = other.effectId9_.Clone();
effectId10_ = other.effectId10_.Clone();
layerScore_ = other.layerScore_.Clone();
name_ = other.name_;
icon_ = other.icon_;
iconBg_ = other.iconBg_;
desc_ = other.desc_;
param1_ = other.param1_.Clone();
param2_ = other.param2_.Clone();
param3_ = other.param3_.Clone();
param4_ = other.param4_.Clone();
param5_ = other.param5_.Clone();
param6_ = other.param6_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DiscCommonSkill Clone() {
return new DiscCommonSkill(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 "active_note_type" field.</summary>
public const int ActiveNoteTypeFieldNumber = 2;
private static readonly pb::FieldCodec<int> _repeated_activeNoteType_codec
= pb::FieldCodec.ForInt32(18);
private readonly pbc::RepeatedField<int> activeNoteType_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> ActiveNoteType {
get { return activeNoteType_; }
}
/// <summary>Field number for the "active_note_num" field.</summary>
public const int ActiveNoteNumFieldNumber = 3;
private static readonly pb::FieldCodec<int> _repeated_activeNoteNum_codec
= pb::FieldCodec.ForInt32(26);
private readonly pbc::RepeatedField<int> activeNoteNum_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> ActiveNoteNum {
get { return activeNoteNum_; }
}
/// <summary>Field number for the "effect_id1" field.</summary>
public const int EffectId1FieldNumber = 4;
private static readonly pb::FieldCodec<int> _repeated_effectId1_codec
= pb::FieldCodec.ForInt32(34);
private readonly pbc::RepeatedField<int> effectId1_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId1 {
get { return effectId1_; }
}
/// <summary>Field number for the "effect_id2" field.</summary>
public const int EffectId2FieldNumber = 5;
private static readonly pb::FieldCodec<int> _repeated_effectId2_codec
= pb::FieldCodec.ForInt32(42);
private readonly pbc::RepeatedField<int> effectId2_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId2 {
get { return effectId2_; }
}
/// <summary>Field number for the "effect_id3" field.</summary>
public const int EffectId3FieldNumber = 6;
private static readonly pb::FieldCodec<int> _repeated_effectId3_codec
= pb::FieldCodec.ForInt32(50);
private readonly pbc::RepeatedField<int> effectId3_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId3 {
get { return effectId3_; }
}
/// <summary>Field number for the "effect_id4" field.</summary>
public const int EffectId4FieldNumber = 7;
private static readonly pb::FieldCodec<int> _repeated_effectId4_codec
= pb::FieldCodec.ForInt32(58);
private readonly pbc::RepeatedField<int> effectId4_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId4 {
get { return effectId4_; }
}
/// <summary>Field number for the "effect_id5" field.</summary>
public const int EffectId5FieldNumber = 8;
private static readonly pb::FieldCodec<int> _repeated_effectId5_codec
= pb::FieldCodec.ForInt32(66);
private readonly pbc::RepeatedField<int> effectId5_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId5 {
get { return effectId5_; }
}
/// <summary>Field number for the "effect_id6" field.</summary>
public const int EffectId6FieldNumber = 9;
private static readonly pb::FieldCodec<int> _repeated_effectId6_codec
= pb::FieldCodec.ForInt32(74);
private readonly pbc::RepeatedField<int> effectId6_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId6 {
get { return effectId6_; }
}
/// <summary>Field number for the "effect_id7" field.</summary>
public const int EffectId7FieldNumber = 10;
private static readonly pb::FieldCodec<int> _repeated_effectId7_codec
= pb::FieldCodec.ForInt32(82);
private readonly pbc::RepeatedField<int> effectId7_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId7 {
get { return effectId7_; }
}
/// <summary>Field number for the "effect_id8" field.</summary>
public const int EffectId8FieldNumber = 11;
private static readonly pb::FieldCodec<int> _repeated_effectId8_codec
= pb::FieldCodec.ForInt32(90);
private readonly pbc::RepeatedField<int> effectId8_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId8 {
get { return effectId8_; }
}
/// <summary>Field number for the "effect_id9" field.</summary>
public const int EffectId9FieldNumber = 12;
private static readonly pb::FieldCodec<int> _repeated_effectId9_codec
= pb::FieldCodec.ForInt32(98);
private readonly pbc::RepeatedField<int> effectId9_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId9 {
get { return effectId9_; }
}
/// <summary>Field number for the "effect_id10" field.</summary>
public const int EffectId10FieldNumber = 13;
private static readonly pb::FieldCodec<int> _repeated_effectId10_codec
= pb::FieldCodec.ForInt32(106);
private readonly pbc::RepeatedField<int> effectId10_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EffectId10 {
get { return effectId10_; }
}
/// <summary>Field number for the "layer_score" field.</summary>
public const int LayerScoreFieldNumber = 14;
private static readonly pb::FieldCodec<int> _repeated_layerScore_codec
= pb::FieldCodec.ForInt32(114);
private readonly pbc::RepeatedField<int> layerScore_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> LayerScore {
get { return layerScore_; }
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 15;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "icon" field.</summary>
public const int IconFieldNumber = 16;
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 "icon_bg" field.</summary>
public const int IconBgFieldNumber = 17;
private string iconBg_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string IconBg {
get { return iconBg_; }
set {
iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "desc" field.</summary>
public const int DescFieldNumber = 18;
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 "param1" field.</summary>
public const int Param1FieldNumber = 19;
private static readonly pb::FieldCodec<string> _repeated_param1_codec
= pb::FieldCodec.ForString(154);
private readonly pbc::RepeatedField<string> param1_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Param1 {
get { return param1_; }
}
/// <summary>Field number for the "param2" field.</summary>
public const int Param2FieldNumber = 20;
private static readonly pb::FieldCodec<string> _repeated_param2_codec
= pb::FieldCodec.ForString(162);
private readonly pbc::RepeatedField<string> param2_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Param2 {
get { return param2_; }
}
/// <summary>Field number for the "param3" field.</summary>
public const int Param3FieldNumber = 21;
private static readonly pb::FieldCodec<string> _repeated_param3_codec
= pb::FieldCodec.ForString(170);
private readonly pbc::RepeatedField<string> param3_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Param3 {
get { return param3_; }
}
/// <summary>Field number for the "param4" field.</summary>
public const int Param4FieldNumber = 22;
private static readonly pb::FieldCodec<string> _repeated_param4_codec
= pb::FieldCodec.ForString(178);
private readonly pbc::RepeatedField<string> param4_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Param4 {
get { return param4_; }
}
/// <summary>Field number for the "param5" field.</summary>
public const int Param5FieldNumber = 23;
private static readonly pb::FieldCodec<string> _repeated_param5_codec
= pb::FieldCodec.ForString(186);
private readonly pbc::RepeatedField<string> param5_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Param5 {
get { return param5_; }
}
/// <summary>Field number for the "param6" field.</summary>
public const int Param6FieldNumber = 24;
private static readonly pb::FieldCodec<string> _repeated_param6_codec
= pb::FieldCodec.ForString(194);
private readonly pbc::RepeatedField<string> param6_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Param6 {
get { return param6_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DiscCommonSkill);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DiscCommonSkill other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if(!activeNoteType_.Equals(other.activeNoteType_)) return false;
if(!activeNoteNum_.Equals(other.activeNoteNum_)) return false;
if(!effectId1_.Equals(other.effectId1_)) return false;
if(!effectId2_.Equals(other.effectId2_)) return false;
if(!effectId3_.Equals(other.effectId3_)) return false;
if(!effectId4_.Equals(other.effectId4_)) return false;
if(!effectId5_.Equals(other.effectId5_)) return false;
if(!effectId6_.Equals(other.effectId6_)) return false;
if(!effectId7_.Equals(other.effectId7_)) return false;
if(!effectId8_.Equals(other.effectId8_)) return false;
if(!effectId9_.Equals(other.effectId9_)) return false;
if(!effectId10_.Equals(other.effectId10_)) return false;
if(!layerScore_.Equals(other.layerScore_)) return false;
if (Name != other.Name) return false;
if (Icon != other.Icon) return false;
if (IconBg != other.IconBg) return false;
if (Desc != other.Desc) return false;
if(!param1_.Equals(other.param1_)) return false;
if(!param2_.Equals(other.param2_)) return false;
if(!param3_.Equals(other.param3_)) return false;
if(!param4_.Equals(other.param4_)) return false;
if(!param5_.Equals(other.param5_)) return false;
if(!param6_.Equals(other.param6_)) 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();
hash ^= activeNoteType_.GetHashCode();
hash ^= activeNoteNum_.GetHashCode();
hash ^= effectId1_.GetHashCode();
hash ^= effectId2_.GetHashCode();
hash ^= effectId3_.GetHashCode();
hash ^= effectId4_.GetHashCode();
hash ^= effectId5_.GetHashCode();
hash ^= effectId6_.GetHashCode();
hash ^= effectId7_.GetHashCode();
hash ^= effectId8_.GetHashCode();
hash ^= effectId9_.GetHashCode();
hash ^= effectId10_.GetHashCode();
hash ^= layerScore_.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (IconBg.Length != 0) hash ^= IconBg.GetHashCode();
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
hash ^= param1_.GetHashCode();
hash ^= param2_.GetHashCode();
hash ^= param3_.GetHashCode();
hash ^= param4_.GetHashCode();
hash ^= param5_.GetHashCode();
hash ^= param6_.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);
}
activeNoteType_.WriteTo(output, _repeated_activeNoteType_codec);
activeNoteNum_.WriteTo(output, _repeated_activeNoteNum_codec);
effectId1_.WriteTo(output, _repeated_effectId1_codec);
effectId2_.WriteTo(output, _repeated_effectId2_codec);
effectId3_.WriteTo(output, _repeated_effectId3_codec);
effectId4_.WriteTo(output, _repeated_effectId4_codec);
effectId5_.WriteTo(output, _repeated_effectId5_codec);
effectId6_.WriteTo(output, _repeated_effectId6_codec);
effectId7_.WriteTo(output, _repeated_effectId7_codec);
effectId8_.WriteTo(output, _repeated_effectId8_codec);
effectId9_.WriteTo(output, _repeated_effectId9_codec);
effectId10_.WriteTo(output, _repeated_effectId10_codec);
layerScore_.WriteTo(output, _repeated_layerScore_codec);
if (Name.Length != 0) {
output.WriteRawTag(122);
output.WriteString(Name);
}
if (Icon.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Icon);
}
if (IconBg.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(IconBg);
}
if (Desc.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(Desc);
}
param1_.WriteTo(output, _repeated_param1_codec);
param2_.WriteTo(output, _repeated_param2_codec);
param3_.WriteTo(output, _repeated_param3_codec);
param4_.WriteTo(output, _repeated_param4_codec);
param5_.WriteTo(output, _repeated_param5_codec);
param6_.WriteTo(output, _repeated_param6_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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
activeNoteType_.WriteTo(ref output, _repeated_activeNoteType_codec);
activeNoteNum_.WriteTo(ref output, _repeated_activeNoteNum_codec);
effectId1_.WriteTo(ref output, _repeated_effectId1_codec);
effectId2_.WriteTo(ref output, _repeated_effectId2_codec);
effectId3_.WriteTo(ref output, _repeated_effectId3_codec);
effectId4_.WriteTo(ref output, _repeated_effectId4_codec);
effectId5_.WriteTo(ref output, _repeated_effectId5_codec);
effectId6_.WriteTo(ref output, _repeated_effectId6_codec);
effectId7_.WriteTo(ref output, _repeated_effectId7_codec);
effectId8_.WriteTo(ref output, _repeated_effectId8_codec);
effectId9_.WriteTo(ref output, _repeated_effectId9_codec);
effectId10_.WriteTo(ref output, _repeated_effectId10_codec);
layerScore_.WriteTo(ref output, _repeated_layerScore_codec);
if (Name.Length != 0) {
output.WriteRawTag(122);
output.WriteString(Name);
}
if (Icon.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Icon);
}
if (IconBg.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(IconBg);
}
if (Desc.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(Desc);
}
param1_.WriteTo(ref output, _repeated_param1_codec);
param2_.WriteTo(ref output, _repeated_param2_codec);
param3_.WriteTo(ref output, _repeated_param3_codec);
param4_.WriteTo(ref output, _repeated_param4_codec);
param5_.WriteTo(ref output, _repeated_param5_codec);
param6_.WriteTo(ref output, _repeated_param6_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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
size += activeNoteType_.CalculateSize(_repeated_activeNoteType_codec);
size += activeNoteNum_.CalculateSize(_repeated_activeNoteNum_codec);
size += effectId1_.CalculateSize(_repeated_effectId1_codec);
size += effectId2_.CalculateSize(_repeated_effectId2_codec);
size += effectId3_.CalculateSize(_repeated_effectId3_codec);
size += effectId4_.CalculateSize(_repeated_effectId4_codec);
size += effectId5_.CalculateSize(_repeated_effectId5_codec);
size += effectId6_.CalculateSize(_repeated_effectId6_codec);
size += effectId7_.CalculateSize(_repeated_effectId7_codec);
size += effectId8_.CalculateSize(_repeated_effectId8_codec);
size += effectId9_.CalculateSize(_repeated_effectId9_codec);
size += effectId10_.CalculateSize(_repeated_effectId10_codec);
size += layerScore_.CalculateSize(_repeated_layerScore_codec);
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Icon.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (IconBg.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(IconBg);
}
if (Desc.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc);
}
size += param1_.CalculateSize(_repeated_param1_codec);
size += param2_.CalculateSize(_repeated_param2_codec);
size += param3_.CalculateSize(_repeated_param3_codec);
size += param4_.CalculateSize(_repeated_param4_codec);
size += param5_.CalculateSize(_repeated_param5_codec);
size += param6_.CalculateSize(_repeated_param6_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DiscCommonSkill other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
activeNoteType_.Add(other.activeNoteType_);
activeNoteNum_.Add(other.activeNoteNum_);
effectId1_.Add(other.effectId1_);
effectId2_.Add(other.effectId2_);
effectId3_.Add(other.effectId3_);
effectId4_.Add(other.effectId4_);
effectId5_.Add(other.effectId5_);
effectId6_.Add(other.effectId6_);
effectId7_.Add(other.effectId7_);
effectId8_.Add(other.effectId8_);
effectId9_.Add(other.effectId9_);
effectId10_.Add(other.effectId10_);
layerScore_.Add(other.layerScore_);
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.IconBg.Length != 0) {
IconBg = other.IconBg;
}
if (other.Desc.Length != 0) {
Desc = other.Desc;
}
param1_.Add(other.param1_);
param2_.Add(other.param2_);
param3_.Add(other.param3_);
param4_.Add(other.param4_);
param5_.Add(other.param5_);
param6_.Add(other.param6_);
_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:
case 16: {
activeNoteType_.AddEntriesFrom(input, _repeated_activeNoteType_codec);
break;
}
case 26:
case 24: {
activeNoteNum_.AddEntriesFrom(input, _repeated_activeNoteNum_codec);
break;
}
case 34:
case 32: {
effectId1_.AddEntriesFrom(input, _repeated_effectId1_codec);
break;
}
case 42:
case 40: {
effectId2_.AddEntriesFrom(input, _repeated_effectId2_codec);
break;
}
case 50:
case 48: {
effectId3_.AddEntriesFrom(input, _repeated_effectId3_codec);
break;
}
case 58:
case 56: {
effectId4_.AddEntriesFrom(input, _repeated_effectId4_codec);
break;
}
case 66:
case 64: {
effectId5_.AddEntriesFrom(input, _repeated_effectId5_codec);
break;
}
case 74:
case 72: {
effectId6_.AddEntriesFrom(input, _repeated_effectId6_codec);
break;
}
case 82:
case 80: {
effectId7_.AddEntriesFrom(input, _repeated_effectId7_codec);
break;
}
case 90:
case 88: {
effectId8_.AddEntriesFrom(input, _repeated_effectId8_codec);
break;
}
case 98:
case 96: {
effectId9_.AddEntriesFrom(input, _repeated_effectId9_codec);
break;
}
case 106:
case 104: {
effectId10_.AddEntriesFrom(input, _repeated_effectId10_codec);
break;
}
case 114:
case 112: {
layerScore_.AddEntriesFrom(input, _repeated_layerScore_codec);
break;
}
case 122: {
Name = input.ReadString();
break;
}
case 130: {
Icon = input.ReadString();
break;
}
case 138: {
IconBg = input.ReadString();
break;
}
case 146: {
Desc = input.ReadString();
break;
}
case 154: {
param1_.AddEntriesFrom(input, _repeated_param1_codec);
break;
}
case 162: {
param2_.AddEntriesFrom(input, _repeated_param2_codec);
break;
}
case 170: {
param3_.AddEntriesFrom(input, _repeated_param3_codec);
break;
}
case 178: {
param4_.AddEntriesFrom(input, _repeated_param4_codec);
break;
}
case 186: {
param5_.AddEntriesFrom(input, _repeated_param5_codec);
break;
}
case 194: {
param6_.AddEntriesFrom(input, _repeated_param6_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) {
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:
case 16: {
activeNoteType_.AddEntriesFrom(ref input, _repeated_activeNoteType_codec);
break;
}
case 26:
case 24: {
activeNoteNum_.AddEntriesFrom(ref input, _repeated_activeNoteNum_codec);
break;
}
case 34:
case 32: {
effectId1_.AddEntriesFrom(ref input, _repeated_effectId1_codec);
break;
}
case 42:
case 40: {
effectId2_.AddEntriesFrom(ref input, _repeated_effectId2_codec);
break;
}
case 50:
case 48: {
effectId3_.AddEntriesFrom(ref input, _repeated_effectId3_codec);
break;
}
case 58:
case 56: {
effectId4_.AddEntriesFrom(ref input, _repeated_effectId4_codec);
break;
}
case 66:
case 64: {
effectId5_.AddEntriesFrom(ref input, _repeated_effectId5_codec);
break;
}
case 74:
case 72: {
effectId6_.AddEntriesFrom(ref input, _repeated_effectId6_codec);
break;
}
case 82:
case 80: {
effectId7_.AddEntriesFrom(ref input, _repeated_effectId7_codec);
break;
}
case 90:
case 88: {
effectId8_.AddEntriesFrom(ref input, _repeated_effectId8_codec);
break;
}
case 98:
case 96: {
effectId9_.AddEntriesFrom(ref input, _repeated_effectId9_codec);
break;
}
case 106:
case 104: {
effectId10_.AddEntriesFrom(ref input, _repeated_effectId10_codec);
break;
}
case 114:
case 112: {
layerScore_.AddEntriesFrom(ref input, _repeated_layerScore_codec);
break;
}
case 122: {
Name = input.ReadString();
break;
}
case 130: {
Icon = input.ReadString();
break;
}
case 138: {
IconBg = input.ReadString();
break;
}
case 146: {
Desc = input.ReadString();
break;
}
case 154: {
param1_.AddEntriesFrom(ref input, _repeated_param1_codec);
break;
}
case 162: {
param2_.AddEntriesFrom(ref input, _repeated_param2_codec);
break;
}
case 170: {
param3_.AddEntriesFrom(ref input, _repeated_param3_codec);
break;
}
case 178: {
param4_.AddEntriesFrom(ref input, _repeated_param4_codec);
break;
}
case 186: {
param5_.AddEntriesFrom(ref input, _repeated_param5_codec);
break;
}
case 194: {
param6_.AddEntriesFrom(ref input, _repeated_param6_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code