// SDLDeleteCommand.m // #import "SDLDeleteCommand.h" #import "NSMutableDictionary+Store.h" #import "SDLNames.h" NS_ASSUME_NONNULL_BEGIN @implementation SDLDeleteCommand - (instancetype)init { if (self = [super initWithName:SDLNameDeleteCommand]) { } return self; } - (instancetype)initWithId:(UInt32)commandId { self = [self init]; if (!self) { return nil; } self.cmdID = @(commandId); return self; } - (void)setCmdID:(NSNumber *)cmdID { [parameters sdl_setObject:cmdID forName:SDLNameCommandId]; } - (NSNumber *)cmdID { return [parameters sdl_objectForName:SDLNameCommandId]; } @end NS_ASSUME_NONNULL_END