世界入场排名音频规则调整

This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-29 02:32:47 +08:00
parent 69cdc06d98
commit a1da8cacf3

View File

@ -47,34 +47,34 @@ namespace GameLogic
if (giftItemData.m_RankNum == 1) if (giftItemData.m_RankNum == 1)
{ {
videoName = "Rank1"; videoName = "Rank1";
GameModule.Audio.Play(TEngine.AudioType.UISound, "01"); GameModule.Audio.Play(TEngine.AudioType.UISound, "SJ01");
} }
else if (giftItemData.m_RankNum == 2) else if (giftItemData.m_RankNum == 2)
{ {
videoName = "Rank2"; videoName = "Rank2";
GameModule.Audio.Play(TEngine.AudioType.UISound, "02"); GameModule.Audio.Play(TEngine.AudioType.UISound, "SJ02");
} }
else if (giftItemData.m_RankNum == 3) else if (giftItemData.m_RankNum == 3)
{ {
videoName = "Rank3"; videoName = "Rank3";
GameModule.Audio.Play(TEngine.AudioType.UISound, "03"); GameModule.Audio.Play(TEngine.AudioType.UISound, "SJ03");
} }
else if (giftItemData.m_RankNum > 3 && giftItemData.m_RankNum <= 10) else if (giftItemData.m_RankNum > 3 && giftItemData.m_RankNum <= 10)
{ {
videoName = "Rank4"; videoName = "Rank4";
GameModule.Audio.Play(TEngine.AudioType.UISound, "04"); GameModule.Audio.Play(TEngine.AudioType.UISound, "SJ04");
} }
else if (giftItemData.m_RankNum > 10 && giftItemData.m_RankNum <= 50) else if (giftItemData.m_RankNum > 10 && giftItemData.m_RankNum <= 100)
{ {
videoName = "Rank5"; videoName = "Rank5";
GameModule.Audio.Play(TEngine.AudioType.UISound, "05"); GameModule.Audio.Play(TEngine.AudioType.UISound, "SJ05");
}
else if (giftItemData.m_RankNum > 50 && giftItemData.m_RankNum <= 100)
{
videoName = "Rank6";
GameModule.Audio.Play(TEngine.AudioType.UISound, "06");
} }
//else if (giftItemData.m_RankNum > 50 && giftItemData.m_RankNum <= 100)
//{
// videoName = "Rank6";
// GameModule.Audio.Play(TEngine.AudioType.UISound, "06");
//}
else else
{ {
GameModule.UI.CloseUI<UIVipItem_Old>(); GameModule.UI.CloseUI<UIVipItem_Old>();