MCPcopy Create free account
hub / github.com/Illation/ETEngine / GetMaxComponentType

Method GetMaxComponentType

Engine/source/EtFramework/ECS/ComponentSignature.cpp:43–51  ·  view source on GitHub ↗

----------------------------------------- ComponentSignature::GetMaxComponentType

Source from the content-addressed store, hash-verified

41// ComponentSignature::GetMaxComponentType
42//
43T_CompTypeIdx ComponentSignature::GetMaxComponentType() const
44{
45 if (m_Impl.size() == 0u)
46 {
47 return INVALID_COMP_TYPE_IDX;
48 }
49
50 return m_Impl[m_Impl.size() - 1];
51}
52
53//-----------------------------------------------
54// ComponentSignature::MatchesComponentsUnsorted

Callers 2

ArchetypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected