aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 9af43f5..16055de 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1228,6 +1228,7 @@ namespace OpenSim.Region.Environment.Scenes
1228 1228
1229 client.OnGrabObject += ProcessObjectGrab; 1229 client.OnGrabObject += ProcessObjectGrab;
1230 client.OnAvatarPickerRequest += ProcessAvatarPickerRequest; 1230 client.OnAvatarPickerRequest += ProcessAvatarPickerRequest;
1231 client.OnPacketStats += AddPacketStats;
1231 1232
1232 EventManager.TriggerOnNewClient(client); 1233 EventManager.TriggerOnNewClient(client);
1233 } 1234 }
@@ -1759,6 +1760,13 @@ namespace OpenSim.Region.Environment.Scenes
1759 return CommsManager.GetUserFriendList(ownerID); 1760 return CommsManager.GetUserFriendList(ownerID);
1760 } 1761 }
1761 1762
1763 public void AddPacketStats(int inPackets, int outPackets, int unAckedBytes)
1764 {
1765 m_statsReporter.AddInPackets(inPackets);
1766 m_statsReporter.AddOutPackets(outPackets);
1767 m_statsReporter.AddunAckedBytes(unAckedBytes);
1768 }
1769
1762 #endregion 1770 #endregion
1763 1771
1764 #region Console Commands 1772 #region Console Commands