Files
peko-ios/YuMi/Modules/YMRoom/Model/RoomLevelInfoModel.h
2025-01-09 14:22:59 +08:00

58 lines
1.5 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// RoomLevelInfoModel.h
// YuMi
//
// Created by P on 2024/12/25.
//
#import "PIBaseModel.h"
NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
MicResourceType_Skin = 1,
MicResourceType_Effect = 2,
} MicResourceType;
@interface RoomMicInfoModel : PIBaseModel
// 通用参数
@property(nonatomic, copy) NSString *id;
@property(nonatomic, assign) NSInteger reachLevel;
@property(nonatomic, assign) MicResourceType dressType;
// APIclient/resource 使用
@property(nonatomic, copy) NSString *normalMicLockUrl;
@property(nonatomic, copy) NSString *bossMicLockUrl;
@property(nonatomic, copy) NSString *normalMicUrl;
@property(nonatomic, copy) NSString *bossMicUrl;
+ (RoomMicInfoModel *)emptySkinModel;
+ (RoomMicInfoModel *)emptyEffectModel;
@end
@interface RoomLevelInfoModel : PIBaseModel
@property(nonatomic, assign) NSInteger roomVal;
@property(nonatomic, assign) NSInteger usedMicSkinId;
@property(nonatomic, assign) NSInteger usedMicEffectId;
@property(nonatomic, assign) NSInteger nextLevel;
@property(nonatomic, assign) NSInteger nextLevelExp;
@property(nonatomic, assign) NSInteger currentLevel;
@property(nonatomic, assign) NSInteger currentLevelExp;
@property(nonatomic, copy) NSString *currentLevelIcon;
@property(nonatomic, assign) NSInteger managerLimitNum;
@property(nonatomic, assign) NSInteger currentManagerNum;
@property(nonatomic, copy) NSArray <RoomMicInfoModel *> *micSkins;
@property(nonatomic, copy) NSArray <RoomMicInfoModel *> *micEffects;
@property(nonatomic, assign) BOOL hasUnique;
@end
NS_ASSUME_NONNULL_END