Module Values.AttributeValueSource

Values 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.

Sourcetype nonrec t = {
  1. s : PlayerAttributeString.t option;
    (*

    For single string values. Maximum string length is 100 characters.

    *)
  2. n : DoubleObject.t option;
    (*

    For number values, expressed as double.

    *)
  3. 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.

    *)
  4. sDM : PlayerAttributeStringDoubleMap.t option;
    (*

    For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.

    *)
}
Sourceval make : ?s:??? -> ?n:??? -> ?sL:??? -> ?sDM:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t