OSDN Git Service

建造履歴に艦種も含めるようにした
authormasakih <masakih@users.sourceforge.jp>
Sun, 23 Mar 2014 07:00:44 +0000 (16:00 +0900)
committermasakih <masakih@users.sourceforge.jp>
Sun, 23 Mar 2014 07:00:44 +0000 (16:00 +0900)
#50184

KCD.xcodeproj/project.pbxproj
KCD/HMGetShipCommand.m
KCD/HMKenzoHistory.h
KCD/HMKenzoHistory.m
KCD/LocalData.xcdatamodeld/LocalData.xcdatamodel/contents

index 1d7d69d..377f95d 100644 (file)
@@ -36,6 +36,7 @@
                F494DC6D18CC054800AE97E4 /* HMNyukyoDockStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = F494DC6C18CC054800AE97E4 /* HMNyukyoDockStatus.m */; };
                F4B3DBCA18DDB9170011B4FC /* HMCreateSlotItemCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B3DBC918DDB9170011B4FC /* HMCreateSlotItemCommand.m */; };
                F4B3DC1B18DEAB5E0011B4FC /* HMKaihatuHistory.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B3DC1A18DEAB5E0011B4FC /* HMKaihatuHistory.m */; };
+               F4B3DC1E18DEB8C70011B4FC /* HMKenzoHistory.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B3DC1D18DEB8C70011B4FC /* HMKenzoHistory.m */; };
                F4B414E918B09A4B00468DAF /* HMMasterMapAreaCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B414E818B09A4B00468DAF /* HMMasterMapAreaCommand.m */; };
                F4B414EC18B0A7D600468DAF /* HMMasterUseItemCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B414EB18B0A7D600468DAF /* HMMasterUseItemCommand.m */; };
                F4B414EF18B0BF1A00468DAF /* HMMasterMapInfoCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4B414EE18B0BF1A00468DAF /* HMMasterMapInfoCommand.m */; };
@@ -73,7 +74,6 @@
                F4E7802818DBD2A00011BC4C /* HMGetShipCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E7802718DBD2A00011BC4C /* HMGetShipCommand.m */; };
                F4E7802B18DC3A820011BC4C /* HMLocalDataStore.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E7802A18DC3A820011BC4C /* HMLocalDataStore.m */; };
                F4E7802E18DC3AF00011BC4C /* LocalData.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = F4E7802C18DC3AF00011BC4C /* LocalData.xcdatamodeld */; };
-               F4E7803118DC42680011BC4C /* HMKenzoHistory.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E7803018DC42680011BC4C /* HMKenzoHistory.m */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXContainerItemProxy section */
                F4B3DBC918DDB9170011B4FC /* HMCreateSlotItemCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMCreateSlotItemCommand.m; sourceTree = "<group>"; };
                F4B3DC1918DEAB5E0011B4FC /* HMKaihatuHistory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMKaihatuHistory.h; sourceTree = "<group>"; };
                F4B3DC1A18DEAB5E0011B4FC /* HMKaihatuHistory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMKaihatuHistory.m; sourceTree = "<group>"; };
+               F4B3DC1C18DEB8C70011B4FC /* HMKenzoHistory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMKenzoHistory.h; sourceTree = "<group>"; };
+               F4B3DC1D18DEB8C70011B4FC /* HMKenzoHistory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMKenzoHistory.m; sourceTree = "<group>"; };
                F4B414E718B09A4B00468DAF /* HMMasterMapAreaCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMMasterMapAreaCommand.h; sourceTree = "<group>"; };
                F4B414E818B09A4B00468DAF /* HMMasterMapAreaCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMMasterMapAreaCommand.m; sourceTree = "<group>"; };
                F4B414EA18B0A7D600468DAF /* HMMasterUseItemCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMMasterUseItemCommand.h; sourceTree = "<group>"; };
                F4E7802918DC3A820011BC4C /* HMLocalDataStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMLocalDataStore.h; sourceTree = "<group>"; };
                F4E7802A18DC3A820011BC4C /* HMLocalDataStore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMLocalDataStore.m; sourceTree = "<group>"; };
                F4E7802D18DC3AF00011BC4C /* LocalData.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = LocalData.xcdatamodel; sourceTree = "<group>"; };
-               F4E7802F18DC42680011BC4C /* HMKenzoHistory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMKenzoHistory.h; sourceTree = "<group>"; };
-               F4E7803018DC42680011BC4C /* HMKenzoHistory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMKenzoHistory.m; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
                                F4E7802A18DC3A820011BC4C /* HMLocalDataStore.m */,
                                F4D2CBC618B0555A000EBC59 /* HMKCManagedObject.h */,
                                F4D2CBC718B0555A000EBC59 /* HMKCManagedObject.m */,
