2 // HMCreateSlotItemCommand.m
5 // Created by Hori,Masaki on 2014/03/22.
6 // Copyright (c) 2014年 Hori,Masaki. All rights reserved.
9 #import "HMCreateSlotItemCommand.h"
11 #import "HMMemberMaterialCommand.h"
12 #import "HMUpdateSlotItemCommand.h"
13 #import "HMStoreCreateSlotItemHistoryCommand.h"
16 @implementation HMCreateSlotItemCommand
19 static dispatch_once_t onceToken;
20 dispatch_once(&onceToken, ^{
21 [HMJSONCommand registerClass:self];
25 + (BOOL)canExcuteAPI:(NSString *)api
27 if([api isEqualToString:@"/kcsapi/api_req_kousyou/createitem"]) return YES;
33 self = [super initWithCommands:
34 [HMMemberMaterialCommand new],
35 [HMUpdateSlotItemCommand new],
36 [HMStoreCreateSlotItemHistoryCommand new],
42 [NSThread sleepForTimeInterval:6.5];