//------------------------------------------------------------------------------
//
// 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;
using AlicizaX.Config;
namespace Game.Config
{
///
/// 用于资源在游戏内的名字展示,以及资源在目录下的资产名称
///
public sealed partial class ResourceCKBean : Luban.BeanBase
{
public ResourceCKBean(string Content, string FileName)
{
this.Content = Content;
this.FileName = FileName;
PostInit();
}
public ResourceCKBean(ByteBuf _buf)
{
Content = _buf.ReadString();
FileName = _buf.ReadString();
// Localization Key Begin
// Localization Key End
PostInit();
}
public static ResourceCKBean DeserializeResourceCKBean(ByteBuf _buf)
{
return new ResourceCKBean(_buf);
}
///
/// 名字
///
public string Content { private set; get; }
///
/// 对应资源的文件名
///
public string FileName { private set; get; }
public const int __ID__ = -1539577370;
public override int GetTypeId() => __ID__;
public void ResolveRef(TablesComponent tables)
{
PostResolveRef();
}
public void TranslateText(System.Func translator)
{
}
public override string ToString()
{
return "{ "
+ "content:" + Content + ","
+ "fileName:" + FileName + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}