PVE Game Boss Raid server
- 입장 가능 상태, 현제 진행 유저 정보 등이 있다.
- 한 번에 한 명의 유저만 진행할 수 있다.
- 이전에 시작 기록이 있다면 레이드 종료 혹은 레이드 제한 시간 경과해야 시작할 수 있다.
API
- 보스 레이드 상태 조회
- 보스 레이드 랭킹 조회
- totalScore 내림차순, score, userid를 포함
- 보스 레이드 시작
- 보스 레이드 종료
- 레이드 level에 따른 score를 반영한다.
- 레이드 중인 사용자가 아니면 예외 처리
- 제한 시간이 경과한 경우 예외 처리
분류 |
내용 |
method |
GET |
path |
{BASE_URL}/bossRaid |
response |
{ canEnter: boolean, enteredUserId?: number } |
분류 |
내용 |
method |
GET |
path |
{BASE_URL}/bossRaid/topRankerList |
body |
{ userId: number } |
response |
{ topRankerInfoList: RankingInfo[], myRankingInfo: RankingInfo } |
interface RankingInfo {
ranking: number; // 1 ranking 0 . userId: number;
totalScore: number;
}
분류 |
내용 |
method |
POST |
path |
{BASE_URL}/bossRaid/enter |
body |
{ userId: number, level: number } |
response |
{ isEntered: boolean, raidRecordId?: number } |
분류 |
내용 |
method |
PATCH |
path |
{BASE_URL}/bossRaid/end |
body |
{ userId: number, raidRecordId: number } |
response |
{} |