IEntityManagerGetParent Method |
Gets the parent entity of the specified entity.
Namespace:
SampSharp.Entities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax EntityId 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