diff options
author | Charles Krinke | 2008-09-05 23:26:35 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-05 23:26:35 +0000 |
commit | 947242f4764b8d98fe860d3c18bcea709aea777f (patch) | |
tree | 2169a26250473aa887dac6f492b582e779d41639 /OpenSim/Region/DataSnapshot/EstateSnapshot.cs | |
parent | Thank you kindly, KrTaylor for a patch that adds: (diff) | |
download | opensim-SC-947242f4764b8d98fe860d3c18bcea709aea777f.zip opensim-SC-947242f4764b8d98fe860d3c18bcea709aea777f.tar.gz opensim-SC-947242f4764b8d98fe860d3c18bcea709aea777f.tar.bz2 opensim-SC-947242f4764b8d98fe860d3c18bcea709aea777f.tar.xz |
Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
Types extracted from a LSL_Types.list have to be down-cast initially
to the exact type of value type object that the Object actually is.
This would make for very cumbersome, ugly code when extracting list
parameter items in ll functions where a few implicit conversions
should be applied such as key -> LSLString and LSLInteger -> LSLFloat
(but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem
member functions to the LLS_Type.list class, where XXX is the name
of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take
a single, int parameter that is the item number to be extracted.
Diffstat (limited to 'OpenSim/Region/DataSnapshot/EstateSnapshot.cs')
0 files changed, 0 insertions, 0 deletions