This function can be used to check whether the game is under a trial licence or not. If it is the function will return true, or false otherwise.
uwp_license_trial_version();
Boolean(布尔值)
if uwp_license_trial_version()
{
global.LevelCap = 10;
}
The above code checks to see if the app is under a trial licence and, if so, it sets a global variable.