documentation fixes/config key simplification

This commit is contained in:
ppc
2025-01-14 15:56:53 +00:00
parent 31c56d2449
commit a6ad82ffda
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ internal class CardPresenter
/// Sets the card
/// </summary>
/// <param name="accessCode">The access code of the card to use</param>
/// <param name="idm">The FeliCa card IDm, if a physical card was used</param>
/// <param name="idmHex">The FeliCa card IDm, if a physical card was used</param>
/// <param name="validFor">How long the card should be presented to the game for in milliseconds</param>
/// <returns>Whether the card was set successfully</returns>
public StoredCard SetCard(string accessCode, string idmHex, long validFor = 5000)
+1 -1
View File
@@ -14,7 +14,7 @@ internal static class Config
GameId = ReadKey(IOSection, "gameId", 4);
ServerName = ReadKey(IOSection, "serverName", 26, Environment.MachineName);
PhysicalCardUseIDm = PInvoke.GetPrivateProfileInt(IOSection, "usePhysicalCardIdm", 0, ConfigFileName) > 0;
PhysicalCardUseIDm = PInvoke.GetPrivateProfileInt(IOSection, "useAimeDBForPhysicalCards", 0, ConfigFileName) > 0;
EnableAimeTxt = PInvoke.GetPrivateProfileInt(IOSection, "enableKeyboardMode", 1, ConfigFileName) > 0;
AimeTxtPath = ReadKey("aime", "aimePath", PInvoke.MAX_PATH, @"DEVICE\aime.txt");
}