Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyUpgradableBlock

Malware edited this page Dec 21, 2018 · 57 revisions

Index

IMyUpgradableBlock Interface

** Namespace: ** Sandbox.ModAPI.Ingame
** Assembly: ** Sandbox.Common.dll
** Implements: **

Summary

interface to retrieve upgrade effects on block

Properties

Member Description
uint UpgradeCount
MyEntityComponentContainer Components Inherited from IMyEntity
long EntityId Inherited from IMyEntity
string Name Inherited from IMyEntity
string DisplayName Inherited from IMyEntity
bool HasInventory Inherited from IMyEntity
int InventoryCount Inherited from IMyEntity
BoundingBoxD WorldAABB Inherited from IMyEntity
BoundingBoxD WorldAABBHr Inherited from IMyEntity
MatrixD WorldMatrix Inherited from IMyEntity
BoundingSphereD WorldVolume Inherited from IMyEntity
BoundingSphereD WorldVolumeHr Inherited from IMyEntity
SerializableDefinitionId BlockDefinition Inherited from IMyCubeBlock
bool CheckConnectionAllowed Inherited from IMyCubeBlock
IMyCubeGrid CubeGrid Inherited from IMyCubeBlock
string DefinitionDisplayNameText Inherited from IMyCubeBlock
float DisassembleRatio Inherited from IMyCubeBlock
string DisplayNameText Inherited from IMyCubeBlock
bool IsBeingHacked Inherited from IMyCubeBlock
bool IsFunctional Inherited from IMyCubeBlock
bool IsWorking Inherited from IMyCubeBlock
Vector3I Max Inherited from IMyCubeBlock
float Mass Inherited from IMyCubeBlock
Vector3I Min Inherited from IMyCubeBlock
int NumberInGrid Inherited from IMyCubeBlock
MyBlockOrientation Orientation Inherited from IMyCubeBlock
long OwnerId Inherited from IMyCubeBlock
Vector3I Position Inherited from IMyCubeBlock

Methods

Member Description
void GetUpgrades(ref Dictionary<string, float> upgrades)
IMyInventory GetInventory() Inherited from IMyEntity
IMyInventory GetInventory(int index) Search for inventory component with maching index.

Inherited from IMyEntity
Vector3D GetPosition() Inherited from IMyEntity
string GetOwnerFactionTag() Inherited from IMyCubeBlock
MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner() Inherited from IMyCubeBlock
MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner(long playerId) Inherited from IMyCubeBlock
void UpdateIsWorking() Inherited from IMyCubeBlock
void UpdateVisual() Inherited from IMyCubeBlock

Clone this wiki locally