AlicizaX/Client/Assets/Scripts/Hotfix/GameProto/Config/Generate/ResourceCKBean.cs

75 lines
2.0 KiB
C#
Raw Normal View History

2025-01-23 19:06:48 +08:00
//------------------------------------------------------------------------------
// <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;
using AlicizaX.Config;
namespace Game.Config
{
/// <summary>
/// 用于资源在游戏内的名字展示,以及资源在目录下的资产名称
/// </summary>
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);
}
/// <summary>
/// 名字
/// </summary>
public string Content { private set; get; }
/// <summary>
/// 对应资源的文件名
/// </summary>
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<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "content:" + Content + ","
+ "fileName:" + FileName + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}