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

◆ GetText()

override string ActionWorldCraft::GetText ( )
inlineprivate

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

66 {
67 PlayerBase player;
68 if( Class.CastTo(player, g_Game.GetPlayer()) )
69 {
70 PluginRecipesManager moduleRecipesManager;
71 Class.CastTo(moduleRecipesManager, GetPlugin(PluginRecipesManager) );
72 return moduleRecipesManager.GetRecipeName( player.GetCraftingManager().GetRecipeID(m_VariantID) );
73 }
74
75 return "Default worldcraft text";
76 }
int m_VariantID
Определения ActionBase.c:67
DayZGame g_Game
Определения DayZGame.c:4074
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:326

Перекрестные ссылки Class::CastTo(), g_Game, GetPlugin() и m_VariantID.