- 룰렛 돌리기 API 연동
- 룰렛 돌린 결과 전송
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user