Table des matières

Wwise SDK 2018.1.11

◆ 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.

True if the call succeeded, false if all the listeners could not fit into the array,
See also
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.