Aetheria/Assets/Plugins/UniRx/Scripts/Schedulers/IScheduler.cs
Reinier Vens dbc522a224 Weapos Rejiggered
Modified weapon scripts to eliminate specialized projectile behavior - allows charged weapons to have projectiles and modify weapon stats when charged
Added machine gun weapon & VFX
Moved third party code to Plugins folder to improve compile times
2021-01-31 03:52:32 +00:00

30 lines
No EOL
707 B
C#

using System;
namespace UniRx
{
public interface IScheduler
{
DateTimeOffset Now { get; }
// Interface is changed from official Rx for avoid iOS AOT problem (state is dangerous).
IDisposable Schedule(Action action);
IDisposable Schedule(TimeSpan dueTime, Action action);
}
public interface ISchedulerPeriodic
{
IDisposable SchedulePeriodic(TimeSpan period, Action action);
}
public interface ISchedulerLongRunning
{
IDisposable ScheduleLongRunning(Action<ICancelable> action);
}
public interface ISchedulerQueueing
{
void ScheduleQueueing<T>(ICancelable cancel, T state, Action<T> action);
}
}