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 4addaf2 commit 42e94c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 51 deletions.
42 changes: 0 additions & 42 deletions CS2Interface/AdapterBridge.cs

This file was deleted.

9 changes: 0 additions & 9 deletions CS2Interface/CS2Interface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using SteamKit2;
using System.Collections.Concurrent;
using System.Text.Json;
using System.Reflection;

namespace CS2Interface {
[Export(typeof(IPlugin))]
Expand All @@ -20,14 +19,6 @@ public sealed class CS2Interface : IASF, IBotModules, IBotSteamClient, IBotComma
public Task OnLoaded() {
ASF.ArchiLogger.LogGenericInfo("Counter-Strike 2 Interface ASF Plugin by Citrinate");
GameData.Update();

// 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(CS2Interface);
const string cmdPrefix = "CS2INTERFACE";
const string repoName = "Citrinate/CS2Interface";
AdapterBridge.InitAdapter(Name, pluginId, cmdPrefix, repoName, handler);

return Task.CompletedTask;
}
Expand Down

0 comments on commit 42e94c4

Please sign in to comment.