Click or drag to resize
MyDefinitionManagerTryGetDefinitionT Method (MyDefinitionId, T)

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

[Missing <summary> documentation for "M:Sandbox.Definitions.MyDefinitionManager.TryGetDefinition``1(VRage.Game.MyDefinitionId,``0@)"]

Namespace: Sandbox.Definitions
Assembly: Sandbox.Game (in Sandbox.Game.dll) Version: 0.1.5991.32293
Syntax
C#
public bool TryGetDefinition<T>(
	MyDefinitionId defId,
	out T definition
)
where T : MyDefinitionBase

Parameters

defId
Type: VRage.GameMyDefinitionId

[Missing <param name="defId"/> documentation for "M:Sandbox.Definitions.MyDefinitionManager.TryGetDefinition``1(VRage.Game.MyDefinitionId,``0@)"]

definition
Type: T

[Missing <param name="definition"/> documentation for "M:Sandbox.Definitions.MyDefinitionManager.TryGetDefinition``1(VRage.Game.MyDefinitionId,``0@)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Sandbox.Definitions.MyDefinitionManager.TryGetDefinition``1(VRage.Game.MyDefinitionId,``0@)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Sandbox.Definitions.MyDefinitionManager.TryGetDefinition``1(VRage.Game.MyDefinitionId,``0@)"]

See Also