ReadonlydataThe raw parsed JSON data of the asset file.
ReadonlydocstringsAll JSDoc-style comment blocks parsed from this asset's source file,
in document order. Empty array when no /** … */ blocks are present.
ReadonlyfileAbsolute path to the asset's file on disk. Empty string in browser mode.
Returns all sound definition IDs in this file.
Returns the number of sound definitions.
Returns all sound definitions as an array.
Returns a single sound definition by its event ID, or undefined if not found.
Wraps the
sounds/sound_definitions.jsonfile.Access via
addon.sounds.Example