+                               F46F104718ABAC910063E503 /* KCD.xcdatamodeld */,
                                F4513EFC18BB6B0C00073552 /* HMKCShipObject.h */,
                                F4513EFD18BB6B0C00073552 /* HMKCShipObject.m */,
-                               F46F104718ABAC910063E503 /* KCD.xcdatamodeld */,
-                               F4E7802F18DC42680011BC4C /* HMKenzoHistory.h */,
-                               F4E7803018DC42680011BC4C /* HMKenzoHistory.m */,
                                F4E7802C18DC3AF00011BC4C /* LocalData.xcdatamodeld */,
+                               F4B3DC1C18DEB8C70011B4FC /* HMKenzoHistory.h */,
+                               F4B3DC1D18DEB8C70011B4FC /* HMKenzoHistory.m */,
                                F4B3DC1918DEAB5E0011B4FC /* HMKaihatuHistory.h */,
                                F4B3DC1A18DEAB5E0011B4FC /* HMKaihatuHistory.m */,
                        );
                                F4C1190218A6FFC2005D5B25 /* HMQueue.m in Sources */,
                                F4513EEB18B7900A00073552 /* HMMemberDeckCommand.m in Sources */,
                                F46F103618A7CE310063E503 /* HMJSONViewCommand.m in Sources */,
+                               F4B3DC1E18DEB8C70011B4FC /* HMKenzoHistory.m in Sources */,
                                F4B414FB18B1FB6C00468DAF /* HMMasterMapCellCommand.m in Sources */,
                                F4C118FA18A67B1C005D5B25 /* CacheStoragePolicy.m in Sources */,
                                F4E7802E18DC3AF00011BC4C /* LocalData.xcdatamodeld in Sources */,
                                F4C3957418CDDFE500A1E918 /* HMKenzoDockStatus.m in Sources */,
                                F4C118FB18A67B1C005D5B25 /* CanonicalRequest.m in Sources */,
                                F4BDEB5A187252F30069D0CE /* HMAppDelegate.m in Sources */,
-                               F4E7803118DC42680011BC4C /* HMKenzoHistory.m in Sources */,
                                F4E7802B18DC3A820011BC4C /* HMLocalDataStore.m in Sources */,
                                F494DC6718C8BA6400AE97E4 /* HMPowerUpSupportViewController.m in Sources */,
                                F494DC6318C608C100AE97E4 /* HMShipViewController.m in Sources */,
index 57ac27c..09c38a5 100644 (file)
@@ -59,6 +59,7 @@
        HMKenzoHistory *newObejct = [NSEntityDescription insertNewObjectForEntityForName:@"KenzoHistory"
                                                                                                                          inManagedObjectContext:localStoreContext];
        newObejct.name = [array[0] valueForKey:@"name"];
+       newObejct.sTypeId = [array[0] valueForKeyPath:@"stype.id"];
        newObejct.fuel = item1;
        newObejct.bull = [kdock valueForKey:@"item2"];
        newObejct.steel = [kdock valueForKey:@"item3"];
index 0ce603d..0e22712 100644 (file)
@@ -2,7 +2,7 @@
 //  HMKenzoHistory.h
 //  KCD
 //
