29 using System.Collections;
30 using System.Collections.Generic;
32 using OpenSim.Framework;
35 namespace OpenSim.Data.
Null
39 private static Dictionary<UUID, AvatarBaseData> m_DataByUUID =
new Dictionary<UUID, AvatarBaseData>();
47 if (field ==
"PrincipalID")
50 if (UUID.TryParse(val, out
id))
51 if (m_DataByUUID.ContainsKey(
id))
61 m_DataByUUID[data.PrincipalID] = data;
65 public bool Delete(UUID principalID,
string name)
67 if (m_DataByUUID.ContainsKey(principalID) && m_DataByUUID[principalID].Data.ContainsKey(name))
69 m_DataByUUID[principalID].Data.Remove(name);
76 public bool Delete(
string field,
string val)
78 if (field ==
"PrincipalID")
81 if (UUID.TryParse(val, out
id))
82 if (m_DataByUUID.ContainsKey(
id))
84 m_DataByUUID.Remove(id);
NullAvatarData(string connectionString, string realm)
bool Store(AvatarBaseData data)
AvatarBaseData[] Get(string field, string val)
bool Delete(string field, string val)
bool Delete(UUID principalID, string name)