2007-05-04 03:25:20 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
|
|
|
using libsecondlife;
|
|
|
|
|
|
|
|
namespace OpenGrid.Framework.Data
|
|
|
|
{
|
|
|
|
public class UserProfileData
|
|
|
|
{
|
2007-05-07 04:26:22 +00:00
|
|
|
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')
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public string passwordHash; // Hash of the users password
|
2007-05-07 03:57:39 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public ulong homeRegion; // RegionHandle of home
|
|
|
|
public LLVector3 homeLocation; // Home Location inside the sim
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public int created; // UNIX Epoch Timestamp (User Creation)
|
|
|
|
public int lastLogin; // UNIX Epoch Timestamp (Last Login Time)
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public string userInventoryURI; // URI to inventory server for this user
|
|
|
|
public string userAssetURI; // URI to asset server for this user
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public uint profileCanDoMask; // Profile window "I can do" mask
|
|
|
|
public uint profileWantDoMask; // Profile window "I want to" mask
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public string profileAboutText; // My about window text
|
|
|
|
public string profileFirstText; // First Life Text
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 04:26:22 +00:00
|
|
|
public LLUUID profileImage; // My avatars profile image
|
|
|
|
public LLUUID profileFirstImage; // First-life image
|
|
|
|
public UserAgentData currentAgent; // The users last agent
|
2007-05-07 03:57:39 +00:00
|
|
|
}
|
2007-05-04 03:25:20 +00:00
|
|
|
|
2007-05-07 03:57:39 +00:00
|
|
|
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
|
2007-05-04 03:25:20 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|