From 0ddcc55166961d6e10b0250fc521c0663fedd250 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 6 Sep 2015 00:32:20 +0100 Subject: let extra stats travel side by side with viewers ones... try to fix damm array indexes all over the place --- OpenSim/Framework/SimStats.cs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/SimStats.cs') diff --git a/OpenSim/Framework/SimStats.cs b/OpenSim/Framework/SimStats.cs index 3d8f32f..a811187 100644 --- a/OpenSim/Framework/SimStats.cs +++ b/OpenSim/Framework/SimStats.cs @@ -55,13 +55,19 @@ namespace OpenSim.Framework get { return m_regionBlock; } } private SimStatsPacket.RegionBlock m_regionBlock; - + public SimStatsPacket.StatBlock[] StatsBlock { get { return m_statsBlock; } } private SimStatsPacket.StatBlock[] m_statsBlock; - + + public SimStatsPacket.StatBlock[] ExtraStatsBlock + { + get { return m_extraStatsBlock; } + } + private SimStatsPacket.StatBlock[] m_extraStatsBlock; + public uint RegionFlags { get { return m_regionFlags; } @@ -82,7 +88,8 @@ namespace OpenSim.Framework public SimStats( uint regionX, uint regionY, uint regionFlags, uint objectCapacity, - SimStatsPacket.RegionBlock regionBlock, SimStatsPacket.StatBlock[] statsBlock, UUID pRUUID) + SimStatsPacket.RegionBlock regionBlock, SimStatsPacket.StatBlock[] statsBlock, + SimStatsPacket.StatBlock[] ExtraStatsBlock, UUID pRUUID) { regionUUID = pRUUID; m_regionX = regionX; @@ -91,6 +98,7 @@ namespace OpenSim.Framework m_objectCapacity = objectCapacity; m_regionBlock = regionBlock; m_statsBlock = statsBlock; + m_extraStatsBlock = ExtraStatsBlock; } } } -- cgit v1.1