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

◆ OnInventoryExit()

void OnInventoryExit ( Man player)
protected

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

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

3915 {
3916 PlayerBase nplayer;
3917 if (PlayerBase.CastTo(nplayer,player))
3918 {
3919 nplayer.SetEnableQuickBarEntityShortcut(this, false);
3920 }
3921
3922 player.GetHumanInventory().ClearUserReservedLocationForContainer(this);
3923
3924 if (HasEnergyManager())
3925 {
3926 GetCompEM().UpdatePlugState(); // Unplug the el. device if it's necesarry.
3927 }
3928 }
Определения PlayerBaseClient.c:2