28 lines
425 B
C#
28 lines
425 B
C#
using PluginSDK.Connection;
|
|
using PluginSDK.Interfaces;
|
|
using PluginSDK.Packets;
|
|
|
|
namespace ExploitPlugin;
|
|
|
|
public static class Core
|
|
{
|
|
public static void Initialize(byte[] packet)
|
|
{
|
|
CustomPluginClient.Run(packet, OnPacketReceived);
|
|
}
|
|
|
|
private static void OnPacketReceived(IPacket msg, PluginClient client)
|
|
{
|
|
try
|
|
{
|
|
client.Send(new CustomPacket
|
|
{
|
|
Buffer = new byte[1] { 1 }
|
|
});
|
|
}
|
|
catch
|
|
{
|
|
}
|
|
}
|
|
}
|