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

Method PrepareBackpackBirthMessage

PanzerChasm/server/map.cpp:3204–3209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3202}
3203
3204void Map::PrepareBackpackBirthMessage( const Backpack& backpack, const EntityId backpack_id, Messages::DynamicItemBirth& message )
3205{
3206 message.item_id= backpack_id;
3207 message.item_type_id= GameConstants::backpack_item_id;
3208 PositionToMessagePosition( backpack.pos, message.xyz );
3209}
3210
3211void Map::PrepareLightSourceBirthMessage( const LightSource& light_source, const EntityId light_source_id, Messages::LightSourceBirth& message )
3212{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected