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

◆ GetText()

override string ActionDismantlePart::GetText ( )
inlineprivate

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

52 {
53 PlayerBase player = PlayerBase.Cast( GetGame().GetPlayer() );
54 if ( player )
55 {
56 ConstructionActionData construction_action_data = player.GetConstructionActionData();
57 ConstructionPart constrution_part = construction_action_data.GetTargetPart();
58
59 if ( constrution_part )
60 {
61 return "#dismantle" + " " + constrution_part.GetName();
62 }
63 }
64
65 return "";
66 }
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().