Version

menu_open
Wwise SDK 2022.1.12

◆ AddTranslator()

static void AkWwiseErrorHandler::AddTranslator ( AkErrorMessageTranslator in_errorMessageTranslator,
bool  in_overridePreviousTranslator 
)
static

Set the m_currentMessageTranslator to the given translator. The added translator can either override previously added translator, or attach them to itself. In the case overridePreviousTranslator is true, the responsibility of deleting all the translator previously attached to the m_currentMessageTranslator will fall back to the class that created them. Also, the given translator can override all previous translator(s) except the DefaultErrorMessageTranslator, which will always be attached to the given translator.

Parameters
[in]in_errorMessageTranslatorThe new translator that should be used by the error handler
[in]in_overridePreviousTranslatorWhether or not the given translator should override previously set translator(s)

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