This commit is contained in:
2022-05-18 19:57:23 +03:00
commit 0ad135ca0f
73 changed files with 2282 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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; }
}
}