diff options
Diffstat (limited to 'OpenGrid.Framework.Data')
-rw-r--r-- | OpenGrid.Framework.Data/OpenGrid.Framework.Data.csproj | 34 | ||||
-rw-r--r-- | OpenGrid.Framework.Data/UserProfileData.cs | 43 |
2 files changed, 50 insertions, 27 deletions
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 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
2 | <PropertyGroup> | 2 | <PropertyGroup> |
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
@@ -6,7 +6,8 @@ | |||
6 | <ProjectGuid>{62CDF671-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{62CDF671-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon> |
10 | </ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | 11 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 12 | </AssemblyKeyContainerName> |
12 | <AssemblyName>OpenGrid.Framework.Data</AssemblyName> | 13 | <AssemblyName>OpenGrid.Framework.Data</AssemblyName> |
@@ -15,9 +16,11 @@ | |||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 16 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 17 | <DelaySign>false</DelaySign> |
17 | <OutputType>Library</OutputType> | 18 | <OutputType>Library</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 19 | <AppDesignerFolder> |
20 | </AppDesignerFolder> | ||
19 | <RootNamespace>OpenGrid.Framework.Data</RootNamespace> | 21 | <RootNamespace>OpenGrid.Framework.Data</RootNamespace> |
20 | <StartupObject></StartupObject> | 22 | <StartupObject> |
23 | </StartupObject> | ||
21 | <FileUpgradeFlags> | 24 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 25 | </FileUpgradeFlags> |
23 | </PropertyGroup> | 26 | </PropertyGroup> |
@@ -28,7 +31,8 @@ | |||
28 | <ConfigurationOverrideFile> | 31 | <ConfigurationOverrideFile> |
29 | </ConfigurationOverrideFile> | 32 | </ConfigurationOverrideFile> |
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | 33 | <DefineConstants>TRACE;DEBUG</DefineConstants> |
31 | <DocumentationFile></DocumentationFile> | 34 | <DocumentationFile> |
35 | </DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | 36 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 37 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 38 | <Optimize>False</Optimize> |
@@ -37,7 +41,8 @@ | |||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 41 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 42 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
39 | <WarningLevel>4</WarningLevel> | 43 | <WarningLevel>4</WarningLevel> |
40 | <NoWarn></NoWarn> | 44 | <NoWarn> |
45 | </NoWarn> | ||
41 | </PropertyGroup> | 46 | </PropertyGroup> |
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | 47 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | 48 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> |
@@ -46,7 +51,8 @@ | |||
46 | <ConfigurationOverrideFile> | 51 | <ConfigurationOverrideFile> |
47 | </ConfigurationOverrideFile> | 52 | </ConfigurationOverrideFile> |
48 | <DefineConstants>TRACE</DefineConstants> | 53 | <DefineConstants>TRACE</DefineConstants> |
49 | <DocumentationFile></DocumentationFile> | 54 | <DocumentationFile> |
55 | </DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | 56 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 57 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 58 | <Optimize>True</Optimize> |
@@ -55,22 +61,23 @@ | |||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 61 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 62 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
57 | <WarningLevel>4</WarningLevel> | 63 | <WarningLevel>4</WarningLevel> |
58 | <NoWarn></NoWarn> | 64 | <NoWarn> |
65 | </NoWarn> | ||
59 | </PropertyGroup> | 66 | </PropertyGroup> |
60 | <ItemGroup> | 67 | <ItemGroup> |
61 | <Reference Include="System" > | 68 | <Reference Include="System"> |
62 | <HintPath>System.dll</HintPath> | 69 | <HintPath>System.dll</HintPath> |
63 | <Private>False</Private> | 70 | <Private>False</Private> |
64 | </Reference> | 71 | </Reference> |
65 | <Reference Include="System.Xml" > | 72 | <Reference Include="System.Xml"> |
66 | <HintPath>System.Xml.dll</HintPath> | 73 | <HintPath>System.Xml.dll</HintPath> |
67 | <Private>False</Private> | 74 | <Private>False</Private> |
68 | </Reference> | 75 | </Reference> |
69 | <Reference Include="System.Data" > | 76 | <Reference Include="System.Data"> |
70 | <HintPath>System.Data.dll</HintPath> | 77 | <HintPath>System.Data.dll</HintPath> |
71 | <Private>False</Private> | 78 | <Private>False</Private> |
72 | </Reference> | 79 | </Reference> |
73 | <Reference Include="libsecondlife.dll" > | 80 | <Reference Include="libsecondlife.dll"> |
74 | <HintPath>..\bin\libsecondlife.dll</HintPath> | 81 | <HintPath>..\bin\libsecondlife.dll</HintPath> |
75 | <Private>False</Private> | 82 | <Private>False</Private> |
76 | </Reference> | 83 | </Reference> |
@@ -84,6 +91,7 @@ | |||
84 | <Compile Include="SimProfileData.cs"> | 91 | <Compile Include="SimProfileData.cs"> |
85 | <SubType>Code</SubType> | 92 | <SubType>Code</SubType> |
86 | </Compile> | 93 | </Compile> |
94 | <Compile Include="UserData.cs" /> | ||
87 | <Compile Include="UserProfileData.cs"> | 95 | <Compile Include="UserProfileData.cs"> |
88 | <SubType>Code</SubType> | 96 | <SubType>Code</SubType> |
89 | </Compile> | 97 | </Compile> |
@@ -98,4 +106,4 @@ | |||
98 | <PostBuildEvent> | 106 | <PostBuildEvent> |
99 | </PostBuildEvent> | 107 | </PostBuildEvent> |
100 | </PropertyGroup> | 108 | </PropertyGroup> |
101 | </Project> | 109 | </Project> \ 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 | |||
7 | { | 7 | { |
8 | public class UserProfileData | 8 | public class UserProfileData |
9 | { | 9 | { |
10 | string username; // The configurable part of the users username | 10 | public LLUUID UUID; |
11 | string surname; // The users surname (can be used to indicate user class - eg 'Test User' or 'Test Admin') | 11 | public string username; // The configurable part of the users username |
12 | public string surname; // The users surname (can be used to indicate user class - eg 'Test User' or 'Test Admin') | ||
12 | 13 | ||
13 | ulong homeRegion; // RegionHandle of home | 14 | public string passwordHash; // Hash of the users password |
14 | LLVector3 homeLocation; // Home Location inside the sim | ||
15 | 15 | ||
16 | int created; // UNIX Epoch Timestamp (User Creation) | 16 | public ulong homeRegion; // RegionHandle of home |
17 | int lastLogin; // UNIX Epoch Timestamp (Last Login Time) | 17 | public LLVector3 homeLocation; // Home Location inside the sim |
18 | 18 | ||
19 | string userInventoryURI; // URI to inventory server for this user | 19 | public int created; // UNIX Epoch Timestamp (User Creation) |
20 | string userAssetURI; // URI to asset server for this user | 20 | public int lastLogin; // UNIX Epoch Timestamp (Last Login Time) |
21 | 21 | ||
22 | uint profileCanDoMask; // Profile window "I can do" mask | 22 | public string userInventoryURI; // URI to inventory server for this user |
23 | uint profileWantDoMask; // Profile window "I want to" mask | 23 | public string userAssetURI; // URI to asset server for this user |
24 | 24 | ||
25 | string profileAboutText; // My about window text | 25 | public uint profileCanDoMask; // Profile window "I can do" mask |
26 | string profileFirstText; // First Life Text | 26 | public uint profileWantDoMask; // Profile window "I want to" mask |
27 | 27 | ||
28 | LLUUID profileImage; // My avatars profile image | 28 | public string profileAboutText; // My about window text |
29 | LLUUID profileFirstImage; // First-life image | 29 | public string profileFirstText; // First Life Text |
30 | 30 | ||
31 | public LLUUID profileImage; // My avatars profile image | ||
32 | public LLUUID profileFirstImage; // First-life image | ||
33 | public UserAgentData currentAgent; // The users last agent | ||
34 | } | ||
35 | |||
36 | public class UserAgentData | ||
37 | { | ||
38 | public string agentIP; // The IP of the agent | ||
39 | public uint agentPort; // The port of the agent | ||
40 | public bool agentOnline; // The online status of the agent | ||
41 | public LLUUID sessionID; // The session ID for the agent | ||
42 | public LLUUID secureSessionID; // The secure session ID for the agent | ||
43 | public LLUUID regionID; // The region ID the agent occupies | ||
44 | public uint loginTime; // EPOCH based Timestamp | ||
45 | public uint logoutTime; // Timestamp or 0 if N/A | ||
31 | 46 | ||
32 | } | 47 | } |
33 | } | 48 | } |