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

◆ OnDoubleClick()

override bool OnDoubleClick ( Widget w,
int x,
int y,
int button )
protected

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

85 {
86 super.OnClick(w, x, y, button);
87
88 if (w == m_WgtLstMsnList)
89 {
90 int rowIndex = m_WgtLstMsnList.GetSelectedRow();
91 string missionPath = m_MissionData.MissionPaths.Get(rowIndex);
92 GetGame().PlayMission(missionPath);
93 }
94 return false;
95 }
Icon x
Icon y
ref JsonMissionLoaderData m_MissionData
Определения MissionLoader.c:43
class JsonMissionLoaderData m_WgtLstMsnList
proto native void PlayMission(string path)
Starts mission (equivalent for SQF playMission). You MUST use double slash \.
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_MissionData, m_WgtLstMsnList, CGame::PlayMission(), x и y.