diff options
Diffstat (limited to '')
-rw-r--r-- | OpenGrid.Framework.Data/UserData.cs | 24 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace 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 | } | ||