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

◆ GetFlags()

static proto int EnProfiler::GetFlags ( )
staticprivate

Get the currently used flags across the API.

Возвращает
int The currently used set of EnProfilerFlags
int flags = EnProfiler.GetFlags();
if (flags & EnProfilerFlags.RECURSIVE)
{
Print("Currently profiling all modules.");
}
Set of methods for accessing script profiling data.
Определения EnProfiler.c:73
proto void Print(void var)
Prints content of variable to console/log.
static proto int GetFlags()
Get the currently used flags across the API.
EnProfilerFlags
Flags that influences the behaviour of the EnProfiler API, applied through ...Flags functions.
Определения EnProfiler.c:9

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