Version: en
Custom Ticket Data Access
#
Supported Data SourcesThere are different levels of data sources accessible in rules.
#
MatchA match has the following accessible fields:
Field | Type | Description |
---|---|---|
Teams | List<Object> | The list of teams in the match |
Tickets | List<Object> | The list of tickets in the match |
Players | List<Object> | The list of players in the match |
#
TeamA team has the following accessible fields:
Field | Type | Description |
---|---|---|
Name | Text | The name of the team |
Tickets | List<Object> | The list of tickets in the team |
Players | List<Object> | The list of players in the team |
#
TicketA ticket has the following accessible fields:
Field | Type | Description |
---|---|---|
Age | Number | The current age of the ticket |
Players | List<Object> | The list of players in the ticket |
Data | Custom JObject | Custom data defined by the developer |
QosResults | QosResults | The QosResults for the ticket |
#
PlayerA player has the following accessible fields:
Field | Type | Description |
---|---|---|
Data | Custom JObject | Custom data defined by the developer |
#
QosResultsA QosResults has the following accessible fields:
Field | Type | Description |
---|---|---|
RegionId | string | The Multiplay Region ID |
Latency | Number | Latency in milliseconds |
PacketLoss | Number | Packet loss ratio [0.0..1.0] |
#
Supported Data OperationsOperation | Input | Output | Description |
---|---|---|---|
Count | List<*> | Number | Get the number of elements in the provided list |
Median | List<Number> | Number | Get the Median of the numbers in the provided list |
Avg | List<Number> | Number | Get the Average of the numbers in the provided list |
Sum | List<Number> | Number | Get the Summation of the numbers in the provided list |
Min | List<Number> | Number | Get the Minimum number from the provided list of numbers |
Max | List<Number> | Number | Get the Maximum number from the provided list of numbers |