迁移剩下的 UI 到 Serialization 方式
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
|
||||
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public sealed partial class FormatText : Luban.BeanBase
|
||||
{
|
||||
public FormatText(ByteBuf _buf)
|
||||
{
|
||||
Name = _buf.ReadString();
|
||||
Format = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static FormatText DeserializeFormatText(ByteBuf _buf)
|
||||
{
|
||||
return new FormatText(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 文本名
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 格式化字符串
|
||||
/// </summary>
|
||||
public readonly string Format;
|
||||
|
||||
public const int __ID__ = -1977697820;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "name:" + Name + ","
|
||||
+ "format:" + Format + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user