UserDataBase.cs 1.7 KB

1234567891011121314151617181920212223242526272829
  1. using System.Collections.Generic;
  2. using libsecondlife;
  3. namespace OpenSim.Framework.Data
  4. {
  5. public abstract class UserDataBase : IUserData
  6. {
  7. public abstract UserProfileData GetUserByUUID(LLUUID user);
  8. public abstract UserProfileData GetUserByName(string fname, string lname);
  9. public abstract UserAgentData GetAgentByUUID(LLUUID user);
  10. public abstract UserAgentData GetAgentByName(string name);
  11. public abstract UserAgentData GetAgentByName(string fname, string lname);
  12. public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey);
  13. public abstract void AddNewUserProfile(UserProfileData user);
  14. public abstract bool UpdateUserProfile(UserProfileData user);
  15. public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid);
  16. public abstract void AddNewUserAgent(UserAgentData agent);
  17. public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms);
  18. public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend);
  19. public abstract void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms);
  20. public abstract List<FriendListItem> GetUserFriendList(LLUUID friendlistowner);
  21. public abstract bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount);
  22. public abstract bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory);
  23. public abstract string GetVersion();
  24. public abstract string getName();
  25. public abstract void Initialise();
  26. public abstract List<OpenSim.Framework.AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query);
  27. }
  28. }