IEntityManagerGetParent Method |
Gets the parent entity of the specified entity.
Namespace:
SampSharp.Entities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
SyntaxEntityId GetParent(
EntityId entity
)
Parameters
- entity
- Type: SampSharp.EntitiesEntityId
The entity of which to get its parent.
Return Value
Type:
EntityId
The parent entity of the specified
entity.
Empty is returned if
the specified
entity does not have a parent.
See Also