#import "HMAnchorageRepairManager.h"
#import "HMAppDelegate.h"
+#import "HMUserDefaults.h"
#import "HMServerDataStore.h"
#import "HMKCDeck+Extension.h"
[self buildMembers];
- [self resetRepairTime];
+// [self resetRepairTime];
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
[nc addObserver:self
}
}
+- (NSDate *)repairTime
+{
+ return HMStandardDefaults.repairTime;;
+}
+- (void)setRepairTime:(NSDate *)repairTime
+{
+ HMStandardDefaults.repairTime = repairTime;
+}
+
+
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
{
id contextObject = (__bridge id)(context);
@dynamic hideMaxKaryoku, hideMaxRaisou, hideMaxLucky, hideMaxSoukou, hideMaxTaiku;
@dynamic appendKanColleTag;
@dynamic prevReloadDate;
+@dynamic repairTime;
+ (void)load
{
{
return [self integerForKey:@"fleetViewShipOrder"];
}
+
+- (void)setRepairTime:(NSDate *)repairTime
+{
+ [self setKeyedArchiveObject:repairTime forKey:@"repairTime"];
+}
+- (NSDate *)repairTime
+{
+ return [self keyedUnarchiveObject:@"repairTime"];
+}
@end