mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 23:12:59 +08:00
20 lines
365 B
C#
20 lines
365 B
C#
|
|
|
|
|
|
using CodeWalker.Properties;
|
|
|
|
namespace CodeWalker.GameFiles
|
|
{
|
|
|
|
public static class GameFileCacheFactory
|
|
{
|
|
|
|
public static GameFileCache Create()
|
|
{
|
|
var s = Settings.Default;
|
|
return new GameFileCache(s.CacheSize, s.CacheTime, GTAFolder.CurrentGTAFolder, s.DLC, s.EnableMods, s.ExcludeFolders);
|
|
}
|
|
|
|
}
|
|
|
|
} |