- 룰렛 돌리기 API 연동

- 룰렛 돌린 결과 전송
This commit is contained in:
Yu Sung
2023-12-07 04:29:03 +09:00
parent 5682adf967
commit 0af16ac000
8 changed files with 333 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
import Foundation
enum LiveRoomChatType: String {
case CHAT, DONATION, JOIN
case CHAT, DONATION, JOIN, ROULETTE_DONATION
}
protocol LiveRoomChat {
@@ -35,6 +35,14 @@ struct LiveRoomDonationChat: LiveRoomChat {
var type: LiveRoomChatType = .DONATION
}
struct LiveRoomRouletteDonationChat: LiveRoomChat {
let profileUrl: String
let nickname: String
let rouletteResult: String
var type: LiveRoomChatType = .ROULETTE_DONATION
}
struct LiveRoomJoinChat: LiveRoomChat {
let nickname: String