Click or drag to resize

PlayerControllerHelperMapHelperGetMapsInCategory Method (ControllerType, Int32, Int32, ListControllerMap)

Gets a list of 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 int GetMapsInCategory(
	ControllerType controllerType,
	int controllerId,
	int categoryId,
	List<ControllerMap> results
)

Parameters

controllerType
Type: RewiredControllerType
Controller type.
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.
results
Type: System.Collections.GenericListControllerMap
The list that will be filled with the results.

Return Value

Type: Int32
Number of Controller Maps found.
Exceptions
ExceptionCondition
ArgumentNullExceptionresults is null
See Also