internal FloorController(ILoggerProvider loggerProvider, Settings settings, BeatSaberUtilities beatSaberUtilities, GameScenesManager gameScenesManager) { _logger = loggerProvider.CreateLogger <FloorController>(); _settings = settings; _beatSaberUtilities = beatSaberUtilities; _gameScenesManager = gameScenesManager; }
internal void Construct(ILogger <EnvironmentObject> logger, PlayerAvatarManager playerAvatarManager, Settings settings, BeatSaberUtilities beatSaberUtilities) { _logger = logger; _playerAvatarManager = playerAvatarManager; _settings = settings; _beatSaberUtilities = beatSaberUtilities; }
internal PlayerAvatarManager(DiContainer container, ILogger <PlayerAvatarManager> logger, AvatarLoader avatarLoader, Settings settings, AvatarSpawner spawner, BeatSaberUtilities beatSaberUtilities) { _container = container; _logger = logger; _avatarLoader = avatarLoader; _settings = settings; _spawner = spawner; _beatSaberUtilities = beatSaberUtilities; }
internal VRPlayerInput(ILoggerProvider loggerProvider, DeviceManager trackedDeviceManager, PlayerAvatarManager avatarManager, Settings settings, CalibrationData calibrationData, BeatSaberUtilities beatSaberUtilities, TrackingHelper trackingHelper) { _logger = loggerProvider.CreateLogger <VRPlayerInput>(); _deviceManager = trackedDeviceManager; _avatarManager = avatarManager; _settings = settings; _calibrationData = calibrationData; _beatSaberUtilities = beatSaberUtilities; _trackingHelper = trackingHelper; }
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; }
public Plugin(Logger ipaLogger) { // can't inject at this point so just create it ILogger <Plugin> logger = new IPALogger <Plugin>(ipaLogger); logger.Info("Initializing Custom Avatars"); Harmony harmony = new Harmony("com.nicoco007.beatsabercustomavatars"); ZenjectHelper.Init(harmony, ipaLogger); BeatSaberUtilities.ApplyPatches(harmony); ZenjectHelper.RegisterInitInstaller <CustomAvatarsInstaller>(ipaLogger); ZenjectHelper.RegisterMenuViewControllersInstaller <UIInstaller>(); ZenjectHelper.RegisterGameplayInstaller <GameplayInstaller>(); }
internal FloorController(PlayerAvatarManager playerAvatarManager, BeatSaberUtilities beatSaberUtilities, Settings settings) { _playerAvatarManager = playerAvatarManager; _beatSaberUtilities = beatSaberUtilities; _settings = settings; }