bool ScriptMgr::AreaTrigger(Player* player, AreaTriggerEntry const* atEntry) { Script *tmpscript = m_scripts[GetAreaTriggerScriptId(atEntry->id)]; if (!tmpscript || !tmpscript->pAreaTrigger) return false; return tmpscript->pAreaTrigger(player, atEntry); }
RIBON_DLL_EXPORT bool AreaTrigger(Player* pPlayer, AreaTriggerEntry * atEntry) { Script *tmpscript = m_scripts[GetAreaTriggerScriptId(atEntry->id)]; if (!tmpscript || !tmpscript->pAreaTrigger) return false; return tmpscript->pAreaTrigger(pPlayer, atEntry); }
bool ScriptMgr::OnAreaTrigger (Player* player, AreaTriggerEntry const* trigger) { ASSERT(player); ASSERT(trigger); GET_SCRIPT_RET(AreaTriggerScript, GetAreaTriggerScriptId(trigger->id), tmpscript, false); return tmpscript->OnTrigger(player, trigger); }
bool AreaTrigger(Player* pPlayer, AreaTriggerEntry const* atEntry) { Script* pTempScript = m_scripts[GetAreaTriggerScriptId(atEntry->id)]; if (!pTempScript || !pTempScript->pAreaTrigger) return false; return pTempScript->pAreaTrigger(pPlayer, atEntry); }
MANGOS_DLL_EXPORT bool AreaTrigger(Player* pPlayer, AreaTriggerEntry const* atEntry) { Script* pTempScript = m_scripts->at(GetAreaTriggerScriptId(atEntry->id)); if (!pTempScript || !pTempScript->pAreaTrigger) return false; return pTempScript->pAreaTrigger(pPlayer, atEntry); }