OSDN Git Service

ドロップ履歴を残すためのエンティティーを追加
authormasakih <masakih@users.sourceforge.jp>
Thu, 19 Feb 2015 13:12:14 +0000 (22:12 +0900)
committermasakih <masakih@users.sourceforge.jp>
Thu, 19 Feb 2015 13:12:14 +0000 (22:12 +0900)
KCD.xcodeproj/project.pbxproj
KCD/HMDropShipHistory.h [new file with mode: 0644]
KCD/HMDropShipHistory.m [new file with mode: 0644]
KCD/LocalData.xcdatamodeld/.xccurrentversion [new file with mode: 0644]
KCD/LocalData.xcdatamodeld/LocalData 2.xcdatamodel/contents [new file with mode: 0644]

index 18e1c2c..56f5c7b 100644 (file)
                F4D2CBC518AE2AE2000EBC59 /* HMCompositCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4D2CBC418AE2AE2000EBC59 /* HMCompositCommand.m */; };
                F4D2CBC818B0555A000EBC59 /* HMKCManagedObject.m in Sources */ = {isa = PBXBuildFile; fileRef = F4D2CBC718B0555A000EBC59 /* HMKCManagedObject.m */; };
                F4D2CBCB18B05E58000EBC59 /* HMMaserShipCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4D2CBCA18B05E58000EBC59 /* HMMaserShipCommand.m */; };
+               F4D6BC4F1A938EFC00742FEB /* HMDropShipHistoryCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4D6BC4E1A938EFC00742FEB /* HMDropShipHistoryCommand.m */; };
+               F4D6BC551A93903E00742FEB /* HMDropShipHistory.m in Sources */ = {isa = PBXBuildFile; fileRef = F4D6BC541A93903E00742FEB /* HMDropShipHistory.m */; };
                F4E33B5818BF5F67005B8C07 /* HMMemberSlotItemCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E33B5718BF5F67005B8C07 /* HMMemberSlotItemCommand.m */; };
                F4E7802818DBD2A00011BC4C /* HMGetShipCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E7802718DBD2A00011BC4C /* HMGetShipCommand.m */; };
                F4E7802B18DC3A820011BC4C /* HMLocalDataStore.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E7802A18DC3A820011BC4C /* HMLocalDataStore.m */; };
                F4D2CBC718B0555A000EBC59 /* HMKCManagedObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMKCManagedObject.m; sourceTree = "<group>"; };
                F4D2CBC918B05E58000EBC59 /* HMMaserShipCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMMaserShipCommand.h; sourceTree = "<group>"; };
                F4D2CBCA18B05E58000EBC59 /* HMMaserShipCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMMaserShipCommand.m; sourceTree = "<group>"; };
+               F4D6BC4C1A923C0B00742FEB /* LocalData 2.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = "LocalData 2.xcdatamodel"; sourceTree = "<group>"; };
+               F4D6BC4D1A938EFC00742FEB /* HMDropShipHistoryCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMDropShipHistoryCommand.h; sourceTree = "<group>"; };
+               F4D6BC4E1A938EFC00742FEB /* HMDropShipHistoryCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMDropShipHistoryCommand.m; sourceTree = "<group>"; };
+               F4D6BC531A93903E00742FEB /* HMDropShipHistory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMDropShipHistory.h; sourceTree = "<group>"; };
+               F4D6BC541A93903E00742FEB /* HMDropShipHistory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMDropShipHistory.m; sourceTree = "<group>"; };
                F4E33B5618BF5F67005B8C07 /* HMMemberSlotItemCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMMemberSlotItemCommand.h; sourceTree = "<group>"; };
                F4E33B5718BF5F67005B8C07 /* HMMemberSlotItemCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HMMemberSlotItemCommand.m; sourceTree = "<group>"; };
                F4E7802618DBD2A00011BC4C /* HMGetShipCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HMGetShipCommand.h; sourceTree = "<group>"; };
                                F4B3DC1D18DEB8C70011B4FC /* HMKenzoHistory.m */,
                                F4B3DC1918DEAB5E0011B4FC /* HMKaihatuHistory.h */,
                                F4B3DC1A18DEAB5E0011B4FC /* HMKaihatuHistory.m */,
