diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs index 3955bff..ef08c05 100644 --- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs | |||
@@ -215,19 +215,19 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore | |||
215 | 215 | ||
216 | #endregion | 216 | #endregion |
217 | 217 | ||
218 | #region ScriptConstantInteface | 218 | #region ScriptConstantsInterface |
219 | 219 | ||
220 | [ScriptConstant] | 220 | [ScriptConstant] |
221 | public static readonly int JSONTYPEUNDEF = (int)JsonStoreNodeType.Undefined; | 221 | public static readonly int JSON_TYPE_UNDEF = (int)JsonStoreNodeType.Undefined; |
222 | 222 | ||
223 | [ScriptConstant] | 223 | [ScriptConstant] |
224 | public static readonly int JSONTYPEOBJECT = (int)JsonStoreNodeType.Object; | 224 | public static readonly int JSON_TYPE_OBJECT = (int)JsonStoreNodeType.Object; |
225 | 225 | ||
226 | [ScriptConstant] | 226 | [ScriptConstant] |
227 | public static readonly int JSONTYPEARRAY = (int)JsonStoreNodeType.Array; | 227 | public static readonly int JSON_TYPE_ARRAY = (int)JsonStoreNodeType.Array; |
228 | 228 | ||
229 | [ScriptConstant] | 229 | [ScriptConstant] |
230 | public static readonly int JSONTYPEVALUE = (int)JsonStoreNodeType.Value; | 230 | public static readonly int JSON_TYPE_VALUE = (int)JsonStoreNodeType.Value; |
231 | 231 | ||
232 | #endregion | 232 | #endregion |
233 | 233 | ||
@@ -336,9 +336,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore | |||
336 | /// </summary> | 336 | /// </summary> |
337 | // ----------------------------------------------------------------- | 337 | // ----------------------------------------------------------------- |
338 | [ScriptInvocation] | 338 | [ScriptInvocation] |
339 | public int JsonPathType(UUID hostID, UUID scriptID, UUID storeID, string path) | 339 | public int JsonGetPathType(UUID hostID, UUID scriptID, UUID storeID, string path) |
340 | { | 340 | { |
341 | return (int)m_store.PathType(storeID,path); | 341 | return (int)m_store.GetPathType(storeID,path); |
342 | } | 342 | } |
343 | 343 | ||
344 | [ScriptInvocation] | 344 | [ScriptInvocation] |
@@ -365,7 +365,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore | |||
365 | } | 365 | } |
366 | 366 | ||
367 | [ScriptInvocation] | 367 | [ScriptInvocation] |
368 | public int JsonSetValueJson(UUID hostID, UUID scriptID, UUID storeID, string path, string value) | 368 | public int JsonSetJson(UUID hostID, UUID scriptID, UUID storeID, string path, string value) |
369 | { | 369 | { |
370 | return m_store.SetValue(storeID,path,value,true) ? 1 : 0; | 370 | return m_store.SetValue(storeID,path,value,true) ? 1 : 0; |
371 | } | 371 | } |
@@ -387,9 +387,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore | |||
387 | /// </summary> | 387 | /// </summary> |
388 | // ----------------------------------------------------------------- | 388 | // ----------------------------------------------------------------- |
389 | [ScriptInvocation] | 389 | [ScriptInvocation] |
390 | public int JsonArrayLength(UUID hostID, UUID scriptID, UUID storeID, string path) | 390 | public int JsonGetArrayLength(UUID hostID, UUID scriptID, UUID storeID, string path) |
391 | { | 391 | { |
392 | return m_store.ArrayLength(storeID,path); | 392 | return m_store.GetArrayLength(storeID,path); |
393 | } | 393 | } |
394 | 394 | ||
395 | // ----------------------------------------------------------------- | 395 | // ----------------------------------------------------------------- |
@@ -406,7 +406,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore | |||
406 | } | 406 | } |
407 | 407 | ||
408 | [ScriptInvocation] | 408 | [ScriptInvocation] |
409 | public string JsonGetValueJson(UUID hostID, UUID scriptID, UUID storeID, string path) | 409 | public string JsonGetJson(UUID hostID, UUID scriptID, UUID storeID, string path) |
410 | { | 410 | { |
411 | string value = String.Empty; | 411 | string value = String.Empty; |
412 | m_store.GetValue(storeID,path,true, out value); | 412 | m_store.GetValue(storeID,path,true, out value); |