hywrapper-ts / Exports / CollectionsResponseHelper
Class: CollectionsResponseHelper
Helper class to provide methods similar to the Kotlin version.
Table of contents
Constructors
Methods
Constructors
constructor
• new CollectionsResponseHelper(): CollectionsResponseHelper
Returns
Methods
getCollection
▸ getCollection(response, skill): undefined | Collection
Retrieves a collection from the collections response by skill type.
Parameters
| Name | Type | Description |
|---|---|---|
response |
CollectionsResponse |
The collections response. |
skill |
SkillType |
The skill type. |
Returns
undefined | Collection
The collection data, or undefined if not found.
Defined in
src/models/skyblock/CollectionsResponse.ts:38