Click or drag to resize

PlayerControllerHelperMapHelperGetMapsInCategoryT Method (Int32, Int32)

Enumerates controller maps for a specific controller assigned to this Player in a specific category.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IEnumerable<T> GetMapsInCategory<T>(
	int controllerId,
	int categoryId
)
where T : ControllerMap

Parameters

controllerId
Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
categoryId
Type: SystemInt32
Map Category id.

Type Parameters

T
Controller Map type.

Return Value

Type: IEnumerableT
Enumeration of Controller Maps
See Also