Interface: SkyBlockProfileCollectionGroup


# Interface: SkyBlockProfileCollectionGroup

Interface that describes a collection category, e.g. "Farming"

# Properties

# children

children: SkyBlockProfileCollection[]

The children of this collection group.


# id

id: string

The ID of the group, e.g. "FARMING"


# maxedChildCollections

maxedChildCollections: number

Collection children that the profile has reached the maximum tier of.


# name

name: string

The name of the group, e.g. "Farming"


# progress

progress: number

A number representing the percentage progress the profile is through this group, e.g. "100" or "83.33333333333334"

# Example

const progress = collections[0].progress;
console.log(progress);
// output:
83.33333333333334

const percent = Math.round(progress * 100) / 100;
console.log(percent);
// output:
83.33
1
2
3
4
5
6
7
8
9

# totalCollections

totalCollections: number

How many collections are in this collection group.