WearableSetsFacet
getWearableSets
Query all available wearable sets
Called by off chain software so not too concerned about gas costs
Return Values
Name | Type | Description |
---|---|---|
wearableSets_ | struct WearableSet[] | Am array of structs, each struct containing details about a wearable set |
getWearableSet
Query a particular wearable set
Parameters
Name | Type | Description |
---|---|---|
_index | uint256 | Index of the set to query |
Return Values
Name | Type | Description |
---|---|---|
wearableSet_ | struct WearableSet | A struct containing details about a wearable set with index |
totalWearableSets
Query how many wearable sets are available
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | The total number of wearable sets available |
findWearableSets
Query the wearable set identiiers that a wearable belongs to
Parameters
Name | Type | Description |
---|---|---|
_wearableIds | uint256[] | An array containing the wearable identifiers to query |
Return Values
Name | Type | Description |
---|---|---|
wearableSetIds_ | uint256[] | An array containing the wearable set identifiers for each |