diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs index 34c21aa..737c654 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Net; | ||
28 | using OpenMetaverse; | 29 | using OpenMetaverse; |
29 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
30 | using OpenSim.Region.Framework.Scenes; | 31 | using OpenSim.Region.Framework.Scenes; |
@@ -52,14 +53,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
52 | public override void Update() {} | 53 | public override void Update() {} |
53 | public override void LoadWorldMap() {} | 54 | public override void LoadWorldMap() {} |
54 | 55 | ||
55 | public override void AddNewClient(IClientAPI client) | 56 | public override void AddNewClient(IClientAPI client, PresenceType type) |
56 | { | 57 | { |
57 | client.OnObjectName += RecordObjectNameCall; | 58 | client.OnObjectName += RecordObjectNameCall; |
58 | } | 59 | } |
59 | 60 | ||
60 | public override void RemoveClient(UUID agentID) {} | 61 | public override void RemoveClient(UUID agentID, bool someReason) {} |
61 | public override void CloseAllAgents(uint circuitcode) {} | 62 | // public override void CloseAllAgents(uint circuitcode) {} |
63 | public override bool CheckClient(UUID clientId, IPEndPoint endPoint) { return true; } | ||
62 | public override void OtherRegionUp(GridRegion otherRegion) { } | 64 | public override void OtherRegionUp(GridRegion otherRegion) { } |
65 | |||
66 | public override bool TryGetScenePresence(UUID uuid, out ScenePresence sp) { sp = null; return false; } | ||
63 | 67 | ||
64 | /// <summary> | 68 | /// <summary> |
65 | /// Doesn't really matter what the call is - we're using this to test that a packet has actually been received | 69 | /// Doesn't really matter what the call is - we're using this to test that a packet has actually been received |