Replies: 1 comment
-
You can use import { matchMaker } from "colyseus";
const roomsAvailable = await matchMaker.query({});
roomsAvailable.forEach((roomAvailable) => {
if (roomsAvailable.processId === matchMaker.processId) {
console.log(roomsAvailable, "on current process");
}
}) Hope this helps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to check the active rooms, when I reload the code.
Beta Was this translation helpful? Give feedback.
All reactions