29 using System.Reflection;
31 using System.Collections.Generic;
32 using OpenSim.Framework;
33 using OpenSim.Region.Framework.Scenes;
52 m_Scene.RegionInfo.RegionSettings.ClearSpawnPoints();
54 m_Scene.RegionInfo.RegionSettings.TelehubObject = grp.UUID;
55 m_Scene.RegionInfo.RegionSettings.Save();
61 if (m_Scene.RegionInfo.RegionSettings.TelehubObject == UUID.Zero)
64 m_Scene.RegionInfo.RegionSettings.TelehubObject = UUID.Zero;
65 m_Scene.RegionInfo.RegionSettings.ClearSpawnPoints();
66 m_Scene.RegionInfo.RegionSettings.Save();
72 if (m_Scene.RegionInfo.RegionSettings.TelehubObject == UUID.Zero)
75 SceneObjectGroup grp = m_Scene.GetSceneObjectGroup(m_Scene.RegionInfo.RegionSettings.TelehubObject);
80 sp.SetLocation(grp.AbsolutePosition, grp.GroupRotation, point);
81 m_Scene.RegionInfo.RegionSettings.AddSpawnPoint(sp);
82 m_Scene.RegionInfo.RegionSettings.Save();
88 if (m_Scene.RegionInfo.RegionSettings.TelehubObject == UUID.Zero)
91 m_Scene.RegionInfo.RegionSettings.RemoveSpawnPoint(spawnpoint);
92 m_Scene.RegionInfo.RegionSettings.Save();
void RemoveSpawnPoint(int spawnpoint)
void AddSpawnPoint(Vector3 point)
void Connect(SceneObjectGroup grp)
A scene object group is conceptually an object in the scene. The object is constituted of SceneObject...
TelehubManager(Scene scene)