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

◆ GetActionDesc()

string ActionTargetsCursor::GetActionDesc ( ActionBase action)
inlineprotected

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

726 {
727 string desc = "";
728 if (action && action.GetText())
729 {
730 desc = action.GetText();
731
732 if (desc && action.DisplayTargetInActionText())
733 string extraDescription = action.GetTargetName(m_Player, m_Target);
734 if (extraDescription)
735 desc = string.Format("%1 (%2)", desc, extraDescription);
736 }
737
738 return desc;
739 }
PlayerBase m_Player
Определения ActionTargetsCursor.c:64
ActionTarget m_Target
Определения ActionTargetsCursor.c:65
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.

Перекрестные ссылки ActionBase(), string::Format(), m_Player и m_Target.

Используется в PrepareCursorContent().