Add LSL transaction_result event.
This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch. I also added scriptEvents.transaction_reuslt. The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo. Thanks!mb-throttle-test
parent
c496bd57b4
commit
cbd428cff3
|
@ -75,6 +75,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
touch = 8,
|
touch = 8,
|
||||||
touch_end = 536870912,
|
touch_end = 536870912,
|
||||||
touch_start = 2097152,
|
touch_start = 2097152,
|
||||||
|
transaction_result = 33554432,
|
||||||
object_rez = 4194304
|
object_rez = 4194304
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
touch = 8,
|
touch = 8,
|
||||||
touch_end = 536870912,
|
touch_end = 536870912,
|
||||||
touch_start = 2097152,
|
touch_start = 2097152,
|
||||||
|
transaction_result = 33554432,
|
||||||
object_rez = 4194304
|
object_rez = 4194304
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -235,6 +236,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
m_eventFlagsMap.Add("touch", scriptEvents.touch);
|
m_eventFlagsMap.Add("touch", scriptEvents.touch);
|
||||||
m_eventFlagsMap.Add("touch_end", scriptEvents.touch_end);
|
m_eventFlagsMap.Add("touch_end", scriptEvents.touch_end);
|
||||||
m_eventFlagsMap.Add("touch_start", scriptEvents.touch_start);
|
m_eventFlagsMap.Add("touch_start", scriptEvents.touch_start);
|
||||||
|
m_eventFlagsMap.Add("transaction_result", scriptEvents.transaction_result);
|
||||||
m_eventFlagsMap.Add("object_rez", scriptEvents.object_rez);
|
m_eventFlagsMap.Add("object_rez", scriptEvents.object_rez);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue