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

Method PlayMonsterSound

PanzerChasm/server/map.cpp:416–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void Map::PlayMonsterSound(
417 const EntityId monster_id,
418 const unsigned int monster_sound_id )
419{
420 monsters_sounds_messages_.emplace_back();
421 Messages::MonsterSound& message= monsters_sounds_messages_.back();
422
423 message.monster_id= monster_id;
424 message.monster_sound_id= monster_sound_id;
425}
426
427void Map::PlayMapEventSound( const m_Vec3& pos, const unsigned int sound_id )
428{

Callers 6

operator()Method · 0.45
TickMethod · 0.45
HitMethod · 0.45
TryWarnMethod · 0.45
DoShootMethod · 0.45
HitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected