diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalUserServices.cs | 12 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 9484e15..a620bd4 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -317,7 +317,7 @@ namespace OpenSim | |||
317 | 317 | ||
318 | LocalUserServices userService = | 318 | LocalUserServices userService = |
319 | new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, | 319 | new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, |
320 | m_networkServersInfo.DefaultHomeLocY, inventoryService); | 320 | m_networkServersInfo.DefaultHomeLocY, inventoryService, null); |
321 | userService.AddPlugin(m_standaloneUserPlugin); | 321 | userService.AddPlugin(m_standaloneUserPlugin); |
322 | 322 | ||
323 | LocalBackEndServices backendService = new LocalBackEndServices(); | 323 | LocalBackEndServices backendService = new LocalBackEndServices(); |
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index e02a600..8a4d4e7 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -30,6 +30,7 @@ using System; | |||
30 | using libsecondlife; | 30 | using libsecondlife; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Framework.Communications; | 32 | using OpenSim.Framework.Communications; |
33 | using OpenSim.Framework.Statistics; | ||
33 | using OpenSim.Framework.UserManagement; | 34 | using OpenSim.Framework.UserManagement; |
34 | 35 | ||
35 | namespace OpenSim.Region.Communications.Local | 36 | namespace OpenSim.Region.Communications.Local |
@@ -42,8 +43,17 @@ namespace OpenSim.Region.Communications.Local | |||
42 | private IInventoryServices m_inventoryService; | 43 | private IInventoryServices m_inventoryService; |
43 | 44 | ||
44 | 45 | ||
46 | /// <summary> | ||
47 | /// | ||
48 | /// </summary> | ||
49 | /// <param name="serversInfo"></param> | ||
50 | /// <param name="defaultHomeLocX"></param> | ||
51 | /// <param name="defaultHomeLocY"></param> | ||
52 | /// <param name="inventoryService"></param> | ||
53 | /// <param name="statsCollector">Can be null if stats collection is not required.</param> | ||
45 | public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, | 54 | public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, |
46 | IInventoryServices inventoryService) | 55 | IInventoryServices inventoryService, UserStatsReporter statsCollector) |
56 | : base(statsCollector) | ||
47 | { | 57 | { |
48 | m_serversInfo = serversInfo; | 58 | m_serversInfo = serversInfo; |
49 | 59 | ||
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 485d657..ff29b11 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -77,7 +77,7 @@ namespace SimpleApp | |||
77 | 77 | ||
78 | LocalUserServices userService = | 78 | LocalUserServices userService = |
79 | new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, | 79 | new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, |
80 | m_networkServersInfo.DefaultHomeLocY, inventoryService); | 80 | m_networkServersInfo.DefaultHomeLocY, inventoryService, null); |
81 | userService.AddPlugin(m_userPlugin); | 81 | userService.AddPlugin(m_userPlugin); |
82 | 82 | ||
83 | LocalBackEndServices backendService = new LocalBackEndServices(); | 83 | LocalBackEndServices backendService = new LocalBackEndServices(); |