mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Mantis #8481 part one.
Add llGetParcelDetails(vector pos, [PARCEL_DETAILS_LANDDWELL]) Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user