Files
vampire-like/Assets/GameMain/Scripts/Base/Gen/EntityConfig.cs
T

56 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//------------------------------------------------------------------------------
// <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 + ","
+ "}";
}
}
}