DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
OnItemUsed()
override void MissionBase::OnItemUsed
(
InventoryItem
item
,
Man
owner
)
inline
private
См. определение в файле
missionGameplay.c
строка
809
810
{
811
if
(item &&
GetUIManager
().GetMenu() == NULL)
812
{
813
if
(item.IsInherited(ItemBook))
814
{
815
BookMenu bookMenu = BookMenu.Cast(
GetUIManager
().EnterScriptedMenu(
MENU_BOOK
, NULL) );
816
if
(bookMenu)
817
{
818
bookMenu.ReadBook(item);
819
}
820
}
821
}
822
}
MissionBase::GetUIManager
UIManager GetUIManager()
Определения
missionGameplay.c:188
MENU_BOOK
const int MENU_BOOK
Определения
3_Game/DayZ/constants.c:198
Перекрестные ссылки
GetUIManager()
и
MENU_BOOK
.
MissionBase
Создано системой
1.13.2