Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Utils/ProgressWriter.cs
T
2025-03-07 13:16:43 +00:00

31 lines
687 B
C#

namespace SPTarkov.Server.Core.Utils;
public class ProgressWriter
{
protected string? _barEmptyChar;
protected string? _barFillChar;
protected int? _maxBarLength;
protected int _total;
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
}
}