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

◆ OnFinishProgressServer()

override void ActionSplintSelf::OnFinishProgressServer ( ActionData action_data)
inlineprivate

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

33 {
34 action_data.m_MainItem.TransferModifiers(action_data.m_Player);
35 action_data.m_Player.ApplySplint();
36
37 //Double check to not enter splinted state if legs are not broken
38 if (action_data.m_Player.GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
39 {
40 action_data.m_Player.SetBrokenLegs(eBrokenLegs.BROKEN_LEGS_SPLINT);
41
42 ItemBase new_item = ItemBase.Cast(action_data.m_Player.GetInventory().CreateInInventory("Splint_Applied"));
43 if ( new_item )
44 {
45 MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem,new_item,true,false,true);
46 action_data.m_MainItem.Delete();
47 }
48 }
49 }
eBrokenLegs
Определения EBrokenLegs.c:2
class GP5GasMask extends MaskBase ItemBase

Перекрестные ссылки ActionData.