56 lines
1.3 KiB
C#
56 lines
1.3 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 SepCore.Definition
|
||
{
|
||
public sealed partial class EntityConfig : Luban.BeanBase
|
||
{
|
||
public EntityConfig(ByteBuf _buf)
|
||
{
|
||
AssetName = _buf.ReadString();
|
||
PrefabPath = _buf.ReadString();
|
||
}
|
||
|
||
public static EntityConfig DeserializeEntityConfig(ByteBuf _buf)
|
||
{
|
||
return new EntityConfig(_buf);
|
||
}
|
||
|
||
/// <summary>
|
||
/// 资源名称
|
||
/// </summary>
|
||
public readonly string AssetName;
|
||
/// <summary>
|
||
/// 资源路径(相较于Assets/GameMain/Entities)
|
||
/// </summary>
|
||
public readonly string PrefabPath;
|
||
|
||
public const int __ID__ = 436072741;
|
||
public override int GetTypeId() => __ID__;
|
||
|
||
public void ResolveRef(Tables tables)
|
||
{
|
||
|
||
|
||
}
|
||
|
||
public override string ToString()
|
||
{
|
||
return "{ "
|
||
+ "assetName:" + AssetName + ","
|
||
+ "prefabPath:" + PrefabPath + ","
|
||
+ "}";
|
||
}
|
||
}
|
||
|
||
}
|