This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.ModAPI.Ingame.IMyEntity
Morten Aune Lyrstad edited this page Jul 30, 2021
·
54 revisions
← Index ← Namespace Index
public interface IMyEntity
Ingame (Programmable Block) interface for all entities.
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Inheritors:
- IMyAdvancedDoor
- IMyAirtightDoorBase
- IMyAirtightHangarDoor
- IMyAirtightSlideDoor
- IMyAirVent
- IMyArtificialMassBlock
- IMyAssembler
- IMyAttachableTopBlock
- IMyBatteryBlock
- IMyBeacon
- IMyButtonPanel
- IMyCameraBlock
- IMyCargoContainer
- IMyCockpit
- IMyCollector
- IMyControlPanel
- IMyConveyor
- IMyConveyorSorter
- IMyConveyorTube
- IMyCryoChamber
- IMyCubeBlock
- IMyCubeGrid
- IMyDecoy
- IMyDoor
- IMyExtendedPistonBase
- IMyFunctionalBlock
- IMyGasGenerator
- IMyGasTank
- IMyGravityGenerator
- IMyGravityGeneratorBase
- IMyGravityGeneratorSphere
- IMyGyro
- IMyInteriorLight
- IMyJumpDrive
- IMyLandingGear
- IMyLargeConveyorTurretBase
- IMyLargeGatlingTurret
- IMyLargeInteriorTurret
- IMyLargeMissileTurret
- IMyLargeTurretBase
- IMyLaserAntenna
- IMyLightingBlock
- IMyMechanicalConnectionBlock
- IMyMedicalRoom
- IMyMotorAdvancedRotor
- IMyMotorAdvancedStator
- IMyMotorBase
- IMyMotorRotor
- IMyMotorStator
- IMyMotorSuspension
- IMyOreDetector
- IMyOxygenFarm
- IMyOxygenGenerator
- IMyOxygenTank
- IMyParachute
- IMyPassage
- IMyPistonBase
- IMyPistonTop
- IMyPowerProducer
- IMyProductionBlock
- IMyProgrammableBlock
- IMyProjector
- IMyRadioAntenna
- IMyReactor
- IMyRefinery
- IMyReflectorLight
- IMyRemoteControl
- IMySafeZoneBlock
- IMySensorBlock
- IMyShipConnector
- IMyShipController
- IMyShipDrill
- IMyShipGrinder
- IMyShipMergeBlock
- IMyShipToolBase
- IMyShipWelder
- IMySmallGatlingGun
- IMySmallMissileLauncher
- IMySmallMissileLauncherReload
- IMySolarPanel
- IMySoundBlock
- IMySpaceBall
- IMyStoreBlock
- IMyTargetDummyBlock
- IMyTargetingSystemBlock
- IMyTerminalBlock
- IMyTextPanel
- IMyThrust
- IMyTimerBlock
- IMyUpgradableBlock
- IMyUpgradeModule
- IMyUserControllableGun
- IMyVirtualMass
- IMyWarhead
- IMyWheel
Member | Description |
---|---|
Components { get; } | |
EntityId { get; } | |
Name { get; } | |
DisplayName { get; } | |
HasInventory { get; } | Returns true if this entity has got at least one inventory. Note that one aggregate inventory can contain zero simple inventories => zero will be returned even if GetInventory() != null. |
InventoryCount { get; } | Returns the count of the number of inventories this entity has. |
Closed { get; } | True if the block has been removed from the world. |
WorldAABB { get; } | |
WorldAABBHr { get; } | |
WorldMatrix { get; } | |
WorldVolume { get; } | |
WorldVolumeHr { get; } |
Member | Description |
---|---|
GetInventory() | Simply get the MyInventoryBase component stored in this entity. |
GetInventory(int) | Search for inventory component with maching index. |
GetPosition() |
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!