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

◆ GetQuantityNormalized()

override float GetQuantityNormalized ( )
protected

Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5)

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

3417 {
3419 }
float m_VarQuantity
Определения ItemBase.c:37
override int GetQuantityMin()
Определения ItemBase.c:3470
override int GetQuantityMax()
Определения ItemBase.c:3435
Определения EnMath.c:7
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...

Перекрестные ссылки GetQuantityMax(), GetQuantityMin(), Math::InverseLerp() и m_VarQuantity.

Используется в GetBaitEffectivity(), GetQuantityNormalizedScripted(), GetTemperatureFreezeTime(), GetTemperatureThawTime(), OnQuantityChanged() и ItemBase::UpdateSelections().