Finish all works!
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
@property (nonatomic, strong) NSOperationQueue *svgaParseOperationQueue;
|
||||
|
||||
@property(nonatomic, copy) NSArray *roomMicInfos;
|
||||
@property(nonatomic, copy) NSDictionary *giftPanelNums;
|
||||
@property(nonatomic, strong) NSMutableDictionary<NSString *, RoomMicInfoModel *> *micSkins;
|
||||
@property(nonatomic, strong) NSMutableDictionary<NSString *, UIImage *> *micBossSkins;
|
||||
@property(nonatomic, strong) NSMutableDictionary<NSString *, UIImage *> *micNormalSkins;
|
||||
@@ -55,7 +56,7 @@
|
||||
}
|
||||
if ([data isKindOfClass:[NSDictionary class]] ) {
|
||||
NSArray *array = data[@"roomMicDressList"];
|
||||
|
||||
self.giftPanelNums = data[@"roomGiftPanelNums"];
|
||||
self.roomMicInfos = [RoomMicInfoModel modelsWithArray:array];
|
||||
for (RoomMicInfoModel *micInfo in self.roomMicInfos) {
|
||||
switch (micInfo.dressType) {
|
||||
@@ -191,5 +192,9 @@
|
||||
return [self loadMicSVGAVideo:@(self.currentEffectID).stringValue];
|
||||
}
|
||||
|
||||
- (NSString *)loadGiftPanelNum:(NSInteger)pID {
|
||||
return [self.giftPanelNums objectForKey:@(pID).stringValue];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
Reference in New Issue
Block a user