nw::snd::SoundArchive::GetSoundIdFromIndex Member Function

Syntax

#include <nw/snd/snd_SoundArchive.h>

static ItemId GetSoundIdFromIndex(
     u32 index
);

Arguments

Name Description
in index The sound serial number.

Return Values

Returns the sound ID corresponding to the serial number.

Description

Converts the sound serial number to a sound ID.

If index returns a value equal to or greater than 0 and less than GetSoundCount, all sound IDs can be obtained.

Take care on the application side when using obtained values, as no value range check is made for the maximum value.

See Also

ItemId

Revision History

2010/08/30
Initial version.

CONFIDENTIAL