diff options
author | Justin Clark-Casey (justincc) | 2013-09-27 22:27:39 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-27 22:29:16 +0100 |
commit | 5a6ad028e31734f2908034d0011a15a79be84228 (patch) | |
tree | 316e06bd60915b8976d5a608e808d82f103558be /OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | |
parent | refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ... (diff) | |
download | opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.zip opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.tar.gz opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.tar.bz2 opensim-SC_OLD-5a6ad028e31734f2908034d0011a15a79be84228.tar.xz |
refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent()
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs index 28b5eb7..e2178e5 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/Tests/MockScene.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
52 | public override void Update(int frames) {} | 52 | public override void Update(int frames) {} |
53 | public override void LoadWorldMap() {} | 53 | public override void LoadWorldMap() {} |
54 | 54 | ||
55 | public override ISceneAgent AddNewClient(IClientAPI client, PresenceType type) | 55 | public override ISceneAgent AddNewAgent(IClientAPI client, PresenceType type) |
56 | { | 56 | { |
57 | client.OnObjectName += RecordObjectNameCall; | 57 | client.OnObjectName += RecordObjectNameCall; |
58 | 58 | ||
@@ -61,6 +61,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
61 | } | 61 | } |
62 | 62 | ||
63 | public override bool CloseAgent(UUID agentID, bool force) { return true; } | 63 | public override bool CloseAgent(UUID agentID, bool force) { return true; } |
64 | |||
64 | public override bool CheckClient(UUID clientId, IPEndPoint endPoint) { return true; } | 65 | public override bool CheckClient(UUID clientId, IPEndPoint endPoint) { return true; } |
65 | 66 | ||
66 | public override void OtherRegionUp(GridRegion otherRegion) { } | 67 | public override void OtherRegionUp(GridRegion otherRegion) { } |