This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
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:
-
VRage.Game.ModAPI.Ingame.IMyEntity##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 fromIMyEntity| |long EntityId|Inherited fromIMyEntity| |string Name|Inherited fromIMyEntity| |string DisplayName|Inherited fromIMyEntity| |bool HasInventory|Inherited fromIMyEntity| |int InventoryCount|Inherited fromIMyEntity| |BoundingBoxD WorldAABB|Inherited fromIMyEntity| |BoundingBoxD WorldAABBHr|Inherited fromIMyEntity| |MatrixD WorldMatrix|Inherited fromIMyEntity| |BoundingSphereD WorldVolume|Inherited fromIMyEntity| |BoundingSphereD WorldVolumeHr|Inherited fromIMyEntity| ###Methods |Member|Description| |---|---| |string GetOwnerFactionTag()|| |MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner()|| |MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner(long playerId)|| |void UpdateIsWorking()|| |void UpdateVisual()|| |IMyInventory GetInventory()|Inherited fromIMyEntity| |IMyInventory GetInventory(int index)|Search for inventory component with maching index.
Inherited fromIMyEntity| |Vector3D GetPosition()|Inherited fromIMyEntity|
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!