版本

menu_open
Wwise SDK 2022.1.18

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

参数
[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)

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