// // AttachmentModel.h // xplan-ios // // Created by 冯硕 on 2021/11/16. // #import #import NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, CustomMessageType) { ///房间提示 CustomMessageType_Room_Tip = 2, ///送礼物的接口 CustomMessageType_Gift = 3, ///账户更新 CustomMessageType_Account = 5, ///队列操作 CustomMessageType_Queue = 8, ///全麦送 CustomMessageType_AllMicroSend = 12, ///踢出房间 CustomMessageType_Kick_User = 18, ///糖果树 CustomMessageType_Candy_Tree = 26, ///房间礼物值 CustomMessageType_Room_GiftValue = 42, ///福袋消息 CustomMessageType_LuckyBag = 61, }; ///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 typedef NS_ENUM(NSUInteger, CustomMessageSubGift) { ///发送礼物 Custom_Message_Sub_Gift_Send = 31, ///全服发送礼物 Custom_Message_Sub_Gift_ChannelNotify = 32, ///发送 福袋 礼物 Custom_Message_Sub_Gift_LuckySend = 34, }; ///first = CustomMessageType_Account typedef NS_ENUM(NSUInteger, CustomMessageSubAccount) { //账户余额钻石变更 Custom_Message_Sub_Account_Changed = 51, }; ///first = CustomMessageType_Queue typedef NS_ENUM(NSInteger, CustomMessageSubQueue) { ///邀请上麦 Custom_Message_Sub_Queue_Invite = 81, ///踢下麦 Custom_Message_Sub_Queue_Kick = 82, }; ///first = CustomMessageType_ALLMicroSend typedef NS_ENUM(NSUInteger, CustomMessageSubAllMicroSend) { ///全麦送礼物 Custom_Message_Sub_AllMicroSend = 121, ///非全麦 多人送礼 Custom_Message_Sub_AllBatchSend = 123, ///非全麦 多人送福袋礼物 Custom_Message_Sub_AllBatchMicroLuckySend = 124, ///全麦送 福袋 礼物 122老版本占用了 Custom_Message_Sub_AllMicroLuckySend = 125, }; ///first = CustomMessageType_Kick_User typedef NS_ENUM(NSUInteger, CustomNotificationSubKick) { ///拉黑 Custom_Message_Sub_Kick_BlackList = 182, ///踢出房间 Custom_Message_Sub_Kick_BeKicked = 181, }; ///first = CustomMessageType_Candy_Tree typedef NS_ENUM(NSUInteger, CustomMessageSubCandyTree) { //.自己可见 一级礼物(最小) Custom_Message_Sub_Candy_Tree_Me = 261, ///当前房间可见 二级礼物 Custom_Message_Sub_Candy_Tree_InRoom = 262, ///所有房间可见 三级礼物 Custom_Message_Sub_Candy_Tree_AllRoom = 263, ///所有房间可见+小秘书 四级礼物(最大) Custom_Message_Sub_Candy_Tree_AllRoom_Notify = 264, ///开箱子开到全麦送 (服务端发) Custom_Message_Sub_Candy_Tree_InRoom_NeedAllMicSend = 265, //暴击的没用 不写了 }; ///first = CustomMessageType_Room_GiftValue typedef NS_ENUM(NSUInteger, CustomMessageSubRoomGiftValue) { ///礼物值同步 Custom_Message_Sub_Room_GiftValue_Sync = 421 }; ///first = CustomMessageType_LuckyBag typedef NS_ENUM(NSUInteger, CustomMessageSubLuckyBag) { /// 福袋礼物房间飘屏通知 Custom_Message_Sub_Room_Gift_LuckBag= 610, /// 福袋礼物全服飘屏通知 Custom_Message_Sub_Room_Gift_LuckBag_Server = 611, }; @interface AttachmentModel : NSObject @property (nonatomic,assign) int first; @property (nonatomic,assign) int second; @property (nonatomic, strong) id data; @end NS_ASSUME_NONNULL_END