Interface: IServiceModule<TParent extends IService = IService>
Defined in: contracts.ts:87
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
TParent extends IService | IService |
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
isDestroyed | readonly | boolean | IService.isDestroyed | contracts.ts:70 |
isEnabled | readonly | boolean | IService.isEnabled | contracts.ts:67 |
isInitialized | readonly | boolean | IService.isInitialized | contracts.ts:68 |
isServiceRegistered | readonly | boolean | IService.isServiceRegistered | contracts.ts:71 |
isStarted | readonly | boolean | IService.isStarted | contracts.ts:69 |
parentService | readonly | TParent | - | contracts.ts:88 |
serviceConfig | readonly | unknown | IService.serviceConfig | contracts.ts:66 |
serviceModules | readonly | readonly IServiceModule<IService>[] | IService.serviceModules | contracts.ts:72 |
serviceName | readonly | string | IService.serviceName | contracts.ts:64 |
servicePriority | readonly | number | IService.servicePriority | contracts.ts:65 |
Methods
destroy()
destroy(): void;
Defined in: contracts.ts:80
Returns
void
Inherited from
fixedUpdate()
fixedUpdate(context: LifecycleContext): void;
Defined in: contracts.ts:78
Parameters
| Parameter | Type |
|---|---|
context | LifecycleContext |
Returns
void
Inherited from
initialize()
initialize(): void;
Defined in: contracts.ts:73
Returns
void
Inherited from
lateUpdate()
lateUpdate(context: LifecycleContext): void;
Defined in: contracts.ts:77
Parameters
| Parameter | Type |
|---|---|
context | LifecycleContext |
Returns
void
Inherited from
onFocusChange()
onFocusChange(context: FocusChangeContext): void;
Defined in: contracts.ts:81
Parameters
| Parameter | Type |
|---|---|
context | FocusChangeContext |
Returns
void
Inherited from
onPauseChange()
onPauseChange(context: PauseChangeContext): void;
Defined in: contracts.ts:82
Parameters
| Parameter | Type |
|---|---|
context | PauseChangeContext |
Returns
void
Inherited from
registerServiceModule()
registerServiceModule(serviceModule: IServiceModule): void;
Defined in: contracts.ts:83
Parameters
| Parameter | Type |
|---|---|
serviceModule | IServiceModule |
Returns
void
Inherited from
IService.registerServiceModule
render()
render(context: LifecycleContext): void;
Defined in: contracts.ts:79
Parameters
| Parameter | Type |
|---|---|
context | LifecycleContext |
Returns
void
Inherited from
reset()
reset(): void;
Defined in: contracts.ts:75
Returns
void
Inherited from
start()
start(): void;
Defined in: contracts.ts:74
Returns
void
Inherited from
unregisterServiceModule()
unregisterServiceModule(serviceModule: IServiceModule): void;
Defined in: contracts.ts:84
Parameters
| Parameter | Type |
|---|---|
serviceModule | IServiceModule |
Returns
void
Inherited from
IService.unregisterServiceModule
update()
update(context: LifecycleContext): void;
Defined in: contracts.ts:76
Parameters
| Parameter | Type |
|---|---|
context | LifecycleContext |
Returns
void