diff options
author | Oren Hurvitz | 2014-04-22 20:04:12 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-23 16:37:36 +0300 |
commit | 998d7009a65def0a4debc9369d35b63611db5b55 (patch) | |
tree | d1303dc0387ae9ce4ddb076d5ccc856f3d5844e0 /OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |
parent | Workaround for SRAS: if Store Asset returns 'null' then assume the asset alre... (diff) | |
download | opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.zip opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.gz opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.bz2 opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.xz |
Eliminated many warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 50f9377..7d21a4b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1377,27 +1377,6 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1377 | } | 1377 | } |
1378 | } | 1378 | } |
1379 | 1379 | ||
1380 | // | ||
1381 | // BELOW IS WORK IN PROGRESS... IT WILL CHANGE, SO DON'T USE YET! :) | ||
1382 | // | ||
1383 | |||
1384 | public struct StringTest | ||
1385 | { | ||
1386 | // Our own little string | ||
1387 | internal string actualString; | ||
1388 | public static implicit operator bool(StringTest mString) | ||
1389 | { | ||
1390 | if (mString.actualString.Length == 0) | ||
1391 | return true; | ||
1392 | return false; | ||
1393 | } | ||
1394 | public override string ToString() | ||
1395 | { | ||
1396 | return actualString; | ||
1397 | } | ||
1398 | |||
1399 | } | ||
1400 | |||
1401 | [Serializable] | 1380 | [Serializable] |
1402 | public struct key | 1381 | public struct key |
1403 | { | 1382 | { |