using System; using System.Collections.Generic; using System.Linq; using System.Text; using VRage.Game.ModAPI.Ingame; namespace Sandbox.ModAPI.Ingame { /// /// interface to retrieve upgrade effects on block /// public interface IMyUpgradableBlock : IMyCubeBlock { /// /// get list of upgrades (r/o); /// string - upgrade type, float - effect value as float (1 = 100%) /// void GetUpgrades(out Dictionary upgrades); /// /// number of upgrades applied /// uint UpgradeCount { get; } } }