音效修改 加 公会副本接不可扫荡推送

zhangqiang 2020-09-14 13:54:45 +08:00
parent cbb0a8462c
commit b3898fe07a
6 changed files with 338 additions and 320 deletions

View File

@ -94,4 +94,5 @@ SoundConfig = {
Sound_tgxb_pq ="UI_tgxb_pq",
Sound_dntg_qj ="UI_dntg_qj",
Sound_dntg_cy ="UI_dntg_cy",
Sound_all_switch ="UI_all_switch",
}

File diff suppressed because one or more lines are too long

View File

@ -66,6 +66,8 @@ function BagPanel:BindEvent()
for i = 0, 7 do
Util.AddClick(tabs1[i], function()
if this.isFristOpen == false then
-- 音效
SoundManager.PlaySound(SoundConfig.Sound_all_switch)
if i == sortIndex then
sortIndex = 0
this:OnClickAllBtn()

View File

@ -122,7 +122,7 @@ function ExpeditionMainPanel:BindEvent()
self:RefreshManagerData()
end
-- 音效
SoundManager.PlaySound(SoundConfig.UI_dntg_cy)
SoundManager.PlaySound(SoundConfig.Sound_dntg_cy)
--LogGreen("ExpeditionManager.expeditionLeve "..ExpeditionManager.expeditionLeve)
end)
Util.AddClick(self.UI_Effect_ChuanSongMen_JinSeBtn, function()

View File

@ -150,6 +150,10 @@ function this.GetRedPointState()
if PlayerManager.familyId == 0 then return false end
return PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM) > 0
end
function this.GuildChallengeFiveIndication()
canSweep = 0
Game.GlobalEvent:DispatchEvent(GameEvent.Guild.RefreshGuildTranscript)
end
function this.GetCurBoss()
return curBoss
end

View File

@ -114,6 +114,8 @@ function this.RegisterMessage(network)
socket:RegistNetMessage(MessageTypeProto_pb.GUILD_CHALLENGE_INDICATION, this.GuildTranscriptIndication)
--公户副本推送
socket:RegistNetMessage(MessageTypeProto_pb.GUILD_CHALLENGE_BUY_BUFF_INDICATION, this.GuildChallengeBuyBuffIndication)
--公户副本推送
socket:RegistNetMessage(MessageTypeProto_pb.GUILD_CHALLENGE_FIVE_INDICATION, this.GuildChallengeFiveIndication)
end
@ -784,5 +786,9 @@ function this.GuildChallengeBuyBuffIndication(buffer)
-- LogGreen("%%%%%%%%%%%msg.buffCount: "..msg.buffCount.." msg.buffTime: "..msg.buffTime)
GuildTranscriptManager.RefreshGuildTranscriptBuffInfo(msg)
end
function this.GuildChallengeFiveIndication(buffer)
LogGreen("%%%%%%%%%%% 天宫副本五点推送更新是否可扫荡 ")
GuildTranscriptManager.GuildChallengeFiveIndication()
end
return this