mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatStats] These will need to be public
This commit is contained in:
@@ -133,7 +133,7 @@ namespace SabreTools.Library.Dats
|
|||||||
/// Add to the statistics given a DatItem
|
/// Add to the statistics given a DatItem
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">Item to add info from</param>
|
/// <param name="item">Item to add info from</param>
|
||||||
private void AddItem(DatItem item)
|
public void AddItem(DatItem item)
|
||||||
{
|
{
|
||||||
// No matter what the item is, we increate the count
|
// No matter what the item is, we increate the count
|
||||||
lock (_lockObject)
|
lock (_lockObject)
|
||||||
@@ -198,7 +198,7 @@ namespace SabreTools.Library.Dats
|
|||||||
/// Remove from the statistics given a DatItem
|
/// Remove from the statistics given a DatItem
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">Item to remove info for</param>
|
/// <param name="item">Item to remove info for</param>
|
||||||
private void RemoveItem(DatItem item)
|
public void RemoveItem(DatItem item)
|
||||||
{
|
{
|
||||||
// No matter what the item is, we increate the count
|
// No matter what the item is, we increate the count
|
||||||
lock (_lockObject)
|
lock (_lockObject)
|
||||||
@@ -262,7 +262,7 @@ namespace SabreTools.Library.Dats
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Reset all statistics
|
/// Reset all statistics
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
_count = 0;
|
_count = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user