aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL
diff options
context:
space:
mode:
authorlbsa712007-09-24 01:31:00 +0000
committerlbsa712007-09-24 01:31:00 +0000
commit47256cebda8f6519ab09fe66b64deb28f0702042 (patch)
tree8a1d43d087f5d69a981179cbad018d3bc74b6eb3 /OpenSim/Framework/Data.MySQL
parent* minor renames (diff)
downloadopensim-SC_OLD-47256cebda8f6519ab09fe66b64deb28f0702042.zip
opensim-SC_OLD-47256cebda8f6519ab09fe66b64deb28f0702042.tar.gz
opensim-SC_OLD-47256cebda8f6519ab09fe66b64deb28f0702042.tar.bz2
opensim-SC_OLD-47256cebda8f6519ab09fe66b64deb28f0702042.tar.xz
* Renamed methods on IUserData
Diffstat (limited to 'OpenSim/Framework/Data.MySQL')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLUserData.cs32
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
index 633bef7..e746717 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs
@@ -65,9 +65,9 @@ namespace OpenSim.Framework.Data.MySQL
65 /// </summary> 65 /// </summary>
66 /// <param name="name">The account name of the user</param> 66 /// <param name="name">The account name of the user</param>
67 /// <returns>A user profile</returns> 67 /// <returns>A user profile</returns>
68 public UserProfileData getUserByName(string name) 68 public UserProfileData GetUserByName(string name)
69 { 69 {
70 return getUserByName(name.Split(' ')[0], name.Split(' ')[1]); 70 return GetUserByName(name.Split(' ')[0], name.Split(' ')[1]);
71 } 71 }
72 72
73 /// <summary> 73 /// <summary>
@@ -76,7 +76,7 @@ namespace OpenSim.Framework.Data.MySQL
76 /// <param name="user">The first part of the account name</param> 76 /// <param name="user">The first part of the account name</param>
77 /// <param name="last">The second part of the account name</param> 77 /// <param name="last">The second part of the account name</param>
78 /// <returns>A user profile</returns> 78 /// <returns>A user profile</returns>
79 public UserProfileData getUserByName(string user, string last) 79 public UserProfileData GetUserByName(string user, string last)
80 { 80 {
81 try 81 try
82 { 82 {
@@ -110,7 +110,7 @@ namespace OpenSim.Framework.Data.MySQL
110 /// </summary> 110 /// </summary>
111 /// <param name="uuid">The account ID</param> 111 /// <param name="uuid">The account ID</param>
112 /// <returns>The users profile</returns> 112 /// <returns>The users profile</returns>
113 public UserProfileData getUserByUUID(LLUUID uuid) 113 public UserProfileData GetUserByUUID(LLUUID uuid)
114 { 114 {
115 try 115 try
116 { 116 {
@@ -143,9 +143,9 @@ namespace OpenSim.Framework.Data.MySQL
143 /// </summary> 143 /// </summary>
144 /// <param name="name">The account name</param> 144 /// <param name="name">The account name</param>
145 /// <returns>The users session</returns> 145 /// <returns>The users session</returns>
146 public UserAgentData getAgentByName(string name) 146 public UserAgentData GetAgentByName(string name)
147 { 147 {
148 return getAgentByName(name.Split(' ')[0], name.Split(' ')[1]); 148 return GetAgentByName(name.Split(' ')[0], name.Split(' ')[1]);
149 } 149 }
150 150
151 /// <summary> 151 /// <summary>
@@ -154,10 +154,10 @@ namespace OpenSim.Framework.Data.MySQL
154 /// <param name="user">First part of the users account name</param> 154 /// <param name="user">First part of the users account name</param>
155 /// <param name="last">Second part of the users account name</param> 155 /// <param name="last">Second part of the users account name</param>
156 /// <returns>The users session</returns> 156 /// <returns>The users session</returns>
157 public UserAgentData getAgentByName(string user, string last) 157 public UserAgentData GetAgentByName(string user, string last)
158 { 158 {
159 UserProfileData profile = getUserByName(user, last); 159 UserProfileData profile = GetUserByName(user, last);
160 return getAgentByUUID(profile.UUID); 160 return GetAgentByUUID(profile.UUID);
161 } 161 }
162 162
163 /// <summary> 163 /// <summary>
@@ -165,7 +165,7 @@ namespace OpenSim.Framework.Data.MySQL
165 /// </summary> 165 /// </summary>
166 /// <param name="uuid">The accounts UUID</param> 166 /// <param name="uuid">The accounts UUID</param>
167 /// <returns>The users session</returns> 167 /// <returns>The users session</returns>
168 public UserAgentData getAgentByUUID(LLUUID uuid) 168 public UserAgentData GetAgentByUUID(LLUUID uuid)
169 { 169 {
170 try 170 try
171 { 171 {
@@ -197,7 +197,7 @@ namespace OpenSim.Framework.Data.MySQL
197 /// Creates a new users profile 197 /// Creates a new users profile
198 /// </summary> 198 /// </summary>
199 /// <param name="user">The user profile to create</param> 199 /// <param name="user">The user profile to create</param>
200 public void addNewUserProfile(UserProfileData user) 200 public void AddNewUserProfile(UserProfileData user)
201 { 201 {
202 try 202 try
203 { 203 {
@@ -220,13 +220,13 @@ namespace OpenSim.Framework.Data.MySQL
220 /// Creates a new agent 220 /// Creates a new agent
221 /// </summary> 221 /// </summary>
222 /// <param name="agent">The agent to create</param> 222 /// <param name="agent">The agent to create</param>
223 public void addNewUserAgent(UserAgentData agent) 223 public void AddNewUserAgent(UserAgentData agent)
224 { 224 {
225 // Do nothing. 225 // Do nothing.
226 } 226 }
227 227
228 228
229 public bool updateUserProfile(UserProfileData user) 229 public bool UpdateUserProfile(UserProfileData user)
230 { 230 {
231 return true; 231 return true;
232 // TODO: implement 232 // TODO: implement
@@ -239,7 +239,7 @@ namespace OpenSim.Framework.Data.MySQL
239 /// <param name="to">The recievers account ID</param> 239 /// <param name="to">The recievers account ID</param>
240 /// <param name="amount">The amount to transfer</param> 240 /// <param name="amount">The amount to transfer</param>
241 /// <returns>Success?</returns> 241 /// <returns>Success?</returns>
242 public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount) 242 public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount)
243 { 243 {
244 return false; 244 return false;
245 } 245 }
@@ -252,7 +252,7 @@ namespace OpenSim.Framework.Data.MySQL
252 /// <param name="to">The recievers account ID</param> 252 /// <param name="to">The recievers account ID</param>
253 /// <param name="item">The item to transfer</param> 253 /// <param name="item">The item to transfer</param>
254 /// <returns>Success?</returns> 254 /// <returns>Success?</returns>
255 public bool inventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) 255 public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item)
256 { 256 {
257 return false; 257 return false;
258 } 258 }
@@ -270,7 +270,7 @@ namespace OpenSim.Framework.Data.MySQL
270 /// Database provider version 270 /// Database provider version
271 /// </summary> 271 /// </summary>
272 /// <returns>provider version</returns> 272 /// <returns>provider version</returns>
273 public string getVersion() 273 public string GetVersion()
274 { 274 {
275 return "0.1"; 275 return "0.1";
276 } 276 }