DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ClearFlags()

static proto int EnProfiler::ClearFlags ( bool sessionReset = true)
staticprivate

Remove all flags from the currently used set of EnProfilerFlags across the API.

Заметки
Simply a helper method to quickly remove all EnProfilerFlags
Аргументы
sessionResetbool When set to false, no [SR] will trigger, regardless of situation
Возвращает
int The currently used set of EnProfilerFlags after the function call
// In the case where the current set of EnProfilerFlags is EnProfilerFlags.RESET
// The resulting set of flags now will be EnProfilerFlags.NONE
// As the above is pretty much the same as the following
// EnProfiler.SetFlags(EnProfilerFlags.NONE);
// But a much cleaner and implicit alternative
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
static proto int ClearFlags(bool sessionReset=true)
Remove all flags from the currently used set of EnProfilerFlags across the API.

Используется в EnProfilerTests::TestAddFlags() и EnProfilerTests::TestClearFlags().