Skip to content
Snippets Groups Projects
Commit 45d5c701 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

add doc

parent 5c3758dd
No related branches found
No related tags found
1 merge request!8502Clothing data
......@@ -63,8 +63,8 @@ globalThis.isItemAccessible = (function() {
/**
* Returns array of wearable clothing in format [name, value], basically player facing / game data.
* @param {Map} map Map to look in (such as App.Data.clothes)
* @param {string} [filter]
* @param {any} [filterValue]
* @param {string} [filter] for example, if we want to filer clothing data by the "harsh" property, pass harsh as the parameter here.
* @param {any} [filterValue] remove any clothing where the .filter property does not match this value. Function will evaluate undefined as false.
* @returns {Array}
*/
function array(map, filter, filterValue) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment