DWC_CheckProfanityProcess

Syntax

#include <dwc.h>
DWCProfState DWC_CheckProfanityProcess(void);

Arguments

None.

Return Values

DWC_PROF_STATE_NOT_INITIALIZED The DWC_CheckProfanityAsync function has not been called.
DWC_PROF_STATE_OPERATING The check for illegal strings is in progress.
DWC_PROF_STATE_SUCCESS The check for illegal strings completed successfully.
DWC_PROF_STATE_FAIL The check for illegal strings ended in failure.
Display the error code according to the result of the DWC_GetLastErrorEx function and handle the error accordingly.

Description

Advances the check for illegal strings. After calling the DWC_CheckProfanityAsync function, call DWC_CheckProfanityProcess roughly once every game frame.

If DWC_PROF_STATE_SUCCESS is returned as the return value, you can get the check result from the result argument specified in the DWC_CheckProfanityAsync function.

Note: When the illegal string check ends and DWC_PROF_STATE_SUCCESS or DWC_PROF_STATE_FAIL is returned, the system returns to its initial state before illegal string check processing started. For this reason, this function subsequently returns DWC_PROF_STATE_NOT_INITIALIZED until illegal string check processing is started again by the DWC_CheckProfanityAsync or DWC_CheckProfanityExAsync function.

Revision History

5.1 PR2
Added a description of return values when the process completes.

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL