| 1234567891011121314 |
- // 房间拦截行为助手
- import { EVENT, CODEMEG } from "../../enum/index.js";
- import { updateUser, removeRoomAllUsers, getAllRoomUsers, updateRoomUser } from "../../service/userService.js";
- import { setRoomConfig, getRoomConfig } from "../../service/roomConfigService.js";
- import { subClient } from "../../connection/redis.js";
- export class RoomBlocker {
- constructor(socket, redis, room) {
- this.socket = socket;
- this.redis = redis;
- this.roomId = null;
- this.room = room;
- }
- }
|