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

◆ CalculateQuantity()

void FlammableBase::CalculateQuantity ( )
inlineprotected

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

423 {
424 if (g_Game.IsServer() || !g_Game.IsMultiplayer())
425 {
426 SetQuantityNormalized(GetCompEM().GetEnergy0To1());
427 }
428 }
DayZGame g_Game
Определения DayZGame.c:3942
override void SetQuantityNormalized(float value, bool destroy_config=true, bool destroy_forced=false)
Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config...
Определения ItemBase.c:8321

Перекрестные ссылки g_Game и SetQuantityNormalized().

Используется в ConsumeFuelFromBottle(), ConsumeFuelFromGasStation(), ConsumeLard(), EEItemAttached(), EEItemDetached(), OnAttachmentQuantityChangedEx(), OnDebugSpawn(), OnWork(), OnWorkStop() и Upgrade().