make the super class conveniance appearance stuff virtual

so they can be overrided correctly by subclasses
0.6.0-stable
Sean Dague 2008-05-19 20:49:57 +00:00
parent 7a52b35c57
commit d1c4fc94e7
2 changed files with 4 additions and 4 deletions

View File

@ -656,7 +656,7 @@ namespace OpenSim.Data.MySQL
/// Appearance
/// TODO: stubs for now to get us to a compiling state gently
// override
public AvatarAppearance GetUserAppearance(LLUUID user)
override public AvatarAppearance GetUserAppearance(LLUUID user)
{
AvatarAppearance appearance = null;
if (!m_appearanceMapper.TryGetValue(user.UUID, out appearance))
@ -667,7 +667,7 @@ namespace OpenSim.Data.MySQL
}
// override
public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
{
m_appearanceMapper.Update(user.UUID, appearance);
}

View File

@ -59,7 +59,7 @@ namespace OpenSim.Data
public abstract string Name {get;}
public abstract void Initialise(string connect);
public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query);
public AvatarAppearance GetUserAppearance(LLUUID user) {
public virtual AvatarAppearance GetUserAppearance(LLUUID user) {
AvatarAppearance aa = null;
try {
aa = aplist[user];
@ -69,7 +69,7 @@ namespace OpenSim.Data
}
return aa;
}
public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
aplist[user] = appearance;
m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString());
}