Version

menu_open
Wwise SDK 2019.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.

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.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise