Finish all works!

This commit is contained in:
edwinQQQ
2025-02-28 19:04:09 +08:00
parent 8a1ed09905
commit 7807824a97
183 changed files with 9153 additions and 3938 deletions

View File

@@ -134,6 +134,11 @@ typedef NS_ENUM(NSUInteger, RoomSendGiftType) {
@property(nonatomic, assign) NSInteger showAvatarType; // 是否需要塞头像0-否1-送礼者2-收礼者3-左送右收
@property(nonatomic, assign) NSInteger notifyFull; // 该礼物动画是否全房间播放
@property(nonatomic, assign) NSInteger luckyPackageCount; // 用于记录发礼物红包时的数量
/// 排序
@property (nonatomic, assign) NSInteger seqNo;
@end
@interface GiftPanelTabModel : PIBaseModel

View File

@@ -10,6 +10,29 @@
@implementation GiftInfoModel
MJCodingImplementation
- (BOOL)isEqual:(id)other
{
if (other == self) {
return YES;
}
if (![other isKindOfClass:[GiftInfoModel class]]) {
return NO;
}
if ([(GiftInfoModel *)other giftId] == self.giftId) {
return YES;
} else {
return NO;
}
}
- (NSUInteger)hash
{
return [@(self.giftId) hash];
}
@end
@implementation GiftPanelTabModel
@@ -38,5 +61,4 @@ MJCodingImplementation
return GiftType_Game;
}
@end