Show / Hide Table of Contents

Interface IMyStoredPowerRatio

Describes stored power ration interface for block, which are storing power

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyStoredPowerRatio

Properties

StoredPowerRatio

Gets stored power ration (current / max)

Declaration
float StoredPowerRatio { get; }
Property Value
Type Description
System.Single

Events

StoredPowerRatioChanged

Event when stored power ratio is changed (block, old value, new value)

Declaration
event Action<IMyStoredPowerRatio, float, float> StoredPowerRatioChanged
Event Type
Type Description
System.Action<IMyStoredPowerRatio, System.Single, System.Single>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