Click or drag to resize

EcsBuilderEnableEventExtensionsEnableEventT1, T2, T3, T4, T5, T6, T7, T8, T9, T10 Method (IEcsBuilder, String)

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#
public static IEcsBuilder EnableEvent<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
	this IEcsBuilder builder,
	string name
)

Parameters

builder
Type: SampSharp.EntitiesIEcsBuilder
The ECS builder in which to enable the callback.
name
Type: SystemString
The name of the callback.

Type Parameters

T1
The type of parameter 1 of the callback.
T2
The type of parameter 2 of the callback.
T3
The type of parameter 3 of the callback.
T4
The type of parameter 4 of the callback.
T5
The type of parameter 5 of the callback.
T6
The type of parameter 6 of the callback.
T7
The type of parameter 7 of the callback.
T8
The type of parameter 8 of the callback.
T9
The type of parameter 9 of the callback.
T10
The type of parameter 10 of the callback.

Return Value

Type: IEcsBuilder
A reference to this instance after the operation has completed.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEcsBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also