DayZ
1.28
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
OnItemUsed()
override void MissionBase::OnItemUsed
(
InventoryItem
item
,
Man
owner
)
inline
protected
См. определение в файле
missionGameplay.c
строка
774
775
{
776
if
(item &&
GetUIManager
().GetMenu() == NULL)
777
{
778
if
(item.IsInherited(ItemBook))
779
{
780
BookMenu bookMenu = BookMenu.Cast(
GetUIManager
().EnterScriptedMenu(
MENU_BOOK
, NULL) );
781
if
(bookMenu)
782
{
783
bookMenu.ReadBook(item);
784
}
785
}
786
}
787
}
MissionBase::GetUIManager
UIManager GetUIManager()
Определения
missionGameplay.c:179
MENU_BOOK
const int MENU_BOOK
Определения
3_Game/constants.c:192
Перекрестные ссылки
GetUIManager()
и
MENU_BOOK
.
MissionBase
Создано системой
1.13.2