MCPcopy Create free account
hub / github.com/BobbyAnguelov/Esoterica / LoadComponents

Method LoadComponents

Code/Engine/Entity/Entity.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 //-------------------------------------------------------------------------
80
81 void Entity::CreateAdditionalRequiredComponents()
82 {
83 EE_ASSERT( m_status == Status::Unloaded );
84 Threading::RecursiveScopeLock myLock( m_internalStateMutex );
85
86 for ( auto pSystem : m_systems )
87 {
88 pSystem->CreateAdditionalRequiredComponents( this );
89 }
90 }
91
92 void Entity::LoadComponents( EntityModel::LoadingContext const& loadingContext )
93 {
94 EE_ASSERT( m_status == Status::Unloaded );
95 Threading::RecursiveScopeLock myLock( m_internalStateMutex );
96

Calls 3

ResourceRequesterIDClass · 0.50
IsUnloadedMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected