diff options
author | TBG Renfold | 2019-07-26 19:02:23 +0100 |
---|---|---|
committer | UbitUmarov | 2019-07-31 12:58:00 +0100 |
commit | 8de67dad760a3c7f23a0a96f868f63f0d4efbc0e (patch) | |
tree | 36a85ad2b753b3b6c62ae3e6380849d36b24a7c5 | |
parent | fix configuration loader test (diff) | |
download | opensim-SC-8de67dad760a3c7f23a0a96f868f63f0d4efbc0e.zip opensim-SC-8de67dad760a3c7f23a0a96f868f63f0d4efbc0e.tar.gz opensim-SC-8de67dad760a3c7f23a0a96f868f63f0d4efbc0e.tar.bz2 opensim-SC-8de67dad760a3c7f23a0a96f868f63f0d4efbc0e.tar.xz |
Mantis #8481 part one.
Add llGetParcelDetails(vector pos, [PARCEL_DETAILS_LANDDWELL])
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5d72858..e59bfe8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -14343,6 +14343,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
14343 | case "5": | 14343 | case "5": |
14344 | ret.Add(new LSL_Key(land.GlobalID.ToString())); | 14344 | ret.Add(new LSL_Key(land.GlobalID.ToString())); |
14345 | break; | 14345 | break; |
14346 | case "20": | ||
14347 | ret.Add(new LSL_Integer(land.Dwell)); | ||
14348 | break; | ||
14346 | default: | 14349 | default: |
14347 | ret.Add(new LSL_Integer(0)); | 14350 | ret.Add(new LSL_Integer(0)); |
14348 | break; | 14351 | break; |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index fa0e25c..371460a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -721,6 +721,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
721 | // constants for llGetParcelDetails | 721 | // constants for llGetParcelDetails |
722 | public const int PARCEL_DETAILS_NAME = 0; | 722 | public const int PARCEL_DETAILS_NAME = 0; |
723 | public const int PARCEL_DETAILS_DESC = 1; | 723 | public const int PARCEL_DETAILS_DESC = 1; |
724 | public const int PARCEL_DETAILS_DWELL = 20; | ||
724 | public const int PARCEL_DETAILS_OWNER = 2; | 725 | public const int PARCEL_DETAILS_OWNER = 2; |
725 | public const int PARCEL_DETAILS_GROUP = 3; | 726 | public const int PARCEL_DETAILS_GROUP = 3; |
726 | public const int PARCEL_DETAILS_AREA = 4; | 727 | public const int PARCEL_DETAILS_AREA = 4; |