mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Next step in the presence module - some core plumbing included at
no extra cost
This commit is contained in:
@@ -75,7 +75,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
||||
|
||||
if (m_Gridmode)
|
||||
NotifyMessageServerOfStartup(scene);
|
||||
|
||||
scene.RegisterModuleInterface<IPresenceModule>(this);
|
||||
|
||||
scene.EventManager.OnNewClient += OnNewClient;
|
||||
scene.EventManager.OnSetRootAgentScene += OnSetRootAgentScene;
|
||||
|
||||
m_Scenes.Add(scene);
|
||||
}
|
||||
}
|
||||
@@ -107,6 +112,19 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
||||
{
|
||||
}
|
||||
|
||||
public void OnNewClient(IClientAPI client)
|
||||
{
|
||||
client.OnConnectionClosed += OnConnectionClosed;
|
||||
}
|
||||
|
||||
public void OnConnectionClosed(IClientAPI client)
|
||||
{
|
||||
}
|
||||
|
||||
public void OnSetRootAgentScene(UUID agentID)
|
||||
{
|
||||
}
|
||||
|
||||
private void NotifyMessageServerOfStartup(Scene scene)
|
||||
{
|
||||
Hashtable xmlrpcdata = new Hashtable();
|
||||
|
||||
Reference in New Issue
Block a user