DayZ 1.27
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 ( !GetGame().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 GetGame().RPCSingleParam( action_data.m_MainItem, SoundTypeTent.REPACK, play, true );
196 }
197 }
SoundTypeTent
Определения LargeTent.c:2
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
proto native CGame GetGame()

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