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

◆ OnInventoryEnter()

void OnInventoryEnter ( Man player)
protected

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

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

3903 {
3904 PlayerBase nplayer;
3905 if (PlayerBase.CastTo(nplayer, player))
3906 {
3907 m_CanPlayImpactSound = true;
3908 nplayer.SetEnableQuickBarEntityShortcut(this,!GetHierarchyParent() || GetHierarchyParent().GetInventory().AreChildrenAccessible());
3909 }
3910 }
bool m_CanPlayImpactSound
Определения ItemBase.c:49
Определения PlayerBaseClient.c:2

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