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

◆ GetText()

override string ActionRepairPart::GetText ( )
inlineprivate

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

65 {
66 PlayerBase player = PlayerBase.Cast( g_Game.GetPlayer() );
67 if ( player )
68 {
69 ConstructionActionData construction_action_data = player.GetConstructionActionData();
70 ConstructionPart constrution_part = construction_action_data.GetTargetPart();
71
72 if ( constrution_part )
73 {
74 return "#repair" + " " + constrution_part.GetName();
75 }
76 }
77
78 return "";
79 }
DayZGame g_Game
Определения DayZGame.c:3942
ConstructionPart GetTargetPart()
Определения ConstructionActionData.c:93
string GetName()
Определения ConstructionPart.c:24

Перекрестные ссылки g_Game, ConstructionPart::GetName() и ConstructionActionData::GetTargetPart().