mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-23 07:22:52 +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);
|
|
}
|
|
|
|
}
|
|
|
|
} |