From 47256cebda8f6519ab09fe66b64deb28f0702042 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 24 Sep 2007 01:31:00 +0000 Subject: * Renamed methods on IUserData --- OpenSim/Framework/Data.MySQL/MySQLUserData.cs | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs') 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 /// /// The account name of the user /// A user profile - public UserProfileData getUserByName(string name) + public UserProfileData GetUserByName(string name) { - return getUserByName(name.Split(' ')[0], name.Split(' ')[1]); + return GetUserByName(name.Split(' ')[0], name.Split(' ')[1]); } /// @@ -76,7 +76,7 @@ namespace OpenSim.Framework.Data.MySQL /// The first part of the account name /// The second part of the account name /// A user profile - public UserProfileData getUserByName(string user, string last) + public UserProfileData GetUserByName(string user, string last) { try { @@ -110,7 +110,7 @@ namespace OpenSim.Framework.Data.MySQL /// /// The account ID /// The users profile - public UserProfileData getUserByUUID(LLUUID uuid) + public UserProfileData GetUserByUUID(LLUUID uuid) { try { @@ -143,9 +143,9 @@ namespace OpenSim.Framework.Data.MySQL /// /// The account name /// The users session - public UserAgentData getAgentByName(string name) + public UserAgentData GetAgentByName(string name) { - return getAgentByName(name.Split(' ')[0], name.Split(' ')[1]); + return GetAgentByName(name.Split(' ')[0], name.Split(' ')[1]); } /// @@ -154,10 +154,10 @@ namespace OpenSim.Framework.Data.MySQL /// First part of the users account name /// Second part of the users account name /// The users session - public UserAgentData getAgentByName(string user, string last) + public UserAgentData GetAgentByName(string user, string last) { - UserProfileData profile = getUserByName(user, last); - return getAgentByUUID(profile.UUID); + UserProfileData profile = GetUserByName(user, last); + return GetAgentByUUID(profile.UUID); } /// @@ -165,7 +165,7 @@ namespace OpenSim.Framework.Data.MySQL /// /// The accounts UUID /// The users session - public UserAgentData getAgentByUUID(LLUUID uuid) + public UserAgentData GetAgentByUUID(LLUUID uuid) { try { @@ -197,7 +197,7 @@ namespace OpenSim.Framework.Data.MySQL /// Creates a new users profile /// /// The user profile to create - public void addNewUserProfile(UserProfileData user) + public void AddNewUserProfile(UserProfileData user) { try { @@ -220,13 +220,13 @@ namespace OpenSim.Framework.Data.MySQL /// Creates a new agent /// /// The agent to create - public void addNewUserAgent(UserAgentData agent) + public void AddNewUserAgent(UserAgentData agent) { // Do nothing. } - public bool updateUserProfile(UserProfileData user) + public bool UpdateUserProfile(UserProfileData user) { return true; // TODO: implement @@ -239,7 +239,7 @@ namespace OpenSim.Framework.Data.MySQL /// The recievers account ID /// The amount to transfer /// Success? - public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount) + public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) { return false; } @@ -252,7 +252,7 @@ namespace OpenSim.Framework.Data.MySQL /// The recievers account ID /// The item to transfer /// Success? - public bool inventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) + public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) { return false; } @@ -270,7 +270,7 @@ namespace OpenSim.Framework.Data.MySQL /// Database provider version /// /// provider version - public string getVersion() + public string GetVersion() { return "0.1"; } -- cgit v1.1