From 4ce4834f5947350da0739c83f7e74015c103dc2c Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 4 May 2007 07:01:37 +0000 Subject: * Added support for user/asset server keys per-region (warning: changes table layout in SQL storages) --- OpenGrid.Framework.Data/GridData.cs | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'OpenGrid.Framework.Data/GridData.cs') diff --git a/OpenGrid.Framework.Data/GridData.cs b/OpenGrid.Framework.Data/GridData.cs index d6b5a2b..3b052fb 100644 --- a/OpenGrid.Framework.Data/GridData.cs +++ b/OpenGrid.Framework.Data/GridData.cs @@ -4,14 +4,55 @@ using System.Text; namespace OpenGrid.Framework.Data { + /// + /// A standard grid interface + /// public interface IGridData { + /// + /// Returns a sim profile from a regionHandle + /// + /// A 64bit Region Handle + /// A simprofile SimProfileData GetProfileByHandle(ulong regionHandle); + + /// + /// Returns a sim profile from a UUID + /// + /// A 128bit UUID + /// A sim profile SimProfileData GetProfileByLLUUID(libsecondlife.LLUUID UUID); + + /// + /// Authenticates a sim by use of it's recv key. + /// WARNING: Insecure + /// + /// The UUID sent by the sim + /// The regionhandle sent by the sim + /// The recieving key sent by the sim + /// Whether the sim has been authenticated bool AuthenticateSim(libsecondlife.LLUUID UUID, ulong regionHandle, string simrecvkey); + + /// + /// Initialises the interface + /// void Initialise(); + + /// + /// Closes the interface + /// void Close(); + + /// + /// The plugin being loaded + /// + /// A string containing the plugin name string getName(); + + /// + /// The plugins version + /// + /// A string containing the plugin version string getVersion(); } } -- cgit v1.1