aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data/UserProfileData.cs
blob: 8d72c6baf0e5276b5dfc4aa83ed8992863221f9f (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;

namespace OpenGrid.Framework.Data
{
    public class UserProfileData
    {
        public LLUUID UUID;
        public string username;    // The configurable part of the users username
        public string surname;     // The users surname (can be used to indicate user class - eg 'Test User' or 'Test Admin')

        public string passwordHash; // Hash of the users password

        public ulong homeRegion;       // RegionHandle of home
        public LLVector3 homeLocation; // Home Location inside the sim
        public LLVector3 homeLookAt;   // Coordinates where the user is looking


        public int created;    // UNIX Epoch Timestamp (User Creation)
        public int lastLogin;  // UNIX Epoch Timestamp (Last Login Time)

        public string userInventoryURI; // URI to inventory server for this user
        public string userAssetURI;     // URI to asset server for this user

        public uint profileCanDoMask; // Profile window "I can do" mask
        public uint profileWantDoMask; // Profile window "I want to" mask

        public string profileAboutText; // My about window text
        public string profileFirstText; // First Life Text

        public LLUUID profileImage; // My avatars profile image
        public LLUUID profileFirstImage; // First-life image
        public UserAgentData currentAgent; // The users last agent
    }

    public class UserAgentData
    {
        public string agentIP;          // The IP of the agent
        public uint agentPort;          // The port of the agent
        public bool agentOnline;        // The online status of the agent
        public LLUUID sessionID;        // The session ID for the agent
        public LLUUID secureSessionID;  // The secure session ID for the agent
        public LLUUID regionID;         // The region ID the agent occupies
        public uint loginTime;          // EPOCH based Timestamp
        public uint logoutTime;         // Timestamp or 0 if N/A

    }
}