Assembly: Sandbox.Common.dll

public interface IMyResourceStorageComponent

Describes a resource storage entity component for scripting

Properties

Member Description
FilledRatio Gets the current fill level of this storage as a value between 0 (empty) and 1 (full).
ResourceCapacity Gets the resource capacity of this tank.

Methods

Member Description
IsResourceStorage(MyDefinitionId) Can the storage store a specified resource?