Compare commits
2 Commits
appstore_p
...
appstore_2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8c03f15dff | ||
![]() |
cb80898c95 |
@@ -46,7 +46,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
//是否为周榜top1
|
//是否为周榜top1
|
||||||
@property(nonatomic,assign) BOOL isWeekTop1;
|
@property(nonatomic,assign) BOOL isWeekTop1;
|
||||||
@property(nonatomic,copy) NSString *inRoomUid;
|
@property(nonatomic,copy) NSString *inRoomUid;
|
||||||
|
|
||||||
//是否在麦位
|
//是否在麦位
|
||||||
@property(nonatomic,assign) BOOL inMic;
|
@property(nonatomic,assign) BOOL inMic;
|
||||||
///是否在线
|
///是否在线
|
||||||
|
@@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@interface XPNewHomePartyTableViewCell : UITableViewCell
|
@interface XPNewHomePartyTableViewCell : UITableViewCell
|
||||||
|
|
||||||
@property (nonatomic,strong) HomePlayRoomModel *roomInfo;
|
@property (nonatomic,strong) HomePlayRoomModel *roomInfo;
|
||||||
@property (nonatomic,strong) HomeRecommendRoomModel *roomInfo1;
|
|
||||||
@property(nonatomic,weak) id<XPNewHomePartyTableViewCellDelegate>delegate;
|
@property(nonatomic,weak) id<XPNewHomePartyTableViewCellDelegate>delegate;
|
||||||
///声音卡时,svga是否播放动画
|
///声音卡时,svga是否播放动画
|
||||||
-(void)setPlaySoundStatus:(BOOL)isPlay;
|
-(void)setPlaySoundStatus:(BOOL)isPlay;
|
||||||
|
@@ -243,15 +243,8 @@
|
|||||||
-(void)setPlaySoundTime:(NSInteger)time{
|
-(void)setPlaySoundTime:(NSInteger)time{
|
||||||
_audioView.voiceDura = @(time).stringValue;
|
_audioView.voiceDura = @(time).stringValue;
|
||||||
}
|
}
|
||||||
- (void)setRoomInfo1:(HomeRecommendRoomModel *)roomInfo1 {
|
|
||||||
_roomInfo1 = roomInfo1;
|
|
||||||
if (_roomInfo1) {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
-(void)didSelectItemAction{
|
-(void)didSelectItemAction{
|
||||||
|
|
||||||
if(self.delegate && [self.delegate respondsToSelector:@selector(xPNewHomePartyTableViewCell:didSelectItem:)]){
|
if(self.delegate && [self.delegate respondsToSelector:@selector(xPNewHomePartyTableViewCell:didSelectItem:)]){
|
||||||
|
@@ -431,6 +431,7 @@ UIKIT_EXTERN NSString * const kShieldingNotification;
|
|||||||
-(void)xPNewHomePartyTableViewCell:(XPNewHomePartyTableViewCell *_Nullable)cell didSelectChat:(HomePlayRoomModel *_Nonnull)roomModel{
|
-(void)xPNewHomePartyTableViewCell:(XPNewHomePartyTableViewCell *_Nullable)cell didSelectChat:(HomePlayRoomModel *_Nonnull)roomModel{
|
||||||
if(roomModel.inMic == YES){
|
if(roomModel.inMic == YES){
|
||||||
[XPRoomViewController openRoom:roomModel.inRoomUid fromNick:roomModel.nick fromType:UserEnterRoomFromType_Follow_User fromUid:roomModel.uid viewController:self];
|
[XPRoomViewController openRoom:roomModel.inRoomUid fromNick:roomModel.nick fromType:UserEnterRoomFromType_Follow_User fromUid:roomModel.uid viewController:self];
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -104,9 +104,6 @@
|
|||||||
#else
|
#else
|
||||||
isTestEnv = NO;
|
isTestEnv = NO;
|
||||||
#endif
|
#endif
|
||||||
if(isEnterprise == NO){
|
|
||||||
[[SudMGP getCfg]setBackgroundMode:NO];
|
|
||||||
}
|
|
||||||
[SudMGP initSDK:KeyWithType(KeyType_SudGameAppID) appKey:KeyWithType(KeyType_SudGameAppKey) isTestEnv:isTestEnv listener:^(int retCode, const NSString *retMsg) {
|
[SudMGP initSDK:KeyWithType(KeyType_SudGameAppID) appKey:KeyWithType(KeyType_SudGameAppKey) isTestEnv:isTestEnv listener:^(int retCode, const NSString *retMsg) {
|
||||||
if (retCode == 0) {
|
if (retCode == 0) {
|
||||||
if (!self.currentmgId) {
|
if (!self.currentmgId) {
|
||||||
|
Reference in New Issue
Block a user