| 202 | } |
| 203 | |
| 204 | bool Sapphire::Scripting::ScriptMgr::onWithinRange( Entity::Player& player, uint32_t eventId, uint32_t param1, |
| 205 | float x, float y, float z ) |
| 206 | { |
| 207 | auto script = m_nativeScriptMgr->getScript< Sapphire::ScriptAPI::EventScript >( eventId ); |
| 208 | if( !script ) |
| 209 | return false; |
| 210 | script->onWithinRange( player, eventId, param1, x, y, z ); |
| 211 | return true; |
| 212 | } |
| 213 | |
| 214 | bool Sapphire::Scripting::ScriptMgr::onOutsideRange( Entity::Player& player, uint32_t eventId, uint32_t param1, |
| 215 | float x, float y, float z ) |
no outgoing calls
no test coverage detected