Skip to content

Commit 9c1f76e

Browse files
committed
Fix docgen
1 parent f4beacb commit 9c1f76e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

src/structures/MiniGames/WoolGames.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,14 @@ class SheepWars {
308308
}
309309
}
310310

311+
/**
312+
* WoolGames Stats
313+
*/
311314
class WoolGames {
315+
/**
316+
* Constructor
317+
* @param {Record<string, unknown>} data Data from API
318+
*/
312319
constructor(data) {
313320
/**
314321
* Layers
@@ -321,17 +328,17 @@ class WoolGames {
321328
*/
322329
this.xp = data?.progression?.experience || 0;
323330
/**
324-
* exactLevel
331+
* Exact Level
325332
* @type {number}
326333
*/
327334
this.exactLevel = this.convertXPToLevel(this.xp);
328335
/**
329-
* level
336+
* Level
330337
* @type {number}
331338
*/
332339
this.level = Math?.floor(this.exactLevel);
333340
/**
334-
* coins
341+
* Coins
335342
* @type {number}
336343
*/
337344
this.coins = data?.coins || 0;
@@ -342,7 +349,7 @@ class WoolGames {
342349
this.ownedCosmetics = data?.packages || [];
343350
/**
344351
* Private Games Config
345-
* @type {number}
352+
* @type {WoolGamesPrivateGamesConfig}
346353
*/
347354
this.privateGamesConfig = data?.privategames || {};
348355
/**
@@ -385,7 +392,7 @@ class WoolGames {
385392
}
386393

387394
/**
388-
* @typedef {object} SkyblockMemberHotm
395+
* @typedef {object} WoolGamesPrivateGamesConfig
389396
* @property {boolean} one_hit_one_kill one hit one kill
390397
* @property {'Enabled' | 'Disabled'} rainbow_wool rainbow wool
391398
* @property {string} health_buff health buff

0 commit comments

Comments
 (0)