Add client move/DnD, ServerQuery favorite toggle, and TeaSpeak poke handling.

Lets users move clients via context menu or drag-and-drop (including spacers), show ServerQuery clients per favorite without reconnecting, and surface TeaSpeak/GTS notifyclientpoke reliably via connector fallback plus tsclientlib parse fallthrough.

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Nico B.andCursor committed 2026-09-06 02:09:52 +02:00
1 parent bf85173a54
commit b6448e65e8
11 files changed
+428 -28

No files matched your search

+14
View File
@@ -277,6 +277,20 @@ export class DemoSocket {
);
break;
}
case "moveClient": {
const clientId = Number(msg.clientId);
const channelId = Number(msg.channelId);
if (Number.isFinite(clientId) && Number.isFinite(channelId)) {
if (clientId === SELF_ID) {
this.selfChannel = channelId;
} else {
const npc = DEMO_NPCS.find((c) => c.id === clientId);
if (npc) npc.channel = channelId;
}
this.after(120, () => this.sendChannels(this.lastNickname));
}
break;
}
case "getClientConnectionInfo": {
this.after(400, () =>
this.emit({