Class SlowTaskModule
Manages tasks that run at regular intervals
Inheritance
SlowTaskModule
Syntax
public class SlowTaskModule : ScriptableSettings<SlowTaskModule>, IModuleBehaviorCallbacks, IModuleMarsUpdate, IModule, IProvidesSlowTasks, IFunctionalityProvider
Methods
AddMarsTimeSlowTask(Action, Single, Boolean)
Declaration
public bool AddMarsTimeSlowTask(Action action, float sleepTime, bool replace = false)
Parameters
Returns
Implements
AddSlowTask(Action, Single, Boolean)
Declaration
public bool AddSlowTask(Action action, float sleepTime, bool replace = false)
Parameters
Returns
Implements
ClearTasks()
Declaration
ConnectSubscriber(Object)
Declaration
public void ConnectSubscriber(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Implements
LoadModule()
Declaration
Implements
LoadProvider()
Declaration
public void LoadProvider()
Implements
OnBehaviorAwake()
Declaration
public void OnBehaviorAwake()
Implements
OnBehaviorDestroy()
Declaration
public void OnBehaviorDestroy()
Implements
OnBehaviorDisable()
Declaration
public void OnBehaviorDisable()
Implements
OnBehaviorEnable()
Declaration
public void OnBehaviorEnable()
Implements
OnBehaviorStart()
Declaration
public void OnBehaviorStart()
Implements
OnBehaviorUpdate()
Declaration
public void OnBehaviorUpdate()
Implements
OnMarsUpdate()
Declaration
public void OnMarsUpdate()
Implements
RemoveMarsTimeSlowTask(Action)
Declaration
public bool RemoveMarsTimeSlowTask(Action task)
Parameters
Type |
Name |
Description |
Action |
task |
|
Returns
Implements
RemoveSlowTask(Action)
Declaration
public bool RemoveSlowTask(Action task)
Parameters
Type |
Name |
Description |
Action |
task |
|
Returns
Implements
UnloadModule()
Declaration
public void UnloadModule()
Implements
UnloadProvider()
Declaration
public void UnloadProvider()
Implements