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

◆ OnInventoryEnter()

void InventoryItem::OnInventoryEnter ( Man player)
inlineprotected

Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.

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

3799 {
3800 PlayerBase nplayer;
3801 if (PlayerBase.CastTo(nplayer, player))
3802 {
3803 m_CanPlayImpactSound = true;
3804 //nplayer.OnItemInventoryEnter(this);
3805 nplayer.SetEnableQuickBarEntityShortcut(this,!GetHierarchyParent() || GetHierarchyParent().GetInventory().AreChildrenAccessible());
3806 }
3807 }
bool m_CanPlayImpactSound
Определения ItemBase.c:50

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