Click or drag to resize

IEcsBuilderEnableEvent Method

Enables handling of the callback with the specified name as an event.

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
IEcsBuilder EnableEvent(
	string name,
	params Type[] parameters
)

Parameters

name
Type: SystemString
The name of the callback.
parameters
Type: SystemType
The types of the parameters of the callback.

Return Value

Type: IEcsBuilder
The builder.
See Also