diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EntityList.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EntityList.cs | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EntityList.cs b/OpenSim/Region/Environment/Scenes/EntityList.cs index ff8def2..09eb84f 100644 --- a/OpenSim/Region/Environment/Scenes/EntityList.cs +++ b/OpenSim/Region/Environment/Scenes/EntityList.cs | |||
@@ -29,9 +29,8 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using Axiom.Math; | 32 | using OpenMetaverse; |
33 | using libsecondlife; | 33 | using OpenMetaverse.Packets; |
34 | using libsecondlife.Packets; | ||
35 | using log4net; | 34 | using log4net; |
36 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
37 | using OpenSim.Region.Environment.Types; | 36 | using OpenSim.Region.Environment.Types; |
@@ -69,9 +68,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
69 | // ListObjects() | 68 | // ListObjects() |
70 | // ListPresenes() | 69 | // ListPresenes() |
71 | // RemoveAll() | 70 | // RemoveAll() |
72 | // FindObject(LLUUID) | 71 | // FindObject(UUID) |
73 | // FindObject(int) | 72 | // FindObject(int) |
74 | // FindPresence(LLUUID) | 73 | // FindPresence(UUID) |
75 | 74 | ||
76 | public void Add(SceneObjectGroup obj) | 75 | public void Add(SceneObjectGroup obj) |
77 | { | 76 | { |
@@ -84,7 +83,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
84 | m_pres_by_uuid[pres.UUID] = pres; | 83 | m_pres_by_uuid[pres.UUID] = pres; |
85 | } | 84 | } |
86 | 85 | ||
87 | public SceneObjectGroup RemoveObject(LLUUID uuid) | 86 | public SceneObjectGroup RemoveObject(UUID uuid) |
88 | { | 87 | { |
89 | SceneObjectGroup sog = null; | 88 | SceneObjectGroup sog = null; |
90 | try | 89 | try |
@@ -101,7 +100,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
101 | return sog; | 100 | return sog; |
102 | } | 101 | } |
103 | 102 | ||
104 | public ScenePresence RemovePresence(LLUUID uuid) | 103 | public ScenePresence RemovePresence(UUID uuid) |
105 | { | 104 | { |
106 | ScenePresence sp = null; | 105 | ScenePresence sp = null; |
107 | try | 106 | try |
@@ -117,7 +116,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
117 | return sp; | 116 | return sp; |
118 | } | 117 | } |
119 | 118 | ||
120 | public SceneObjectGroup FindObject(LLUUID uuid) | 119 | public SceneObjectGroup FindObject(UUID uuid) |
121 | { | 120 | { |
122 | try | 121 | try |
123 | { | 122 | { |
@@ -135,7 +134,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
135 | { | 134 | { |
136 | try | 135 | try |
137 | { | 136 | { |
138 | LLUUID uuid = (LLUUID)m_obj_by_local[local]; | 137 | UUID uuid = (UUID)m_obj_by_local[local]; |
139 | SceneObjectGroup sog = (SceneObjectGroup)m_obj_by_uuid[uuid]; | 138 | SceneObjectGroup sog = (SceneObjectGroup)m_obj_by_uuid[uuid]; |
140 | return sog; | 139 | return sog; |
141 | } | 140 | } |
@@ -146,7 +145,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
146 | } | 145 | } |
147 | } | 146 | } |
148 | 147 | ||
149 | public ScenePresence FindPresense(LLUUID uuid) | 148 | public ScenePresence FindPresense(UUID uuid) |
150 | { | 149 | { |
151 | try | 150 | try |
152 | { | 151 | { |
@@ -159,4 +158,4 @@ namespace OpenSim.Region.Environment.Scenes | |||
159 | } | 158 | } |
160 | } | 159 | } |
161 | } | 160 | } |
162 | } \ No newline at end of file | 161 | } |