mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
caching works. needs documentation and testing
This commit is contained in:
parent
75f2f738a2
commit
57c53be09f
8 changed files with 262 additions and 73 deletions
|
|
@ -30,7 +30,7 @@ namespace MinecraftClient
|
|||
public static string ConsoleTitle = "";
|
||||
|
||||
//Cache Settings
|
||||
public static Cache.AuthCacheHandler.Type CacheType = Cache.AuthCacheHandler.Type.NONE;
|
||||
public static Cache.CacheType CacheType = Cache.CacheType.NONE;
|
||||
|
||||
//Proxy Settings
|
||||
public static bool ProxyEnabledLogin = false;
|
||||
|
|
@ -204,9 +204,9 @@ namespace MinecraftClient
|
|||
break;
|
||||
|
||||
case "accountcache":
|
||||
if(argValue == "none") { CacheType = Cache.AuthCacheHandler.Type.NONE; }
|
||||
else if(argValue == "memory") { CacheType = Cache.AuthCacheHandler.Type.MEMORY; }
|
||||
else if(argValue == "disk") { CacheType = Cache.AuthCacheHandler.Type.DISK; }
|
||||
if (argValue == "none") { CacheType = Cache.CacheType.NONE; }
|
||||
else if (argValue == "memory") { CacheType = Cache.CacheType.MEMORY; }
|
||||
else if (argValue == "disk") { CacheType = Cache.CacheType.DISK; }
|
||||
break;
|
||||
|
||||
case "accountlist":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue