Exemple #1
0
 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");
 }
Exemple #2
0
 public EpicGameController(Game game, IPlayniteAPI api, EpicLibrarySettings settings) : base(game)
 {
     this.api      = api;
     this.game     = game;
     this.settings = settings;
 }
Exemple #3
0
 public EpicLibrary(IPlayniteAPI api) : base(api)
 {
     playniteApi     = api;
     LibrarySettings = new EpicLibrarySettings(this, api);
     TokensPath      = Path.Combine(GetPluginUserDataPath(), "tokens.json");
 }