nw::snd::SoundArchive::GetWaveArchiveIdFromIndex Member Function

Syntax

#include <nw/snd/snd_SoundArchive.h>

static ItemId GetWaveArchiveIdFromIndex(
     u32 index
);

Arguments

Name Description
in index The wave archive serial number.

Return Values

Returns the the wave archive ID corresponding to the serial number.

Description

Converts the wave archive serial number to a wave archive ID.

If index returns a value equal to or greater than 0 and less than GetWaveArchiveCount, all wave archive 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
GetWaveArchiveCount

Revision History

2010/08/30
Initial version.

CONFIDENTIAL