diff options
author | MW | 2007-05-21 19:12:18 +0000 |
---|---|---|
committer | MW | 2007-05-21 19:12:18 +0000 |
commit | f96083a903024550243ada885c8edccad7e0eed7 (patch) | |
tree | e789d0d973490b0d5fdca86a41bacf319fe80f31 /OpenSim.RegionServer/world/World.cs | |
parent | Merged the new ODE stuff (diff) | |
download | opensim-SC_OLD-f96083a903024550243ada885c8edccad7e0eed7.zip opensim-SC_OLD-f96083a903024550243ada885c8edccad7e0eed7.tar.gz opensim-SC_OLD-f96083a903024550243ada885c8edccad7e0eed7.tar.bz2 opensim-SC_OLD-f96083a903024550243ada885c8edccad7e0eed7.tar.xz |
More work on adding Events to ClientView (and registering to handle those events in Avatar and World)
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/world/World.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/World.cs b/OpenSim.RegionServer/world/World.cs index c90e3f6..70ca680 100644 --- a/OpenSim.RegionServer/world/World.cs +++ b/OpenSim.RegionServer/world/World.cs | |||
@@ -532,7 +532,12 @@ namespace OpenSim.world | |||
532 | 532 | ||
533 | public override void AddViewerAgent(ClientView agentClient) | 533 | public override void AddViewerAgent(ClientView agentClient) |
534 | { | 534 | { |
535 | //register for events | ||
535 | agentClient.OnChatFromViewer += new ClientView.ChatFromViewer(this.SimChat); | 536 | agentClient.OnChatFromViewer += new ClientView.ChatFromViewer(this.SimChat); |
537 | agentClient.OnRezObject += new ClientView.RezObject(this.RezObject); | ||
538 | agentClient.OnModifyTerrain += new ClientView.ModifyTerrain(this.ModifyTerrain); | ||
539 | agentClient.OnRegionHandShakeReply += new ClientView.GenericCall(this.SendLayerData); | ||
540 | agentClient.OnRequestWearables += new ClientView.GenericCall(this.GetInitialPrims); | ||
536 | try | 541 | try |
537 | { | 542 | { |
538 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); | 543 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); |