音效修改 加 公会副本接不可扫荡推送
parent
cbb0a8462c
commit
b3898fe07a
|
|
@ -94,4 +94,5 @@ SoundConfig = {
|
||||||
Sound_tgxb_pq ="UI_tgxb_pq",
|
Sound_tgxb_pq ="UI_tgxb_pq",
|
||||||
Sound_dntg_qj ="UI_dntg_qj",
|
Sound_dntg_qj ="UI_dntg_qj",
|
||||||
Sound_dntg_cy ="UI_dntg_cy",
|
Sound_dntg_cy ="UI_dntg_cy",
|
||||||
|
Sound_all_switch ="UI_all_switch",
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -66,6 +66,8 @@ function BagPanel:BindEvent()
|
||||||
for i = 0, 7 do
|
for i = 0, 7 do
|
||||||
Util.AddClick(tabs1[i], function()
|
Util.AddClick(tabs1[i], function()
|
||||||
if this.isFristOpen == false then
|
if this.isFristOpen == false then
|
||||||
|
-- 音效
|
||||||
|
SoundManager.PlaySound(SoundConfig.Sound_all_switch)
|
||||||
if i == sortIndex then
|
if i == sortIndex then
|
||||||
sortIndex = 0
|
sortIndex = 0
|
||||||
this:OnClickAllBtn()
|
this:OnClickAllBtn()
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ function ExpeditionMainPanel:BindEvent()
|
||||||
self:RefreshManagerData()
|
self:RefreshManagerData()
|
||||||
end
|
end
|
||||||
-- 音效
|
-- 音效
|
||||||
SoundManager.PlaySound(SoundConfig.UI_dntg_cy)
|
SoundManager.PlaySound(SoundConfig.Sound_dntg_cy)
|
||||||
--LogGreen("ExpeditionManager.expeditionLeve "..ExpeditionManager.expeditionLeve)
|
--LogGreen("ExpeditionManager.expeditionLeve "..ExpeditionManager.expeditionLeve)
|
||||||
end)
|
end)
|
||||||
Util.AddClick(self.UI_Effect_ChuanSongMen_JinSeBtn, function()
|
Util.AddClick(self.UI_Effect_ChuanSongMen_JinSeBtn, function()
|
||||||
|
|
|
||||||
|
|
@ -150,6 +150,10 @@ function this.GetRedPointState()
|
||||||
if PlayerManager.familyId == 0 then return false end
|
if PlayerManager.familyId == 0 then return false end
|
||||||
return PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM) > 0
|
return PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM) > 0
|
||||||
end
|
end
|
||||||
|
function this.GuildChallengeFiveIndication()
|
||||||
|
canSweep = 0
|
||||||
|
Game.GlobalEvent:DispatchEvent(GameEvent.Guild.RefreshGuildTranscript)
|
||||||
|
end
|
||||||
function this.GetCurBoss()
|
function this.GetCurBoss()
|
||||||
return curBoss
|
return curBoss
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,8 @@ function this.RegisterMessage(network)
|
||||||
socket:RegistNetMessage(MessageTypeProto_pb.GUILD_CHALLENGE_INDICATION, this.GuildTranscriptIndication)
|
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_BUY_BUFF_INDICATION, this.GuildChallengeBuyBuffIndication)
|
||||||
|
--公户副本推送
|
||||||
|
socket:RegistNetMessage(MessageTypeProto_pb.GUILD_CHALLENGE_FIVE_INDICATION, this.GuildChallengeFiveIndication)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -784,5 +786,9 @@ function this.GuildChallengeBuyBuffIndication(buffer)
|
||||||
-- LogGreen("%%%%%%%%%%%msg.buffCount: "..msg.buffCount.." msg.buffTime: "..msg.buffTime)
|
-- LogGreen("%%%%%%%%%%%msg.buffCount: "..msg.buffCount.." msg.buffTime: "..msg.buffTime)
|
||||||
GuildTranscriptManager.RefreshGuildTranscriptBuffInfo(msg)
|
GuildTranscriptManager.RefreshGuildTranscriptBuffInfo(msg)
|
||||||
end
|
end
|
||||||
|
function this.GuildChallengeFiveIndication(buffer)
|
||||||
|
LogGreen("%%%%%%%%%%% 天宫副本五点推送更新是否可扫荡 ")
|
||||||
|
GuildTranscriptManager.GuildChallengeFiveIndication()
|
||||||
|
end
|
||||||
|
|
||||||
return this
|
return this
|
||||||
Loading…
Reference in New Issue