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

◆ OnEndAnimationLoop()

override void ActionLockAttachment::OnEndAnimationLoop ( ActionData action_data)
inlineprivate

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

127 {
128 super.OnEndAnimationLoop( action_data );
129
130 if ( !GetGame().IsMultiplayer() || GetGame().IsServer() )
131 {
132 ItemBase target_IB = ItemBase.Cast( action_data.m_Target.GetObject() );
133 Param2<bool, string> play = new Param2<bool, string>( false, action_data.m_MainItem.GetLockSoundSet() );
134 GetGame().RPCSingleParam( target_IB, ERPCs.RPC_SOUND_LOCK_ATTACH, play, true );
135 }
136 }
ERPCs
Определения ERPCs.c:2
class GP5GasMask extends MaskBase ItemBase
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
proto native CGame GetGame()

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