diff options
author | Mic Bowman | 2012-03-24 22:43:42 -0700 |
---|---|---|
committer | Mic Bowman | 2012-03-24 22:43:42 -0700 |
commit | a14437ad5abf4d4dc95897216224548515a599e7 (patch) | |
tree | 56f793d9461c722efddc2f70b8b6efb6cd11c86a /OpenSim/Region/OptionalModules/Scripting | |
parent | Have the PhysicsParameters module output console command responses (diff) | |
download | opensim-SC_OLD-a14437ad5abf4d4dc95897216224548515a599e7.zip opensim-SC_OLD-a14437ad5abf4d4dc95897216224548515a599e7.tar.gz opensim-SC_OLD-a14437ad5abf4d4dc95897216224548515a599e7.tar.bz2 opensim-SC_OLD-a14437ad5abf4d4dc95897216224548515a599e7.tar.xz |
Add support for key, vector, rotation and list types for both
arguments and return values to the modInvoke family of functions.
See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs b/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs index a90362e..0661c65 100644 --- a/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | |||
@@ -147,6 +147,14 @@ namespace OpenSim.Region.CoreModules.Scripting.ScriptModuleComms | |||
147 | return "modInvokeI"; | 147 | return "modInvokeI"; |
148 | else if (sid.ReturnType == typeof(float)) | 148 | else if (sid.ReturnType == typeof(float)) |
149 | return "modInvokeF"; | 149 | return "modInvokeF"; |
150 | else if (sid.ReturnType == typeof(UUID)) | ||
151 | return "modInvokeK"; | ||
152 | else if (sid.ReturnType == typeof(OpenMetaverse.Vector3)) | ||
153 | return "modInvokeV"; | ||
154 | else if (sid.ReturnType == typeof(OpenMetaverse.Quaternion)) | ||
155 | return "modInvokeR"; | ||
156 | else if (sid.ReturnType == typeof(object[])) | ||
157 | return "modInvokeL"; | ||
150 | } | 158 | } |
151 | } | 159 | } |
152 | 160 | ||