nw::snd::SoundArchive::GetItemFileId Member Function| Name | Description | |
|---|---|---|
| in | id | Item ID in the sound archive. |
Gets the file ID that corresponds to an item ID.
The types of item ID that can be converted are: sounds (STRM/WSD/SEQ), wave sound sets, sequence sound sets, banks, waveform archives, and groups.
If the ID of a wave sound set is specified, the same file ID returns if any wave sound ID included in the wave sound set in question has been specified.
If the ID of a sequence sound set is specified, the same file ID returns if the most recent sequence sound ID of the sequence sounds included in the sequence sound set in question has been specified.
If a player ID is specified, SoundArchive::INVALID_ID is returned.
The file ID obtained by this function can be used by the SoundDataManager::SetFileAddress function.
CONFIDENTIAL