From 3de3d8bb3ba9b0781a2078c8698816ae5b72f7b1 Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 7 May 2007 16:32:30 +0000 Subject: Merged 0.1-prestable back into trunk :( --- .../OpenGrid.Framework.Data.csproj | 34 ++++++++++------- OpenGrid.Framework.Data/UserProfileData.cs | 43 +++++++++++++++------- 2 files changed, 50 insertions(+), 27 deletions(-) (limited to 'OpenGrid.Framework.Data') diff --git a/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj b/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj index bba6720..e64663d 100644 --- a/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj +++ b/OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj @@ -1,4 +1,4 @@ - + Local 8.0.50727 @@ -6,7 +6,8 @@ {62CDF671-0000-0000-0000-000000000000} Debug AnyCPU - + + OpenGrid.Framework.Data @@ -15,9 +16,11 @@ IE50 false Library - + + OpenGrid.Framework.Data - + + @@ -28,7 +31,8 @@ TRACE;DEBUG - + + True 4096 False @@ -37,7 +41,8 @@ False False 4 - + + False @@ -46,7 +51,8 @@ TRACE - + + False 4096 True @@ -55,22 +61,23 @@ False False 4 - + + - + System.dll False - + System.Xml.dll False - + System.Data.dll False - + ..\bin\libsecondlife.dll False @@ -84,6 +91,7 @@ Code + Code @@ -98,4 +106,4 @@ - + \ No newline at end of file diff --git a/OpenGrid.Framework.Data/UserProfileData.cs b/OpenGrid.Framework.Data/UserProfileData.cs index d99394e..3a54828 100644 --- a/OpenGrid.Framework.Data/UserProfileData.cs +++ b/OpenGrid.Framework.Data/UserProfileData.cs @@ -7,27 +7,42 @@ namespace OpenGrid.Framework.Data { public class UserProfileData { - string username; // The configurable part of the users username - string surname; // The users surname (can be used to indicate user class - eg 'Test User' or 'Test Admin') + 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') - ulong homeRegion; // RegionHandle of home - LLVector3 homeLocation; // Home Location inside the sim + public string passwordHash; // Hash of the users password - int created; // UNIX Epoch Timestamp (User Creation) - int lastLogin; // UNIX Epoch Timestamp (Last Login Time) + public ulong homeRegion; // RegionHandle of home + public LLVector3 homeLocation; // Home Location inside the sim - string userInventoryURI; // URI to inventory server for this user - string userAssetURI; // URI to asset server for this user + public int created; // UNIX Epoch Timestamp (User Creation) + public int lastLogin; // UNIX Epoch Timestamp (Last Login Time) - uint profileCanDoMask; // Profile window "I can do" mask - uint profileWantDoMask; // Profile window "I want to" mask + public string userInventoryURI; // URI to inventory server for this user + public string userAssetURI; // URI to asset server for this user - string profileAboutText; // My about window text - string profileFirstText; // First Life Text + public uint profileCanDoMask; // Profile window "I can do" mask + public uint profileWantDoMask; // Profile window "I want to" mask - LLUUID profileImage; // My avatars profile image - LLUUID profileFirstImage; // First-life image + 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 } } -- cgit v1.1