//------------------------------------------------------------------------------ // // 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 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); } /// /// 立绘位置 /// public res.ShowPostion PaintingPostion { private set; get; } /// /// 资源ID /// 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 translator) { } public override string ToString() { return "{ " + "paintingPostion:" + PaintingPostion + "," + "resId:" + ResId + "," + "}"; } partial void PostInit(); partial void PostResolveRef(); } }