MantisBT - opensim
View Issue Details
0006097opensim[REGION] Script Functionspublic2012-07-18 04:222012-07-20 10:51
SignpostMarv 
cmickeyb 
normalminorN/A
closedfixed 
 
master (dev code) 
eb590
Standalone (1 Region)
BasicPhysics
.NET / Windows32
None
0006097: Allowing UUIDs to be used in list return types
Discovered that one couldn't return a list of UUIDs from a module script function.

Patch adds support in, putting them into LSL_Key (which is currently an alias of LSL_Types.LSLString)
example method signature:

public object[] quadtreeSearchQuadTree(UUID host, UUID script, UUID quadTree, object[] args) // object[] args is a workaround for the .net 3.5 limit on Expression.GetFuncType

The method wraps to a method with a return type of List<UUID>, which is converted via return foo.ConvertAll<object>(x=>x).ToArray()
No tags attached.
patch keys-in-lists.patch (2,567) 2012-07-18 04:22
http://opensimulator.org/mantis/file_download.php?file_id=3090&type=bug
Issue History
2012-07-18 04:22SignpostMarvNew Issue
2012-07-18 04:22SignpostMarvFile Added: keys-in-lists.patch
2012-07-18 04:22SignpostMarvStatusnew => patch included
2012-07-18 09:11cmickeybAssigned To => cmickeyb
2012-07-18 09:11cmickeybStatuspatch included => assigned
2012-07-20 10:50cmickeybNote Added: 0021847
2012-07-20 10:51cmickeybNote Added: 0021848
2012-07-20 10:51cmickeybStatusassigned => resolved
2012-07-20 10:51cmickeybFixed in Version => master (dev code)
2012-07-20 10:51cmickeybResolutionopen => fixed
2012-07-20 10:51cmickeybStatusresolved => closed

Notes
(0021847)
cmickeyb   
2012-07-20 10:50   
Applied to Master in commit a4281ca014c80ca516e514e9fde9bb3a13e10c97
(0021848)
cmickeyb   
2012-07-20 10:51   
commit a4281ca014c80ca516e514e9fde9bb3a13e10c97