mirror of
https://github.com/opensim/opensim.git
synced 2026-05-17 12:15:33 +08:00
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
This commit is contained in:
@@ -147,6 +147,14 @@ namespace OpenSim.Region.CoreModules.Scripting.ScriptModuleComms
|
||||
return "modInvokeI";
|
||||
else if (sid.ReturnType == typeof(float))
|
||||
return "modInvokeF";
|
||||
else if (sid.ReturnType == typeof(UUID))
|
||||
return "modInvokeK";
|
||||
else if (sid.ReturnType == typeof(OpenMetaverse.Vector3))
|
||||
return "modInvokeV";
|
||||
else if (sid.ReturnType == typeof(OpenMetaverse.Quaternion))
|
||||
return "modInvokeR";
|
||||
else if (sid.ReturnType == typeof(object[]))
|
||||
return "modInvokeL";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user