MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / onPostAdd

Method onPostAdd

Engine/source/T3D/entity.cpp:242–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242void Entity::onPostAdd()
243{
244 mInitialized = true;
245
246 //everything's done and added. go ahead and initialize the components
247 for (U32 i = 0; i < mComponents.size(); i++)
248 {
249 mComponents[i]->onComponentAdd();
250 }
251
252 if (isMethod("onAdd"))
253 Con::executef(this, "onAdd");
254}
255
256void Entity::setDataField(StringTableEntry slotName, const char *array, const char *value)
257{

Callers 1

readMethod · 0.45

Calls 3

executefFunction · 0.85
sizeMethod · 0.45
onComponentAddMethod · 0.45

Tested by

no test coverage detected