版本

menu_open
Wwise SDK 2024.1.0

◆ PostCode()

AKSOUNDENGINE_API AKRESULT AK::Monitor::PostCode ( ErrorCode  in_eError,
ErrorLevel  in_eErrorLevel,
AkPlayingID  in_playingID = AK_INVALID_PLAYING_ID,
AkGameObjectID  in_gameObjID = AK_INVALID_GAME_OBJECT,
AkUniqueID  in_audioNodeID = AK_INVALID_UNIQUE_ID,
bool  in_bIsBus = false 
)

Post a monitoring message or error code. This will be displayed in the Wwise capture log. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag. Otherwise, there'll be an undefined behavior

返回
AK_Success if successful, AK_Fail if there was a problem posting the message. In optimized mode, this function returns AK_NotCompatible.
备注
This function is provided as a tracking tool only. It does nothing if it is called in the optimized/release configuration and return AK_NotCompatible.
参数
in_eErrorMessage or error code to be displayed
in_eErrorLevelSpecifies whether it should be displayed as a message or an error
in_playingIDRelated Playing ID if applicable
in_gameObjIDRelated Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
in_audioNodeIDRelated Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
in_bIsBustrue if in_audioNodeID is a bus

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