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-local+709673996c0cc3c0733358a87691d1009326afa7
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