Initial commit

This commit is contained in:
2026-08-24 22:20:36 +02:00
commit 62f7b1278a
251 changed files with 16670 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
const game = require("../Game/Game");
const { players, packets } = game;
module.exports = function (ws, message, player) {
console.info(packets)
const topic = packets.getElement("test");
if (!topic) return console.info("no topic");
if (!player.topics) player.topics = [topic];
else player.topics.push(topic);
console.info("player topics", player.topics);
};