神王修改

tcx_xiyou_zeroOne_dev
wangzhenxing 2024-08-08 21:57:25 +08:00
parent 97081194d5
commit e8330b5b14
4 changed files with 938 additions and 75 deletions

File diff suppressed because it is too large Load Diff

View File

@ -513,7 +513,7 @@ PanelType = {
LingMai = {14,16,1273},--御剑行
tiandihonglu = {16,1287,1289},
fagncunxunbao = {16,1288,1290},
HomeLand = {14,12061,12062,1297},
HomeLand = {1012,1013},
ExploreFun = { 14, 16, 12061 }, -- 体力 2
GodPrint = { 14, 16, 1294 }, -- 天书
GodWeapon={14, 16,22301}, --神兵

View File

@ -597,8 +597,13 @@ function this:BindEvent()
this.ScenceBtnClick(FUNCTION_OPEN_TYPE.ARENA)
end)
Util.AddClick(this.btnHomeLand, function()
JumpManager.GoJump(40059)
this.ScenceBtnClick(FUNCTION_OPEN_TYPE.HOMELAND)
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.TrainBuild) then
JumpManager.GoJump(40059)
this.ScenceBtnClick(FUNCTION_OPEN_TYPE.TrainBuild)
else
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.TrainBuild))
end
-- if (ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.TrainBuild)) then
-- NetManager.TrainingArchitectureInfoRequest(function()
-- UIManager.OpenPanel(UIName.TrainBuildPanel)
@ -1445,6 +1450,7 @@ function this:OnShow()
CheckRedPointStatus(RedPointType.song10Wan)
CheckRedPointStatus(RedPointType.ImGM)
CheckRedPointStatus(RedPointType.Operating)
CheckRedPointStatus(RedPointType.HomeLand)
if addUpDateNum <= 0 then
FixedUpdateBeat:Add(this.OnUpdate, self)--长按方法注册
addUpDateNum = addUpDateNum + 1

View File

@ -704,7 +704,7 @@ function this.RegisterRedCheckFunc()
RPData:AddCheckFunc(RedPointType.chaozhifanli6,DynamicActivityManager.CheckRedPointPremiumSingle)
RPData:AddCheckFunc(RedPointType.chaozhifanli30,DynamicActivityManager.CheckRedPointPremiumSingle)
--家园
RPData:AddCheckFunc(RedPointType.HomeLand,TrainBuildManager.CheckRedMain)
RPData:AddCheckFunc(RedPointType.HomeLand,HomeLandManager.CheckRedMain)
RPData:AddCheckFunc(RedPointType.FestevalRed,ActivityGiftManager.FestevalRedCheck)
RPData:AddCheckFunc(RedPointType.EightLoginReward,ActivityGiftManager.CheckLoginRewardRedPoint)
--超值基金