MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetHullBoosterCount

Method GetHullBoosterCount

trinity/Eve/SpaceObjectFactory/EveSOFDNA.cpp:1443–1451  ·  view source on GitHub ↗

--------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1441
1442// --------------------------------------------------------------------------------
1443size_t EveSOFDNA::GetHullBoosterCount() const
1444{
1445 size_t cntr = 0;
1446 for( auto it = m_hullDatas.begin(); it != m_hullDatas.end(); ++it )
1447 {
1448 cntr += ( *it )->boosters.items.size();
1449 }
1450 return cntr;
1451}
1452
1453// --------------------------------------------------------------------------------
1454const Color* EveSOFDNA::GetColorSet() const

Callers 1

SetupBoostersMethod · 0.80

Calls 3

sizeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected