diff options
author | Charles Krinke | 2008-05-09 03:20:29 +0000 |
---|---|---|
committer | Charles Krinke | 2008-05-09 03:20:29 +0000 |
commit | 6ce00ce4603ce28af761ea97d53c0db3d056ff28 (patch) | |
tree | a36cb5b025b15838d559ba44376ccfa7586eaf9a /OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |
parent | * Minor tweak to TerrainChannel (diff) | |
download | opensim-SC-6ce00ce4603ce28af761ea97d53c0db3d056ff28.zip opensim-SC-6ce00ce4603ce28af761ea97d53c0db3d056ff28.tar.gz opensim-SC-6ce00ce4603ce28af761ea97d53c0db3d056ff28.tar.bz2 opensim-SC-6ce00ce4603ce28af761ea97d53c0db3d056ff28.tar.xz |
Thank you, Melanie for a patch that:
Patch fixes the pesky "Cannot implicitly convert to bool" issue for function returns
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index eccc6d9..aadad7b 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -187,7 +187,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
187 | return m_LSL_Functions.llPow(fbase, fexponent); | 187 | return m_LSL_Functions.llPow(fbase, fexponent); |
188 | } | 188 | } |
189 | 189 | ||
190 | public int llAbs(int i) | 190 | public LSL_Types.LSLInteger llAbs(int i) |
191 | { | 191 | { |
192 | return m_LSL_Functions.llAbs(i); | 192 | return m_LSL_Functions.llAbs(i); |
193 | } | 193 | } |
@@ -202,17 +202,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
202 | return m_LSL_Functions.llFrand(mag); | 202 | return m_LSL_Functions.llFrand(mag); |
203 | } | 203 | } |
204 | 204 | ||
205 | public int llFloor(double f) | 205 | public LSL_Types.LSLInteger llFloor(double f) |
206 | { | 206 | { |
207 | return m_LSL_Functions.llFloor(f); | 207 | return m_LSL_Functions.llFloor(f); |
208 | } | 208 | } |
209 | 209 | ||
210 | public int llCeil(double f) | 210 | public LSL_Types.LSLInteger llCeil(double f) |
211 | { | 211 | { |
212 | return m_LSL_Functions.llCeil(f); | 212 | return m_LSL_Functions.llCeil(f); |
213 | } | 213 | } |
214 | 214 | ||
215 | public int llRound(double f) | 215 | public LSL_Types.LSLInteger llRound(double f) |
216 | { | 216 | { |
217 | return m_LSL_Functions.llRound(f); | 217 | return m_LSL_Functions.llRound(f); |
218 | } | 218 | } |
@@ -290,7 +290,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
290 | m_LSL_Functions.llRegionSay(channelID, text); | 290 | m_LSL_Functions.llRegionSay(channelID, text); |
291 | } | 291 | } |
292 | 292 | ||
293 | public int llListen(int channelID, string name, string ID, string msg) | 293 | public LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg) |
294 | { | 294 | { |
295 | return m_LSL_Functions.llListen(channelID, name, ID, msg); | 295 | return m_LSL_Functions.llListen(channelID, name, ID, msg); |
296 | } | 296 | } |
@@ -335,7 +335,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
335 | return m_LSL_Functions.llDetectedOwner(number); | 335 | return m_LSL_Functions.llDetectedOwner(number); |
336 | } | 336 | } |
337 | 337 | ||
338 | public int llDetectedType(int number) | 338 | public LSL_Types.LSLInteger llDetectedType(int number) |
339 | { | 339 | { |
340 | return m_LSL_Functions.llDetectedType(number); | 340 | return m_LSL_Functions.llDetectedType(number); |
341 | } | 341 | } |
@@ -360,12 +360,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
360 | return m_LSL_Functions.llDetectedRot(number); | 360 | return m_LSL_Functions.llDetectedRot(number); |
361 | } | 361 | } |
362 | 362 | ||
363 | public int llDetectedGroup(int number) | 363 | public LSL_Types.LSLInteger llDetectedGroup(int number) |
364 | { | 364 | { |
365 | return m_LSL_Functions.llDetectedGroup(number); | 365 | return m_LSL_Functions.llDetectedGroup(number); |
366 | } | 366 | } |
367 | 367 | ||
368 | public int llDetectedLinkNumber(int number) | 368 | public LSL_Types.LSLInteger llDetectedLinkNumber(int number) |
369 | { | 369 | { |
370 | return m_LSL_Functions.llDetectedLinkNumber(number); | 370 | return m_LSL_Functions.llDetectedLinkNumber(number); |
371 | } | 371 | } |
@@ -398,7 +398,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
398 | m_LSL_Functions.llSetStatus(status, value); | 398 | m_LSL_Functions.llSetStatus(status, value); |
399 | } | 399 | } |
400 | 400 | ||
401 | public int llGetStatus(int status) | 401 | public LSL_Types.LSLInteger llGetStatus(int status) |
402 | { | 402 | { |
403 | return m_LSL_Functions.llGetStatus(status); | 403 | return m_LSL_Functions.llGetStatus(status); |
404 | } | 404 | } |
@@ -501,7 +501,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
501 | return m_LSL_Functions.llGetForce(); | 501 | return m_LSL_Functions.llGetForce(); |
502 | } | 502 | } |
503 | 503 | ||
504 | public int llTarget(vector position, double range) | 504 | public LSL_Types.LSLInteger llTarget(vector position, double range) |
505 | { | 505 | { |
506 | return m_LSL_Functions.llTarget(position, range); | 506 | return m_LSL_Functions.llTarget(position, range); |
507 | } | 507 | } |
@@ -511,7 +511,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
511 | m_LSL_Functions.llTargetRemove(number); | 511 | m_LSL_Functions.llTargetRemove(number); |
512 | } | 512 | } |
513 | 513 | ||
514 | public int llRotTarget(rotation rot, double error) | 514 | public LSL_Types.LSLInteger llRotTarget(rotation rot, double error) |
515 | { | 515 | { |
516 | return m_LSL_Functions.llRotTarget(rot, error); | 516 | return m_LSL_Functions.llRotTarget(rot, error); |
517 | } | 517 | } |
@@ -672,7 +672,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
672 | return m_LSL_Functions.llToLower(source); | 672 | return m_LSL_Functions.llToLower(source); |
673 | } | 673 | } |
674 | 674 | ||
675 | public int llGiveMoney(string destination, int amount) | 675 | public LSL_Types.LSLInteger llGiveMoney(string destination, int amount) |
676 | { | 676 | { |
677 | return m_LSL_Functions.llGiveMoney(destination, amount); | 677 | return m_LSL_Functions.llGiveMoney(destination, amount); |
678 | } | 678 | } |
@@ -823,7 +823,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
823 | // | 823 | // |
824 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 824 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
825 | // | 825 | // |
826 | public int llStringLength(string str) | 826 | public LSL_Types.LSLInteger llStringLength(string str) |
827 | { | 827 | { |
828 | return m_LSL_Functions.llStringLength(str); | 828 | return m_LSL_Functions.llStringLength(str); |
829 | } | 829 | } |
@@ -853,7 +853,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
853 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); | 853 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); |
854 | } | 854 | } |
855 | 855 | ||
856 | public int llGetStartParameter() | 856 | public LSL_Types.LSLInteger llGetStartParameter() |
857 | { | 857 | { |
858 | return m_LSL_Functions.llGetStartParameter(); | 858 | return m_LSL_Functions.llGetStartParameter(); |
859 | } | 859 | } |
@@ -873,12 +873,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
873 | return m_LSL_Functions.llGetPermissionsKey(); | 873 | return m_LSL_Functions.llGetPermissionsKey(); |
874 | } | 874 | } |
875 | 875 | ||
876 | public int llGetPermissions() | 876 | public LSL_Types.LSLInteger llGetPermissions() |
877 | { | 877 | { |
878 | return m_LSL_Functions.llGetPermissions(); | 878 | return m_LSL_Functions.llGetPermissions(); |
879 | } | 879 | } |
880 | 880 | ||
881 | public int llGetLinkNumber() | 881 | public LSL_Types.LSLInteger llGetLinkNumber() |
882 | { | 882 | { |
883 | return m_LSL_Functions.llGetLinkNumber(); | 883 | return m_LSL_Functions.llGetLinkNumber(); |
884 | } | 884 | } |
@@ -913,7 +913,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
913 | return m_LSL_Functions.llGetLinkName(linknum); | 913 | return m_LSL_Functions.llGetLinkName(linknum); |
914 | } | 914 | } |
915 | 915 | ||
916 | public int llGetInventoryNumber(int type) | 916 | public LSL_Types.LSLInteger llGetInventoryNumber(int type) |
917 | { | 917 | { |
918 | return m_LSL_Functions.llGetInventoryNumber(type); | 918 | return m_LSL_Functions.llGetInventoryNumber(type); |
919 | } | 919 | } |
@@ -1026,7 +1026,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1026 | return m_LSL_Functions.llGetScriptName(); | 1026 | return m_LSL_Functions.llGetScriptName(); |
1027 | } | 1027 | } |
1028 | 1028 | ||
1029 | public int llGetNumberOfSides() | 1029 | public LSL_Types.LSLInteger llGetNumberOfSides() |
1030 | { | 1030 | { |
1031 | return m_LSL_Functions.llGetNumberOfSides(); | 1031 | return m_LSL_Functions.llGetNumberOfSides(); |
1032 | } | 1032 | } |
@@ -1094,7 +1094,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1094 | return m_LSL_Functions.llGetTextureRot(side); | 1094 | return m_LSL_Functions.llGetTextureRot(side); |
1095 | } | 1095 | } |
1096 | 1096 | ||
1097 | public int llSubStringIndex(string source, string pattern) | 1097 | public LSL_Types.LSLInteger llSubStringIndex(string source, string pattern) |
1098 | { | 1098 | { |
1099 | return m_LSL_Functions.llSubStringIndex(source, pattern); | 1099 | return m_LSL_Functions.llSubStringIndex(source, pattern); |
1100 | } | 1100 | } |
@@ -1114,7 +1114,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1114 | return m_LSL_Functions.llListSort(src, stride, ascending); | 1114 | return m_LSL_Functions.llListSort(src, stride, ascending); |
1115 | } | 1115 | } |
1116 | 1116 | ||
1117 | public int llGetListLength(LSL_Types.list src) | 1117 | public LSL_Types.LSLInteger llGetListLength(LSL_Types.list src) |
1118 | { | 1118 | { |
1119 | return m_LSL_Functions.llGetListLength(src); | 1119 | return m_LSL_Functions.llGetListLength(src); |
1120 | } | 1120 | } |
@@ -1122,7 +1122,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1122 | // | 1122 | // |
1123 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1123 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1124 | // | 1124 | // |
1125 | public int llList2Integer(LSL_Types.list src, int index) | 1125 | public LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index) |
1126 | { | 1126 | { |
1127 | return m_LSL_Functions.llList2Integer(src, index); | 1127 | return m_LSL_Functions.llList2Integer(src, index); |
1128 | } | 1128 | } |
@@ -1162,7 +1162,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1162 | return m_LSL_Functions.llDeleteSubList(src, start, end); | 1162 | return m_LSL_Functions.llDeleteSubList(src, start, end); |
1163 | } | 1163 | } |
1164 | 1164 | ||
1165 | public int llGetListEntryType(LSL_Types.list src, int index) | 1165 | public LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index) |
1166 | { | 1166 | { |
1167 | return m_LSL_Functions.llGetListEntryType(src, index); | 1167 | return m_LSL_Functions.llGetListEntryType(src, index); |
1168 | } | 1168 | } |
@@ -1197,7 +1197,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1197 | return m_LSL_Functions.llListInsertList(dest, src, start); | 1197 | return m_LSL_Functions.llListInsertList(dest, src, start); |
1198 | } | 1198 | } |
1199 | 1199 | ||
1200 | public int llListFindList(LSL_Types.list src, LSL_Types.list test) | 1200 | public LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test) |
1201 | { | 1201 | { |
1202 | return m_LSL_Functions.llListFindList(src, test); | 1202 | return m_LSL_Functions.llListFindList(src, test); |
1203 | } | 1203 | } |
@@ -1217,12 +1217,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1217 | return m_LSL_Functions.llGetDate(); | 1217 | return m_LSL_Functions.llGetDate(); |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | public int llEdgeOfWorld(vector pos, vector dir) | 1220 | public LSL_Types.LSLInteger llEdgeOfWorld(vector pos, vector dir) |
1221 | { | 1221 | { |
1222 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); | 1222 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | public int llGetAgentInfo(string id) | 1225 | public LSL_Types.LSLInteger llGetAgentInfo(string id) |
1226 | { | 1226 | { |
1227 | return m_LSL_Functions.llGetAgentInfo(id); | 1227 | return m_LSL_Functions.llGetAgentInfo(id); |
1228 | } | 1228 | } |
@@ -1270,7 +1270,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1270 | return m_LSL_Functions.llParseString2List(str,separators,spacers); | 1270 | return m_LSL_Functions.llParseString2List(str,separators,spacers); |
1271 | } | 1271 | } |
1272 | 1272 | ||
1273 | public int llOverMyLand(string id) | 1273 | public LSL_Types.LSLInteger llOverMyLand(string id) |
1274 | { | 1274 | { |
1275 | return m_LSL_Functions.llOverMyLand(id); | 1275 | return m_LSL_Functions.llOverMyLand(id); |
1276 | } | 1276 | } |
@@ -1290,7 +1290,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1290 | return m_LSL_Functions.llGetAgentSize(id); | 1290 | return m_LSL_Functions.llGetAgentSize(id); |
1291 | } | 1291 | } |
1292 | 1292 | ||
1293 | public int llSameGroup(string agent) | 1293 | public LSL_Types.LSLInteger llSameGroup(string agent) |
1294 | { | 1294 | { |
1295 | return m_LSL_Functions.llSameGroup(agent); | 1295 | return m_LSL_Functions.llSameGroup(agent); |
1296 | } | 1296 | } |
@@ -1315,12 +1315,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1315 | return m_LSL_Functions.llGroundContour(offset); | 1315 | return m_LSL_Functions.llGroundContour(offset); |
1316 | } | 1316 | } |
1317 | 1317 | ||
1318 | public int llGetAttached() | 1318 | public LSL_Types.LSLInteger llGetAttached() |
1319 | { | 1319 | { |
1320 | return m_LSL_Functions.llGetAttached(); | 1320 | return m_LSL_Functions.llGetAttached(); |
1321 | } | 1321 | } |
1322 | 1322 | ||
1323 | public int llGetFreeMemory() | 1323 | public LSL_Types.LSLInteger llGetFreeMemory() |
1324 | { | 1324 | { |
1325 | return m_LSL_Functions.llGetFreeMemory(); | 1325 | return m_LSL_Functions.llGetFreeMemory(); |
1326 | } | 1326 | } |
@@ -1433,7 +1433,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1433 | return m_LSL_Functions.llDumpList2String(src, seperator); | 1433 | return m_LSL_Functions.llDumpList2String(src, seperator); |
1434 | } | 1434 | } |
1435 | 1435 | ||
1436 | public int llScriptDanger(vector pos) | 1436 | public LSL_Types.LSLInteger llScriptDanger(vector pos) |
1437 | { | 1437 | { |
1438 | return m_LSL_Functions.llScriptDanger(pos); | 1438 | return m_LSL_Functions.llScriptDanger(pos); |
1439 | } | 1439 | } |
@@ -1453,7 +1453,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1453 | m_LSL_Functions.llResetOtherScript(name); | 1453 | m_LSL_Functions.llResetOtherScript(name); |
1454 | } | 1454 | } |
1455 | 1455 | ||
1456 | public int llGetScriptState(string name) | 1456 | public LSL_Types.LSLInteger llGetScriptState(string name) |
1457 | { | 1457 | { |
1458 | return m_LSL_Functions.llGetScriptState(name); | 1458 | return m_LSL_Functions.llGetScriptState(name); |
1459 | } | 1459 | } |
@@ -1585,7 +1585,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1585 | m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); | 1585 | m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); |
1586 | } | 1586 | } |
1587 | 1587 | ||
1588 | public int llGetNumberOfPrims() | 1588 | public LSL_Types.LSLInteger llGetNumberOfPrims() |
1589 | { | 1589 | { |
1590 | return m_LSL_Functions.llGetNumberOfPrims(); | 1590 | return m_LSL_Functions.llGetNumberOfPrims(); |
1591 | } | 1591 | } |
@@ -1618,7 +1618,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1618 | return m_LSL_Functions.llIntegerToBase64(number); | 1618 | return m_LSL_Functions.llIntegerToBase64(number); |
1619 | } | 1619 | } |
1620 | 1620 | ||
1621 | public int llBase64ToInteger(string str) | 1621 | public LSL_Types.LSLInteger llBase64ToInteger(string str) |
1622 | { | 1622 | { |
1623 | return m_LSL_Functions.llBase64ToInteger(str); | 1623 | return m_LSL_Functions.llBase64ToInteger(str); |
1624 | } | 1624 | } |
@@ -1648,7 +1648,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1648 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); | 1648 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); |
1649 | } | 1649 | } |
1650 | 1650 | ||
1651 | public int llGetObjectPermMask(int mask) | 1651 | public LSL_Types.LSLInteger llGetObjectPermMask(int mask) |
1652 | { | 1652 | { |
1653 | return m_LSL_Functions.llGetObjectPermMask(mask); | 1653 | return m_LSL_Functions.llGetObjectPermMask(mask); |
1654 | } | 1654 | } |
@@ -1658,7 +1658,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1658 | m_LSL_Functions.llSetObjectPermMask(mask, value); | 1658 | m_LSL_Functions.llSetObjectPermMask(mask, value); |
1659 | } | 1659 | } |
1660 | 1660 | ||
1661 | public int llGetInventoryPermMask(string item, int mask) | 1661 | public LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask) |
1662 | { | 1662 | { |
1663 | return m_LSL_Functions.llGetInventoryPermMask(item, mask); | 1663 | return m_LSL_Functions.llGetInventoryPermMask(item, mask); |
1664 | } | 1664 | } |
@@ -1713,7 +1713,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1713 | m_LSL_Functions.llParcelMediaQuery(); | 1713 | m_LSL_Functions.llParcelMediaQuery(); |
1714 | } | 1714 | } |
1715 | 1715 | ||
1716 | public int llModPow(int a, int b, int c) | 1716 | public LSL_Types.LSLInteger llModPow(int a, int b, int c) |
1717 | { | 1717 | { |
1718 | return m_LSL_Functions.llModPow(a, b, c); | 1718 | return m_LSL_Functions.llModPow(a, b, c); |
1719 | } | 1719 | } |
@@ -1721,7 +1721,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1721 | // | 1721 | // |
1722 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1722 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1723 | // | 1723 | // |
1724 | public int llGetInventoryType(string name) | 1724 | public LSL_Types.LSLInteger llGetInventoryType(string name) |
1725 | { | 1725 | { |
1726 | return m_LSL_Functions.llGetInventoryType(name); | 1726 | return m_LSL_Functions.llGetInventoryType(name); |
1727 | } | 1727 | } |
@@ -1796,17 +1796,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1796 | return m_LSL_Functions.llListStatistics(operation, src); | 1796 | return m_LSL_Functions.llListStatistics(operation, src); |
1797 | } | 1797 | } |
1798 | 1798 | ||
1799 | public int llGetUnixTime() | 1799 | public LSL_Types.LSLInteger llGetUnixTime() |
1800 | { | 1800 | { |
1801 | return m_LSL_Functions.llGetUnixTime(); | 1801 | return m_LSL_Functions.llGetUnixTime(); |
1802 | } | 1802 | } |
1803 | 1803 | ||
1804 | public int llGetParcelFlags(vector pos) | 1804 | public LSL_Types.LSLInteger llGetParcelFlags(vector pos) |
1805 | { | 1805 | { |
1806 | return m_LSL_Functions.llGetParcelFlags(pos); | 1806 | return m_LSL_Functions.llGetParcelFlags(pos); |
1807 | } | 1807 | } |
1808 | 1808 | ||
1809 | public int llGetRegionFlags() | 1809 | public LSL_Types.LSLInteger llGetRegionFlags() |
1810 | { | 1810 | { |
1811 | return m_LSL_Functions.llGetRegionFlags(); | 1811 | return m_LSL_Functions.llGetRegionFlags(); |
1812 | } | 1812 | } |
@@ -1831,7 +1831,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1831 | m_LSL_Functions.llResetLandPassList(); | 1831 | m_LSL_Functions.llResetLandPassList(); |
1832 | } | 1832 | } |
1833 | 1833 | ||
1834 | public int llGetParcelPrimCount(vector pos, int category, int sim_wide) | 1834 | public LSL_Types.LSLInteger llGetParcelPrimCount(vector pos, int category, int sim_wide) |
1835 | { | 1835 | { |
1836 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); | 1836 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); |
1837 | } | 1837 | } |
@@ -1841,7 +1841,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1841 | return m_LSL_Functions.llGetParcelPrimOwners(pos); | 1841 | return m_LSL_Functions.llGetParcelPrimOwners(pos); |
1842 | } | 1842 | } |
1843 | 1843 | ||
1844 | public int llGetObjectPrimCount(string object_id) | 1844 | public LSL_Types.LSLInteger llGetObjectPrimCount(string object_id) |
1845 | { | 1845 | { |
1846 | return m_LSL_Functions.llGetObjectPrimCount(object_id); | 1846 | return m_LSL_Functions.llGetObjectPrimCount(object_id); |
1847 | } | 1847 | } |
@@ -1849,7 +1849,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1849 | // | 1849 | // |
1850 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1850 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1851 | // | 1851 | // |
1852 | public int llGetParcelMaxPrims(vector pos, int sim_wide) | 1852 | public LSL_Types.LSLInteger llGetParcelMaxPrims(vector pos, int sim_wide) |
1853 | { | 1853 | { |
1854 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); | 1854 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); |
1855 | } | 1855 | } |