版本

menu_open
警告:系统已根据您所用大版本 (2023.1.4.8496) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.4

◆ 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 之旅