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

◆ OnExecuteServer()

override void ActionCloseBarrelHoles::OnExecuteServer ( ActionData action_data)
inlineprivate

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

28 {
29 Object target_object = action_data.m_Target.GetObject();
30 BarrelHoles_ColorBase ntarget = BarrelHoles_ColorBase.Cast( target_object );
31
32 if( ntarget )
33 {
34 ntarget.Close();
35 if (ntarget.GetBarrelCloseSoundset() != string.Empty)
36 ntarget.StartItemSoundServer(SoundConstants.ITEM_BARREL_CLOSE);
37 }
38 }
class LOD Object

Перекрестные ссылки ActionData.