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

◆ OnEntry()

enum HandStateID OnEntry ( HandEventBase e)

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

13 {
14 if(e)
15 {
16 switch (e.m_EventID)
17 {
18 case HandEventID.MOVETO:
19 if (HumanInventory.HasInventoryReservation(e.GetSrcEntity(), e.GetDst()))
20 HumanInventory.ClearInventoryReservation(e.GetSrcEntity(), e.GetDst());
21 break;
22
23 default: {};
24 }
25 }
26 super.OnEntry(e);
27 }
HandEventID
events
Определения Hand_Events.c:7
static proto native bool ClearInventoryReservation(EntityAI item, InventoryLocation dst)
static proto native bool HasInventoryReservation(EntityAI item, InventoryLocation dst)
Internally: HasInventoryReservationEx(item, dst, FindInventoryReservationMode.LEGACY,...
override InventoryLocation GetDst()
Определения Hand_Events.c:212
inventory for plain man/human
Определения HumanInventory.c:10