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

Method GetHullLocatorSetNames

trinity/Eve/SpaceObjectFactory/EveSOFDNA.cpp:795–804  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Return an array to all the damage locators on this hull --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

793// Return an array to all the damage locators on this hull
794// --------------------------------------------------------------------------------
795const std::vector<BlueSharedString> EveSOFDNA::GetHullLocatorSetNames( size_t n ) const
796{
797 std::vector<BlueSharedString> locatorNames;
798
799 for( auto locatorSet = m_hullDatas[n]->locatorSets.begin(); locatorSet != m_hullDatas[n]->locatorSets.end(); ++locatorSet )
800 {
801 locatorNames.push_back( locatorSet->first );
802 }
803 return locatorNames;
804}
805
806// --------------------------------------------------------------------------------
807const Vector3* EveSOFDNA::GetHullNextSubsystemOffset( size_t n ) const

Callers 2

SetupLocatorSetsMethod · 0.80
SetupLayoutMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected