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

Method GetLightSourceId

PanzerChasm/server/map.cpp:3177–3184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3175}
3176
3177EntityId Map::GetLightSourceId(
3178 const unsigned int parent_procedure_number,
3179 const unsigned int light_source_coomand_number ) const
3180{
3181 PC_ASSERT( parent_procedure_number < 256u );
3182 PC_ASSERT( light_source_coomand_number < 256u );
3183 return parent_procedure_number * 256u + light_source_coomand_number;
3184}
3185
3186void Map::PrepareRocketStateMessage( const Rocket& rocket, Messages::RocketState& message )
3187{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected