Skip to content

Commit

Permalink
Feature : 점수 반환 메서드 프론트 요청사항 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
oo-ni committed Feb 10, 2025
1 parent 69ba5a9 commit b516c20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package urdego.io.urdego_notification_service.controller.dto.response.game;

public record PlayerScore(
int rank,
Long userId,
String nickname,
String characterType,
int score
) {
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package urdego.io.urdego_notification_service.controller.dto.response.game;

import java.util.List;
import java.util.Map;

public record ScoreRes(
String roomId,
Map<Integer, Map<String, Integer>> roundScores,
Map<String, Integer> totalScores
int roundNum,
boolean isLast,
List<PlayerScore> roundScore,
List<PlayerScore> totalScore
) {
}

0 comments on commit b516c20

Please sign in to comment.