Web Sound¶
This page documents hooks in the web sound category.
WebSoundDownloaded(name, path)View Source
Purpose
Runs after a web sound is freshly downloaded, validated, written to the local data cache, and counted in the web sound statistics.
Category
Web Sound
Realm
Client
Parameters
string name The normalized web sound name or cache key used for the downloaded sound.
string path The local `data/` path for the cached sound file.
Example Usage
hook.Add("WebSoundDownloaded", "liaExampleWebSoundDownloaded", function(name, path)
print("[MyModule] handled WebSoundDownloaded")
end)