Table of Contents

Wwise SDK 2019.1.5

◆ GetListeners()

virtual bool AK::IAkGameObjectPluginInfo::GetListeners ( AkGameObjectID out_aListenerIDs,
AkUInt32 io_uSize 
) const
pure virtual

Get the game object IDs of listener game objects that are listening to the emitter game object. Note that only listeners relevant to the current context are considered. For example, if the calling plug-in exists on a bus, only listeners that are routed to the end point's device are added to the returned array.

Returns
True if the call succeeded, false if all the listeners could not fit into the array,
See also
Parameters
out_aListenerIDs Array of listener IDs to fill, or NULL to query the size needed.
io_uSize In: max size of the array, out: number of valid elements returned in out_aListenerIDs.