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

Interface IBuildableDirectory

The service for querying buildables and buildable assets.

Namespace: OpenMod.Extensions.Games.Abstractions.Building
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IBuildableDirectory

Methods

| Improve this Doc View Source

GetBuildableAssetsAsync()

Gets all buildable assets.

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

GetBuildablesAsync()

Gets all placed buildables.

Declaration
Task<IReadOnlyCollection<IBuildable>> GetBuildablesAsync()
Returns
Type Description
Task<IReadOnlyCollection<IBuildable>>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)