水电费
This commit is contained in:
21
Entity/EntityTimeOutComponent.cs
Normal file
21
Entity/EntityTimeOutComponent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public class EntityTimeOutComponent : Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 主要是用于检测每次请求的间隔,这里存放是下一次能正常通信时间
|
||||
/// </summary>
|
||||
public long NextTime;
|
||||
|
||||
/// <summary>
|
||||
/// 用来设置检查的间隔时间
|
||||
/// </summary>
|
||||
public int Interval;
|
||||
|
||||
/// <summary>
|
||||
/// 用于记录时间计划任务的ID,后面可以通过这个ID随时取消这个任务
|
||||
/// </summary>
|
||||
public long TimerId;
|
||||
}
|
||||
Reference in New Issue
Block a user