using GFramework.Game.Abstractions.setting; namespace GFramework.Game.setting.events; /// /// 表示所有设置已加载完成的事件 /// /// 包含所有设置节的可枚举集合 public class SettingsAllLoadedEvent(IEnumerable all) : ISettingsChangedEvent { /// /// 获取所有设置节的只读集合 /// public IReadOnlyCollection AllSettings { get; } = all.ToList(); /// /// 获取设置类型,始终返回 ISettingsSection 类型 /// public Type SettingsType => typeof(ISettingsSection); /// /// 获取具体的设置节,此事件中始终为 null /// public ISettingsSection Settings => null!; /// /// 获取事件发生的时间(UTC时间) /// public DateTime ChangedAt { get; } = DateTime.UtcNow; }