diff options
author | Justin Clark-Casey (justincc) | 2013-02-14 21:11:58 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-14 21:11:58 +0000 |
commit | edb99dcc19d20980ab8fc1a0a272017855e1f266 (patch) | |
tree | 51fe428815958706799adb62fca9f6d840e96425 /OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs | |
parent | Make new JsonStore script constants separated with underscores, to be consist... (diff) | |
download | opensim-SC_OLD-edb99dcc19d20980ab8fc1a0a272017855e1f266.zip opensim-SC_OLD-edb99dcc19d20980ab8fc1a0a272017855e1f266.tar.gz opensim-SC_OLD-edb99dcc19d20980ab8fc1a0a272017855e1f266.tar.bz2 opensim-SC_OLD-edb99dcc19d20980ab8fc1a0a272017855e1f266.tar.xz |
Rename new JsonScript functions JsonPathType() -> JsonGetPathType() and JsonArrayLength() -> JsonGetArrayLength()
This is for consistentency with the verb:noun naming approach existing json script functions and other script functions.
Corresponding c# methods also changed since verb:noun is also the .net c# method naming guideline (as used by OpenSimulator) and for consistency with script functions.
As agreed with cmickeyb
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs index 669d752..1ed7df7 100644 --- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs | |||
@@ -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] |
@@ -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 | // ----------------------------------------------------------------- |