Interface IBuildable
Represents a buildable object players can place.
Namespace: OpenMod.Extensions.Games.Abstractions.Building
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IBuildable : IHasOwnership, IGameObject
Properties
| Improve this Doc View SourceAsset
Gets the asset of the object.
Declaration
IBuildableAsset Asset { get; }
Property Value
Type | Description |
---|---|
IBuildableAsset |
BuildableInstanceId
Gets the unique instance ID of the object.
Declaration
string BuildableInstanceId { get; }
Property Value
Type | Description |
---|---|
System.String |
State
Gets the state of the object.
Declaration
IBuildableState State { get; }
Property Value
Type | Description |
---|---|
IBuildableState |
Methods
| Improve this Doc View SourceDestroyAsync()
Destroys the object.
Declaration
Task DestroyAsync()
Returns
Type | Description |
---|---|
Task |