aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data/UserData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenGrid.Framework.Data/UserData.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenGrid.Framework.Data/UserData.cs b/OpenGrid.Framework.Data/UserData.cs
new file mode 100644
index 0000000..6b4f2ba
--- /dev/null
+++ b/OpenGrid.Framework.Data/UserData.cs
@@ -0,0 +1,24 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5
6namespace OpenGrid.Framework.Data
7{
8 public interface IUserData
9 {
10 // Retrieval
11 // User Profiles
12 UserProfileData getUserByUUID(LLUUID user);
13 UserProfileData getUserByName(string name);
14 UserProfileData getUserByName(string fname, string lname);
15 // User Agents
16 UserAgentData getAgentByUUID(LLUUID user);
17 UserAgentData getAgentByName(string name);
18 UserAgentData getAgentByName(string fname, string lname);
19
20 // Transactional
21 bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount);
22 bool inventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory);
23 }
24}