diff options
author | Mic Bowman | 2012-07-20 10:25:50 -0700 |
---|---|---|
committer | Mic Bowman | 2012-07-20 10:25:50 -0700 |
commit | 644fb6b013b8c8598c42d19cee67201911f31c2e (patch) | |
tree | 02f173b9e6ff2a83c09b264e6082bf61cba6cf18 /OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |
parent | Fix the order of operations on detach. The object must always be serialized (diff) | |
download | opensim-SC-644fb6b013b8c8598c42d19cee67201911f31c2e.zip opensim-SC-644fb6b013b8c8598c42d19cee67201911f31c2e.tar.gz opensim-SC-644fb6b013b8c8598c42d19cee67201911f31c2e.tar.bz2 opensim-SC-644fb6b013b8c8598c42d19cee67201911f31c2e.tar.xz |
Implements a very useful OSSL function to test a string to see
if it is a UUID. The function is osIsUUID().
Thanks SignpostMarv!
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index b5416c8..c9403eb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -276,5 +276,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
276 | 276 | ||
277 | void osSetTerrainTexture(int level, LSL_Key texture); | 277 | void osSetTerrainTexture(int level, LSL_Key texture); |
278 | void osSetTerrainTextureHeight(int corner, double low, double high); | 278 | void osSetTerrainTextureHeight(int corner, double low, double high); |
279 | |||
280 | /// <summary> | ||
281 | /// Checks if thing is a UUID. | ||
282 | /// </summary> | ||
283 | /// <param name="thing"></param> | ||
284 | /// <returns>1 if thing is a valid UUID, 0 otherwise</returns> | ||
285 | LSL_Integer osIsUUID(string thing); | ||
279 | } | 286 | } |
280 | } | 287 | } |