Skip to main content
Version: 1.0.0

Interface IServices

Namespace: ReadyM.SDK.Services
Assembly: ReadyM.SDK.dll

Switches services on and off while the game runs.

public interface IServices

Methods​

Disable<TService>()​

Stops its update running and calls its OnDisabled. Warns and does nothing if already disabled.

void Disable<TService>() where TService : class, IService

Type Parameters​

TService

Enable<TService>()​

Lets its update run again and calls its OnEnabled. Warns and does nothing if already enabled.

void Enable<TService>() where TService : class, IService

Type Parameters​

TService

IsEnabled<TService>()​

bool IsEnabled<TService>() where TService : class, IService

Returns​

bool

Type Parameters​

TService

  • Methods
    • Disable<TService>()
    • Enable<TService>()
    • IsEnabled<TService>()