+                               F4D6BC531A93903E00742FEB /* HMDropShipHistory.h */,
+                               F4D6BC541A93903E00742FEB /* HMDropShipHistory.m */,
                                F4AA05F9192B92C700844688 /* Temporary.xcdatamodeld */,
                                F4AA05FC192B932E00844688 /* HMTemporaryDataStore.h */,
                                F4AA05FD192B932E00844688 /* HMTemporaryDataStore.m */,
                                F4B3DBC918DDB9170011B4FC /* HMCreateSlotItemCommand.m */,
                                F4131ECD190F5C08004F7F9A /* HMStoreCreateSlotItemHistoryCommand.h */,
                                F4131ECE190F5C08004F7F9A /* HMStoreCreateSlotItemHistoryCommand.m */,
+                               F4D6BC4D1A938EFC00742FEB /* HMDropShipHistoryCommand.h */,
+                               F4D6BC4E1A938EFC00742FEB /* HMDropShipHistoryCommand.m */,
                                F4131ED3190F63D8004F7F9A /* HMUpdateSlotItemCommand.h */,
                                F4131ED4190F63D8004F7F9A /* HMUpdateSlotItemCommand.m */,
                                F4131ED6190FA08D004F7F9A /* HMDestroyItem2Command.h */,
                                F4131ECF190F5C08004F7F9A /* HMStoreCreateSlotItemHistoryCommand.m in Sources */,
                                F4AA05FB192B92C800844688 /* Temporary.xcdatamodeld in Sources */,
                                F4E7802818DBD2A00011BC4C /* HMGetShipCommand.m in Sources */,
+                               F4D6BC4F1A938EFC00742FEB /* HMDropShipHistoryCommand.m in Sources */,
                                F4A3AD8519B0CAB700FDBF80 /* HMPlanToShowsBoldFontTransformer.m in Sources */,
                                F4513EF618B9F29800073552 /* HMMemberShipCommand.m in Sources */,
                                F4268034195332A000B2C27F /* HMPowerUpCommand.m in Sources */,
                                F4C3957418CDDFE500A1E918 /* HMKenzoDockStatus.m in Sources */,
                                F4C118FB18A67B1C005D5B25 /* CanonicalRequest.m in Sources */,
                                F4AA060D1930E69200844688 /* HMMidnightBattleCommand.m in Sources */,
