using System; using System.Collections.Generic; 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(); } }