mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-15 09:17:13 +08:00
33 lines
608 B
C#
33 lines
608 B
C#
namespace BetterGenshinImpact.Core.Script.Dependence.Model;
|
|
|
|
/// <summary>
|
|
/// 实时任务触发器
|
|
/// </summary>
|
|
public class RealtimeTimer
|
|
{
|
|
/// <summary>
|
|
/// 实时任务触发器名称
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 实时任务触发器时间间隔
|
|
/// 默认50ms
|
|
/// </summary>
|
|
public int Interval { get; set; } = 50;
|
|
|
|
/// <summary>
|
|
/// 实时任务配置
|
|
/// </summary>
|
|
public object? Config;
|
|
|
|
public RealtimeTimer()
|
|
{
|
|
}
|
|
|
|
public RealtimeTimer(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
}
|