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

Interface IBuildable

Represents a buildable object players can place.

Inherited Members
IHasOwnership.Ownership
IGameObject.Transform
Namespace: OpenMod.Extensions.Games.Abstractions.Building
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IBuildable : IHasOwnership, IGameObject

Properties

| Improve this Doc View Source

Asset

Gets the asset of the object.

Declaration
IBuildableAsset Asset { get; }
Property Value
Type Description
IBuildableAsset
| Improve this Doc View Source

BuildableInstanceId

Gets the unique instance ID of the object.

Declaration
string BuildableInstanceId { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

State

Gets the state of the object.

Declaration
IBuildableState State { get; }
Property Value
Type Description
IBuildableState

Methods

| Improve this Doc View Source

DestroyAsync()

Destroys the object.

Declaration
Task DestroyAsync()
Returns
Type Description
Task

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)