aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/CachedItemData.kt
blob: ca9f11cc6ece59474833152afbc99872b226bcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package at.hannibal2.skyhanni.utils

data class CachedItemData(
    // -1 = not loaded
    var petCandies: Int? = -1,

    // "" = not loaded
    var heldItem: String? = "",

    // -1 = not loaded
    var sackInASack: Int? = -1,

    // null = not loaded
    var riftTransferable: Boolean? = null,

    // null = not loaded
    var riftExportable: Boolean? = null,

    // null = not loaded
    var itemRarityLastCheck: Long = 0L, // Can't use SimpleTimeMark here

    // null = not loaded
    var itemRarity: LorenzRarity? = null,

    var itemCategory: ItemCategory? = null,

    var lastInternalName: NEUInternalName? = null,

    var lastInternalNameFetchTime: Long = 0L, // Still can't use SimpleTimeMark here
)