diff options
author | UbitUmarov | 2019-07-31 13:38:49 +0100 |
---|---|---|
committer | UbitUmarov | 2019-07-31 13:38:49 +0100 |
commit | b5b518dc0d1996c3ed0effe7c39b7daff2d1441b (patch) | |
tree | b737423230e178c6f227f10a2b05cd06dda8476a /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Mantis #8481 part two. (diff) | |
download | opensim-SC-b5b518dc0d1996c3ed0effe7c39b7daff2d1441b.zip opensim-SC-b5b518dc0d1996c3ed0effe7c39b7daff2d1441b.tar.gz opensim-SC-b5b518dc0d1996c3ed0effe7c39b7daff2d1441b.tar.bz2 opensim-SC-b5b518dc0d1996c3ed0effe7c39b7daff2d1441b.tar.xz |
change value of PARCEL_DETAILS_DWELL to a higher value to give more room for standard values, change return types, update script syntaxe
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 371460a..f93cea8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
35 | public partial class ScriptBaseClass | 35 | public partial class ScriptBaseClass |
36 | { | 36 | { |
37 | // SCRIPTS CONSTANTS | 37 | // SCRIPTS CONSTANTS |
38 | public static readonly LSLInteger OS_APIVERSION = 4; | 38 | public static readonly LSLInteger OS_APIVERSION = 5; |
39 | 39 | ||
40 | public static readonly LSLInteger TRUE = 1; | 40 | public static readonly LSLInteger TRUE = 1; |
41 | public static readonly LSLInteger FALSE = 0; | 41 | public static readonly LSLInteger FALSE = 0; |
@@ -721,7 +721,6 @@ 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; | ||
725 | public const int PARCEL_DETAILS_OWNER = 2; | 724 | public const int PARCEL_DETAILS_OWNER = 2; |
726 | public const int PARCEL_DETAILS_GROUP = 3; | 725 | public const int PARCEL_DETAILS_GROUP = 3; |
727 | public const int PARCEL_DETAILS_AREA = 4; | 726 | public const int PARCEL_DETAILS_AREA = 4; |
@@ -729,6 +728,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
729 | public const int PARCEL_DETAILS_SEE_AVATARS = 6; | 728 | public const int PARCEL_DETAILS_SEE_AVATARS = 6; |
730 | public const int PARCEL_DETAILS_ANY_AVATAR_SOUNDS = 7; | 729 | public const int PARCEL_DETAILS_ANY_AVATAR_SOUNDS = 7; |
731 | public const int PARCEL_DETAILS_GROUP_SOUNDS = 8; | 730 | public const int PARCEL_DETAILS_GROUP_SOUNDS = 8; |
731 | // constants for llGetParcelDetails os specific | ||
732 | public const int PARCEL_DETAILS_DWELL = 64; | ||
732 | 733 | ||
733 | //osSetParcelDetails | 734 | //osSetParcelDetails |
734 | public const int PARCEL_DETAILS_CLAIMDATE = 10; | 735 | public const int PARCEL_DETAILS_CLAIMDATE = 10; |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index abdf0df..6a70305 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -116,7 +116,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
116 | return m_OSSL_Functions.osGetWindParam(plugin, param); | 116 | return m_OSSL_Functions.osGetWindParam(plugin, param); |
117 | } | 117 | } |
118 | 118 | ||
119 | public int osGetParcelDwell(vector pos) | 119 | public LSL_Integer osGetParcelDwell(vector pos) |
120 | { | 120 | { |
121 | return m_OSSL_Functions.osGetParcelDwell(pos); | 121 | return m_OSSL_Functions.osGetParcelDwell(pos); |
122 | } | 122 | } |