Add some JSDoc info for intellisense

This commit is contained in:
Vortrex
2022-01-20 03:11:44 -06:00
parent 3bed5e5ef7
commit 2130c783bc
7 changed files with 40 additions and 3 deletions

View File

@@ -83,6 +83,10 @@ function showAnimationListCommand(command, params, client) {
// ===========================================================================
/**
* @param {number} animationSlot - The slot index of the animation
* @return {Array} The animation's data (array)
*/
function getAnimationData(animationSlot, gameId = getServerGame()) {
return getGameData().animations[gameId][animationSlot];
}