* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.

* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
This commit is contained in:
Teravus Ovares
2008-05-01 16:39:02 +00:00
parent 13526097f2
commit c803e0cca1
8 changed files with 166 additions and 494 deletions

View File

@@ -92,8 +92,9 @@ namespace OpenSim.Region.ScriptEngine.Common
m_state = value;
try
{
int eventFlags = m_ScriptEngine.m_ScriptManager.GetStateEventFlags(m_localID, m_itemID);
m_host.SetScriptEvents(m_itemID, eventFlags);
m_ScriptEngine.m_EventManager.state_entry(m_localID);
}
catch (AppDomainUnloadedException)
{