mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-11 00:48:09 +03:00
documentation fixes/config key simplification
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user