CharacterDetailView에 갤러리 탭을 추가하고, 갤러리 화면/상태 관리/네트워킹을 구현했습니다. 소유/미소유 UI, 페이지네이션, 이미지 뷰어, 오류 토스트를 포함합니다. TODO: 이미지 구매 API 연동
20 lines
381 B
Swift
20 lines
381 B
Swift
//
|
|
// CharacterImageListResponse.swift
|
|
// SodaLive
|
|
//
|
|
// Created by klaus on 9/2/25.
|
|
//
|
|
|
|
struct CharacterImageListResponse: Decodable {
|
|
let totalCount: Int
|
|
let ownedCount: Int
|
|
let items: [CharacterImageListItemResponse]
|
|
}
|
|
|
|
struct CharacterImageListItemResponse: Decodable {
|
|
let id: Int
|
|
let imageUrl: String
|
|
let isOwned: Bool
|
|
let imagePriceCan: Int
|
|
}
|