Click or drag to resize

EntityManagerGetComponentsInParentT Method

Gets all components of the specified type T attached to a parent entity of the specified entity.

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public T[] GetComponentsInParent<T>(
	EntityId entity
)
where T : Component

Parameters

entity
Type: SampSharp.EntitiesEntityId

[Missing <param name="entity"/> documentation for "M:SampSharp.Entities.EntityManager.GetComponentsInParent``1(SampSharp.Entities.EntityId)"]

Type Parameters

T
The type of the components to find.

Return Value

Type: T
A collection of the found components.

Implements

IEntityManagerGetComponentsInParentT(EntityId)
See Also