# GameCheatIsAllowed

FlagsNative

# Arguments

  • int — cheat

Returns — bool

native bool GameCheatIsAllowed(int cheat);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1972

    lv_index = 0;
    for ( ; ( (auto384D4A4D_ai >= 0 && lv_index <= auto384D4A4D_ae) || (auto384D4A4D_ai < 0 && lv_index >= auto384D4A4D_ae) ) ; lv_index += auto384D4A4D_ai ) {
        libNtve_gv__CineModeSavedCheatAllowed[lv_index] = GameCheatIsAllowed(lv_index);
    }
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1662

    lv_index = 0;
    for ( ; ( (auto384D4A4D_ai >= 0 && lv_index <= auto384D4A4D_ae) || (auto384D4A4D_ai < 0 && lv_index >= auto384D4A4D_ae) ) ; lv_index += auto384D4A4D_ai ) {
        libNtve_gv__CineModeSavedCheatAllowed[lv_index] = GameCheatIsAllowed(lv_index);
    }
}