diff options
author | Melanie Thielker | 2008-10-03 05:32:51 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-03 05:32:51 +0000 |
commit | 1cf0798863a52a89e55b2d9e86df6822b02e127e (patch) | |
tree | a8cb7a672ecd5797140e93e2e5ce9e1450bd45f8 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | Attempt to prevent attached prims from being persisted. Attachments with (diff) | |
download | opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.zip opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.tar.gz opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.tar.bz2 opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.tar.xz |
Plumb in the start parameter in DNE
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 627b2a7..875b29e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -611,5 +611,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
611 | 611 | ||
612 | return null; | 612 | return null; |
613 | } | 613 | } |
614 | |||
615 | public int GetStartParameter(UUID itemID) | ||
616 | { | ||
617 | |||
618 | uint localID = GetLocalID(itemID); | ||
619 | |||
620 | InstanceData id = GetScript(localID, itemID); | ||
621 | |||
622 | return id.StartParam; | ||
623 | } | ||
614 | } | 624 | } |
615 | } | 625 | } |