Click or drag to resize

ElementAssignmentConflictCheck Constructor (Int32, ControllerType, Int32, Int32, Int32, Int32, Pole, Int32)

A struct for use in element assignment conflict checking. Overload for assignment of a button to replace an existing element map.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ElementAssignmentConflictCheck(
	int playerId,
	ControllerType controllerType,
	int controllerId,
	int controllerMapId,
	int elementIdentifierId,
	int actionId,
	Pole axisContribution,
	int elementMapId
)

Parameters

playerId
Type: SystemInt32
The Player that is being assigned to.
controllerType
Type: RewiredControllerType
The type of controller that is being assigned to.
controllerId
Type: SystemInt32
The id of the controller that is being assigned to.
controllerMapId
Type: SystemInt32
The unique id of the controller map that is being assigned to. Corresponds to ControllerMap.id.
elementIdentifierId
Type: SystemInt32
The element identifier id of the controller element that is being assigned.
actionId
Type: SystemInt32
The id of the Action being assigned.
axisContribution
Type: RewiredPole
The positive / negative contribution for the assignment. (Only used for split axes and buttons.)
elementMapId
Type: SystemInt32
See Also