-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
acbaa0f
commit 9b6c0ee
Showing
10 changed files
with
127 additions
and
37 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
api/src/main/java/com/pgms/api/domain/game/dto/response/GameRoomMemberGetResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.pgms.api.domain.game.dto.response; | ||
|
||
import com.pgms.coredomain.domain.game.GameRoomMember; | ||
|
||
public record GameRoomMemberGetResponse( | ||
Long id, | ||
Long memberId, | ||
String nickname, | ||
boolean readyStatus | ||
) { | ||
public static GameRoomMemberGetResponse from(GameRoomMember gameRoomMember) { | ||
return new GameRoomMemberGetResponse( | ||
gameRoomMember.getId(), | ||
gameRoomMember.getMemberId(), | ||
gameRoomMember.getNickname(), | ||
gameRoomMember.isReadyStatus() | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
api/src/main/java/com/pgms/api/socket/service/GameRoomSocketService.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters