Click or drag to resize

PlayerControllerHelperMapHelperGetAllMapsInCategoryT Method (Int32, ListT)

Gets a list of all controller maps 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 GetAllMapsInCategory<T>(
	int categoryId,
	List<T> results
)
where T : ControllerMap

Parameters

categoryId
Type: SystemInt32
Category id
results
Type: System.Collections.GenericListT
The list that will be filled with the results.

Type Parameters

T
Controller Map type

Return Value

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