Click or drag to resize

ActionElementMapTryGetCombinedElementIdentifierName Method

Gets the combined descriptive name of the element identifiers bound to the Action if available. This can be used to get a descriptive name of an element that doesn't actually exist but is a sub-set of element members of a Compound Element. For example, when passing in two Action Element Maps that are bound buttons D-Pad Left and D-Pad Right, "D-Pad Horizontal" will be returned. When passing in four Action Element Maps that are bound to all four buttons of a D-Pad, "D-Pad" will be returned. The returned value will be localized if localization is in use.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool TryGetCombinedElementIdentifierName(
	IList<ActionElementMap> actionElementMaps,
	out string result
)

Parameters

actionElementMaps
Type: System.Collections.GenericIListActionElementMap
The list of Action Element Maps. All Action Element Maps must be from the same Controller Map. Result will only be returned if all Action Element Maps combined match to a known name.
result
Type: SystemString
The combined element identifier name result.

Return Value

Type: Boolean
True if a result was found, false if not.
See Also