Click or drag to resize
IMyUpgradableBlock Interface

[This is preliminary documentation and is subject to change.]

interface to retrieve upgrade effects from block IMyUpgradableBlock

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
public interface IMyUpgradableBlock : IMyUpgradableBlock

The IMyUpgradableBlock type exposes the following members.

Properties
  NameDescription
Public propertyUpgradeCount
number of upgrades applied
(Inherited from IMyUpgradableBlock.)
Top
Methods
  NameDescription
Public methodGetUpgrades
get list of upgrades (r/o); string - upgrade type, float - effect value as float (1 = 100%)
(Inherited from IMyUpgradableBlock.)
Top
See Also