Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
699 B
C#
28 lines
699 B
C#
using Xabbo.Interceptor;
|
|
using Xabbo.Messages;
|
|
|
|
// Funktion zum Prüfen der Nachricht
|
|
void BlockWired(Intercept e)
|
|
{
|
|
try
|
|
{
|
|
e.Packet.Position = 0;
|
|
e.Packet.ReadInt(); // User Index
|
|
e.Packet.ReadString(); // Nachricht
|
|
e.Packet.ReadInt(); // Geste
|
|
|
|
// Die Bubble ID lesen
|
|
int bubbleStyle = e.Packet.ReadInt();
|
|
|
|
// 34 ist die Standard-Wired-Bubble.
|
|
// Falls dein Retro eine andere ID für Wired nutzt, ändere die 34.
|
|
if (bubbleStyle == 34)
|
|
{
|
|
e.Block();
|
|
}
|
|
}
|
|
catch { }
|
|
}
|
|
|
|
// Intercept nur auf Flüstern (Whisper), da Wireds meistens flüstern
|
|
Intercept(In.Whisper, BlockWired); |