OSDN Git Service

UAをVersion/10.0.3 Safari/602.4.8に変更
[kcd/KCD.git] / KCD / RemodelSlotCommand.swift
1 //
2 //  RemodelSlotCommand.swift
3 //  KCD
4 //
5 //  Created by Hori,Masaki on 2017/01/09.
6 //  Copyright © 2017年 Hori,Masaki. All rights reserved.
7 //
8
9 import Cocoa
10
11 class RemodelSlotCommand: JSONCommand {
12     override class func canExecuteAPI(_ api: String) -> Bool {
13         if api == "/kcsapi/api_req_kousyou/remodel_slot" { return true }
14         return false
15     }
16     
17     override func execute() {
18         MaterialMapper(apiResponse).commit()
19         RemodelSlotItemCommand(apiResponse: apiResponse).execute()
20     }
21 }