Files
yinmeng-ios/xplan-ios/Main/Room/View/MoreView/Model/XPRoomMoreItemModel.h

46 lines
1.1 KiB
C
Raw Normal View History

2021-12-11 18:53:07 +08:00
//
// XPRoomMoreItemModel.h
// xplan-ios
//
// Created by 冯硕 on 2021/12/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, RoomMoreMenuType) {
///礼物值关闭
RoomMoreMenuType_Gift_Value_Close = 1,
///礼物值开启
RoomMoreMenuType_Gift_Value_Open = 2,
2021-12-25 16:57:50 +08:00
///公屏关闭
RoomMoreMenuType_Message_Screen_Close = 3,
///公屏开启
RoomMoreMenuType_Message_Screen_Open = 4,
///我的礼物特效关闭
RoomMoreMenuType_Gift_Effect_Close = 5,
///我的礼物特效开启
RoomMoreMenuType_Gift_Effect_Open = 6,
///房间设置
RoomMoreMenuType_Room_Setting = 7,
///邀请粉丝
2021-12-27 15:47:36 +08:00
RoomMoreMenuType_Invite_Fans = 8,
2021-12-11 18:53:07 +08:00
};
@interface XPRoomMoreItemModel : NSObject
///礼物的名称
2021-12-11 18:53:07 +08:00
@property (nonatomic,copy) NSString *imageName;
///显示的文字
@property (nonatomic,copy) NSString *title;
2021-12-25 16:57:50 +08:00
///标题的颜色
@property (nonatomic,strong) UIColor *titleColor;
2021-12-11 18:53:07 +08:00
///类型
@property (nonatomic,assign) RoomMoreMenuType type;
2021-12-25 16:57:50 +08:00
+(XPRoomMoreItemModel *)initWithTitle:(NSString *)title imageName:(NSString *)imageName type:(RoomMoreMenuType)type titleColor:(UIColor *)titleColor;
2021-12-11 18:53:07 +08:00
@end
NS_ASSUME_NONNULL_END