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

◆ Normalize()

static float Normalize ( int val,
int maxVal )
staticprotected

См. определение в файле MiscGameplayFunctions.c строка 1597

1598 {
1599 if (maxVal == 0)
1600 {
1601 Debug.LogError("Division by 0 is not allowed");
1602 return 0;
1603 }
1604
1605 return val / maxVal;
1606 }
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
Определения 3_Game/tools/Debug.c:245
Определения 3_Game/tools/Debug.c:2

Перекрестные ссылки Debug::LogError().