Click or drag to resize
IMyUpgradableBlock Interface

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

interface to retrieve upgrade effects on block

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

The IMyUpgradableBlock type exposes the following members.

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