라이브 방
- 하트 후원 API 연결 - 하트 후원 성공시 하트 애니메이션 호출 - 하트 후원 성공시 채팅으로 알림
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import Foundation
|
||||
|
||||
enum LiveRoomChatType: String {
|
||||
case CHAT, DONATION, JOIN, ROULETTE_DONATION
|
||||
case CHAT, DONATION, JOIN, ROULETTE_DONATION, HEART
|
||||
}
|
||||
|
||||
protocol LiveRoomChat {
|
||||
@@ -48,3 +48,9 @@ struct LiveRoomJoinChat: LiveRoomChat {
|
||||
|
||||
var type: LiveRoomChatType = .JOIN
|
||||
}
|
||||
|
||||
struct LiveRoomHeartDonationChat: LiveRoomChat {
|
||||
let nickname: String
|
||||
|
||||
var type: LiveRoomChatType = .HEART
|
||||
}
|
||||
|
Reference in New Issue
Block a user