//------------------------------------------------------------------------------ // // 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 Luban; namespace GameConfig.TB { public sealed partial class TbGRoleSkill : Luban.BeanBase { public TbGRoleSkill(ByteBuf _buf) { Id = _buf.ReadInt(); SkillName = _buf.ReadString(); SkillController = _buf.ReadString(); {int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);SkillArgs = new string[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { string __e0;__e0 = _buf.ReadString(); SkillArgs[__index0] = __e0;}} SkillText = _buf.ReadString(); } public static TbGRoleSkill DeserializeTbGRoleSkill(ByteBuf _buf) { return new TB.TbGRoleSkill(_buf); } /// /// 角色Id /// public readonly int Id; /// /// 技能名称 /// public readonly string SkillName; /// /// 技能控制器 /// public readonly string SkillController; /// /// 技能参数 /// public readonly string[] SkillArgs; /// /// 技能介绍 /// public readonly string SkillText; public const int __ID__ = 1673095042; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "id:" + Id + "," + "skillName:" + SkillName + "," + "skillController:" + SkillController + "," + "skillArgs:" + Luban.StringUtil.CollectionToString(SkillArgs) + "," + "skillText:" + SkillText + "," + "}"; } } }