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

◆ GetText()

override string ActionRepairPart::GetText ( )
inlineprivate

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

65 {
66 PlayerBase player = PlayerBase.Cast( GetGame().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 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
ConstructionPart GetTargetPart()
Определения ConstructionActionData.c:93
string GetName()
Определения ConstructionPart.c:24
proto native CGame GetGame()

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