Define PlayerProfile interface.

interface IPlayerProfile {
    displayName: string;
    snapshot: {
        fullBody: string;
        head: string;
    };
    userId: string;
    userName: string;
}

Properties

displayName: string

Player's display name.

snapshot: {
    fullBody: string;
    head: string;
}

Player's avatar snapshot.

Type declaration

  • PlannedfullBody: string

    Player's avatar full-body picture.

  • Plannedhead: string

    Player's avatar headshot.

userId: string

Player's user ID.

userName: string

Player's user name.