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

◆ DisplayTendency()

void PluginBase::DisplayTendency ( int key,
int tendency,
int status = 1 )
inlineprivate

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

43 {
44 if ( key )
45 {
46 // display icon
47 int icon_index = 0; // maybe we'll have several icons for different tendencies
48 if ( m_NotifiersIcons.HasKey( key ) )
49 {
50 string icon_name = m_NotifiersIcons.Get( key ).Get( icon_index );
51 Mission mission = GetGame().GetMission();
52 if ( mission )
53 {
54 Hud hud = mission.GetHud();
55 if ( hud )
56 {
57 hud.DisplayNotifier( key, tendency, status );
58 }
59 }
60 }
61 }
62 }
Mission mission
Определения DisplayStatus.c:28
proto native Mission GetMission()
void DisplayNotifier(int key, int tendency, int status)
Определения gameplay.c:642
Hud GetHud()
Определения gameplay.c:721
ref multiMap< int, string > m_NotifiersIcons
Определения PluginPlayerStatus.c:6
proto native CGame GetGame()

Перекрестные ссылки Hud::DisplayNotifier(), GetGame(), CGame::GetMission(), m_NotifiersIcons и mission.