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

◆ OnDeactivate()

override void BrokenLegsMdfr::OnDeactivate ( PlayerBase player)
inlineprivate

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

39 {
40 player.UpdateBrokenLegs(eBrokenLegs.NO_BROKEN_LEGS);
41 if ( player.IsWearingSplint() )
42 {
43 MiscGameplayFunctions.RemoveSplint(player); //Remove splint when leg is healed
44 }
45
46 player.SetBrokenLegs(eBrokenLegs.NO_BROKEN_LEGS);
47 player.GetNotifiersManager().DeactivateByType(eNotifiers.NTF_FRACTURE);
48 }
eBrokenLegs
Определения EBrokenLegs.c:2
eNotifiers
Определения NotifiersManager.c:2