public EpicLibrary(IPlayniteAPI api) { playniteApi = api; LibrarySettings = new EpicLibrarySettings(this, api); LibraryIcon = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"Resources\epicicon.png"); TokensPath = Path.Combine(api.GetPluginUserDataPath(this), "tokens.json"); }
public EpicGameController(Game game, IPlayniteAPI api, EpicLibrarySettings settings) : base(game) { this.api = api; this.game = game; this.settings = settings; }
public EpicLibrary(IPlayniteAPI api) : base(api) { playniteApi = api; LibrarySettings = new EpicLibrarySettings(this, api); TokensPath = Path.Combine(GetPluginUserDataPath(), "tokens.json"); }