Skip to main content

Module game_profile

Module game_profile 

Source
Expand description

Validated game profiles

Structsยง

GameProfile
A player UUID with name and signed properties such as skin textures
GameProfileJson ๐Ÿ”’
Session server JSON shape that is validated into a game profile on deserialization
ProfileProperties ๐Ÿ”’
Profile properties grouped by the first occurrence of each name
ProfileProperty
A game profile property
ProfilePropertyJson ๐Ÿ”’
ProfilePropertyList ๐Ÿ”’

Constantsยง

MAX_PLAYER_NAME ๐Ÿ”’
MAX_PROPERTIES ๐Ÿ”’
MAX_PROPERTY_NAME ๐Ÿ”’
MAX_PROPERTY_SIGNATURE ๐Ÿ”’
MAX_PROPERTY_VALUE ๐Ÿ”’

Functionsยง

hash_entries ๐Ÿ”’
insert_properties ๐Ÿ”’
property_group_end ๐Ÿ”’
push_hash_entry ๐Ÿ”’
push_properties_hash_entry ๐Ÿ”’
read_properties ๐Ÿ”’
read_properties_network ๐Ÿ”’
read_string ๐Ÿ”’
validate_player_name ๐Ÿ”’
validate_properties ๐Ÿ”’
validate_string ๐Ÿ”’
write_properties_network ๐Ÿ”’
write_string ๐Ÿ”’