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

◆ Normalize()

static float Normalize ( int val,
int maxVal )
staticprotected

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

1737 {
1738 if (maxVal == 0)
1739 {
1740 Debug.LogError("Division by 0 is not allowed");
1741 return 0;
1742 }
1743
1744 return val / maxVal;
1745 }
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/DayZ/tools/Debug.c:318
Определения 3_Game/DayZ/tools/Debug.c:2

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