mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Thank you very much KMeisthax for DataSnapshot 1.1
to enhance search capability on OpenSim sims using external search engines such as Metaversink.com and others.
This commit is contained in:
13
OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs
Normal file
13
OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
|
||||
namespace OpenSim.Region.DataSnapshot.Interfaces
|
||||
{
|
||||
public interface IDataSnapshot
|
||||
{
|
||||
XmlDocument GetSnapshot(string regionName);
|
||||
void MakeEverythingStale();
|
||||
}
|
||||
}
|
||||
@@ -26,19 +26,21 @@
|
||||
*
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Xml;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
|
||||
namespace OpenSim.Region.DataSnapshot.Interfaces
|
||||
{
|
||||
public delegate void ProviderStale(IDataSnapshotProvider provider);
|
||||
|
||||
public interface IDataSnapshotProvider
|
||||
{
|
||||
XmlNode RequestSnapshotData(XmlDocument document);
|
||||
|
||||
//void PrepareData();
|
||||
|
||||
void Initialize(Scene scene, DataSnapshotManager parent);
|
||||
|
||||
Scene GetParentScene { get; }
|
||||
String Name { get; }
|
||||
bool Stale { get; set; }
|
||||
event ProviderStale OnStale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user