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

Method unloadScript

src/world/Script/NativeScriptMgr.cpp:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 bool NativeScriptMgr::unloadScript( const std::string& name )
54 {
55 auto info = m_loader.getScriptInfo( name );
56 if( !info )
57 return false;
58
59 return unloadScript( info );
60 }
61
62 bool NativeScriptMgr::unloadScript( ScriptInfo* info )
63 {

Callers 1

loadScriptMethod · 0.45

Calls 3

getScriptInfoMethod · 0.80
getTypeMethod · 0.45
getIdMethod · 0.45

Tested by

no test coverage detected