diff options
author | idb | 2008-12-21 19:04:06 +0000 |
---|---|---|
committer | idb | 2008-12-21 19:04:06 +0000 |
commit | 3fe966d6b32f858da37a263e0568f28c7700b03b (patch) | |
tree | 22eda52e5c004d6ff2b519974137d54e11bfb942 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |
parent | Slowing TPs down a bit further. (diff) | |
download | opensim-SC_OLD-3fe966d6b32f858da37a263e0568f28c7700b03b.zip opensim-SC_OLD-3fe966d6b32f858da37a263e0568f28c7700b03b.tar.gz opensim-SC_OLD-3fe966d6b32f858da37a263e0568f28c7700b03b.tar.bz2 opensim-SC_OLD-3fe966d6b32f858da37a263e0568f28c7700b03b.tar.xz |
An initial implementation of llMinEventDelay in XEngine.
Not implemented yet in DotNetEngine.
Fixes Mantis #2830
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 6ad8923..32714b2 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -891,6 +891,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
891 | return null; | 891 | return null; |
892 | } | 892 | } |
893 | 893 | ||
894 | public void SetMinEventDelay(UUID itemID, double delay) | ||
895 | { | ||
896 | IScriptInstance instance = GetInstance(itemID); | ||
897 | if (instance != null) | ||
898 | instance.MinEventDelay = delay; | ||
899 | } | ||
900 | |||
894 | public UUID GetDetectID(UUID itemID, int idx) | 901 | public UUID GetDetectID(UUID itemID, int idx) |
895 | { | 902 | { |
896 | IScriptInstance instance = GetInstance(itemID); | 903 | IScriptInstance instance = GetInstance(itemID); |