Esempio n. 1
0
        public override IDataTransferable Duplicate()
        {
            Telehub t = new Telehub();

            t.FromOSD(ToOSD());
            return(t);
        }
        public Telehub FindTelehub(UUID regionID)
        {
            Dictionary<string, OSDMap> maps = new Dictionary<string,OSDMap>();
            SimianUtils.GetGenericEntries(regionID, "RegionTelehub", m_ServerURI, out maps);
            
            List<OSDMap> listMaps = new List<OSDMap>(maps.Values);
            if (listMaps.Count == 0)
                return null;

            Telehub t = new Telehub();
            t.FromOSD(listMaps[0]);
            return t;
        }
Esempio n. 3
0
        public Telehub FindTelehub(UUID regionID, ulong Regionhandle)
        {
            foreach (string m_ServerURI in m_ServerURIs)
            {
                Dictionary<string, OSDMap> maps = new Dictionary<string, OSDMap>();
                SimianUtils.GetGenericEntries(regionID, "RegionTelehub", m_ServerURI, out maps);

                List<OSDMap> listMaps = new List<OSDMap>(maps.Values);
                if (listMaps.Count == 0)
                    continue;

                Telehub t = new Telehub();
                t.FromOSD(listMaps[0]);
                return t;
            }
            return null;
        }
Esempio n. 4
0
 public override IDataTransferable Duplicate()
 {
     Telehub t = new Telehub();
     t.FromOSD(ToOSD());
     return t;
 }