genshin-manager
    Preparing search index...

    Class ProfilePicture

    Class of character's profile picture

    Index

    Constructors

    • Create a ProfilePicture

      Parameters

      • profilePictureId: number

        Profile picture ID

      Returns ProfilePicture

    Properties

    characterId?: number

    Avatar ID

    Exists only if type is PROFILE_PICTURE_UNLOCK_BY_AVATAR

    costumeId?: number

    Costume ID

    Exists only if type is PROFILE_PICTURE_UNLOCK_BY_COSTUME

    Profile picture icon

    id: number

    Profile picture ID

    materialId?: number

    Material ID

    Exists only if type is PROFILE_PICTURE_UNLOCK_BY_ITEM

    questId?: number

    Quest ID

    Exists only if type is PROFILE_PICTURE_UNLOCK_BY_PARENT_QUEST

    Profile picture type

    Accessors

    • get allProfilePictureIds(): number[]

      Get all profile picture IDs

      Returns number[]

      Profile picture IDs

    Methods

    • Find profile picture ID by info ID

      Parameters

      • unlockParam: number

        Costume ID or Character ID or Material ID or Quest ID

      Returns undefined | number

      Profile picture ID