mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
feat(setting): 添加设置模型初始化状态检查功能
- 在 ISettingsModel 接口中新增 IsInitialized 属性 - 提供布尔值返回当前对象初始化状态 - 支持外部调用方检查模型是否已完成初始化 - [release ci]
This commit is contained in:
parent
5cf6c12c52
commit
013fd1ee02
@ -10,6 +10,13 @@ namespace GFramework.Game.Abstractions.setting;
|
||||
/// </summary>
|
||||
public interface ISettingsModel : IModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取一个布尔值,指示当前对象是否已初始化。
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// 如果对象已初始化,则返回 true;否则返回 false。
|
||||
/// </returns>
|
||||
public bool IsInitialized { get; }
|
||||
// =========================
|
||||
// Data
|
||||
// =========================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user