aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-02-14 21:11:58 +0000
committerJustin Clark-Casey (justincc)2013-02-14 21:11:58 +0000
commitedb99dcc19d20980ab8fc1a0a272017855e1f266 (patch)
tree51fe428815958706799adb62fca9f6d840e96425 /OpenSim/Region/Framework
parentMake new JsonStore script constants separated with underscores, to be consist... (diff)
downloadopensim-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 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IJsonStoreModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IJsonStoreModule.cs b/OpenSim/Region/Framework/Interfaces/IJsonStoreModule.cs
index d7907e3..b40d24f 100644
--- a/OpenSim/Region/Framework/Interfaces/IJsonStoreModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IJsonStoreModule.cs
@@ -49,7 +49,7 @@ namespace OpenSim.Region.Framework.Interfaces
49 bool CreateStore(string value, ref UUID result); 49 bool CreateStore(string value, ref UUID result);
50 bool DestroyStore(UUID storeID); 50 bool DestroyStore(UUID storeID);
51 51
52 JsonStoreNodeType PathType(UUID storeID, string path); 52 JsonStoreNodeType GetPathType(UUID storeID, string path);
53 bool TestStore(UUID storeID); 53 bool TestStore(UUID storeID);
54 bool TestPath(UUID storeID, string path, bool useJson); 54 bool TestPath(UUID storeID, string path, bool useJson);
55 55
@@ -60,6 +60,6 @@ namespace OpenSim.Region.Framework.Interfaces
60 void TakeValue(UUID storeID, string path, bool useJson, TakeValueCallback cback); 60 void TakeValue(UUID storeID, string path, bool useJson, TakeValueCallback cback);
61 void ReadValue(UUID storeID, string path, bool useJson, TakeValueCallback cback); 61 void ReadValue(UUID storeID, string path, bool useJson, TakeValueCallback cback);
62 62
63 int ArrayLength(UUID storeID, string path); 63 int GetArrayLength(UUID storeID, string path);
64 } 64 }
65} 65}