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

◆ SetPosition()

void DebugMonitor::SetPosition ( vector value)
inlineprotected

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

129 {
130 m_MapTileValue.SetText(" " + CalculateMapTile(value));
131 string position = string.Format(" %1 %2 %3", value[0].ToString(), value[1].ToString(), value[2].ToString());
132 m_PositionValue.SetText(position);
133
134 if (GetUApi().GetInputByID(UAUICopyDebugMonitorPos).LocalPress())
135 {
136 string adjusted = (value[0] + 200000).ToString() + " " + value[2].ToString();
137 g_Game.CopyToClipboard(adjusted);
138 }
139
140 if (m_IsUsingKBM)
141 m_CopyPositionInfo.SetText(" (P to clipboard)");
142 else
143 m_CopyPositionInfo.SetText("");
144 }
DayZGame g_Game
Определения DayZGame.c:4074
vector position
Определения DustKickupEffects.c:20
proto string ToString()
proto native UAInputAPI GetUApi()
TextWidget m_PositionValue
Определения DebugMonitor.c:16
bool m_IsUsingKBM
Определения DebugMonitor.c:3
TextWidget m_CopyPositionInfo
Определения DebugMonitor.c:17
string CalculateMapTile(vector pos)
Определения DebugMonitor.c:171
TextWidget m_MapTileValue
Определения DebugMonitor.c:15
proto string ToString(bool beautify=true)
Vector to string.

Перекрестные ссылки CalculateMapTile(), g_Game, GetUApi(), m_CopyPositionInfo, m_IsUsingKBM, m_MapTileValue, m_PositionValue, position, ToString() и vector::ToString().