DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
OnItemUsed()
override void MissionBase::OnItemUsed
(
InventoryItem
item
,
Man
owner
)
inline
protected
См. определение в файле
missionGameplay.c
строка
764
765
{
766
if
(item &&
GetUIManager
().GetMenu() == NULL)
767
{
768
if
(item.IsInherited(ItemBook))
769
{
770
BookMenu bookMenu = BookMenu.Cast(
GetUIManager
().EnterScriptedMenu(
MENU_BOOK
, NULL) );
771
if
(bookMenu)
772
{
773
bookMenu.ReadBook(item);
774
}
775
}
776
}
777
}
MissionBase::GetUIManager
UIManager GetUIManager()
Определения
missionGameplay.c:179
MENU_BOOK
const int MENU_BOOK
Определения
constants.c:192
Перекрестные ссылки
GetUIManager()
и
MENU_BOOK
.
MissionBase
Создано системой
1.13.2