Saxonberg Server API
    Preparing search index...

    Interface AvatarInitContext

    Context passed to Avatar.postRegister() by Login when cloning.

    Threaded through the clone pipeline from StuffApi.clone(path, context) so these runtime pointers are set synchronously before PlayerApi registration or any post-init logic sees the avatar.

    interface AvatarInitContext {
        isGuest?: boolean;
        playerId?: string;
        user?: User;
    }
    Index

    Properties

    isGuest?: boolean

    Mark this avatar as an anonymous guest (throwaway, never persisted, destroyed on disconnect). Set by Login when minting a guest from the seed. A guest has no playerId and is not registered with PlayerApi.

    playerId?: string
    user?: User