Compare commits

...

2 Commits

7 changed files with 43 additions and 29 deletions

View File

@@ -176,7 +176,7 @@
self.pageView.currentPage = 0;
}
- (void)sendNewFaceCustomMessage:(ChatFaceVo *)vo {
- (void)sendVIPFaceCustomMessage:(ChatFaceVo *)vo {
NSMutableArray *faceRecieveInfos = [NSMutableArray array];
RoomFaceSendInfoModel *sendInfo = [[RoomFaceSendInfoModel alloc]init];
sendInfo.svgaURL = vo.faceUrl;
@@ -233,6 +233,7 @@
RoomFaceSendInfoModel *sendInfo = [[RoomFaceSendInfoModel alloc] init];
NSMutableArray *resultIndexs = [NSMutableArray array];
sendInfo.resultIndexes = [resultIndexs copy];
if (faceInfo.resultStartPos > 0 && faceInfo.resultEndPos > 0) {
int value;
if (faceInfo.canResultRepeat) { //
@@ -381,7 +382,7 @@
if (self.selectTitleItem.tabModel) {
ChatFaceVo *vo = [self.selectTitleItem.tabModel.faceNewVoList xpSafeObjectAtIndex:indexPath.row];
if (vo) {
[self sendNewFaceCustomMessage:vo];
[self sendVIPFaceCustomMessage:vo];
}
} else {
if (self.selectTitleItem.faceType == RoomFaceTitleItemType_Normal) {

View File

@@ -795,17 +795,6 @@ NSString * const kRoomShowTopicKey = @"kRoomShowTopicKey";
return NO;
}
// if (attachment.first == CustomMessageType_Face && attachment.second == Custom_Message_Sub_Face_Send) {
// if ([attachment.data[@"data"] isKindOfClass:[NSArray class]]) {
// NSArray * array = [RoomFaceSendInfoModel modelsWithArray:attachment.data[@"data"]];
// for (int i = 0; i< array.count; i++) {
// RoomFaceSendInfoModel * sendInfo = [array xpSafeObjectAtIndex:i];
// if (sendInfo.resultIndexes.count <=0) {
// return NO;
// }
// }
// }
// }
if (attachment.first == CustomMessageType_Room_PK && attachment.second == Custom_Message_Sub_Room_PK_Manager_Up_Mic) {
if (attachment.data && [attachment.data allKeys].count > 0) {
for (NSDictionary * dic in [attachment.data allValues]) {

View File

@@ -15,6 +15,10 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, copy) NSString *en;
@property (nonatomic, copy) NSString *ar;
@property (nonatomic, copy) NSString *tr;
@property (nonatomic, copy) NSString *uz;
@property (nonatomic, copy) NSString *es;
@property (nonatomic, copy) NSString *ru;
@property (nonatomic, copy) NSString *pt;
@end

View File

@@ -327,11 +327,31 @@
canAddGift = true;
[tempTitles addObject:tab.nameMap.tr];
}
} else if (isMSPT()) {
if ([tab.nameMap.pt length] > 0) {
canAddGift = true;
[tempTitles addObject:tab.nameMap.pt];
}
}else if (isMSES()) {
if ([tab.nameMap.es length] > 0) {
canAddGift = true;
[tempTitles addObject:tab.nameMap.es];
}
} else if (isMSRU()) {
if ([tab.nameMap.ru length] > 0) {
canAddGift = true;
[tempTitles addObject:tab.nameMap.ru];
}
} else if (isMSZH()) {
if ([tab.nameMap.zh length] > 0) {
canAddGift = true;
[tempTitles addObject:tab.nameMap.zh];
}
} else if (isMSUZ()) {
if ([tab.nameMap.uz length] > 0) {
canAddGift = true;
[tempTitles addObject:tab.nameMap.uz];
}
} else {
if ([tab.nameMap.en length] > 0) {
canAddGift = true;

View File

@@ -4240,11 +4240,11 @@ ineHeadView12" = "الحمل";
"20.20.62_text_9" = "تشغيل/إيقاف المؤثرات";
"20.20.62_text_9.1" = "وضع Turbo (السرعة الفائقة)";
"20.20.62_text_9.2" = "وضع عادي";
"20.20.62_text_10" = "Gift effects";
"20.20.62_text_11" = "Global gift screen";
"20.20.62_text_12" = "Global game screen";
"20.20.62_text_13" = "Turbo mode";
"20.20.62_text_14" = "我的特效";
"20.20.62_text_10" = "تأثيرات الهدايا";
"20.20.62_text_11" = "شاشة الهدايا العالمية";
"20.20.62_text_12" = "شاشة اللعبة العالمية";
"20.20.62_text_13" = "وضع التربو";
"20.20.62_text_14" = "التأثيرات";
"20.20.62_text_15.1" = "تمكين وضع Turbo يمكن أن يجعل التطبيق يعمل بسلاسة أكبر.\nوضع Turbo: يُوقف رسوميات الهدايا في الغرفة، البث داخل الغرفة، عروض CP، وعروض المؤثرات الأخرى.";
"20.20.62_text_15.2" = "لجعل التطبيق يعمل بسلاسة أكبر، تم التبديل تلقائيًا إلى وضع Turbo لك (وضع Turbo: يُوقف تلقائيًا مؤثرات الهدايا، مؤثرات غطاء الرأس، ويدمج رسائل الهدايا في الدردشة العامة). يمكنك إيقاف هذا الوضع في إعدادات الغرفة.";
"20.20.62_text_16" = "أنا أدرك";

View File

@@ -3321,11 +3321,11 @@
"20.20.62_text_9" = "Ativar/Desativar efeitos";
"20.20.62_text_9.1" = "Modo turbo";
"20.20.62_text_9.2" = "Modo normal";
"20.20.62_text_10" = "Gift effects";
"20.20.62_text_11" = "Global gift screen";
"20.20.62_text_12" = "Global game screen";
"20.20.62_text_13" = "Turbo mode";
"20.20.62_text_14" = "我的特效";
"20.20.62_text_10" = "Efeitos de presente";
"20.20.62_text_11" = "Tela de presente global";
"20.20.62_text_12" = "Tela de jogo global";
"20.20.62_text_13" = "Modo Turbo";
"20.20.62_text_14" = "Meus efeitos";
"20.20.62_text_15.1" = "Ativar o Modo turbo pode fazer com que o aplicativo funcione de forma mais suave.\nModo turbo: Desativa as animações de presentes na sala, transmissões na sala, exibições de CP e outros efeitos animados.";
"20.20.62_text_15.2" = "Para fazer o aplicativo funcionar de forma mais suave, mudou automaticamente para o Modo turbo para si (Modo turbo: Desativa automaticamente os efeitos de presentes, os efeitos de chapéu e funde as mensagens de presentes no chat público). Pode desativar este modo nas definições da sala.";
"20.20.62_text_16" = "Compreendo";

View File

@@ -3821,11 +3821,11 @@
"20.20.62_text_9" = "Efektleri Aç/Kapat";
"20.20.62_text_9.1" = "Turbo mod";
"20.20.62_text_9.2" = "Normal mod";
"20.20.62_text_10" = "Gift effects";
"20.20.62_text_11" = "Global gift screen";
"20.20.62_text_12" = "Global game screen";
"20.20.62_text_13" = "Turbo mode";
"20.20.62_text_14" = "我的特效";
"20.20.62_text_10" = "Hediye efektleri";
"20.20.62_text_11" = "Genel hediye ekranı";
"20.20.62_text_12" = "Genel oyun ekranı";
"20.20.62_text_13" = "Turbo modu";
"20.20.62_text_14" = "Benim etkilerim";
"20.20.62_text_15.1" = "Turbo modu etkinleştirmek, uygulamanın daha sorunsuz çalışmasını sağlayabilir.\nTurbo mod: Oda hediye animasyonlarını, odadaki yayınları, CP görüntülerini ve diğer animasyonlu efektleri kapatır.";
"20.20.62_text_15.2" = "Uygulamanın daha sorunsuz çalışması için sizin için otomatik olarak Turbo moda geçildi (Turbo mod: Hediye animasyonlarını, başlık efektlerini otomatik olarak kapatır ve genel sohbetteki hediye mesajlarını birleştirir). Bu modu oda ayarlarından kapatabilirsiniz.";
"20.20.62_text_16" = "Anladım";