package com.group.robot.matcher;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.group.robot.RobotManager;

import java.util.ArrayList;
import java.util.List;

/**
 * 通用房间匹配器 - 负责扫描Redis中的所有房间并匹配合适的机器人
 */
public class RoomMatcher extends GameRoomMatcher {
    private static final Logger log = LoggerFactory.getLogger(RoomMatcher.class);
    
    public RoomMatcher(RobotManager robotManager) {
        super(robotManager);
    }

    /**
     * 获取支持的玩法ID列表
     */
    @Override
    public List<Integer> getSupportedWanfaIds() {
        //返回支持的玩法ID
        List<Integer> wanfaIds = new ArrayList<>();
        wanfaIds.add(10); //长沙麻将
        wanfaIds.add(22); //红中麻将
        wanfaIds.add(108); //转转麻将
        wanfaIds.add(66); //跑得快
        return wanfaIds;
    }
}