mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-16 08:25:32 +01:00
767 lines
25 KiB
C#
767 lines
25 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: MonsterSkin.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 MonsterSkin.proto</summary>
|
|
public static partial class MonsterSkinReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for MonsterSkin.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static MonsterSkinReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFNb25zdGVyU2tpbi5wcm90byLOAgoLTW9uc3RlclNraW4SCgoCaWQYASAB",
|
|
"KAUSDAoEbmFtZRgCIAEoCRIMCgRkZXNjGAMgASgJEgwKBGljb24YBCABKAkS",
|
|
"EQoJaGludF9pY29uGAUgASgJEg0KBW1vZGVsGAYgASgJEhkKEXJ1bl9hbmlt",
|
|
"YXRpb25fc3BkGAcgASgFEhoKEndhbGtfYW5pbWF0aW9uX3NwZBgIIAEoBRIS",
|
|
"CgpiYXJfaGVpZ2h0GAkgASgFEhMKC21vZGVsX3NjYWxlGAogASgFEhYKDmJ1",
|
|
"ZmZfZl94X3NjYWxlGAsgASgFEhYKDmNvbGxpZGVyX3NjYWxlGAwgASgFEhsK",
|
|
"E2ZvcmJpZGRlbl9iZWhpdF9yb3QYDSABKAgSGgoSZWZmZWN0X3NjYWxlX3Zh",
|
|
"bHVlGA4gASgFEh4KFnRhZ19lZmZlY3Rfc2NhbGVfdmFsdWUYDyABKAVCDqoC",
|
|
"C05vdmEuQ2xpZW50YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterSkin), global::Nova.Client.MonsterSkin.Parser, new[]{ "Id", "Name", "Desc", "Icon", "HintIcon", "Model", "RunAnimationSpd", "WalkAnimationSpd", "BarHeight", "ModelScale", "BuffFXScale", "ColliderScale", "ForbiddenBehitRot", "EffectScaleValue", "TagEffectScaleValue" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MonsterSkin : pb::IMessage<MonsterSkin>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MonsterSkin> _parser = new pb::MessageParser<MonsterSkin>(() => new MonsterSkin());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MonsterSkin> 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.MonsterSkinReflection.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 MonsterSkin() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MonsterSkin(MonsterSkin other) : this() {
|
|
id_ = other.id_;
|
|
name_ = other.name_;
|
|
desc_ = other.desc_;
|
|
icon_ = other.icon_;
|
|
hintIcon_ = other.hintIcon_;
|
|
model_ = other.model_;
|
|
runAnimationSpd_ = other.runAnimationSpd_;
|
|
walkAnimationSpd_ = other.walkAnimationSpd_;
|
|
barHeight_ = other.barHeight_;
|
|
modelScale_ = other.modelScale_;
|
|
buffFXScale_ = other.buffFXScale_;
|
|
colliderScale_ = other.colliderScale_;
|
|
forbiddenBehitRot_ = other.forbiddenBehitRot_;
|
|
effectScaleValue_ = other.effectScaleValue_;
|
|
tagEffectScaleValue_ = other.tagEffectScaleValue_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MonsterSkin Clone() {
|
|
return new MonsterSkin(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 "name" field.</summary>
|
|
public const int NameFieldNumber = 2;
|
|
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 = 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 "icon" field.</summary>
|
|
public const int IconFieldNumber = 4;
|
|
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 "hint_icon" field.</summary>
|
|
public const int HintIconFieldNumber = 5;
|
|
private string hintIcon_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string HintIcon {
|
|
get { return hintIcon_; }
|
|
set {
|
|
hintIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "model" field.</summary>
|
|
public const int ModelFieldNumber = 6;
|
|
private string model_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Model {
|
|
get { return model_; }
|
|
set {
|
|
model_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "run_animation_spd" field.</summary>
|
|
public const int RunAnimationSpdFieldNumber = 7;
|
|
private int runAnimationSpd_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int RunAnimationSpd {
|
|
get { return runAnimationSpd_; }
|
|
set {
|
|
runAnimationSpd_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "walk_animation_spd" field.</summary>
|
|
public const int WalkAnimationSpdFieldNumber = 8;
|
|
private int walkAnimationSpd_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int WalkAnimationSpd {
|
|
get { return walkAnimationSpd_; }
|
|
set {
|
|
walkAnimationSpd_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "bar_height" field.</summary>
|
|
public const int BarHeightFieldNumber = 9;
|
|
private int barHeight_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int BarHeight {
|
|
get { return barHeight_; }
|
|
set {
|
|
barHeight_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "model_scale" field.</summary>
|
|
public const int ModelScaleFieldNumber = 10;
|
|
private int modelScale_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ModelScale {
|
|
get { return modelScale_; }
|
|
set {
|
|
modelScale_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "buff_f_x_scale" field.</summary>
|
|
public const int BuffFXScaleFieldNumber = 11;
|
|
private int buffFXScale_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int BuffFXScale {
|
|
get { return buffFXScale_; }
|
|
set {
|
|
buffFXScale_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "collider_scale" field.</summary>
|
|
public const int ColliderScaleFieldNumber = 12;
|
|
private int colliderScale_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ColliderScale {
|
|
get { return colliderScale_; }
|
|
set {
|
|
colliderScale_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "forbidden_behit_rot" field.</summary>
|
|
public const int ForbiddenBehitRotFieldNumber = 13;
|
|
private bool forbiddenBehitRot_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool ForbiddenBehitRot {
|
|
get { return forbiddenBehitRot_; }
|
|
set {
|
|
forbiddenBehitRot_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "effect_scale_value" field.</summary>
|
|
public const int EffectScaleValueFieldNumber = 14;
|
|
private int effectScaleValue_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int EffectScaleValue {
|
|
get { return effectScaleValue_; }
|
|
set {
|
|
effectScaleValue_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "tag_effect_scale_value" field.</summary>
|
|
public const int TagEffectScaleValueFieldNumber = 15;
|
|
private int tagEffectScaleValue_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int TagEffectScaleValue {
|
|
get { return tagEffectScaleValue_; }
|
|
set {
|
|
tagEffectScaleValue_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MonsterSkin);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MonsterSkin other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (Name != other.Name) return false;
|
|
if (Desc != other.Desc) return false;
|
|
if (Icon != other.Icon) return false;
|
|
if (HintIcon != other.HintIcon) return false;
|
|
if (Model != other.Model) return false;
|
|
if (RunAnimationSpd != other.RunAnimationSpd) return false;
|
|
if (WalkAnimationSpd != other.WalkAnimationSpd) return false;
|
|
if (BarHeight != other.BarHeight) return false;
|
|
if (ModelScale != other.ModelScale) return false;
|
|
if (BuffFXScale != other.BuffFXScale) return false;
|
|
if (ColliderScale != other.ColliderScale) return false;
|
|
if (ForbiddenBehitRot != other.ForbiddenBehitRot) return false;
|
|
if (EffectScaleValue != other.EffectScaleValue) return false;
|
|
if (TagEffectScaleValue != other.TagEffectScaleValue) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
|
|
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
|
|
if (HintIcon.Length != 0) hash ^= HintIcon.GetHashCode();
|
|
if (Model.Length != 0) hash ^= Model.GetHashCode();
|
|
if (RunAnimationSpd != 0) hash ^= RunAnimationSpd.GetHashCode();
|
|
if (WalkAnimationSpd != 0) hash ^= WalkAnimationSpd.GetHashCode();
|
|
if (BarHeight != 0) hash ^= BarHeight.GetHashCode();
|
|
if (ModelScale != 0) hash ^= ModelScale.GetHashCode();
|
|
if (BuffFXScale != 0) hash ^= BuffFXScale.GetHashCode();
|
|
if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode();
|
|
if (ForbiddenBehitRot != false) hash ^= ForbiddenBehitRot.GetHashCode();
|
|
if (EffectScaleValue != 0) hash ^= EffectScaleValue.GetHashCode();
|
|
if (TagEffectScaleValue != 0) hash ^= TagEffectScaleValue.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 (Name.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Name);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (HintIcon.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(HintIcon);
|
|
}
|
|
if (Model.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Model);
|
|
}
|
|
if (RunAnimationSpd != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(RunAnimationSpd);
|
|
}
|
|
if (WalkAnimationSpd != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(WalkAnimationSpd);
|
|
}
|
|
if (BarHeight != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(BarHeight);
|
|
}
|
|
if (ModelScale != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ModelScale);
|
|
}
|
|
if (BuffFXScale != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(BuffFXScale);
|
|
}
|
|
if (ColliderScale != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(ColliderScale);
|
|
}
|
|
if (ForbiddenBehitRot != false) {
|
|
output.WriteRawTag(104);
|
|
output.WriteBool(ForbiddenBehitRot);
|
|
}
|
|
if (EffectScaleValue != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(EffectScaleValue);
|
|
}
|
|
if (TagEffectScaleValue != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(TagEffectScaleValue);
|
|
}
|
|
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 (Name.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Name);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Desc);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Icon);
|
|
}
|
|
if (HintIcon.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(HintIcon);
|
|
}
|
|
if (Model.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Model);
|
|
}
|
|
if (RunAnimationSpd != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(RunAnimationSpd);
|
|
}
|
|
if (WalkAnimationSpd != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(WalkAnimationSpd);
|
|
}
|
|
if (BarHeight != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt32(BarHeight);
|
|
}
|
|
if (ModelScale != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteInt32(ModelScale);
|
|
}
|
|
if (BuffFXScale != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt32(BuffFXScale);
|
|
}
|
|
if (ColliderScale != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteInt32(ColliderScale);
|
|
}
|
|
if (ForbiddenBehitRot != false) {
|
|
output.WriteRawTag(104);
|
|
output.WriteBool(ForbiddenBehitRot);
|
|
}
|
|
if (EffectScaleValue != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt32(EffectScaleValue);
|
|
}
|
|
if (TagEffectScaleValue != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(TagEffectScaleValue);
|
|
}
|
|
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 (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (Desc.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
|
|
}
|
|
if (Icon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
|
|
}
|
|
if (HintIcon.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(HintIcon);
|
|
}
|
|
if (Model.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Model);
|
|
}
|
|
if (RunAnimationSpd != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunAnimationSpd);
|
|
}
|
|
if (WalkAnimationSpd != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkAnimationSpd);
|
|
}
|
|
if (BarHeight != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BarHeight);
|
|
}
|
|
if (ModelScale != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale);
|
|
}
|
|
if (BuffFXScale != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffFXScale);
|
|
}
|
|
if (ColliderScale != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale);
|
|
}
|
|
if (ForbiddenBehitRot != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (EffectScaleValue != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectScaleValue);
|
|
}
|
|
if (TagEffectScaleValue != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TagEffectScaleValue);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MonsterSkin other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
if (other.Desc.Length != 0) {
|
|
Desc = other.Desc;
|
|
}
|
|
if (other.Icon.Length != 0) {
|
|
Icon = other.Icon;
|
|
}
|
|
if (other.HintIcon.Length != 0) {
|
|
HintIcon = other.HintIcon;
|
|
}
|
|
if (other.Model.Length != 0) {
|
|
Model = other.Model;
|
|
}
|
|
if (other.RunAnimationSpd != 0) {
|
|
RunAnimationSpd = other.RunAnimationSpd;
|
|
}
|
|
if (other.WalkAnimationSpd != 0) {
|
|
WalkAnimationSpd = other.WalkAnimationSpd;
|
|
}
|
|
if (other.BarHeight != 0) {
|
|
BarHeight = other.BarHeight;
|
|
}
|
|
if (other.ModelScale != 0) {
|
|
ModelScale = other.ModelScale;
|
|
}
|
|
if (other.BuffFXScale != 0) {
|
|
BuffFXScale = other.BuffFXScale;
|
|
}
|
|
if (other.ColliderScale != 0) {
|
|
ColliderScale = other.ColliderScale;
|
|
}
|
|
if (other.ForbiddenBehitRot != false) {
|
|
ForbiddenBehitRot = other.ForbiddenBehitRot;
|
|
}
|
|
if (other.EffectScaleValue != 0) {
|
|
EffectScaleValue = other.EffectScaleValue;
|
|
}
|
|
if (other.TagEffectScaleValue != 0) {
|
|
TagEffectScaleValue = other.TagEffectScaleValue;
|
|
}
|
|
_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: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
HintIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Model = input.ReadString();
|
|
break;
|
|
}
|
|
case 56: {
|
|
RunAnimationSpd = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
WalkAnimationSpd = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
BarHeight = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ModelScale = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
BuffFXScale = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
ColliderScale = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
ForbiddenBehitRot = input.ReadBool();
|
|
break;
|
|
}
|
|
case 112: {
|
|
EffectScaleValue = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
TagEffectScaleValue = input.ReadInt32();
|
|
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: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Desc = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Icon = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
HintIcon = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Model = input.ReadString();
|
|
break;
|
|
}
|
|
case 56: {
|
|
RunAnimationSpd = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
WalkAnimationSpd = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
BarHeight = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ModelScale = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
BuffFXScale = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
ColliderScale = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
ForbiddenBehitRot = input.ReadBool();
|
|
break;
|
|
}
|
|
case 112: {
|
|
EffectScaleValue = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
TagEffectScaleValue = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|