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

◆ OnBleedingIndicationChanged()

void ScriptedWidgetEventHandler::OnBleedingIndicationChanged ( bool state)
inlineprotected

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

549 {
550 MissionGameplay mission = MissionGameplay.Cast(GetGame().GetMission());
551 if (mission)
552 {
553 Param1<bool> par = new Param1<bool>(state);
554 mission.GetEffectWidgets().UpdateWidgets(EffectWidgetsTypes.BLEEDING_LAYER,0,par);
555 }
556 }
Mission mission
Определения DisplayStatus.c:28
override void UpdateWidgets(int type=-1, float timeSlice=0, Param p=null, int handle=-1)
Usually called in course of an OnFrame update, can be manually called from elsewhere with parameters.
Определения GameplayEffectWidgets.c:379
GameplayEffectWidgets_base GetEffectWidgets()
proto native CGame GetGame()

Перекрестные ссылки GetGame() и mission.

Используется в Apply().