//------------------------------------------------------------------------------
//
// 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 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);
}
///
/// 时间
///
public int Time { private set; get; }
///
/// 字幕内容
///
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 translator)
{
}
public override string ToString()
{
return "{ "
+ "Time:" + Time + ","
+ "Content:" + Content + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}