aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index f08534c53..7ababb4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1320,6 +1320,26 @@ namespace OpenSim.Region.ScriptEngine.Shared
1320 bool ret = i1.value != i2.value; 1320 bool ret = i1.value != i2.value;
1321 return ret; 1321 return ret;
1322 } 1322 }
1323
1324 static public LSLInteger operator +(LSLInteger i1, int i2)
1325 {
1326 return new LSLInteger(i1.value + i2);
1327 }
1328
1329 static public LSLInteger operator -(LSLInteger i1, int i2)
1330 {
1331 return new LSLInteger(i1.value - i2);
1332 }
1333
1334 static public LSLInteger operator *(LSLInteger i1, int i2)
1335 {
1336 return new LSLInteger(i1.value * i2);
1337 }
1338
1339 static public LSLInteger operator /(LSLInteger i1, int i2)
1340 {
1341 return new LSLInteger(i1.value / i2);
1342 }
1323 1343
1324 static public LSLInteger operator &(LSLInteger i1, LSLInteger i2) 1344 static public LSLInteger operator &(LSLInteger i1, LSLInteger i2)
1325 { 1345 {