Values.AttributeValueSourceValues for use in player attribute key-value pairs. This object lets you specify an attribute value using any of the valid data types: string, number, string array, or data map. Each AttributeValue object can use only one of the available properties.
type nonrec t = {s : PlayerAttributeString.t option;For single string values. Maximum string length is 100 characters.
*)n : DoubleObject.t option;For number values, expressed as double.
*)sL : PlayerAttributeStringList.t option;For a list of up to 100 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored.
*)sDM : PlayerAttributeStringDoubleMap.t option;For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Double of DoubleObject.t
| `List of [> `String of PlayerAttributeString.t ] list
| `Map of
([> `String of PlayerAttributeString.t ]
* [> `Double of DoubleObject.t ])
list
| `String of PlayerAttributeString.t ])
list ]