DayZ 1.28
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 строка 3868

3869 {
3870 PlayerBase nplayer;
3871 if (PlayerBase.CastTo(nplayer, player))
3872 {
3873 m_CanPlayImpactSound = true;
3874 //nplayer.OnItemInventoryEnter(this);
3875 nplayer.SetEnableQuickBarEntityShortcut(this,!GetHierarchyParent() || GetHierarchyParent().GetInventory().AreChildrenAccessible());
3876 }
3877 }
bool m_CanPlayImpactSound
Определения ItemBase.c:50

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