VRage.Game.ModAPI.Ingame.IMyEntity.HasInventory - bimbam2103/space_engineers GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️