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,
|
2021-12-10 19:19:02 +08:00
|
|
|
|
///账户更新
|
|
|
|
|
CustomMessageType_Account = 5,
|
2022-04-19 18:08:12 +08:00
|
|
|
|
///关注的主播上线
|
|
|
|
|
CustomMessageType_Member_Online = 6,
|
2021-11-26 21:47:00 +08:00
|
|
|
|
///队列操作
|
|
|
|
|
CustomMessageType_Queue = 8,
|
2022-01-08 20:15:06 +08:00
|
|
|
|
///表情
|
|
|
|
|
CustomMessageType_Face = 9,
|
2022-04-28 16:53:54 +08:00
|
|
|
|
///推文
|
|
|
|
|
CustomMessageType_Tweet = 10,
|
2021-11-18 15:34:52 +08:00
|
|
|
|
///全麦送
|
2021-12-06 17:00:15 +08:00
|
|
|
|
CustomMessageType_AllMicroSend = 12,
|
2021-12-16 20:22:01 +08:00
|
|
|
|
///座驾进房动画
|
|
|
|
|
CustomMessageType_Car_Notify = 15,
|
2021-11-25 20:39:52 +08:00
|
|
|
|
///踢出房间
|
|
|
|
|
CustomMessageType_Kick_User = 18,
|
2022-01-24 17:50:56 +08:00
|
|
|
|
///小秘书消息
|
|
|
|
|
CustomMessageType_Secretary = 19,
|
2021-12-25 16:57:50 +08:00
|
|
|
|
///房间信息更新
|
|
|
|
|
CustomMessageType_Update_RoomInfo = 20,
|
2022-04-19 18:08:12 +08:00
|
|
|
|
///应用内分享
|
|
|
|
|
CustomMessageType_Application_Share = 22,
|
2022-04-20 11:32:22 +08:00
|
|
|
|
///用户升级
|
|
|
|
|
CustomMessageType_User_UpGrade = 24,
|
2021-12-10 19:19:02 +08:00
|
|
|
|
///糖果树
|
|
|
|
|
CustomMessageType_Candy_Tree = 26,
|
2021-12-20 19:23:00 +08:00
|
|
|
|
///排麦
|
|
|
|
|
CustomMessageType_Arrange_Mic = 30,
|
2022-04-18 22:36:16 +08:00
|
|
|
|
///房间内PK
|
|
|
|
|
CustomMessageType_Room_PK = 31,
|
|
|
|
|
///家族
|
|
|
|
|
CustomMessageType_Hall = 32,
|
2021-12-13 18:45:24 +08:00
|
|
|
|
///房间礼物值
|
|
|
|
|
CustomMessageType_Room_GiftValue = 42,
|
2022-04-26 21:45:40 +08:00
|
|
|
|
///公会超管
|
|
|
|
|
CustomMessageType_Hall_Super_Admin = 50,
|
2021-12-27 16:40:14 +08:00
|
|
|
|
///收藏房间
|
|
|
|
|
CustomMessageType_Collection_Room = 59,
|
2021-11-18 15:34:52 +08:00
|
|
|
|
///福袋消息
|
|
|
|
|
CustomMessageType_LuckyBag = 61,
|
2022-03-23 11:25:53 +08:00
|
|
|
|
///塔罗
|
|
|
|
|
CustomMessageType_Tarot = 71,
|
2022-01-05 21:48:21 +08:00
|
|
|
|
///相亲
|
|
|
|
|
CustomMessageType_RoomPlay_Dating = 72,
|
2021-12-23 20:08:13 +08:00
|
|
|
|
///首充奖励
|
|
|
|
|
CustomMessageType_First_Recharge_Reward = 76,
|
2022-01-26 15:51:19 +08:00
|
|
|
|
///访客记录
|
|
|
|
|
CustomMessageType_First_VisitorRecord = 78,
|
2022-01-11 14:38:55 +08:00
|
|
|
|
///跨房PK
|
|
|
|
|
CustomMessageType_Across_Room_PK = 83,
|
2022-01-07 17:43:26 +08:00
|
|
|
|
///贵族VIP
|
|
|
|
|
CustomMessageType_Noble_VIP = 85,
|
2022-02-14 20:23:26 +08:00
|
|
|
|
///个播房观众点击空坑位,房主收到请求上麦提示
|
2022-02-15 17:23:18 +08:00
|
|
|
|
CustomMessageType_AnchorRoom_AudienceUpMic = 86,
|
2022-04-28 16:53:54 +08:00
|
|
|
|
///技能卡
|
|
|
|
|
CustomMessageType_Skill_Card = 87,
|
2022-04-15 14:49:04 +08:00
|
|
|
|
///个播小时榜
|
|
|
|
|
CustomMessageType_Anchor_Hour_Rank = 89,
|
2022-04-07 21:13:19 +08:00
|
|
|
|
///个播粉丝团
|
|
|
|
|
CustomMessageType_Anchor_FansTeam = 90,
|
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-12-10 19:19:02 +08:00
|
|
|
|
///first = CustomMessageType_Account
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubAccount) {
|
|
|
|
|
//账户余额钻石变更
|
|
|
|
|
Custom_Message_Sub_Account_Changed = 51,
|
|
|
|
|
};
|
|
|
|
|
|
2022-04-19 18:08:12 +08:00
|
|
|
|
///first = CustomMessageType_Member_Online
|
|
|
|
|
typedef NS_ENUM(NSInteger, CustomMessageSubOnLine) {
|
|
|
|
|
///房主的主播上线了
|
|
|
|
|
Custom_Message_Type_Attention_Member_Online = 61
|
|
|
|
|
};
|
|
|
|
|
|
2021-11-26 21:47:00 +08:00
|
|
|
|
///first = CustomMessageType_Queue
|
|
|
|
|
typedef NS_ENUM(NSInteger, CustomMessageSubQueue) {
|
|
|
|
|
///邀请上麦
|
|
|
|
|
Custom_Message_Sub_Queue_Invite = 81,
|
|
|
|
|
///踢下麦
|
|
|
|
|
Custom_Message_Sub_Queue_Kick = 82,
|
|
|
|
|
};
|
|
|
|
|
|
2022-01-08 20:15:06 +08:00
|
|
|
|
//first = CustomMessageType_Face
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubFace) {
|
|
|
|
|
///发送
|
|
|
|
|
Custom_Message_Sub_Face_Send = 91,
|
|
|
|
|
};
|
|
|
|
|
|
2022-04-28 16:53:54 +08:00
|
|
|
|
///first == CustomMessageType_Tweet
|
|
|
|
|
typedef NS_ENUM(NSInteger, CustomMessageSubTweet) {
|
|
|
|
|
///推文的内容
|
|
|
|
|
Custom_Message_Sub_Tweet_News = 101,
|
|
|
|
|
};
|
|
|
|
|
|
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-12-16 20:22:01 +08:00
|
|
|
|
///first == CustomMessageType_Car_Notify
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubCar) {
|
|
|
|
|
Custom_Message_Sub_Car_EnterRoom = 159, //进房动画
|
|
|
|
|
};
|
|
|
|
|
|
2021-11-25 20:39:52 +08:00
|
|
|
|
///first = CustomMessageType_Kick_User
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomNotificationSubKick) {
|
|
|
|
|
///拉黑
|
|
|
|
|
Custom_Message_Sub_Kick_BlackList = 182,
|
|
|
|
|
///踢出房间
|
|
|
|
|
Custom_Message_Sub_Kick_BeKicked = 181,
|
2021-12-10 19:19:02 +08:00
|
|
|
|
};
|
|
|
|
|
|
2021-12-25 16:57:50 +08:00
|
|
|
|
|
2022-01-24 17:50:56 +08:00
|
|
|
|
///first = CustomMessageType_Secretary
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomNotificationSecretary) {
|
|
|
|
|
///跳转页面
|
|
|
|
|
Custom_Message_Sub_Secretary_Router = 191,
|
|
|
|
|
};
|
|
|
|
|
|
2021-12-25 16:57:50 +08:00
|
|
|
|
///first = CustomMessageType_Update_RoomInfo
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubUpdateRoomInfo) {
|
|
|
|
|
///动画开关状态更新
|
|
|
|
|
Custom_Message_Sub_Update_RoomInfo_AnimateEffect = 201,
|
|
|
|
|
///公屏开关更新
|
|
|
|
|
Custom_Message_Sub_Update_RoomInfo_MessageState = 203,
|
|
|
|
|
///通用公屏提示文案, 公屏纯文本展示消息 data[@"tip"]
|
|
|
|
|
Custom_Message_Sub_Update_RoomInfo_Notice = 204,
|
|
|
|
|
///红包开关通知
|
|
|
|
|
Custom_Message_Sub_Update_RoomInfo_RedPacket = 205,
|
2022-04-25 17:45:57 +08:00
|
|
|
|
///清空公屏
|
|
|
|
|
Custom_Message_Sub_Update_RoomInfo_CleanScreen = 206,
|
2021-12-25 16:57:50 +08:00
|
|
|
|
};
|
|
|
|
|
|
2022-04-19 18:08:12 +08:00
|
|
|
|
///first = CustomMessageType_Application_Share
|
|
|
|
|
typedef NS_ENUM(NSInteger, CustomMessageSubApplicationShare) {
|
|
|
|
|
///分享房间
|
|
|
|
|
Custom_Message_Sub_Application_Share_Room = 221,
|
|
|
|
|
};
|
|
|
|
|
|
2022-04-20 11:32:22 +08:00
|
|
|
|
///first = CustomMessageType_User_UpGrade
|
|
|
|
|
typedef NS_ENUM(NSInteger, CustomMessageSubUserUpgrade) {
|
|
|
|
|
///用户等级
|
|
|
|
|
Custom_Message_Sub_User_UpGrade_Exper = 241,
|
|
|
|
|
///魅力等级
|
|
|
|
|
Custom_Message_Sub_User_UpGrade_Charm = 242
|
|
|
|
|
};
|
|
|
|
|
|
2021-12-10 19:19:02 +08:00
|
|
|
|
///first = CustomMessageType_Candy_Tree
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubCandyTree) {
|
2021-12-10 21:20:34 +08:00
|
|
|
|
//.自己可见 一级礼物(最小)
|
|
|
|
|
Custom_Message_Sub_Candy_Tree_Me = 261,
|
|
|
|
|
///当前房间可见 二级礼物
|
|
|
|
|
Custom_Message_Sub_Candy_Tree_InRoom = 262,
|
|
|
|
|
///所有房间可见 三级礼物
|
|
|
|
|
Custom_Message_Sub_Candy_Tree_AllRoom = 263,
|
2022-03-11 16:53:55 +08:00
|
|
|
|
///所有房间可见+小秘书 四级礼物
|
2021-12-10 21:20:34 +08:00
|
|
|
|
Custom_Message_Sub_Candy_Tree_AllRoom_Notify = 264,
|
2022-03-11 16:53:55 +08:00
|
|
|
|
///五级礼物
|
2021-12-10 19:19:02 +08:00
|
|
|
|
Custom_Message_Sub_Candy_Tree_InRoom_NeedAllMicSend = 265,
|
|
|
|
|
//暴击的没用 不写了
|
|
|
|
|
};
|
2021-11-25 20:39:52 +08:00
|
|
|
|
|
2021-12-20 19:23:00 +08:00
|
|
|
|
///first = CustomMessageType_Arrange_Mic
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomNotiHeaderArrangeMic) {
|
|
|
|
|
///队列从无人排麦到有人排麦
|
|
|
|
|
Custom_Message_Sub_Arrange_Mic_Non_Empty= 301,
|
|
|
|
|
///队列从有人排麦到无人排麦
|
|
|
|
|
Custom_Message_Sub_Arrange_Mic_Empty= 302,
|
|
|
|
|
///开启排麦
|
|
|
|
|
Custom_Message_Sub_Arrange_Mic_Mode_Open= 303,
|
|
|
|
|
///关闭排麦
|
|
|
|
|
Custom_Message_Sub_Arrange_Mic_Mode_Close= 304,
|
|
|
|
|
///将坑位设置成自由麦
|
|
|
|
|
Custom_Message_Sub_Arrange_Mic_Free_Mic_Open= 305,
|
|
|
|
|
///将坑位设置为排麦
|
|
|
|
|
Custom_Message_Sub_Arrange_Mic_Free_Mic_Close= 306,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2022-04-18 22:36:16 +08:00
|
|
|
|
///first=CustomMessageType_Hall
|
|
|
|
|
typedef NS_ENUM(NSUInteger, Custom_Noti_Sub_HALL) {
|
|
|
|
|
///申请加入厅
|
|
|
|
|
Custom_Message_Sub_Hall_Apply_Join = 321,
|
|
|
|
|
///管理邀请入厅
|
|
|
|
|
Custom_Message_Sub_Hall_Manager_Invite = 322,
|
|
|
|
|
///申请退出厅
|
|
|
|
|
Custom_Message_Sub_Hall_Apply_Exit = 323,
|
|
|
|
|
///模厅普通通知
|
|
|
|
|
Custom_Message_Sub_Hall_Notice = 324,
|
|
|
|
|
///设置为模厅
|
|
|
|
|
Custom_Message_Sub_Hall_Become_Hall = 325,
|
|
|
|
|
};
|
|
|
|
|
|
2021-12-13 18:45:24 +08:00
|
|
|
|
///first = CustomMessageType_Room_GiftValue
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubRoomGiftValue) {
|
|
|
|
|
///礼物值同步
|
|
|
|
|
Custom_Message_Sub_Room_GiftValue_Sync = 421
|
|
|
|
|
};
|
|
|
|
|
|
2022-04-26 21:45:40 +08:00
|
|
|
|
///first = CustomMessageType_Hall_Super_Admin
|
|
|
|
|
typedef NS_ENUM(NSInteger, CustomMessageSubHallSuperAdmin) {
|
|
|
|
|
///超管解除陪伴房的进房限制
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Remove_CP_Room_Limit = 501,
|
|
|
|
|
///超管解除多人房的房间密码
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Remove_Room_Pwd = 502,
|
|
|
|
|
///锁麦
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Lock_Mic = 503,
|
|
|
|
|
///闭麦
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Mute_Mic = 504,
|
|
|
|
|
///踢人下麦
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Kick_Down_Mic = 505,
|
|
|
|
|
///拉黑
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Mark_Black = 506,
|
|
|
|
|
///踢出房间
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Kick_Out_Room = 507,
|
|
|
|
|
///踢管理员出房间
|
|
|
|
|
Custom_Message_Sub_Hall_Super_Admin_Kick_Manager_Out_Room = 508,
|
|
|
|
|
};
|
2021-12-27 16:40:14 +08:00
|
|
|
|
|
|
|
|
|
///first = CustomMessageType_Collection_Room
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubCollectRoom) {
|
2021-11-18 15:34:52 +08:00
|
|
|
|
/// 福袋礼物房间飘屏通知
|
|
|
|
|
Custom_Message_Sub_Room_Gift_LuckBag= 610,
|
|
|
|
|
/// 福袋礼物全服飘屏通知
|
|
|
|
|
Custom_Message_Sub_Room_Gift_LuckBag_Server = 611,
|
|
|
|
|
};
|
|
|
|
|
|
2021-12-23 20:08:13 +08:00
|
|
|
|
|
2022-01-24 17:50:56 +08:00
|
|
|
|
///跳转类型
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageRouter) {
|
|
|
|
|
/// 跳转H5
|
|
|
|
|
Custom_Message_Router_H5 = 2,
|
|
|
|
|
};
|
2021-11-16 19:56:37 +08:00
|
|
|
|
|
2021-12-27 16:40:14 +08:00
|
|
|
|
///first = CustomMessageType_LuckyBag
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubLuckyBag) {
|
|
|
|
|
///收藏房间公屏提示消息
|
|
|
|
|
Custom_Message_Sub_Collect_Room_Tips = 591,
|
|
|
|
|
/// 提醒用户收藏房间
|
|
|
|
|
Custom_Message_Sub_Collect_Room_Remind_User = 592,
|
|
|
|
|
};
|
|
|
|
|
|
2022-03-23 11:25:53 +08:00
|
|
|
|
///CustomMessageType_Tarot
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubTarot) {
|
|
|
|
|
/// 塔罗中奖消息
|
|
|
|
|
Custom_Message_Sub_Tarot = 711,
|
|
|
|
|
};
|
2022-01-05 21:48:21 +08:00
|
|
|
|
|
|
|
|
|
///CustomMessageType_RoomPlay_Dating
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubRoomPlayDating){
|
|
|
|
|
///选择心动用户
|
|
|
|
|
Custom_Message_Sub_Room_Play_Dating_Pick_Heart= 721,
|
|
|
|
|
///公布结果
|
|
|
|
|
Custom_Message_Sub_Room_Play_Dating_Public_Result = 722,
|
|
|
|
|
///选择了对象 但不是互选 客户端收到结果之后自动加到 公屏上
|
|
|
|
|
Custom_Message_Sub_Room_Play_Dating_Result_Not_Mutual = 723,
|
|
|
|
|
///互选的 客户端收到结果之后自动加到 公屏上
|
|
|
|
|
Custom_Message_Sub_Room_Play_Dating_Result_Mutual = 724,
|
|
|
|
|
};
|
|
|
|
|
|
2021-12-23 20:08:13 +08:00
|
|
|
|
///first = CustomMessageType_First_Recharge_Reward
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubFirstRecharge) {
|
|
|
|
|
/// 首充完成
|
|
|
|
|
Custom_Message_Sub_Room_First_Recharge_Reward= 761,
|
|
|
|
|
};
|
|
|
|
|
|
2022-01-11 14:38:55 +08:00
|
|
|
|
/// 访客记录
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubVisitorRecord) {
|
|
|
|
|
/// 访客记录
|
|
|
|
|
Custom_Message_Sub_Visitor_Record = 781,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
///first = CustomMessageType_Across_Room_PK
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubAcrossRoomPK) {
|
|
|
|
|
/// 收到跨房PK邀请
|
|
|
|
|
Custom_Message_Sub_AcrossRoomPK_Invite = 831,
|
|
|
|
|
/// 拒绝跨房PK
|
|
|
|
|
Custom_Message_Sub_AcrossRoomPK_Reject = 832,
|
|
|
|
|
/// 接受跨房PK
|
|
|
|
|
Custom_Message_Sub_AcrossRoomPK_Accept = 833,
|
|
|
|
|
/// 面板消息
|
|
|
|
|
Custom_Message_Sub_AcrossRoomPK_Panel = 834,
|
|
|
|
|
/// 跨房PK结束通知
|
|
|
|
|
Custom_Message_Sub_AcrossRoomPK_End = 835,
|
|
|
|
|
/// 跨房PK结束飘屏
|
|
|
|
|
Custom_Message_Sub_AcrossRoomPK_Result = 836,
|
2022-04-11 19:11:34 +08:00
|
|
|
|
|
|
|
|
|
///收到个播PK邀请
|
|
|
|
|
Custom_Message_Sub_AnchorPK_Invite = 837,
|
|
|
|
|
///拒绝个播pk
|
|
|
|
|
Custom_Message_Sub_AnchorPK_Reject = 838,
|
|
|
|
|
///接收个播PK
|
|
|
|
|
Custom_Message_Sub_AnchorPK_Accept = 839,
|
|
|
|
|
///个播PK面板消息
|
|
|
|
|
Custom_Message_Sub_AnchorPK_Panel = 8310,
|
2022-04-12 18:16:18 +08:00
|
|
|
|
///个播PK结束通知(收到后进入惩罚阶段)
|
2022-04-11 19:11:34 +08:00
|
|
|
|
Custom_Message_Sub_AnchorPK_End = 8311,
|
|
|
|
|
///个播PK结束飘屏
|
|
|
|
|
Custom_Message_Sub_AnchorPK_Result = 8312,
|
2022-04-12 18:16:18 +08:00
|
|
|
|
///个播PK完成
|
|
|
|
|
Custom_Message_Sub_AnchorPK_Finish = 8313,
|
2022-01-11 14:38:55 +08:00
|
|
|
|
};
|
|
|
|
|
|
2022-01-07 17:43:26 +08:00
|
|
|
|
///first = CustomMessageType_Noble_VIP
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageSubNobleVIP) {
|
2022-01-10 19:59:58 +08:00
|
|
|
|
/// 开通贵族房内消息(公屏显示)
|
2022-01-07 17:43:26 +08:00
|
|
|
|
Custom_Message_Sub_Room_Open_Noble_VIP = 851,
|
2022-01-17 16:20:48 +08:00
|
|
|
|
/// 开通贵族成功通知消息
|
2022-01-07 17:43:26 +08:00
|
|
|
|
Custom_Message_Sub_Open_Noble_Success = 852,
|
2022-01-10 19:59:58 +08:00
|
|
|
|
/// 贵族升级房内消息(公屏显示)
|
2022-01-07 17:43:26 +08:00
|
|
|
|
Custom_Message_Sub_Room_Noble_LevelUp = 853,
|
2022-01-10 19:59:58 +08:00
|
|
|
|
/// 贵族升级用户通知消息(弹窗)
|
2022-01-07 17:43:26 +08:00
|
|
|
|
Custom_Message_Sub_Noble_LevelUp_User = 854,
|
|
|
|
|
/// 贵族升级全服飘屏通知消息
|
|
|
|
|
Custom_Message_Sub_Room_Noble_LevelUp_Suspend = 855,
|
|
|
|
|
/// 贵族升级全服房间公屏通知消息
|
|
|
|
|
Custom_Message_Sub_AllRoom_Noble_LevelUp_Suspend = 856,
|
2022-03-16 11:48:00 +08:00
|
|
|
|
/// 贵族小喇叭房间消息
|
|
|
|
|
Custom_Message_Sub_Room_Trumpet = 857,
|
|
|
|
|
|
2022-01-07 17:43:26 +08:00
|
|
|
|
};
|
|
|
|
|
|
2022-04-15 14:49:04 +08:00
|
|
|
|
///first = CustomMessageType_Anchor_Hour_Rank
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageAnchorHourRank) {
|
|
|
|
|
///个播小时榜
|
|
|
|
|
Custom_Message_Sub_Anchor_Hour_Rank = 891,
|
|
|
|
|
};
|
|
|
|
|
|
2022-04-07 21:13:19 +08:00
|
|
|
|
///first = CustomMessageType_Anchor_FansTeam
|
|
|
|
|
typedef NS_ENUM(NSUInteger, CustomMessageAnchorFansTeam) {
|
|
|
|
|
///开通粉丝团成功
|
|
|
|
|
Custom_Message_Sub_FansTeam_Open_Success = 901,
|
|
|
|
|
///开通粉丝团失败
|
|
|
|
|
Custom_Message_Sub_FansTeam_Open_Fail = 902,
|
|
|
|
|
///用户加入粉丝团成功
|
|
|
|
|
Custom_Message_Sub_FansTeam_Join_Success = 903,
|
2022-04-08 15:42:25 +08:00
|
|
|
|
///用户退出粉丝团成功
|
|
|
|
|
Custom_Message_Sub_FansTeam_Out_Success = 904,
|
2022-04-07 21:13:19 +08:00
|
|
|
|
};
|
|
|
|
|
|
2022-01-26 15:51:19 +08:00
|
|
|
|
|
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
|