Skip to main content

Interface: IServiceModule<TParent extends IService = IService>

Defined in: contracts.ts:87

Extends

Type Parameters

Type ParameterDefault type
TParent extends IServiceIService

Properties

PropertyModifierTypeInherited fromDefined in
isDestroyedreadonlybooleanIService.isDestroyedcontracts.ts:70
isEnabledreadonlybooleanIService.isEnabledcontracts.ts:67
isInitializedreadonlybooleanIService.isInitializedcontracts.ts:68
isServiceRegisteredreadonlybooleanIService.isServiceRegisteredcontracts.ts:71
isStartedreadonlybooleanIService.isStartedcontracts.ts:69
parentServicereadonlyTParent-contracts.ts:88
serviceConfigreadonlyunknownIService.serviceConfigcontracts.ts:66
serviceModulesreadonlyreadonly IServiceModule<IService>[]IService.serviceModulescontracts.ts:72
serviceNamereadonlystringIService.serviceNamecontracts.ts:64
servicePriorityreadonlynumberIService.servicePrioritycontracts.ts:65

Methods

destroy()

destroy(): void;

Defined in: contracts.ts:80

Returns

void

Inherited from

IService.destroy


fixedUpdate()

fixedUpdate(context: LifecycleContext): void;

Defined in: contracts.ts:78

Parameters

ParameterType
contextLifecycleContext

Returns

void

Inherited from

IService.fixedUpdate


initialize()

initialize(): void;

Defined in: contracts.ts:73

Returns

void

Inherited from

IService.initialize


lateUpdate()

lateUpdate(context: LifecycleContext): void;

Defined in: contracts.ts:77

Parameters

ParameterType
contextLifecycleContext

Returns

void

Inherited from

IService.lateUpdate


onFocusChange()

onFocusChange(context: FocusChangeContext): void;

Defined in: contracts.ts:81

Parameters

ParameterType
contextFocusChangeContext

Returns

void

Inherited from

IService.onFocusChange


onPauseChange()

onPauseChange(context: PauseChangeContext): void;

Defined in: contracts.ts:82

Parameters

ParameterType
contextPauseChangeContext

Returns

void

Inherited from

IService.onPauseChange


registerServiceModule()

registerServiceModule(serviceModule: IServiceModule): void;

Defined in: contracts.ts:83

Parameters

ParameterType
serviceModuleIServiceModule

Returns

void

Inherited from

IService.registerServiceModule


render()

render(context: LifecycleContext): void;

Defined in: contracts.ts:79

Parameters

ParameterType
contextLifecycleContext

Returns

void

Inherited from

IService.render


reset()

reset(): void;

Defined in: contracts.ts:75

Returns

void

Inherited from

IService.reset


start()

start(): void;

Defined in: contracts.ts:74

Returns

void

Inherited from

IService.start


unregisterServiceModule()

unregisterServiceModule(serviceModule: IServiceModule): void;

Defined in: contracts.ts:84

Parameters

ParameterType
serviceModuleIServiceModule

Returns

void

Inherited from

IService.unregisterServiceModule


update()

update(context: LifecycleContext): void;

Defined in: contracts.ts:76

Parameters

ParameterType
contextLifecycleContext

Returns

void

Inherited from

IService.update