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

◆ OnStartAnimationLoopServer()

override void ActionRepackTent::OnStartAnimationLoopServer ( ActionData action_data)
inlineprivate

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

184 {
185 Param1<bool> play = new Param1<bool>( false );
186 if ( !g_Game.IsMultiplayer() )
187 {
188 if ( action_data.m_Player.GetItemInHands() )
189 ActionRepackTentCB.Cast(action_data.m_Callback).DropDuringRepacking();
190 }
191
192 if ( action_data.m_Player.GetItemInHands() )
193 {
194 play = new Param1<bool>( true );
195 g_Game.RPCSingleParam( action_data.m_MainItem, SoundTypeTent.REPACK, play, true );
196 }
197 }
DayZGame g_Game
Определения DayZGame.c:3942
SoundTypeTent
Определения LargeTent.c:2

Перекрестные ссылки ActionData, ActionRepackTentCB::DropDuringRepacking() и g_Game.