MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / onAdd

Method onAdd

Engine/source/afx/ce/afxProjectile.cpp:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool afxProjectileData::onAdd()
108{
109 if (Parent::onAdd() == false)
110 return false;
111
112 bool runs_on_s = ((networking & (SERVER_ONLY | SERVER_AND_CLIENT)) != 0);
113 bool runs_on_c = ((networking & (CLIENT_ONLY | SERVER_AND_CLIENT)) != 0);
114 launch_pos_def.parseSpec(launch_pos_spec, runs_on_s, runs_on_c);
115
116 return true;
117}
118
119void afxProjectileData::packData(BitStream* stream)
120{

Callers

nothing calls this directly

Calls 3

parseSpecMethod · 0.80
findObjectFunction · 0.50
addObjectMethod · 0.45

Tested by

no test coverage detected