Files
SPT-Server-Build/Libraries/Core/Utils/ProgressWriter.cs
T
2025-01-19 17:45:48 +00:00

34 lines
777 B
C#

namespace Core.Utils
{
public class ProgressWriter
{
protected int _total;
protected int? _maxBarLength;
protected string? _barFillChar;
protected string? _barEmptyChar;
public ProgressWriter(int total, int maxBarLength, string barFillChar, string barEmptyChar)
{
_total = total;
_maxBarLength = maxBarLength;
_barFillChar = barFillChar;
_barEmptyChar = barEmptyChar;
}
public ProgressWriter(int total)
{
_total = total;
_maxBarLength = 25;
_barFillChar = "\u2593";
_barEmptyChar = "\u2591";
}
public void Increment()
{
// TODO - implement
}
}
}