MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / PlayMapEventSound

Method PlayMapEventSound

PanzerChasm/server/map.cpp:427–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void Map::PlayMapEventSound( const m_Vec3& pos, const unsigned int sound_id )
428{
429 map_events_sounds_messages_.emplace_back();
430 Messages::MapEventSound& message= map_events_sounds_messages_.back();
431
432 PositionToMessagePosition( pos, message.xyz );
433 message.sound_id= sound_id;
434}
435
436void Map::AddParticleEffect( const m_Vec3& pos, const ParticleEffect particle_effect )
437{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected