mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Misc style fixes
This commit is contained in:
@@ -587,7 +587,7 @@ namespace ArchiSteamFarm {
|
||||
internal async Task<string> ResponseRedeem(string message, bool validate) {
|
||||
StringBuilder response = new StringBuilder();
|
||||
using (StringReader reader = new StringReader(message)) {
|
||||
string key= reader.ReadLine();
|
||||
string key = reader.ReadLine();
|
||||
IEnumerator<Bot> iterator = Bots.Values.GetEnumerator();
|
||||
Bot currentBot = this;
|
||||
while (key != null) {
|
||||
@@ -626,7 +626,7 @@ namespace ArchiSteamFarm {
|
||||
} else {
|
||||
currentBot = null;
|
||||
}
|
||||
} while (currentBot==this);
|
||||
} while (currentBot == this);
|
||||
|
||||
if (!ForwardKeysToOtherBots) {
|
||||
key = reader.ReadLine();
|
||||
@@ -690,7 +690,7 @@ namespace ArchiSteamFarm {
|
||||
} else {
|
||||
currentBot = null;
|
||||
}
|
||||
} while (currentBot==this);
|
||||
} while (currentBot == this);
|
||||
}
|
||||
key = reader.ReadLine();
|
||||
break;
|
||||
@@ -704,10 +704,10 @@ namespace ArchiSteamFarm {
|
||||
} else {
|
||||
currentBot = null;
|
||||
}
|
||||
} while (currentBot==this);
|
||||
} while (currentBot == this);
|
||||
}
|
||||
key = reader.ReadLine();
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,12 +97,13 @@
|
||||
<!-- Therefore, be careful when it comes to multiple keys activations, this option is supposed to help you, not make you lazy -->
|
||||
<ForwardKeysToOtherBots type="bool" value="false"/>
|
||||
|
||||
<!-- This switch defines bot behavior on getting multiple keys -->
|
||||
<!-- When "false" will try to redeem all keys to itself, when "true" keys will be distributed on "one bot, one key" basis -->
|
||||
<!-- The above parameter "ForwardKeysToOtherBots" affects this behavior -->
|
||||
<!-- When "ForwardKeysToOtherBots"="true", bot will try redeeming "AlreadyOwned", "BaseGameRequired", "OnCooldown" and "RegionLocked" keys on other available accounts -->
|
||||
<!-- If "ForwardKeysToOtherBots"="false" bot just keep keys unused in this case. -->
|
||||
<!-- By default this option is disabled, as not everyone might want to redeem keys on other configured accounts -->
|
||||
<!-- This switch defines bot's behavior on getting multiple keys -->
|
||||
<!-- When "false", bot will try to redeem all keys on it's own account, when "true", keys will be distributed on "one bot, one key" basis -->
|
||||
<!-- Keep in mind that "ForwardKeysToOtherBots" property defined above affects this behaviour as well -->
|
||||
<!-- When "ForwardKeysToOtherBots" is "true", bot will try redeeming "AlreadyOwned", "BaseGameRequired", "OnCooldown" and "RegionLocked" keys on other available accounts -->
|
||||
<!-- If "ForwardKeysToOtherBots" is set to "false", bot will keep unused keys for itself -->
|
||||
<!-- By default this option is disabled, as not everyone might want to alter the multiple keys redeeming behaviour -->
|
||||
<!-- Switch this to "true" only if you prefer to use "one bot, one key" behaviour, instead of default one, which is to redeem all keys only on one account -->
|
||||
<DistributeKeys type="bool" value="false"/>
|
||||
|
||||
<!-- This switch defines if bot should disconnect once farming is finished -->
|
||||
|
||||
Reference in New Issue
Block a user