nw::snd::SoundArchive::GetBankIdFromIndex Member Function

Syntax

#include <nw/snd/snd_SoundArchive.h>

static ItemId GetBankIdFromIndex(
     u32 index
);

Arguments

Name Description
in index The bank serial number.

Return Values

Returns the bank ID corresponding to the serial number.

Description

Converts the bank serial number to a bank ID.

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

Revision History

2010/08/30
Initial version.

CONFIDENTIAL