SampSharp
SampSharp
SampSharp.Entities
EntityManager Class
EntityManager Methods
AddComponent Method
Create Method
Destroy Method
Exists Method
GetChildren Method
GetComponent Method
GetComponentInChildren(T) Method
GetComponentInParent(T) Method
GetComponents Method
GetComponentsInChildren(T) Method
GetComponentsInParent(T) Method
GetParent Method
GetRootEntities Method
EntityManager
GetParent 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
C#
Copy
public
EntityId
GetParent
(
EntityId
entity
)
Parameters
entity
Type:
SampSharp.Entities
EntityId
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.
Implements
IEntityManager
GetParent(EntityId)
See Also
Reference
EntityManager Class
SampSharp.Entities Namespace