Table of Contents

Wwise SDK 2018.1.11

◆ ResolveDialogueEvent() [2/2]

AkUniqueID __cdecl AK::SoundEngine::DynamicDialogue::ResolveDialogueEvent ( const char *  in_pszEventName,
const char **  in_aArgumentValueNames,
AkUInt32  in_uNumArguments,
AkPlayingID  in_idSequence = AK_INVALID_PLAYING_ID,
AkCandidateCallbackFunc  in_candidateCallbackFunc = NULL,
void *  in_pCookie = NULL 
)

Resolve a dialogue event into an audio node ID based on the specified argument path.

Returns
Unique ID of audio node, or AK_INVALID_UNIQUE_ID if no audio node is defined for specified argument path
Parameters
in_pszEventName Name of dialogue event
in_aArgumentValueNames Argument path, as array of argument value names. "" indicates a fallback argument value
in_uNumArguments Number of argument value names in in_aArgumentValueNames
in_idSequence Optional sequence ID in which the token will be inserted (for profiling purposes)
in_candidateCallbackFunc Optional callback for candidate validation based on custom criteria
in_pCookie Callback cookie (reserved to user, passed to the callback function)