Interface IMyUpgradeModule
Describes upgrade module block (PB scripting interface)
Inherited Members
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public interface IMyUpgradeModule : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Properties
Connections
Gets number of blocks this block is connected to
Declaration
uint Connections { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
UpgradeCount
Gets number of upgrade effects this block has
Declaration
uint UpgradeCount { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
GetUpgradeList(out List<MyUpgradeModuleInfo>)
Gets list of upgrades from this block, see MyUpgradeModuleInfo for details
Declaration
void GetUpgradeList(out List<MyUpgradeModuleInfo> upgrades)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<MyUpgradeModuleInfo> | upgrades |