diff options
author | Justin Clarke Casey | 2008-09-16 16:37:16 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-16 16:37:16 +0000 |
commit | 7f3bfa277b894b90e660badf5ee47e4d99ef102c (patch) | |
tree | 5da96a515d1d37d9aa59affa3daf42bf5c69428c /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | Mantis #1843 (diff) | |
download | opensim-SC_OLD-7f3bfa277b894b90e660badf5ee47e4d99ef102c.zip opensim-SC_OLD-7f3bfa277b894b90e660badf5ee47e4d99ef102c.tar.gz opensim-SC_OLD-7f3bfa277b894b90e660badf5ee47e4d99ef102c.tar.bz2 opensim-SC_OLD-7f3bfa277b894b90e660badf5ee47e4d99ef102c.tar.xz |
* minor: method documentation
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a5ff42d..d6c33f6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -57,7 +57,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
57 | /// </summary> | 57 | /// </summary> |
58 | public class LSL_Api : MarshalByRefObject, ILSL_Api, IScriptApi | 58 | public class LSL_Api : MarshalByRefObject, ILSL_Api, IScriptApi |
59 | { | 59 | { |
60 | // private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 60 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); |
61 | 61 | ||
62 | internal IScriptEngine m_ScriptEngine; | 62 | internal IScriptEngine m_ScriptEngine; |
63 | internal SceneObjectPart m_host; | 63 | internal SceneObjectPart m_host; |
@@ -7925,7 +7925,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7925 | } | 7925 | } |
7926 | 7926 | ||
7927 | public LSL_Types.LSLString llGetNotecardLine(string name, int line) | 7927 | public LSL_Types.LSLString llGetNotecardLine(string name, int line) |
7928 | { | 7928 | { |
7929 | m_host.AddScriptLPS(1); | 7929 | m_host.AddScriptLPS(1); |
7930 | 7930 | ||
7931 | foreach (TaskInventoryItem item in m_host.TaskInventory.Values) | 7931 | foreach (TaskInventoryItem item in m_host.TaskInventory.Values) |
@@ -7935,6 +7935,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7935 | UUID tid = AsyncCommands. | 7935 | UUID tid = AsyncCommands. |
7936 | DataserverPlugin.RegisterRequest(m_localID, | 7936 | DataserverPlugin.RegisterRequest(m_localID, |
7937 | m_itemID, item.AssetID.ToString()); | 7937 | m_itemID, item.AssetID.ToString()); |
7938 | |||
7938 | if (NotecardCache.IsCached(item.AssetID)) | 7939 | if (NotecardCache.IsCached(item.AssetID)) |
7939 | { | 7940 | { |
7940 | AsyncCommands. | 7941 | AsyncCommands. |
@@ -7943,6 +7944,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7943 | // ScriptSleep(100); | 7944 | // ScriptSleep(100); |
7944 | return tid.ToString(); | 7945 | return tid.ToString(); |
7945 | } | 7946 | } |
7947 | |||
7946 | WithNotecard(item.AssetID, delegate (UUID id, AssetBase a) | 7948 | WithNotecard(item.AssetID, delegate (UUID id, AssetBase a) |
7947 | { | 7949 | { |
7948 | System.Text.ASCIIEncoding enc = | 7950 | System.Text.ASCIIEncoding enc = |