MCPcopy Create free account
hub / github.com/SapphireServer/Sapphire / onStart

Method onStart

src/world/Script/ScriptMgr.cpp:355–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355bool Sapphire::Scripting::ScriptMgr::onStart( World::Action::Action& action )
356{
357 auto script = m_nativeScriptMgr->getScript< Sapphire::ScriptAPI::ActionScript >( action.getId() );
358
359 if( script )
360 {
361 script->onStart( action );
362 return true;
363 }
364
365 return false;
366}
367
368bool Sapphire::Scripting::ScriptMgr::onStatusReceive( Entity::CharaPtr pActor, uint32_t effectId )
369{

Callers 1

startMethod · 0.45

Calls 1

getIdMethod · 0.45

Tested by

no test coverage detected