Timeline.Entry
A private class in Alta.Timing.Runtime, Alta.Timing. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
A one-shot scheduled callback in a Timeline priority queue, ordered by target time. RepeatableEntry extends it to reschedule itself.
- Listed in Other Alta assemblies
- Nested in
Timeline - Inherits or implements
FastPriorityQueueNodeTimeSpan,Timeline.IEntry - Derived types
Timeline.RepeatableEntry
Constructors
| Member | What it is |
|---|---|
Entry(Action callback) | Creates a Timeline.Entry from callback. |
Fields
| Member | What it is |
|---|---|
Action callback | Action run when the entry fires. Null once released. |
TimeSpan targetTime | Timeline time the entry fires at. |
Properties
2 private and internal properties
Methods
| Member | What it is |
|---|---|
virtual bool CheckEntryReuse(Timeline timeline) | Called after the entry fires. Returns false so the timeline releases it; repeatable entries requeue instead. |
static Timeline.Entry Get(Action callback, TimeSpan time) | Makes a new entry for the callback at the given time. |
virtual void Release() | Clears the callback, which marks the entry inactive. |
Used in
Members of other types that take, return or hold a Entry: