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

◆ OnBleedingSourceAdded()

void ManBase::OnBleedingSourceAdded ( )
inlineprotected

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

7283 {
7285 if (IsControlledPlayer())
7286 {
7287 if (!GetGame().IsDedicatedServer())
7288 {
7289 DisplayElementBadge dis_elm = DisplayElementBadge.Cast(GetVirtualHud().GetElement(eDisplayElements.DELM_BADGE_BLEEDING));
7290 if (dis_elm)
7291 {
7292 dis_elm.SetValue(GetBleedingSourceCount());
7293 }
7294
7295
7296 //Print("----------bleeding_SoundSet----------");
7297 SEffectManager.PlaySoundOnObject("bleeding_SoundSet", this);
7298 }
7299 }
7300 }
DisplayElementBase GetElement(eDisplayElements element_id)
Определения DisplayStatus.c:95
VirtualHud GetVirtualHud()
Определения PlayerBase.c:2669
int GetBleedingSourceCount()
Определения PlayerBase.c:7338
int m_BleedingSourceCount
Определения PlayerBase.c:137
proto native CGame GetGame()

Перекрестные ссылки GetBleedingSourceCount(), GetElement(), GetGame(), GetVirtualHud(), m_BleedingSourceCount и SEffectManager::PlaySoundOnObject().