Contents

GameCenterMatchmakingRule.Attributes

The attributes of a matchmaking rule.

Declaration

object GameCenterMatchmakingRule.Attributes

Properties

NameTypeDescription
descriptionstring

A human-readable description of the rule.

expressionstring

Code that returns a Boolean or numeric value that the matchmaking rules algorithm executes to compare or filter match requests.

referenceNamestring

A name for the rule that’s unique within the scope of its rule set.

typestring

The type or category of the rule that determines the return value and properties available in the expression.

weightnumber

A numeric value for the rule when type is either DISTANCE or MATCH.