nw::snd::SoundArchive::GetPlayerIdFromIndex Member Function

Syntax

#include <nw/snd/snd_SoundArchive.h>
static ItemId GetPlayerIdFromIndex(
     u32 index
);

Arguments

Name Description
in index The player serial number.

Return Values

Returns the player ID corresponding to the serial number.

Description

Converts the player serial number to a player ID.

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

Revision History

2010/08/30
Initial version.

CONFIDENTIAL