Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RegisterAvatarForRegistration

Description

Sent after a successful RegisterPlayer response.

Associates the chosen avatar and starter inventory items with the newly created player account.

Request

FieldTypeDescription
PlayerIDOIDThe OID returned by RegisterPlayer
SecretCodestring
NamestringAvatar name
Biostring
AvatarIDOIDOID of the selected avatar
GivenInventoryIDs[]OIDList of starter item OIDs selected during intro
GivenItemSlotIDs[]OIDList of inventory slot OIDs for the starter items

Response

FieldTypeDescription
PlayerAvatarPlayerAvatarThe created avatar object
InvalidCodeCountint32Number of invalid secret code attempts
InvalidCodeThresholdint32Maximum allowed invalid code attempts