Abbreviate the stats by removing unneeded and redundant elements. Human readability is overrated. Also add a (hardcoded) password.

This commit is contained in:
Melanie Thielker
2015-02-18 01:14:08 +01:00
parent 99668a63e4
commit fed566b8d3
3 changed files with 68 additions and 3 deletions

View File

@@ -238,6 +238,17 @@ namespace OpenSim.Framework.Monitoring
return sb.ToString();
}
public virtual OSDMap ToBriefOSDMap()
{
OSDMap ret = new OSDMap();
ret.Add("Value", OSD.FromReal(Value));
double lastChangeOverTime, averageChangeOverTime;
return ret;
}
public virtual OSDMap ToOSDMap()
{
OSDMap ret = new OSDMap();
@@ -322,4 +333,4 @@ namespace OpenSim.Framework.Monitoring
}
}
}
}
}