Wwise SDK
Version
menu
|
Wwise SDK 2024.1.10
|
AkWwiseErrorHandler.h
Go to the documentation of this file.
20 /// The translator can be a combination of multiple different type of translators. (See AddTranslator)
21 /// The translated message is then send back to the sound engine through another callback function.
41 In the case overridePreviousTranslator is true, the responsibility of deleting all the translator previously attached to
43 Also, the given translator can override all previous translator(s) except the DefaultErrorMessageTranslator, which will
46 @param[in] in_overridePreviousTranslator Whether or not the given translator should override previously set translator(s)
48 static void AddTranslator(AkErrorMessageTranslator* in_errorMessageTranslator, bool in_overridePreviousTranslator);
60 ///Translate and then send back the translated message to the sound engine via it's m_funcLocalOutput
75 static void SetLocalOutputFunc(AkUInt32 in_uErrorLevel, AK::Monitor::LocalOutputFunc in_pMonitorFunc) { m_uLocalOutputErrorLevel = in_uErrorLevel; m_funcLocalOutput = in_pMonitorFunc;};
void(* LocalOutputFunc)(ErrorCode in_eErrorCode, const AkOSChar *in_pszError, ErrorLevel in_eErrorLevel, AkPlayingID in_playingID, AkGameObjectID in_gameObjID)
Function prototype of local output function pointer.
Definition: AkMonitorError.h:390
static void SetLocalOutputFunc(AkUInt32 in_uErrorLevel, AK::Monitor::LocalOutputFunc in_pMonitorFunc)
Sets the localoutputfunc.
Definition: AkWwiseErrorHandler.h:75
static void AddTranslator(AkErrorMessageTranslator *in_errorMessageTranslator, bool in_overridePreviousTranslator)
static void ResetTranslator()
static void Execute(AK::Monitor::ErrorCode in_eErrorCode, const AkOSChar *in_pszError, AK::Monitor::ErrorLevel in_errorLevel, AkPlayingID in_pID, AkUInt64 in_gId, AkUniqueID in_sId, char *in_args, AkUInt32 in_uArgSize, AkOSChar *out_pBuffer=nullptr, AkUInt32 in_BufferSize=0)
Translate and then send back the translated message to the sound engine via it's m_funcLocalOutput.
static void Release()
static AkUInt32 GetLocalOutputErrorLevel()
Definition: AkWwiseErrorHandler.h:77
Definition: AkWwiseErrorHandler.h:33
AkUInt32 AkPlayingID
A unique identifier generated whenever a PostEvent is called (or when a Dynamic Sequence is created)....
Definition: AkTypes.h:55
static AK::Monitor::LocalOutputFunc GetLocalOutputFunc()
Definition: AkWwiseErrorHandler.h:76
Cette page a-t-elle été utile ?
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideDécrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise