Click or drag to resize

PlayerControllerHelperMapHelperGetButtonMapsWithAction(ControllerType, Int32, Boolean, ListActionElementMap) Method

Gets a list of all button ActionElementMaps for a specific controller type that contains a specific Action. This overload applies to all Controllers of the specified type assigned to the Player.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int GetButtonMapsWithAction(
	ControllerType controllerType,
	int actionId,
	bool skipDisabledMaps,
	List<ActionElementMap> results
)

Parameters

controllerType  ControllerType
Controller type
actionId  Int32
Action id
skipDisabledMaps  Boolean
Should disabled maps be skipped?
results  ListActionElementMap
The list that will be filled with the results.

Return Value

Int32
Number of maps found.
Exceptions
ExceptionCondition
ArgumentNullExceptionresults is null
See Also