Files
space-engineers/Ingame/IMyUpgradableBlock.cs
2022-05-18 19:57:23 +03:00

26 lines
667 B
C#
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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