Show raw api
{
"functions": [
{
"name": "isSoundGroupPath",
"desc": "Checks if the given string is a valid sound group path.",
"params": [
{
"name": "soundGroupPath",
"desc": "",
"lua_type": "string"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"deprecated": {
"version": "1.54.0",
"desc": "Use [InstancePathUtils.isInstancePath] instead."
},
"source": {
"line": 29,
"path": "src/soundgroups/src/Shared/Utils/SoundGroupPathUtils.lua"
}
},
{
"name": "toPathTable",
"desc": "Converts a sound group path into a table of strings.",
"params": [
{
"name": "soundGroupPath",
"desc": "",
"lua_type": "InstancePath"
}
],
"returns": [
{
"desc": "",
"lua_type": "InstancePathTable"
}
],
"function_type": "static",
"deprecated": {
"version": "1.54.0",
"desc": "Use [InstancePathUtils.toPathTable] instead."
},
"source": {
"line": 40,
"path": "src/soundgroups/src/Shared/Utils/SoundGroupPathUtils.lua"
}
},
{
"name": "findSoundGroup",
"desc": "Finds the sound group at the given path, searching from [SoundService] if no root is given.",
"params": [
{
"name": "soundGroupPath",
"desc": "",
"lua_type": "InstancePath"
},
{
"name": "root",
"desc": "",
"lua_type": "Instance?"
}
],
"returns": [
{
"desc": "",
"lua_type": "SoundGroup?"
}
],
"function_type": "static",
"deprecated": {
"version": "1.54.0",
"desc": "Use [InstancePathUtils.findInstance] instead."
},
"source": {
"line": 52,
"path": "src/soundgroups/src/Shared/Utils/SoundGroupPathUtils.lua"
}
},
{
"name": "findOrCreateSoundGroup",
"desc": "Finds the sound group at the given path, constructing any missing sound groups along the\nway. Searches from [SoundService] if no root is given.",
"params": [
{
"name": "soundGroupPath",
"desc": "",
"lua_type": "InstancePath"
},
{
"name": "root",
"desc": "",
"lua_type": "Instance?"
}
],
"returns": [
{
"desc": "",
"lua_type": "SoundGroup"
}
],
"function_type": "static",
"deprecated": {
"version": "1.54.0",
"desc": "Use [InstancePathUtils.findOrCreateInstance] instead."
},
"source": {
"line": 67,
"path": "src/soundgroups/src/Shared/Utils/SoundGroupPathUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "SoundGroupPathUtils",
"desc": "",
"deprecated": {
"version": "1.54.0",
"desc": "Use [InstancePathUtils] from `@quenty/instance-path` instead."
},
"source": {
"line": 6,
"path": "src/soundgroups/src/Shared/Utils/SoundGroupPathUtils.lua"
}
}