mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Extracted the code that handles the sending of prim updates to the client, from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes.
By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
This commit is contained in:
14
OpenSim/Region/Framework/Interfaces/ISceneViewer.cs
Normal file
14
OpenSim/Region/Framework/Interfaces/ISceneViewer.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
|
||||
namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public interface ISceneViewer
|
||||
{
|
||||
void Reset();
|
||||
void Close();
|
||||
int MaxPrimsPerFrame { get; set; }
|
||||
void QueuePartForUpdate(SceneObjectPart part);
|
||||
void SendPrimUpdates();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user