mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Remove steam awards voting
We do not intend to keep it in mainline as the API is unstable and too sale-specific.
This commit is contained in:
@@ -199,22 +199,6 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
}
|
||||
|
||||
internal static int RandomNext(int maxWithout) {
|
||||
if (maxWithout <= 0) {
|
||||
ASF.ArchiLogger.LogNullError(nameof(maxWithout));
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (maxWithout == 1) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
lock (Random) {
|
||||
return Random.Next(maxWithout);
|
||||
}
|
||||
}
|
||||
|
||||
internal static string ReadLineMasked(char mask = '*') {
|
||||
StringBuilder result = new StringBuilder();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user