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

Class RustBuildingBlock

Inheritance
System.Object
RustBuildingBlock
Implements
IBuildable
IHasOwnership
IGameObject
Namespace: OpenMod.Rust.Building
Assembly: OpenMod.Rust.dll
Syntax
public class RustBuildingBlock : object, IBuildable, IHasOwnership, IGameObject

Constructors

| Improve this Doc View Source

RustBuildingBlock(BuildingBlock)

Declaration
public RustBuildingBlock(BuildingBlock buildingBlock)
Parameters
Type Name Description
BuildingBlock buildingBlock

Properties

| Improve this Doc View Source

Asset

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

BuildableInstanceId

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

BuildingBlock

Declaration
public BuildingBlock BuildingBlock { get; }
Property Value
Type Description
BuildingBlock
| Improve this Doc View Source

Ownership

Declaration
public IOwnership Ownership { get; }
Property Value
Type Description
IOwnership
| Improve this Doc View Source

State

Declaration
public IBuildableState State { get; }
Property Value
Type Description
IBuildableState
| Improve this Doc View Source

Transform

Declaration
public IWorldTransform Transform { get; }
Property Value
Type Description
IWorldTransform

Methods

| Improve this Doc View Source

DestroyAsync()

Declaration
public Task DestroyAsync()
Returns
Type Description
Task

Implements

IBuildable
IHasOwnership
IGameObject

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)