Ejemplo n.º 1
0
void ScriptMgr::OnRelocate(Transport* transport, uint32 waypointId, uint32 mapId, float x, float y, float z)
{
    GET_SCRIPT(TransportScript, transport->GetScriptId(), tmpscript);
    tmpscript->OnRelocate(transport, waypointId, mapId, x, y, z);
}
Ejemplo n.º 2
0
void ScriptMgr::OnWeatherUpdate(Weather* weather, uint32 diff) {
	ASSERT(weather);

	GET_SCRIPT(WeatherScript, weather->GetScriptId(), tmpscript);
	tmpscript->OnUpdate(weather, diff);
}
Ejemplo n.º 3
0
void ScriptMgr::OnCreatureUpdate(Creature* creature, uint32 diff) {
	ASSERT(creature);

	GET_SCRIPT(CreatureScript, creature->GetScriptId(), tmpscript);
	tmpscript->OnUpdate(creature, diff);
}
Ejemplo n.º 4
0
void ScriptMgr::OnGameObjectUpdate(GameObject* go, uint32 diff) {
	ASSERT(go);

	GET_SCRIPT(GameObjectScript, go->GetScriptId(), tmpscript);
	tmpscript->OnUpdate(go, diff);
}
Ejemplo n.º 5
0
void ScriptMgr::OnTransportUpdate(Transport* transport, uint32 diff) {
	ASSERT(transport);

	GET_SCRIPT(TransportScript, transport->GetScriptId(), tmpscript);
	tmpscript->OnUpdate(transport, diff);
}