mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
70 lines
1.5 KiB
C#
70 lines
1.5 KiB
C#
|
|
//------------------------------------------------------------------------------
|
|
// <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 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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
public readonly int Id;
|
|
/// <summary>
|
|
/// 资源介绍
|
|
/// </summary>
|
|
public readonly string Name;
|
|
/// <summary>
|
|
/// 资源路径
|
|
/// </summary>
|
|
public readonly string Path;
|
|
/// <summary>
|
|
/// 资源类型(0.Spine,1.Sprite)
|
|
/// </summary>
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|