Skip to main content

Timeline.RepeatableEntry

A private class in Alta.Timing.Runtime, Alta.Timing. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Private Timeline entry that queues itself again after each run, for callbacks that repeat at a fixed interval.

Constructors​

MemberWhat it is
RepeatableEntry(Action callback)Creates a Timeline.RepeatableEntry from callback.

Fields​

MemberWhat it is
const int RepeatCallLimitOnLoadConstant 1000. Not used anywhere in this build.

Properties​

MemberWhat it is
TimeSpan RepeatInterval { get; private set; }Time between runs.

Methods​

MemberWhat it is
override bool CheckEntryReuse(Timeline timeline)After a run, moves the target time on by the interval and queues the entry again. Returns false once released.
static Timeline.RepeatableEntry Get(Action callback, TimeSpan time, TimeSpan repeatInterval)Creates an entry for a callback with a first run time and a repeat interval.
override void Release()Clears the callback so the entry stops repeating.