+                               F4D6BC551A93903E00742FEB /* HMDropShipHistory.m in Sources */,
                                F4131EE91911445F004F7F9A /* HMSlotItemEquipTypeTransformer.m in Sources */,
                                F4BDEB5A187252F30069D0CE /* HMAppDelegate.m in Sources */,
                                F4E7802B18DC3A820011BC4C /* HMLocalDataStore.m in Sources */,
                F4E7802C18DC3AF00011BC4C /* LocalData.xcdatamodeld */ = {
                        isa = XCVersionGroup;
                        children = (
+                               F4D6BC4C1A923C0B00742FEB /* LocalData 2.xcdatamodel */,
                                F4E7802D18DC3AF00011BC4C /* LocalData.xcdatamodel */,
                        );
-                       currentVersion = F4E7802D18DC3AF00011BC4C /* LocalData.xcdatamodel */;
+                       currentVersion = F4D6BC4C1A923C0B00742FEB /* LocalData 2.xcdatamodel */;
                        path = LocalData.xcdatamodeld;
                        sourceTree = "<group>";
                        versionGroupType = wrapper.xcdatamodel;
diff --git a/KCD/HMDropShipHistory.h b/KCD/HMDropShipHistory.h
new file mode 100644 (file)
index 0000000..8b225ec
--- /dev/null
@@ -0,0 +1,24 @@
+//
+//  HMDropShipHistory.h
+//  KCD
+//
+//  Created by Hori,Masaki on 2015/02/18.
+//  Copyright (c) 2015年 Hori,Masaki. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <CoreData/CoreData.h>
+
+
+@interface HMDropShipHistory : NSManagedObject
+
+@property (nonatomic, retain) NSString * shipName;
+@property (nonatomic, retain) NSString * mapArea;
+@property (nonatomic, retain) NSNumber * mapInfo;
+@property (nonatomic, retain) NSNumber * mapCell;
+@property (nonatomic, retain) NSString * mapAreaName;
+@property (nonatomic, retain) NSString * mapInfoName;
+@property (nonatomic, retain) NSDate * date;
+@property (nonatomic, retain) NSString * winRank;
+
+@end
diff --git a/KCD/HMDropShipHistory.m b/KCD/HMDropShipHistory.m
new file mode 100644 (file)
index 0000000..cc80077
--- /dev/null
@@ -0,0 +1,23 @@
+//
+//  HMDropShipHistory.m
+//  KCD
+//
+//  Created by Hori,Masaki on 2015/02/18.
+//  Copyright (c) 2015年 Hori,Masaki. All rights reserved.
+//
+
+#import "HMDropShipHistory.h"
+
+
+@implementation HMDropShipHistory
+
+@dynamic shipName;
+@dynamic mapArea;
+@dynamic mapInfo;
+@dynamic mapCell;
+@dynamic mapAreaName;
+@dynamic mapInfoName;
+@dynamic date;
+@dynamic winRank;
+
+@end
diff --git a/KCD/LocalData.xcdatamodeld/.xccurrentversion b/KCD/LocalData.xcdatamodeld/.xccurrentversion
new file mode 100644 (file)
index 0000000..92f03aa
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>_XCCurrentVersionName</key>
+       <string>LocalData 2.xcdatamodel</string>
+</dict>
+</plist>
diff --git a/KCD/LocalData.xcdatamodeld/LocalData 2.xcdatamodel/contents b/KCD/LocalData.xcdatamodeld/LocalData 2.xcdatamodel/contents
new file mode 100644 (file)
index 0000000..6c87741
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="6254" systemVersion="13F34" minimumToolsVersion="Xcode 4.3" macOSVersion="Automatic" iOSVersion="Automatic">
+    <entity name="DropShipHistory" representedClassName="HMDropShipHistory" syncable="YES">
+        <attribute name="date" attributeType="Date" syncable="YES"/>
+        <attribute name="mapArea" attributeType="String" syncable="YES"/>
+        <attribute name="mapAreaName" attributeType="String" syncable="YES"/>
+        <attribute name="mapCell" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+        <attribute name="mapInfo" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+        <attribute name="mapInfoName" attributeType="String" syncable="YES"/>
+        <attribute name="shipName" attributeType="String" indexed="YES" syncable="YES"/>
+        <attribute name="winRank" attributeType="String" syncable="YES"/>
+    </entity>
+    <entity name="HiddenDropShipHistory" representedClassName="HMDropShipHistory" syncable="YES">
+        <attribute name="date" attributeType="Date" syncable="YES"/>
+        <attribute name="mapArea" attributeType="String" syncable="YES"/>
+        <attribute name="mapAreaName" attributeType="String" syncable="YES"/>
+        <attribute name="mapCell" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+        <attribute name="mapInfo" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+        <attribute name="mapInfoName" attributeType="String" syncable="YES"/>
+        <attribute name="shipName" attributeType="String" indexed="YES" syncable="YES"/>
+        <attribute name="winRank" attributeType="String" syncable="YES"/>
+    </entity>
+    <entity name="KaihatuHistory" representedClassName="HMKaihatuHistory" syncable="YES">
+        <attribute name="bauxite" attributeType="Integer 32" minValueString="10" syncable="YES"/>
+        <attribute name="bull" attributeType="Integer 32" minValueString="10" 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="10" syncable="YES"/>
+        <attribute name="kaihatusizai" attributeType="Integer 32" minValueString="0" syncable="YES"/>
+        <attribute name="name" attributeType="String" minValueString="1" indexed="YES" syncable="YES"/>
+        <attribute name="steel" attributeType="Integer 32" minValueString="10" syncable="YES"/>
+    </entity>
+    <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="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>
+    <entity name="KenzoMark" representedClassName="HMKenzoMark" 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="created_ship_id" optional="YES" attributeType="Integer 32" defaultValueString="0" 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="kaihatusizai" attributeType="Integer 32" syncable="YES"/>
+        <attribute name="kDockId" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
+        <attribute name="steel" attributeType="Integer 32" minValueString="30" syncable="YES"/>
+    </entity>
+    <elements>
+        <element name="KaihatuHistory" positionX="0" positionY="63" width="128" height="193"/>
+        <element name="KenzoHistory" positionX="0" positionY="0" width="128" height="208"/>
+        <element name="KenzoMark" positionX="9" positionY="117" width="128" height="195"/>
+        <element name="DropShipHistory" positionX="9" positionY="135" width="128" height="163"/>
+        <element name="HiddenDropShipHistory" positionX="18" positionY="144" width="128" height="165"/>
+    </elements>
+</model>
\ No newline at end of file