private PlayerAvatarManager(DiContainer container, ILoggerProvider loggerProvider, AvatarLoader avatarLoader, Settings settings, AvatarSpawner spawner, BeatSaberUtilities beatSaberUtilities, FloorController floorController) { _container = container; _logger = loggerProvider.CreateLogger <PlayerAvatarManager>(); _avatarLoader = avatarLoader; _settings = settings; _spawner = spawner; _beatSaberUtilities = beatSaberUtilities; _floorController = floorController; }
private PlayerAvatarManager(DiContainer container, ILoggerProvider loggerProvider, AvatarLoader avatarLoader, Settings settings, AvatarSpawner spawner, BeatSaberUtilities beatSaberUtilities, FloorController floorController) { _container = container; _logger = loggerProvider.CreateLogger <PlayerAvatarManager>(); _avatarLoader = avatarLoader; _settings = settings; _spawner = spawner; _beatSaberUtilities = beatSaberUtilities; _floorController = floorController; _fileSystemWatcher = new FileSystemWatcher(kCustomAvatarsPath, "*.avatar"); _fileSystemWatcher.NotifyFilter = NotifyFilters.CreationTime | NotifyFilters.FileName | NotifyFilters.LastWrite | NotifyFilters.Size; }