OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IEntityDirectory

The service for querying entities and entity assets.

Namespace: OpenMod.Extensions.Games.Abstractions.Entities
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IEntityDirectory

Methods

| Improve this Doc View Source

GetEntitiesAsync()

Gets all entities.

Declaration
Task<IReadOnlyCollection<IEntity>> GetEntitiesAsync()
Returns
Type Description
Task<IReadOnlyCollection<IEntity>>
| Improve this Doc View Source

GetEntityAssetsAsync()

Gets all entity assets.

Declaration
Task<IReadOnlyCollection<IEntityAsset>> GetEntityAssetsAsync()
Returns
Type Description
Task<IReadOnlyCollection<IEntityAsset>>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)