Constructs a new message instance.
Reference to the reflected type.
For number values, expressed as double.
For single string values.
Maximum string length is 100 characters.
For a map of up to 10 data string:double pairs.
Maximum length for each string value is 100 characters.
For a list of up to 10 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.
"Enumeration" that determines the type of attribute value.
This isn't a true Protocol Buffer enumeration, just an integer that specifies NONE, STRING, DOUBLE, STRING_LIST, or STRING_DOUBLE_MAP.
Reference to the reflected type.
Defines DOUBLE
type for type field.
Defines NONE
type for type field.
Defines STRING
type for type field.
Defines STRING_DOUBLE_MAP
type for type field.
Defines STRING_LIST
type for type field.
Converts this message to JSON.
JSON object
Creates a new message of this type using the specified properties.
Message instance
Decodes a message of this type.
Reader or buffer to decode
Decoded message
Decodes a message of this type preceeded by its length as a varint.
Reader or buffer to decode
Decoded message
Encodes a message of this type.
Message to encode
Writer
Encodes a message of this type preceeded by its length as a varint.
Message to encode
Writer
Creates a new message of this type from a plain object. Also converts values to their respective internal types.
Plain object
Message instance
Creates a plain object from a message of this type. Also converts values to other types if specified.
Message instance
Plain object
Verifies a message of this type.
Plain object to verify
null
if valid, otherwise the reason why it is not
Generated using TypeDoc
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.