Files
StellaSora_DataLua/lua/game/ui/mainlineex/storychapterpanel.lua
T
SL1900 08b515afd9 Major Update - 2.0.0.143
EN: 2.0.0.143
CN: 2.0.0.142
JP: 2.0.0.145
KR: 2.0.0.150
2026-10-20 13:00:00 +09:00

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