Skip to content

AttributeValue

Source code in docs_src/capo_gamelift/types/attribute_value.py
class AttributeValue(TypedDict, closed=True):
    s: NotRequired["capo_gamelift.types.player_attribute_string.PlayerAttributeString"]
    """<p>For single string values. Maximum string length is 100 characters.</p>"""
    n: NotRequired["capo_gamelift.types.double_object.DoubleObject"]
    """<p>For number values, expressed as double.</p>"""
    sl: NotRequired[
        "capo_gamelift.types.player_attribute_string_list.PlayerAttributeStringList"
    ]
    """<p>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.</p>"""
    sdm: NotRequired[
        "capo_gamelift.types.player_attribute_string_double_map.PlayerAttributeStringDoubleMap"
    ]
    """<p>For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters. </p>"""

n instance-attribute

n: NotRequired[DoubleObject]

For number values, expressed as double.

s instance-attribute

s: NotRequired[PlayerAttributeString]

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

sdm instance-attribute

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

sl instance-attribute

sl: NotRequired[PlayerAttributeStringList]

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.