X-Git-Url: http://git.osdn.net/view?p=kcd%2FKCD.git;a=blobdiff_plain;f=KCD%2FMasterSTypeMapper.swift;h=d41a268d7ec19f99095f83e3a6782f4a8362f79c;hp=7b54f73af4b9e0123d05c4d8b06c09ad976833e4;hb=e341ef2774c1d7a27d9eb60edab905f1adc510a3;hpb=9ffa0e90ecd9d2b92d914751cf1c4e6659d6065a diff --git a/KCD/MasterSTypeMapper.swift b/KCD/MasterSTypeMapper.swift index 7b54f73a..d41a268d 100644 --- a/KCD/MasterSTypeMapper.swift +++ b/KCD/MasterSTypeMapper.swift @@ -10,10 +10,8 @@ import Cocoa final class MasterSTypeMapper: JSONMapper { - typealias ObjectType = MasterSType - let apiResponse: APIResponse - let configuration = MappingConfiguration(entity: MasterSType.entity, + let configuration = MappingConfiguration(entity: MasterSType.self, dataKeys: ["api_data", "api_mst_stype"], editorStore: ServerDataStore.oneTimeEditor(), ignoreKeys: ["api_equip_type"])