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

Method onExecute

src/world/Script/ScriptMgr.cpp:331–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331bool Sapphire::Scripting::ScriptMgr::onExecute( World::Action::Action& action )
332{
333 auto script = m_nativeScriptMgr->getScript< Sapphire::ScriptAPI::ActionScript >( action.getId() );
334
335 if( script )
336 {
337 script->onExecute( action );
338 return true;
339 }
340 return false;
341}
342
343bool Sapphire::Scripting::ScriptMgr::onInterrupt( World::Action::Action& action )
344{

Callers 1

buildEffectsMethod · 0.45

Calls 1

getIdMethod · 0.45

Tested by

no test coverage detected