AlicizaX/Client/Assets/Scripts/Hotfix/GameProto/Config/Generate/ShowPositionAndResId.cs
陈思海 eb38f67131 init
2025-01-23 19:06:48 +08:00

75 lines
2.0 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;
using AlicizaX.Config;
namespace Game.Config
{
/// <summary>
/// 用于设置多立绘的位置和资源获取
/// </summary>
public sealed partial class ShowPositionAndResId : Luban.BeanBase
{
public ShowPositionAndResId(res.ShowPostion PaintingPostion, string ResId)
{
this.PaintingPostion = PaintingPostion;
this.ResId = ResId;
PostInit();
}
public ShowPositionAndResId(ByteBuf _buf)
{
PaintingPostion = (res.ShowPostion)_buf.ReadInt();
ResId = _buf.ReadString();
// Localization Key Begin
// Localization Key End
PostInit();
}
public static ShowPositionAndResId DeserializeShowPositionAndResId(ByteBuf _buf)
{
return new ShowPositionAndResId(_buf);
}
/// <summary>
/// 立绘位置
/// </summary>
public res.ShowPostion PaintingPostion { private set; get; }
/// <summary>
/// 资源ID
/// </summary>
public string ResId { private set; get; }
public const int __ID__ = 419216330;
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 "{ "
+ "paintingPostion:" + PaintingPostion + ","
+ "resId:" + ResId + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}