Files

77 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;
namespace SepCore.Definition
{
public sealed partial class UIFormConfig : Luban.BeanBase
{
public UIFormConfig(ByteBuf _buf)
{
Id = (UIFormType)_buf.ReadInt();
AssetName = _buf.ReadString();
UIGroupName = _buf.ReadString();
AllowMultiInstance = _buf.ReadBool();
PauseCoveredUIForm = _buf.ReadBool();
}
public static UIFormConfig DeserializeUIFormConfig(ByteBuf _buf)
{
return new UIFormConfig(_buf);
}
/// <summary>
/// 界面编号
/// </summary>
public readonly UIFormType Id;
/// <summary>
/// 资源名称
/// </summary>
public readonly string AssetName;
/// <summary>
/// 界面组名称
/// </summary>
public readonly string UIGroupName;
/// <summary>
/// 是否允许多个界面实例
/// </summary>
public readonly bool AllowMultiInstance;
/// <summary>
/// 是否暂停被其覆盖的界面
/// </summary>
public readonly bool PauseCoveredUIForm;
public const int __ID__ = 1508218586;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "assetName:" + AssetName + ","
+ "UIGroupName:" + UIGroupName + ","
+ "allowMultiInstance:" + AllowMultiInstance + ","
+ "pauseCoveredUIForm:" + PauseCoveredUIForm + ","
+ "}";
}
}
}