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

◆ OnKeyDown()

override bool MapHandler::OnKeyDown ( Widget w,
int x,
int y,
int key )
inlineprotected

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

12 {
13 if (!super.OnKeyDown(w, x, y, key))
14 return false;
15
16 vector screen_to_map = MapWidget.Cast(w).ScreenToMap(Vector(x,y,0));
17 Print(key);
18 Print(screen_to_map);
19 return true;
20 }
Icon x
Icon y
proto void Print(void var)
Prints content of variable to console/log.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

Перекрестные ссылки Print(), MapWidget::ScreenToMap(), Vector(), x и y.