package com.huangzj.server.cmd;

import com.huangzj.base.cmd.CommandSource;
import com.huangzj.base.spring.SpringGameCommandRegistry;
import java.util.EnumSet;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

/** 区服：仅处理客户端 TCP 上来的 {@link CommandSource#Client_TCP} 命令（三条路径都在此注册）。 */
@Component
public class ServerCommandRegistry extends SpringGameCommandRegistry {

    public ServerCommandRegistry(ApplicationContext applicationContext) {
        super(applicationContext, EnumSet.of(CommandSource.Client_TCP));
    }
}
