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

◆ OnFinishProgressServer()

override void ActionUnlockShippingContainer::OnFinishProgressServer ( ActionData action_data)
inlineprivate

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

17 {
18 ShippingContainerKeys_ColorBase key = ShippingContainerKeys_ColorBase.Cast(action_data.m_MainItem);
19 ContainerLockedBase shipCont = ContainerLockedBase.Cast(action_data.m_Target.GetObject());
20 if (shipCont && key && ((shipCont.GetLockCompatibilityType(shipCont.GetDoorIndex(action_data.m_Target.GetComponentIndex())) & key.GetKeyCompatibilityType()) == 0))
21 {
22 key.DestroyKeyServer();
23 }
24 else
25 {
26 UnlockDoor(action_data.m_Target);
27 MiscGameplayFunctions.DealAbsoluteDmg(action_data.m_MainItem, APPLIED_DMG);
28 }
29 }
void ContainerLockedBase()
Определения ContainerLocked.c:114
const float APPLIED_DMG
Определения ActionUnlockDoors.c:11
void UnlockDoor(ActionTarget target)
Определения ActionUnlockContainerDoor.c:31

Перекрестные ссылки ActionData, ActionUnlockDoors::APPLIED_DMG, ShippingContainerKeys_ColorBase::DestroyKeyServer() и UnlockDoor().