aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data/UserData.cs
blob: 6b4f2baa08f7b2dae49ea71e61f0af951ec23722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;

namespace OpenGrid.Framework.Data
{
    public interface IUserData
    {
        // Retrieval
        // User Profiles
        UserProfileData getUserByUUID(LLUUID user);
        UserProfileData getUserByName(string name);
        UserProfileData getUserByName(string fname, string lname);
        // User Agents
        UserAgentData getAgentByUUID(LLUUID user);
        UserAgentData getAgentByName(string name);
        UserAgentData getAgentByName(string fname, string lname);

        // Transactional
        bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount);
        bool inventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory);
    }
}