diff options
author | Justin Clarke Casey | 2009-04-23 18:57:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-23 18:57:39 +0000 |
commit | 0d51c22620315f125ddbd3fe501eb93f318038d8 (patch) | |
tree | 31cf4ba3cc962497c0589dc12eb5642240670d13 /OpenSim/Data/UserDataBase.cs | |
parent | * Add user data plugin to store temporary profiles (which are distinct from c... (diff) | |
download | opensim-SC-0d51c22620315f125ddbd3fe501eb93f318038d8.zip opensim-SC-0d51c22620315f125ddbd3fe501eb93f318038d8.tar.gz opensim-SC-0d51c22620315f125ddbd3fe501eb93f318038d8.tar.bz2 opensim-SC-0d51c22620315f125ddbd3fe501eb93f318038d8.tar.xz |
* Allow interested user data plugins to store temporary user profiles
* Database and the OGS1 plugins are not interested and hence ignore these calls
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/UserDataBase.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs index 167a837..5ee5096 100644 --- a/OpenSim/Data/UserDataBase.cs +++ b/OpenSim/Data/UserDataBase.cs | |||
@@ -46,6 +46,12 @@ namespace OpenSim.Data | |||
46 | public UserProfileData GetUserByUri(Uri uri) { return null; } | 46 | public UserProfileData GetUserByUri(Uri uri) { return null; } |
47 | public abstract void StoreWebLoginKey(UUID agentID, UUID webLoginKey); | 47 | public abstract void StoreWebLoginKey(UUID agentID, UUID webLoginKey); |
48 | public abstract void AddNewUserProfile(UserProfileData user); | 48 | public abstract void AddNewUserProfile(UserProfileData user); |
49 | |||
50 | public virtual void AddTemporaryUserProfile(UserProfileData userProfile) | ||
51 | { | ||
52 | // Deliberately blank - database plugins shouldn't store temporary profiles. | ||
53 | } | ||
54 | |||
49 | public abstract bool UpdateUserProfile(UserProfileData user); | 55 | public abstract bool UpdateUserProfile(UserProfileData user); |
50 | public abstract void AddNewUserAgent(UserAgentData agent); | 56 | public abstract void AddNewUserAgent(UserAgentData agent); |
51 | public abstract void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms); | 57 | public abstract void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms); |