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

VRage.Game.ModAPI.Ingame.IMyEntity.HasInventory

Malware edited this page Dec 13, 2025 · 15 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexIMyEntity

Summary

public bool 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.

Returns

bool

Clone this wiki locally