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

72 lines
1.9 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
{
public sealed partial class VideoTextSubtitles : Luban.BeanBase
{
public VideoTextSubtitles(int Time, TranslateCKBean Content)
{
this.Time = Time;
this.Content = Content;
PostInit();
}
public VideoTextSubtitles(ByteBuf _buf)
{
Time = _buf.ReadInt();
Content = TranslateCKBean.DeserializeTranslateCKBean(_buf);
// Localization Key Begin
// Localization Key End
PostInit();
}
public static VideoTextSubtitles DeserializeVideoTextSubtitles(ByteBuf _buf)
{
return new VideoTextSubtitles(_buf);
}
/// <summary>
/// 时间
/// </summary>
public int Time { private set; get; }
/// <summary>
/// 字幕内容
/// </summary>
public TranslateCKBean Content { private set; get; }
public const int __ID__ = -14693357;
public override int GetTypeId() => __ID__;
public void ResolveRef(TablesComponent tables)
{
Content?.ResolveRef(tables);
PostResolveRef();
}
public void TranslateText(System.Func<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "Time:" + Time + ","
+ "Content:" + Content + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}