diff options
Some more code refactoring, plus a restructuring of the directories so that the Grid servers can be a separate solution to the region server.
Diffstat (limited to '')
-rw-r--r-- | OpenSim-Source/OpenSim.RegionServer/world/Avatar.cs (renamed from OpenSim.RegionServer/world/Avatar.cs) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim.RegionServer/world/Avatar.cs b/OpenSim-Source/OpenSim.RegionServer/world/Avatar.cs index 4e90364..680d059 100644 --- a/OpenSim.RegionServer/world/Avatar.cs +++ b/OpenSim-Source/OpenSim.RegionServer/world/Avatar.cs | |||
@@ -6,6 +6,7 @@ using libsecondlife; | |||
6 | using libsecondlife.Packets; | 6 | using libsecondlife.Packets; |
7 | using OpenSim.Physics.Manager; | 7 | using OpenSim.Physics.Manager; |
8 | using OpenSim.Framework.Inventory; | 8 | using OpenSim.Framework.Inventory; |
9 | using OpenSim.Framework.Interfaces; | ||
9 | using Axiom.MathLib; | 10 | using Axiom.MathLib; |
10 | 11 | ||
11 | namespace OpenSim.world | 12 | namespace OpenSim.world |
@@ -66,11 +67,11 @@ namespace OpenSim.world | |||
66 | 67 | ||
67 | //register for events | 68 | //register for events |
68 | ControllingClient.OnRequestWearables += new ClientView.GenericCall(this.SendOurAppearance); | 69 | ControllingClient.OnRequestWearables += new ClientView.GenericCall(this.SendOurAppearance); |
69 | ControllingClient.OnSetAppearance += new ClientView.SetAppearance(this.SetAppearance); | 70 | ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance); |
70 | ControllingClient.OnCompleteMovementToRegion += new ClientView.GenericCall2(this.CompleteMovement); | 71 | ControllingClient.OnCompleteMovementToRegion += new ClientView.GenericCall2(this.CompleteMovement); |
71 | ControllingClient.OnCompleteMovementToRegion += new ClientView.GenericCall2(this.SendInitialPosition); | 72 | ControllingClient.OnCompleteMovementToRegion += new ClientView.GenericCall2(this.SendInitialPosition); |
72 | ControllingClient.OnAgentUpdate += new ClientView.GenericCall3(this.HandleAgentUpdate); | 73 | ControllingClient.OnAgentUpdate += new ClientView.GenericCall3(this.HandleAgentUpdate); |
73 | ControllingClient.OnStartAnim += new ClientView.StartAnim(this.SendAnimPack); | 74 | ControllingClient.OnStartAnim += new StartAnim(this.SendAnimPack); |
74 | 75 | ||
75 | } | 76 | } |
76 | 77 | ||
@@ -349,7 +350,7 @@ namespace OpenSim.world | |||
349 | } | 350 | } |
350 | 351 | ||
351 | //really really should be moved somewhere else (RegionInfo.cs ?) | 352 | //really really should be moved somewhere else (RegionInfo.cs ?) |
352 | public void SendRegionHandshake(World RegionInfo) | 353 | public void SendRegionHandshake(World regionInfo) |
353 | { | 354 | { |
354 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); | 355 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); |
355 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; | 356 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; |