genshin-manager
    Preparing search index...

    Class Material

    Class of material

    Index

    Constructors

    • Create a Material

      Parameters

      • materialId: number

        Material ID

      Returns Material

    Properties

    description: string

    Material description

    Material icon

    id: number

    Material ID

    itemType: ItemType

    Material type

    materialType?: MaterialType

    Material type

    name: string

    Material name

    pictures: ImageAssets[]

    Material pictures

    Accessors

    • get allMaterialIds(): number[]

      Get all material IDs

      Returns number[]

      All material IDs

    Methods

    • Get material ID by name

      Parameters

      • name: string

        Material name

      Returns number[]

      Material ID