2021-11-16 19:56:37 +08:00
|
|
|
//
|
|
|
|
// AttachmentModel.h
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by 冯硕 on 2021/11/16.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <NIMSDK/NIMSDK.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageType) {
|
2021-11-23 19:27:18 +08:00
|
|
|
///房间提示
|
|
|
|
CustomMessageType_Room_Tip = 2,
|
2021-11-18 15:34:52 +08:00
|
|
|
///送礼物的接口
|
|
|
|
CustomMessageType_Gift = 3,
|
|
|
|
///全麦送
|
|
|
|
CustomMessageType_ALLMicroSend = 12,
|
|
|
|
///福袋消息
|
|
|
|
CustomMessageType_LuckyBag = 61,
|
2021-11-16 19:56:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-11-23 19:27:18 +08:00
|
|
|
///first = CustomMessageType_Room_Tip
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubRoomTip) {
|
|
|
|
///分享房间
|
|
|
|
Custom_Message_Sub_Room_Tip_ShareRoom = 21,
|
|
|
|
///关注房主
|
|
|
|
Custom_Message_Sub_Room_Tip_Attention_Owner = 22,
|
|
|
|
};
|
|
|
|
|
|
|
|
///first = CustomMessageType_Gift
|
2021-11-16 19:56:37 +08:00
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubGift) {
|
2021-11-23 19:27:18 +08:00
|
|
|
///发送礼物
|
|
|
|
Custom_Message_Sub_Gift_Send = 31,
|
|
|
|
///全服发送礼物
|
|
|
|
Custom_Message_Sub_Gift_ChannelNotify = 32,
|
|
|
|
///发送 福袋 礼物
|
|
|
|
Custom_Message_Sub_Gift_LuckySend = 34,
|
2021-11-16 19:56:37 +08:00
|
|
|
};
|
|
|
|
|
2021-11-23 19:27:18 +08:00
|
|
|
///first = CustomMessageType_ALLMicroSend
|
2021-11-16 19:56:37 +08:00
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubAllMicroSend) {
|
2021-11-23 19:27:18 +08:00
|
|
|
///全麦送礼物
|
|
|
|
Custom_Message_Sub_AllMicroSend = 121,
|
|
|
|
///非全麦 多人送礼
|
|
|
|
Custom_Message_Sub_AllBatchSend = 123,
|
|
|
|
///非全麦 多人送福袋礼物
|
|
|
|
Custom_Message_Sub_AllBatchMicroLuckySend = 124,
|
|
|
|
///全麦送 福袋 礼物 122老版本占用了
|
|
|
|
Custom_Message_Sub_AllMicroLuckySend = 125,
|
2021-11-16 19:56:37 +08:00
|
|
|
};
|
|
|
|
|
2021-11-23 19:27:18 +08:00
|
|
|
///first = CustomMessageType_LuckyBag
|
2021-11-18 15:34:52 +08:00
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubLuckyBag) {
|
|
|
|
/// 福袋礼物房间飘屏通知
|
|
|
|
Custom_Message_Sub_Room_Gift_LuckBag= 610,
|
|
|
|
/// 福袋礼物全服飘屏通知
|
|
|
|
Custom_Message_Sub_Room_Gift_LuckBag_Server = 611,
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-11-16 19:56:37 +08:00
|
|
|
|
|
|
|
@interface AttachmentModel : NSObject<NIMCustomAttachment>
|
|
|
|
@property (nonatomic,assign) int first;
|
|
|
|
@property (nonatomic,assign) int second;
|
|
|
|
@property (nonatomic, strong) id data;
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|