320{
321 g_Game.ProfilerStart(
"DayZPlayerTypeRegisterSounds");
323 pType.RegisterStepEvent("Step", 0.2);
324
325 pType.RegisterSoundEvent("Sound", -1);
326 pType.RegisterSoundEvent("SoundWeapon", 0.2);
327 pType.RegisterSoundEvent("SoundVoice", -1);
328 if(!
g_Game.IsDedicatedServer())
329 pType.RegisterSoundEvent("SoundAttachment", 0.2);
330
331
332 DayZPlayerTypeVoiceSoundLookupTableImpl voiceTable2 = DayZPlayerTypeVoiceSoundLookupTableImpl.GetInstance();
333 pType.RegisterVoiceSoundLookupTable(voiceTable2);
334
335 if(!
g_Game.IsDedicatedServer())
336 {
337 pType.RegisterParticleEvent("Particle", -1);
340 pType.RegisterStepSoundLookupTable(stepTable);
341
343 pType.RegisterAttachmentSoundLookupTable(attachTable);
344
345
346
348 pType.RegisterSoundTable(soundTable);
349
350
351
352 }
353 g_Game.ProfilerStop(
"DayZPlayerTypeRegisterSounds");
354}
void DayZPlayerTypeSoundTableImpl()
void DayZPlayerTypeStepSoundLookupTableImpl()
class DayZPlayerTypeStepSoundLookupTableImpl extends DayZPlayerTypeStepSoundLookupTable DayZPlayerTypeAttachmentSoundLookupTableImpl()