Entity manager for local-side entities. This will work on client, or server, but will only have the capabilities to return things that said client or server know about The client only knows about the subset of total entities. Usually within the clients viewport
More...
Entity manager for local-side entities. This will work on client, or server, but will only have the capabilities to return things that said client or server know about The client only knows about the subset of total entities. Usually within the clients viewport
Attribute: Injectable
◆ GetKnownEntitiesNear< T >()
IEnumerable<T> pluginbase.Dependencies.ILocalEntities.GetKnownEntitiesNear< T > |
( |
Vector3d |
position, |
|
|
double |
dist |
|
) |
| |
Returns enumerable of all known entities near a location
- Returns
- The known entities near.
- Parameters
-
position | Position. |
dist | Dist. |
- Template Parameters
-
◆ GetKnownEntitiesOfType< T >()
IEnumerable<T> pluginbase.Dependencies.ILocalEntities.GetKnownEntitiesOfType< T > |
( |
| ) |
|
Returns an enumerable of all entities the game knows about of a type
- Returns
- The known entities of type.
- Template Parameters
-
◆ GetKnownEntity()
IEntity pluginbase.Dependencies.ILocalEntities.GetKnownEntity |
( |
uint |
id | ) |
|
Gets the entity object of a given entity 'id'
- Returns
- The known entity.
- Parameters
-
◆ KnowsEntity()
bool pluginbase.Dependencies.ILocalEntities.KnowsEntity |
( |
uint |
id | ) |
|
Returns true if a game knows about an entity with the given id
- Returns
true
, if entity was knowsed, false
otherwise.
- Parameters
-
◆ KnownEntities
IEnumerable<IEntity> pluginbase.Dependencies.ILocalEntities.KnownEntities |
|
get |
Returns an enumerable of all entities the game knows about
The known entities.
The documentation for this interface was generated from the following file: