mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them). Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
41 lines
770 B
C#
41 lines
770 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using libsecondlife;
|
|
using OpenSim.Framework.Interfaces;
|
|
using OpenSim.Region.Environment.Scenes;
|
|
using OpenSim.Region.Environment.Interfaces;
|
|
|
|
|
|
namespace OpenSim.Region.Environment.Modules
|
|
{
|
|
public class FriendsModule : IRegionModule
|
|
{
|
|
private Scene m_scene;
|
|
|
|
public void Initialise(Scene scene)
|
|
{
|
|
m_scene = scene;
|
|
}
|
|
|
|
public void PostInitialise()
|
|
{
|
|
|
|
}
|
|
|
|
public void CloseDown()
|
|
{
|
|
}
|
|
|
|
public string GetName()
|
|
{
|
|
return "FriendsModule";
|
|
}
|
|
|
|
public bool IsSharedModule()
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|