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

VRage.Game.ModAPI.Ingame.IMyCubeBlock

Malware edited this page Dec 21, 2018 · 60 revisions

Index

IMyCubeBlock Interface

Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Implements:

Summary

Basic cube interface

Properties

Member Description
SerializableDefinitionId BlockDefinition
bool CheckConnectionAllowed
IMyCubeGrid CubeGrid
string DefinitionDisplayNameText
float DisassembleRatio
string DisplayNameText
bool IsBeingHacked
bool IsFunctional
bool IsWorking
Vector3I Max
float Mass
Vector3I Min
int NumberInGrid
MyBlockOrientation Orientation
long OwnerId
Vector3I Position
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

Methods

Member Description
string GetOwnerFactionTag()
MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner()
MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner(long playerId)
void UpdateIsWorking()
void UpdateVisual()
IMyInventory GetInventory() Inherited from IMyEntity
IMyInventory GetInventory(int index) Search for inventory component with maching index.

Inherited from IMyEntity
Vector3D GetPosition() Inherited from IMyEntity

Clone this wiki locally