08b515afd9
EN: 2.0.0.143 CN: 2.0.0.142 JP: 2.0.0.145 KR: 2.0.0.150
26 lines
702 B
Lua
26 lines
702 B
Lua
local BasePanel = require("GameCore.UI.BasePanel")
|
|
local StoryChapterPanel = class("StoryChapterPanel", BasePanel)
|
|
StoryChapterPanel._tbDefine = {
|
|
{
|
|
sPrefabPath = "MainlineEx/StoryChapterPanel.prefab",
|
|
sCtrlName = "Game.UI.MainlineEx.StoryChapterCtrl"
|
|
}
|
|
}
|
|
function StoryChapterPanel:Awake()
|
|
end
|
|
function StoryChapterPanel:OnEnable()
|
|
end
|
|
function StoryChapterPanel:OnAfterEnter()
|
|
local tbParam = self:GetPanelParam()
|
|
if type(tbParam) == "table" and tbParam[2] == true then
|
|
EventManager.Hit(EventId.ClosePanel, PanelId.MainlineEx)
|
|
end
|
|
end
|
|
function StoryChapterPanel:OnDisable()
|
|
end
|
|
function StoryChapterPanel:OnDestroy()
|
|
end
|
|
function StoryChapterPanel:OnRelease()
|
|
end
|
|
return StoryChapterPanel
|