Files
Endfield-Data/LuaScripts/UI/Panels/SSReceptionRoomCharPoster/SSReceptionRoomCharPosterCtrl.lua
2025-12-02 20:37:18 +07:00

21 lines
625 B
Lua

local SSReceptionRoomPosterCtrl = require_ex('UI/Panels/SSReceptionRoomPoster/SSReceptionRoomPosterCtrl')
local PANEL_ID = PanelId.SSReceptionRoomCharPoster
local PHASE_ID = PhaseId.SSReceptionRoomCharPoster
SSReceptionRoomCharPosterCtrl = HL.Class('SSReceptionRoomCharPosterCtrl', SSReceptionRoomPosterCtrl.SSReceptionRoomPosterCtrl)
SSReceptionRoomCharPosterCtrl.OpenReceptionRoomPosterPanel = HL.StaticMethod(HL.Opt(HL.Any)) << function(arg)
local weaponType
if arg then
weaponType = unpack(arg)
end
PhaseManager:OpenPhase(PHASE_ID, weaponType)
end
HL.Commit(SSReceptionRoomCharPosterCtrl)