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

◆ UpdatePlayer()

void Backlit::UpdatePlayer ( bool bForce)
inlineprivate

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

343 {
344 if( !m_BacklitActive )
345 return; // always return when backlit not present!
346
347 // force update
348 if( bForce )
349 {
350 m_HealthBefore = -1;
351 m_BloodBefore = -1;
352 }
353
354 // do not update
356 return;
357
358 // remove previous layers
360
361 // set keys to layer CUSTOM
366
369
372
373 // health
375 // blood
377
378 // animation
379 GetUApi().Backlit_Background(0,0xff220000,0xff222222);
380
381 // save level
384 }
const int EUABLAYER_CUSTOM
Определения Backlit.c:19
const int EUABACKLIT_ON
Определения Backlit.c:27
const int EUABLAYER_ALL
Input layer type.
Определения Backlit.c:12
proto native UAInputAPI GetUApi()
int m_HealthBefore
Определения Backlit.c:324
void VisualiseBlood(int iLevel)
Определения Backlit.c:286
bool m_BacklitActive
Определения Backlit.c:108
int m_HealthNew
Определения Backlit.c:327
int m_BloodBefore
Определения Backlit.c:325
void VisualiseHealth(int iLevel)
Определения Backlit.c:248
int m_BloodNew
Определения Backlit.c:328
proto native void Backlit_Remove(int eLayer)
proto native void Backlit_Background(int eType, int iColor1, int iColor2)
proto native void Backlit_KeyByName(string strName, int eLayer, int eType, int iColor)

Перекрестные ссылки UAInputAPI::Backlit_Background(), UAInputAPI::Backlit_KeyByName(), UAInputAPI::Backlit_Remove(), EUABACKLIT_ON, EUABLAYER_ALL, EUABLAYER_CUSTOM, GetUApi(), m_BacklitActive, m_BloodBefore, m_BloodNew, m_HealthBefore, m_HealthNew, VisualiseBlood() и VisualiseHealth().

Используется в OnLeaveCar() и OnSwimmingStop().