C# Class AssemblyCSharp.Scheduler

Inheritance: AbstractService, IScheduler
Afficher le fichier Open project: wooga/ps_social_jam Class Usage Examples

Méthodes publiques

Méthode Description
Schedule ( float>.Action action, System.TimeSpan timeSpan, bool recurring = false, System.TimeSpan delay = default(TimeSpan) ) : ICancelable
ScheduleOnNextFrame ( Action action ) : void
ScheduleTick ( float>.Action tickAction, System.TimeSpan delay = default(TimeSpan) ) : ICancelable
Scheduler ( double epochTime = -1 ) : System
Update ( double deltaTime ) : void

Méthodes protégées

Méthode Description
DisposeManagedResources ( ) : void

Private Methods

Méthode Description
Cancel ( ScheduledAction scheduledAction ) : void
DoSchedule ( ScheduledAction scheduledAction ) : void
MoveBehind ( ScheduledAction scheduledAction, ScheduledAction predecessor ) : void
Remove ( ScheduledAction scheduledAction ) : void
TryFindPredecessor ( ScheduledAction scheduledAction, ScheduledAction startWith ) : ScheduledAction
Validate ( ) : bool

Method Details

DisposeManagedResources() protected méthode

protected DisposeManagedResources ( ) : void
Résultat void

Schedule() public méthode

public Schedule ( float>.Action action, System.TimeSpan timeSpan, bool recurring = false, System.TimeSpan delay = default(TimeSpan) ) : ICancelable
action float>.Action
timeSpan System.TimeSpan
recurring bool
delay System.TimeSpan
Résultat ICancelable

ScheduleOnNextFrame() public méthode

public ScheduleOnNextFrame ( Action action ) : void
action Action
Résultat void

ScheduleTick() public méthode

public ScheduleTick ( float>.Action tickAction, System.TimeSpan delay = default(TimeSpan) ) : ICancelable
tickAction float>.Action
delay System.TimeSpan
Résultat ICancelable

Scheduler() public méthode

public Scheduler ( double epochTime = -1 ) : System
epochTime double
Résultat System

Update() public méthode

public Update ( double deltaTime ) : void
deltaTime double
Résultat void