//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ 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); } /// /// id /// public string Id { get; private set; } /// /// 技能名 /// public string SkillName { get; private set; } /// /// 解锁金币 /// public int UnlockMoney { get; private set; } /// /// 满级 /// public int MaxLv { get; private set; } /// /// 需要能量 /// public int Energesis { get; private set; } /// /// 增加能量 /// public float BoostEnergy { get; private set; } /// /// 持续时间 /// public int TimeOfDuration { get; private set; } public const int __ID__ = -2106292185; public override int GetTypeId() => __ID__; public void Resolve(Dictionary _tables) { PostResolve(); } public void TranslateText(System.Func 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(); } }