//------------------------------------------------------------------------------ // // 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 TbBattleResource : Luban.BeanBase { public TbBattleResource(ByteBuf _buf) { Id = _buf.ReadInt(); Name = _buf.ReadString(); Path = _buf.ReadString(); Type = _buf.ReadInt(); } public static TbBattleResource DeserializeTbBattleResource(ByteBuf _buf) { return new TB.TbBattleResource(_buf); } /// /// id /// public readonly int Id; /// /// 资源介绍 /// public readonly string Name; /// /// 资源路径 /// public readonly string Path; /// /// 资源类型(0.Spine,1.Sprite) /// public readonly int Type; public const int __ID__ = 509266580; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "id:" + Id + "," + "name:" + Name + "," + "path:" + Path + "," + "type:" + Type + "," + "}"; } } }