Mantis #8481 part one.

Add llGetParcelDetails(vector pos, [PARCEL_DETAILS_LANDDWELL])

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
0.9.1.0-post-fixes
TBG Renfold 2019-07-26 19:02:23 +01:00 committed by UbitUmarov
parent cd641e8629
commit 8de67dad76
2 changed files with 4 additions and 0 deletions

View File

@ -14343,6 +14343,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
case "5":
ret.Add(new LSL_Key(land.GlobalID.ToString()));
break;
case "20":
ret.Add(new LSL_Integer(land.Dwell));
break;
default:
ret.Add(new LSL_Integer(0));
break;

View File

@ -721,6 +721,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
// constants for llGetParcelDetails
public const int PARCEL_DETAILS_NAME = 0;
public const int PARCEL_DETAILS_DESC = 1;
public const int PARCEL_DETAILS_DWELL = 20;
public const int PARCEL_DETAILS_OWNER = 2;
public const int PARCEL_DETAILS_GROUP = 3;
public const int PARCEL_DETAILS_AREA = 4;