mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-15 16:04:48 +01:00
840 lines
26 KiB
C#
840 lines
26 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PerkPassiveSkill.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 PerkPassiveSkill.proto</summary>
|
|
public static partial class PerkPassiveSkillReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PerkPassiveSkill.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PerkPassiveSkillReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChZQZXJrUGFzc2l2ZVNraWxsLnByb3RvIq4CChBQZXJrUGFzc2l2ZVNraWxs",
|
|
"EgoKAmlkGAEgASgFEhEKCXNoYXJlX2NfZBgCIAEoCBITCgtzaGFyZV90aW1l",
|
|
"cxgDIAEoCBISCgplZmZlY3RfaWQxGAQgASgFEhIKCmVmZmVjdF9pZDIYBSAB",
|
|
"KAUSEgoKZWZmZWN0X2lkMxgGIAEoBRISCgplZmZlY3RfaWQ0GAcgASgFEgwK",
|
|
"BG5hbWUYCCABKAkSDAoEZGVzYxgJIAEoCRINCgVkZXNjMRgKIAEoCRIOCgZw",
|
|
"YXJhbTEYCyABKAkSDQoFZGVzYzIYDCABKAkSDgoGcGFyYW0yGA0gASgJEg0K",
|
|
"BWRlc2MzGA4gASgJEg4KBnBhcmFtMxgPIAEoCRINCgVkZXNjNBgQIAEoCRIO",
|
|
"CgZwYXJhbTQYESABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PerkPassiveSkill), global::Nova.Client.PerkPassiveSkill.Parser, new[]{ "Id", "ShareCD", "ShareTimes", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "Name", "Desc", "Desc1", "Param1", "Desc2", "Param2", "Desc3", "Param3", "Desc4", "Param4" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PerkPassiveSkill : pb::IMessage<PerkPassiveSkill>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PerkPassiveSkill> _parser = new pb::MessageParser<PerkPassiveSkill>(() => new PerkPassiveSkill());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PerkPassiveSkill> 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.PerkPassiveSkillReflection.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 PerkPassiveSkill() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PerkPassiveSkill(PerkPassiveSkill other) : this() {
|
|
id_ = other.id_;
|
|
shareCD_ = other.shareCD_;
|
|
shareTimes_ = other.shareTimes_;
|
|
effectId1_ = other.effectId1_;
|
|
effectId2_ = other.effectId2_;
|
|
effectId3_ = other.effectId3_;
|
|
effectId4_ = other.effectId4_;
|
|
name_ = other.name_;
|
|
desc_ = other.desc_;
|
|
desc1_ = other.desc1_;
|
|
param1_ = other.param1_;
|
|
desc2_ = other.desc2_;
|
|
param2_ = other.param2_;
|
|
desc3_ = other.desc3_;
|
|
param3_ = other.param3_;
|
|
desc4_ = other.desc4_;
|
|
param4_ = other.param4_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PerkPassiveSkill Clone() {
|
|
return new PerkPassiveSkill(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 "share_c_d" field.</summary>
|
|
public const int ShareCDFieldNumber = 2;
|
|
private bool shareCD_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool ShareCD {
|
|
get { return shareCD_; }
|
|
set {
|
|
shareCD_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "share_times" field.</summary>
|
|
public const int ShareTimesFieldNumber = 3;
|
|
private bool shareTimes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool ShareTimes {
|
|
get { return shareTimes_; }
|
|
set {
|
|
shareTimes_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "effect_id1" field.</summary>
|
|
public const int EffectId1FieldNumber = 4;
|
|
private int effectId1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int EffectId1 {
|
|
get { return effectId1_; }
|
|
set {
|
|
effectId1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "effect_id2" field.</summary>
|
|
public const int EffectId2FieldNumber = 5;
|
|
private int effectId2_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int EffectId2 {
|
|
get { return effectId2_; }
|
|
set {
|
|
effectId2_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "effect_id3" field.</summary>
|
|
public const int EffectId3FieldNumber = 6;
|
|
private int effectId3_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int EffectId3 {
|
|
get { return effectId3_; }
|
|
set {
|
|
effectId3_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "effect_id4" field.</summary>
|
|
public const int EffectId4FieldNumber = 7;
|
|
private int effectId4_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int EffectId4 {
|
|
get { return effectId4_; }
|
|
set {
|
|
effectId4_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 8;
|
|
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 "desc" field.</summary>
|
|
public const int DescFieldNumber = 9;
|
|
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 "desc1" field.</summary>
|
|
public const int Desc1FieldNumber = 10;
|
|
private string desc1_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc1 {
|
|
get { return desc1_; }
|
|
set {
|
|
desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param1" field.</summary>
|
|
public const int Param1FieldNumber = 11;
|
|
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 "desc2" field.</summary>
|
|
public const int Desc2FieldNumber = 12;
|
|
private string desc2_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc2 {
|
|
get { return desc2_; }
|
|
set {
|
|
desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param2" field.</summary>
|
|
public const int Param2FieldNumber = 13;
|
|
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 "desc3" field.</summary>
|
|
public const int Desc3FieldNumber = 14;
|
|
private string desc3_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc3 {
|
|
get { return desc3_; }
|
|
set {
|
|
desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param3" field.</summary>
|
|
public const int Param3FieldNumber = 15;
|
|
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 "desc4" field.</summary>
|
|
public const int Desc4FieldNumber = 16;
|
|
private string desc4_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Desc4 {
|
|
get { return desc4_; }
|
|
set {
|
|
desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "param4" field.</summary>
|
|
public const int Param4FieldNumber = 17;
|
|
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");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PerkPassiveSkill);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PerkPassiveSkill other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (ShareCD != other.ShareCD) return false;
|
|
if (ShareTimes != other.ShareTimes) return false;
|
|
if (EffectId1 != other.EffectId1) return false;
|
|
if (EffectId2 != other.EffectId2) return false;
|
|
if (EffectId3 != other.EffectId3) return false;
|
|
if (EffectId4 != other.EffectId4) return false;
|
|
if (Name != other.Name) return false;
|
|
if (Desc != other.Desc) return false;
|
|
if (Desc1 != other.Desc1) return false;
|
|
if (Param1 != other.Param1) return false;
|
|
if (Desc2 != other.Desc2) return false;
|
|
if (Param2 != other.Param2) return false;
|
|
if (Desc3 != other.Desc3) return false;
|
|
if (Param3 != other.Param3) return false;
|
|
if (Desc4 != other.Desc4) return false;
|
|
if (Param4 != other.Param4) 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 (ShareCD != false) hash ^= ShareCD.GetHashCode();
|
|
if (ShareTimes != false) hash ^= ShareTimes.GetHashCode();
|
|
if (EffectId1 != 0) hash ^= EffectId1.GetHashCode();
|
|
if (EffectId2 != 0) hash ^= EffectId2.GetHashCode();
|
|
if (EffectId3 != 0) hash ^= EffectId3.GetHashCode();
|
|
if (EffectId4 != 0) hash ^= EffectId4.GetHashCode();
|
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
|
if (Desc1.Length != 0) hash ^= Desc1.GetHashCode();
|
|
if (Param1.Length != 0) hash ^= Param1.GetHashCode();
|
|
if (Desc2.Length != 0) hash ^= Desc2.GetHashCode();
|
|
if (Param2.Length != 0) hash ^= Param2.GetHashCode();
|
|
if (Desc3.Length != 0) hash ^= Desc3.GetHashCode();
|
|
if (Param3.Length != 0) hash ^= Param3.GetHashCode();
|
|
if (Desc4.Length != 0) hash ^= Desc4.GetHashCode();
|
|
if (Param4.Length != 0) hash ^= Param4.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 (ShareCD != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(ShareCD);
|
|
}
|
|
if (ShareTimes != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(ShareTimes);
|
|
}
|
|
if (EffectId1 != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(EffectId1);
|
|
}
|
|
if (EffectId2 != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(EffectId2);
|
|
}
|
|
if (EffectId3 != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(EffectId3);
|
|
}
|
|
if (EffectId4 != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(EffectId4);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(Name);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Desc1.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(Desc1);
|
|
}
|
|
if (Param1.Length != 0) {
|
|
output.WriteRawTag(90);
|
|
output.WriteString(Param1);
|
|
}
|
|
if (Desc2.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Desc2);
|
|
}
|
|
if (Param2.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(Param2);
|
|
}
|
|
if (Desc3.Length != 0) {
|
|
output.WriteRawTag(114);
|
|
output.WriteString(Desc3);
|
|
}
|
|
if (Param3.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(Param3);
|
|
}
|
|
if (Desc4.Length != 0) {
|
|
output.WriteRawTag(130, 1);
|
|
output.WriteString(Desc4);
|
|
}
|
|
if (Param4.Length != 0) {
|
|
output.WriteRawTag(138, 1);
|
|
output.WriteString(Param4);
|
|
}
|
|
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 (ShareCD != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(ShareCD);
|
|
}
|
|
if (ShareTimes != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(ShareTimes);
|
|
}
|
|
if (EffectId1 != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(EffectId1);
|
|
}
|
|
if (EffectId2 != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(EffectId2);
|
|
}
|
|
if (EffectId3 != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(EffectId3);
|
|
}
|
|
if (EffectId4 != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(EffectId4);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(Name);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(74);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Desc1.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(Desc1);
|
|
}
|
|
if (Param1.Length != 0) {
|
|
output.WriteRawTag(90);
|
|
output.WriteString(Param1);
|
|
}
|
|
if (Desc2.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Desc2);
|
|
}
|
|
if (Param2.Length != 0) {
|
|
output.WriteRawTag(106);
|
|
output.WriteString(Param2);
|
|
}
|
|
if (Desc3.Length != 0) {
|
|
output.WriteRawTag(114);
|
|
output.WriteString(Desc3);
|
|
}
|
|
if (Param3.Length != 0) {
|
|
output.WriteRawTag(122);
|
|
output.WriteString(Param3);
|
|
}
|
|
if (Desc4.Length != 0) {
|
|
output.WriteRawTag(130, 1);
|
|
output.WriteString(Desc4);
|
|
}
|
|
if (Param4.Length != 0) {
|
|
output.WriteRawTag(138, 1);
|
|
output.WriteString(Param4);
|
|
}
|
|
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 (ShareCD != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ShareTimes != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (EffectId1 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId1);
|
|
}
|
|
if (EffectId2 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId2);
|
|
}
|
|
if (EffectId3 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId3);
|
|
}
|
|
if (EffectId4 != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId4);
|
|
}
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
|
}
|
|
if (Desc1.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1);
|
|
}
|
|
if (Param1.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1);
|
|
}
|
|
if (Desc2.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2);
|
|
}
|
|
if (Param2.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2);
|
|
}
|
|
if (Desc3.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3);
|
|
}
|
|
if (Param3.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3);
|
|
}
|
|
if (Desc4.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc4);
|
|
}
|
|
if (Param4.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PerkPassiveSkill other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.ShareCD != false) {
|
|
ShareCD = other.ShareCD;
|
|
}
|
|
if (other.ShareTimes != false) {
|
|
ShareTimes = other.ShareTimes;
|
|
}
|
|
if (other.EffectId1 != 0) {
|
|
EffectId1 = other.EffectId1;
|
|
}
|
|
if (other.EffectId2 != 0) {
|
|
EffectId2 = other.EffectId2;
|
|
}
|
|
if (other.EffectId3 != 0) {
|
|
EffectId3 = other.EffectId3;
|
|
}
|
|
if (other.EffectId4 != 0) {
|
|
EffectId4 = other.EffectId4;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
if (other.Desc.Length != 0) {
|
|
Desc = other.Desc;
|
|
}
|
|
if (other.Desc1.Length != 0) {
|
|
Desc1 = other.Desc1;
|
|
}
|
|
if (other.Param1.Length != 0) {
|
|
Param1 = other.Param1;
|
|
}
|
|
if (other.Desc2.Length != 0) {
|
|
Desc2 = other.Desc2;
|
|
}
|
|
if (other.Param2.Length != 0) {
|
|
Param2 = other.Param2;
|
|
}
|
|
if (other.Desc3.Length != 0) {
|
|
Desc3 = other.Desc3;
|
|
}
|
|
if (other.Param3.Length != 0) {
|
|
Param3 = other.Param3;
|
|
}
|
|
if (other.Desc4.Length != 0) {
|
|
Desc4 = other.Desc4;
|
|
}
|
|
if (other.Param4.Length != 0) {
|
|
Param4 = other.Param4;
|
|
}
|
|
_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 16: {
|
|
ShareCD = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ShareTimes = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
EffectId1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
EffectId2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
EffectId3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
EffectId4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 74: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 82: {
|
|
Desc1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 90: {
|
|
Param1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 98: {
|
|
Desc2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 106: {
|
|
Param2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 114: {
|
|
Desc3 = input.ReadString();
|
|
break;
|
|
}
|
|
case 122: {
|
|
Param3 = input.ReadString();
|
|
break;
|
|
}
|
|
case 130: {
|
|
Desc4 = input.ReadString();
|
|
break;
|
|
}
|
|
case 138: {
|
|
Param4 = 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 16: {
|
|
ShareCD = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ShareTimes = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
EffectId1 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
EffectId2 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
EffectId3 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
EffectId4 = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 74: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 82: {
|
|
Desc1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 90: {
|
|
Param1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 98: {
|
|
Desc2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 106: {
|
|
Param2 = input.ReadString();
|
|
break;
|
|
}
|
|
case 114: {
|
|
Desc3 = input.ReadString();
|
|
break;
|
|
}
|
|
case 122: {
|
|
Param3 = input.ReadString();
|
|
break;
|
|
}
|
|
case 130: {
|
|
Desc4 = input.ReadString();
|
|
break;
|
|
}
|
|
case 138: {
|
|
Param4 = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|