【寻宝迷踪】开坑
parent
a8e7641ca7
commit
28b794eea2
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e3ae03fc67185cb46b05d4889cf00b5d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4de0eb56cdda9af448465fa367f813d6
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1232,15 +1232,16 @@ ActivityTypeDef = {
|
|||
--主题活动
|
||||
ShengXingYouLi=50,--升星有礼(指定猎妖师进阶)
|
||||
Celebration = 60,--主题活动 社稷大典
|
||||
ShenYiTianJiang = 71, --神衣天降
|
||||
-- ShenYiTianJiang = 71, --神衣天降
|
||||
LingShouBaoGe = 100,--灵兽宝阁
|
||||
LingShowTeHui = 101, --灵兽特惠
|
||||
XinJiangLaiXi = 200,--新将来袭
|
||||
XunBaoMiZong = 71, --寻宝迷踪
|
||||
|
||||
--主题活动
|
||||
FindFairy=43,--限时招募
|
||||
QianKunBox = 44,--乾坤宝囊
|
||||
DynamicAct_recharge = 58,--主题活动累充(现:万向)
|
||||
DynamicAct_recharge = 58,--主题活动累充
|
||||
DynamicAct = 20000,--主题活动任务
|
||||
DynamicAct_TimeLimitShop = 20001,--主题活动限时商市
|
||||
DynamicAct_Treasure = 20002,--主题活动珍奇宝阁
|
||||
|
|
|
@ -399,6 +399,7 @@ UIName = {
|
|||
CarbonsPanel = 404, --副本界面
|
||||
RecruitMainPanel = 405,
|
||||
FightLevelTrialPanel = 400,--山河试炼
|
||||
XunBaoMiZongPanel = 406, --寻宝迷踪
|
||||
}
|
||||
|
||||
SubUIConfig = {
|
||||
|
@ -468,4 +469,5 @@ SubUIConfig = {
|
|||
[29] = {name = "page15",assetName = "page15",script = "Modules/DynamicActivity/ShengXingYouLi"},--升星有礼
|
||||
[31] = {name = "RecruitPanelNew",assetName = "RecruitPanelNew",script = "Modules/Recruit/RecruitPanelNew"},--
|
||||
[32] = {name = "ElementDrawCardPanelNew",assetName = "ElementDrawCardPanelNew",script = "Modules/Recruit/ElementDrawCardPanelNew"},--升星有礼
|
||||
[33] = {name = "XunBaoMiZongPanel",assetName = "XunBaoMiZongPanel",script = "Modules/XunBaoMiZong/XunBaoMiZongPanel"},--寻宝迷踪
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d09fff40231fe084fbdde817ceec9200
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,70 @@
|
|||
local XunBaoMiZong = {}
|
||||
|
||||
function XunBaoMiZong:New(gameObject)
|
||||
local b = {}
|
||||
b.gameObject = gameObject
|
||||
b.transform = gameObject.transform
|
||||
setmetatable(b, { __index = XunBaoMiZong })
|
||||
return b
|
||||
end
|
||||
|
||||
--初始化组件(用于子类重写)
|
||||
function XunBaoMiZong:InitComponent()
|
||||
end
|
||||
--绑定事件(用于子类重写)
|
||||
function XunBaoMiZong:BindEvent()
|
||||
end
|
||||
|
||||
--添加事件监听(用于子类重写)
|
||||
function XunBaoMiZong:AddListener()
|
||||
end
|
||||
|
||||
--移除事件监听(用于子类重写)
|
||||
function XunBaoMiZong:RemoveListener()
|
||||
end
|
||||
|
||||
function XunBaoMiZong:OnSortingOrderChange(_sortingOrder)
|
||||
self.sortingOrder = _sortingOrder
|
||||
end
|
||||
|
||||
--界面打开时调用(用于子类重写)
|
||||
function XunBaoMiZong:OnOpen(_activityConfig,_index,parent)
|
||||
self.actConfig = _activityConfig
|
||||
self.pageIndex = _index
|
||||
self.parent = parent
|
||||
end
|
||||
|
||||
-- 打开,重新打开时回调
|
||||
function XunBaoMiZong:OnShow(_sortingOrder)
|
||||
self.gameObject:SetActive(true)
|
||||
self.sortingOrder = _sortingOrder
|
||||
self.activityId = self.actConfig.ActId
|
||||
self.actType = self.actConfig.ActiveType > 0 and self.actConfig.ActiveType or self.actConfig.FunType
|
||||
if self.actConfig.IfBack == 1 then
|
||||
if self.actConfig.ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(self.actConfig.ActiveType)
|
||||
if id and id > 0 then
|
||||
self.activityId = id
|
||||
local config = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.ActivityGroups,"PageType",self.actConfig.PageType,"ActiveType",self.actConfig.ActiveType,"ActId",id)
|
||||
if config then
|
||||
self.actConfig = config
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self:Refresh()
|
||||
end
|
||||
|
||||
function XunBaoMiZong:Refresh()
|
||||
-- body
|
||||
end
|
||||
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function XunBaoMiZong:OnClose()
|
||||
end
|
||||
|
||||
--界面销毁时调用(用于子类重写)
|
||||
function XunBaoMiZong:OnDestroy()
|
||||
end
|
||||
|
||||
return XunBaoMiZong
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ed2f8381b27a39149ba8fe97eabeb26f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue