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

◆ OnBleedingIndicationChanged()

void ScriptedWidgetEventHandler::OnBleedingIndicationChanged ( bool state)
inlineprotected

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

555 {
556 MissionGameplay mission = MissionGameplay.Cast(g_Game.GetMission());
557 if (mission)
558 {
559 Param1<bool> par = new Param1<bool>(state);
560 mission.GetEffectWidgets().UpdateWidgets(EffectWidgetsTypes.BLEEDING_LAYER,0,par);
561 }
562 }
DayZGame g_Game
Определения DayZGame.c:3942
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:399
GameplayEffectWidgets_base GetEffectWidgets()

Перекрестные ссылки g_Game и mission.

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