package com.red.circle.external.inner.endpoint.baishun.api;

import com.red.circle.external.inner.model.cmd.game.baishun.CloseRoomCmd;
import com.red.circle.external.inner.model.cmd.game.baishun.UserEffectsCmd;
import com.red.circle.framework.dto.ResultResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 百顺弹幕游戏 服务api.
 *
 * @author pengliang on 2023/10/15
 */
public interface BarrageGameClientApi {

    String API_PREFIX = "/barrage-game/client";


    @PostMapping("/user/effects")
    ResultResponse<Void> userEffects(@RequestBody UserEffectsCmd cmd);


    @PostMapping("/close/room")
    ResultResponse<Void> closeRoom(@RequestBody CloseRoomCmd cmd);

}