-//  Created by Hori,Masaki on 2014/03/21.
+//  Created by Hori,Masaki on 2014/03/23.
 //  Copyright (c) 2014年 Hori,Masaki. All rights reserved.
 //
 
 
 @interface HMKenzoHistory : NSManagedObject
 
-@property (nonatomic, retain) NSString *name;
-@property (nonatomic, retain) NSNumber *fuel;
-@property (nonatomic, retain) NSNumber *bull;
-@property (nonatomic, retain) NSNumber *steel;
-@property (nonatomic, retain) NSNumber *bauxite;
-@property (nonatomic, retain) NSNumber *kaihatusizai;
-@property (nonatomic, retain) NSNumber *isLarge;
-@property (nonatomic, retain) NSDate *date;
+@property (nonatomic, retain) NSNumber * bauxite;
+@property (nonatomic, retain) NSNumber * bull;
+@property (nonatomic, retain) NSDate * date;
+@property (nonatomic, retain) NSNumber * fuel;
+@property (nonatomic, retain) NSNumber * isLarge;
+@property (nonatomic, retain) NSNumber * kaihatusizai;
+@property (nonatomic, retain) NSString * name;
+@property (nonatomic, retain) NSNumber * steel;
+@property (nonatomic, retain) NSNumber * sTypeId;
+@property (nonatomic, retain) NSString * flagShipName;
+@property (nonatomic, retain) NSNumber * flagShipLv;
+@property (nonatomic, retain) NSNumber * commanderLv;
 
 @end
index 0d10efa..0a377c7 100644 (file)
@@ -2,7 +2,7 @@
 //  HMKenzoHistory.m
 //  KCD
 //
-//  Created by Hori,Masaki on 2014/03/21.
+//  Created by Hori,Masaki on 2014/03/23.
 //  Copyright (c) 2014年 Hori,Masaki. All rights reserved.
 //
 
 
 @implementation HMKenzoHistory
 
-@dynamic name;
-@dynamic fuel;
-@dynamic bull;
-@dynamic steel;
 @dynamic bauxite;
-@dynamic kaihatusizai;
-@dynamic isLarge;
+@dynamic bull;
 @dynamic date;
+@dynamic fuel;
+@dynamic isLarge;
+@dynamic kaihatusizai;
+@dynamic name;
+@dynamic steel;
+@dynamic sTypeId;
+@dynamic flagShipName;
+@dynamic flagShipLv;
+@dynamic commanderLv;
 
 @end
index 696b1e6..17d67bc 100644 (file)
     <entity name="KenzoHistory" representedClassName="HMKenzoHistory" syncable="YES">
         <attribute name="bauxite" attributeType="Integer 32" minValueString="30" syncable="YES"/>
         <attribute name="bull" attributeType="Integer 32" minValueString="30" syncable="YES"/>
+        <attribute name="commanderLv" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
         <attribute name="date" attributeType="Date" indexed="YES" syncable="YES"/>
+        <attribute name="flagShipLv" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+        <attribute name="flagShipName" optional="YES" attributeType="String" syncable="YES"/>
         <attribute name="fuel" attributeType="Integer 32" minValueString="30" syncable="YES"/>
         <attribute name="isLarge" attributeType="Boolean" syncable="YES"/>
         <attribute name="kaihatusizai" attributeType="Integer 32" syncable="YES"/>
         <attribute name="name" attributeType="String" minValueString="1" indexed="YES" syncable="YES"/>
         <attribute name="steel" attributeType="Integer 32" minValueString="30" syncable="YES"/>
+        <attribute name="sTypeId" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
     </entity>
     <elements>
-        <element name="KenzoHistory" positionX="0" positionY="0" width="128" height="163"/>
+        <element name="KenzoHistory" positionX="0" positionY="0" width="128" height="223"/>
         <element name="KaihatuHistory" positionX="0" positionY="63" width="128" height="193"/>
     </elements>
 </model>
\ No newline at end of file