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

◆ EEHealthLevelChanged()

override void Clothing_Base::EEHealthLevelChanged ( int oldLevel,
int newLevel,
string zone )
inlineprivate

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

112 {
113 super.EEHealthLevelChanged(oldLevel, newLevel, zone);
114 if ( !GetGame().IsDedicatedServer() )
115 {
116 PlayerBase player_owner = PlayerBase.Cast(GetHierarchyParent());
117
118 if( player_owner )
119 {
120 if( player_owner.m_CorpseState != 0 )
121 {
122 GetGame().GetCallQueue( CALL_CATEGORY_GUI ).CallLater( player_owner.UpdateCorpseState, 0, false);
123 }
124 }
125 }
126 }
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
const int CALL_CATEGORY_GUI
Определения tools.c:9

Перекрестные ссылки CALL_CATEGORY_GUI, ScriptCallQueue::CallLater(), CGame::GetCallQueue() и GetGame().