Click or drag to resize

ControllerMapLayoutManagerRule Class

Settings for persisting a Controller Map Layout.
Inheritance Hierarchy
SystemObject
  RewiredControllerMapLayoutManagerRule

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class Rule

The ControllerMapLayoutManagerRule type exposes the following members.

Constructors
Properties
  NameDescription
Public propertycategoryId
The first Map Category id of the Controller Maps the rule applies to. If you need to set more than one Map Category, use categoryIds instead. This is required, or you can set the value using categoryName, categoryIds, or categoryNames instead. Set this to -1 to clear the categories. Note: If you set this value while an array of categories has already been set, the array will be cleared and only this value will remain.
Public propertycategoryIds
The Map Category ids of the Controller Maps the rule applies to. This is required, or you can set the value using categoryNames instead. Set this to null to clear the categories.
Public propertycategoryName
The first Map Category of the Controller Maps the rule applies to. If you need to set more than one Map Category, use categoryNames instead. This is required, or you can set the value using categoryId, categoryNames, or categoryIds instead. Set this to null to clear the categories. Note: If you set this value while an array of categories has already been set, the array will be cleared and only this value will remain.
Public propertycategoryNames
The Map Category names of the Controller Maps the rule applies to. This is an alternate way of setting the Map Category id. This will automatically be set by the Map Category id and vice versa when changed. This is required, or you can set the value using categoryIds instead. Set this to null to clear the categories.
Public propertycontrollerSetSelector
Determines which Controller(s) this applies to.
Public propertylayoutId
The Layout id of the Controller Maps the rule applies to. This is required, or you can set the value using layoutName instead.
Public propertylayoutName
The Layout name of the Controller Maps the rule applies to. This is an alternate way of setting the Layout id. This will automatically be set by the Layout id and vice versa when changed. This is required, or you can set the value using layoutId instead. NOTE: controllerSetSelector must be set before this value is set because controllerType is used to determine the Controller Type for looking up the Layout id. Alway create the controllerSetSelector before setting this value as a string. The same limitation does not apply to layoutId.
Public propertytag
A tag which can be used to find an rule in the list. This is optional.
Top
See Also