Skip to content

Commit

Permalink
Remove ASFE features
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Mar 17, 2024
1 parent b386d4a commit edbe8a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 51 deletions.
42 changes: 0 additions & 42 deletions BoosterManager/AdapterBridge.cs

This file was deleted.

9 changes: 0 additions & 9 deletions BoosterManager/BoosterManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using ArchiSteamFarm.Steam.Exchange;
using System.Text.Json;
using ArchiSteamFarm.Helpers.Json;
using System.Reflection;

namespace BoosterManager {
[Export(typeof(IPlugin))]
Expand All @@ -20,14 +19,6 @@ public sealed class BoosterManager : IASF, IBotModules, IBotCommand2, IBotTradeO
public Task OnLoaded() {
ASF.ArchiLogger.LogGenericInfo("BoosterManager ASF Plugin by Citrinate");

// ASFEnhanced Adapter https://github.com/chr233/ASFEnhanceAdapterDemoPlugin
var flag = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
var handler = typeof(AdapterBridge).GetMethod(nameof(AdapterBridge.Response), flag);
const string pluginId = nameof(BoosterManager);
const string cmdPrefix = "BOOSTERMANAGER";
const string repoName = "Citrinate/BoosterManager";
AdapterBridge.InitAdapter(Name, pluginId, cmdPrefix, repoName, handler);

return Task.CompletedTask;
}

Expand Down

0 comments on commit edbe8a4

Please sign in to comment.