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

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)

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

38 {
39 super.OnEndServer(action_data);
40
41 if (action_data.m_MainItem && (action_data.m_MainItem.GetQuantity() <= 0.01))
42 {
43 action_data.m_MainItem.SetQuantity(0);
44 }
45
47 }
void PlaySound()
Определения HungerSoundHandler.c:38
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
proto void Remove(func fn)
remove specific call from queue
proto native CGame GetGame()
const int CALL_CATEGORY_GAMEPLAY
Определения tools.c:10

Перекрестные ссылки ActionData, CALL_CATEGORY_GAMEPLAY, CGame::GetCallQueue(), GetGame(), PlaySound() и ScriptCallQueue::Remove().