PlayerControllerHelperMapHelperGetElementMapsWithAction(ControllerType, Int32, String, Boolean, ListActionElementMap) Method |
Gets a list of all ActionElementMaps for a specific controller that contains a specific Action.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int GetElementMapsWithAction(
ControllerType controllerType,
int controllerId,
string actionName,
bool skipDisabledMaps,
List<ActionElementMap> results
)
Parameters
- controllerType ControllerType
- The type of controller.
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- actionName String
- Name of the Action
- skipDisabledMaps Boolean
-
- results ListActionElementMap
- The list that will be filled with the results.
Return Value
Int32Number of maps found.
Exceptions
See Also