Click or drag to resize
MyEntityExtensionsTryGetInventory Method (MyEntity, MyInventoryBase)

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "M:Sandbox.Game.Entities.MyEntityExtensions.TryGetInventory(VRage.Game.Entity.MyEntity,VRage.Game.Entity.MyInventoryBase@)"]

Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game (in Sandbox.Game.dll) Version: 0.1.5991.32293
Syntax
C#
public static bool TryGetInventory(
	MyEntity thisEntity,
	out MyInventoryBase inventoryBase
)

Parameters

thisEntity
Type: VRage.Game.EntityMyEntity

[Missing <param name="thisEntity"/> documentation for "M:Sandbox.Game.Entities.MyEntityExtensions.TryGetInventory(VRage.Game.Entity.MyEntity,VRage.Game.Entity.MyInventoryBase@)"]

inventoryBase
Type: MyInventoryBase

[Missing <param name="inventoryBase"/> documentation for "M:Sandbox.Game.Entities.MyEntityExtensions.TryGetInventory(VRage.Game.Entity.MyEntity,VRage.Game.Entity.MyInventoryBase@)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Sandbox.Game.Entities.MyEntityExtensions.TryGetInventory(VRage.Game.Entity.MyEntity,VRage.Game.Entity.MyInventoryBase@)"]

See Also