1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- using System;
- using System.Reflection;
- using log4net;
- using Mono.Addins;
- using Nini.Config;
- using OpenSim.Region.Framework.Interfaces;
- using OpenSim.Region.Framework.Scenes;
- namespace OpenSim.Region.OptionalModules.Example.BareBonesNonShared
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- public class BareBonesNonSharedModule : INonSharedRegionModule
- {
- private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
- public string Name { get { return "Bare Bones Non Shared Module"; } }
- public Type ReplaceableInterface { get { return null; } }
- public void Initialise(IConfigSource source)
- {
- m_log.DebugFormat("[BARE BONES NON SHARED]: INITIALIZED MODULE");
- }
- public void Close()
- {
- m_log.DebugFormat("[BARE BONES NON SHARED]: CLOSED MODULE");
- }
- public void AddRegion(Scene scene)
- {
- m_log.DebugFormat("[BARE BONES NON SHARED]: REGION {0} ADDED", scene.RegionInfo.RegionName);
- }
- public void RemoveRegion(Scene scene)
- {
- m_log.DebugFormat("[BARE BONES NON SHARED]: REGION {0} REMOVED", scene.RegionInfo.RegionName);
- }
- public void RegionLoaded(Scene scene)
- {
- m_log.DebugFormat("[BARE BONES NON SHARED]: REGION {0} LOADED", scene.RegionInfo.RegionName);
- }
- }
- }
|