Skip to main content

doChineseGarbling

Callable

  • doChineseGarbling(character: string, gagLevel: number): string

  • Get the character and determine if it is a Chinese character, if it does, do random garbling according to the gagLevel. This is only a hotfix for the issue where Chinese characters are not displayed because they are not properly garbled, when showing as options.


    Parameters

    • character: string

      The character needs to be garbled.

    • gagLevel: number

      Gag level.

    Returns string

    • The character that being garbled.