OvertakingLegend/Assets/Luban/Config/config/SkillConfig.cs

91 lines
2.4 KiB
C#
Raw Permalink Normal View History

2025-03-24 03:08:22 +00:00
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
namespace Config.config
{
public sealed partial class SkillConfig : Bright.Config.BeanBase
{
public SkillConfig(ByteBuf _buf)
{
Id = _buf.ReadString();
SkillName = _buf.ReadString();
UnlockMoney = _buf.ReadInt();
MaxLv = _buf.ReadInt();
Energesis = _buf.ReadInt();
BoostEnergy = _buf.ReadFloat();
TimeOfDuration = _buf.ReadInt();
PostInit();
}
public static SkillConfig DeserializeSkillConfig(ByteBuf _buf)
{
return new config.SkillConfig(_buf);
}
/// <summary>
/// id
/// </summary>
public string Id { get; private set; }
/// <summary>
/// 技能名
/// </summary>
public string SkillName { get; private set; }
/// <summary>
/// 解锁金币
/// </summary>
public int UnlockMoney { get; private set; }
/// <summary>
/// 满级
/// </summary>
public int MaxLv { get; private set; }
/// <summary>
/// 需要能量
/// </summary>
public int Energesis { get; private set; }
/// <summary>
/// 增加能量
/// </summary>
public float BoostEnergy { get; private set; }
/// <summary>
/// 持续时间
/// </summary>
public int TimeOfDuration { get; private set; }
public const int __ID__ = -2106292185;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary<string, object> _tables)
{
PostResolve();
}
public void TranslateText(System.Func<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "Id:" + Id + ","
+ "SkillName:" + SkillName + ","
+ "UnlockMoney:" + UnlockMoney + ","
+ "MaxLv:" + MaxLv + ","
+ "Energesis:" + Energesis + ","
+ "BoostEnergy:" + BoostEnergy + ","
+ "TimeOfDuration:" + TimeOfDuration + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}