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

22 lines
638 B
Lua

local SSReceptionRoomPosterCtrl = require_ex('UI/Panels/SSReceptionRoomPoster/SSReceptionRoomPosterCtrl')
local PANEL_ID = PanelId.SSReceptionRoomWeaponPoster
local PHASE_ID = PhaseId.SSReceptionRoomWeaponPoster
SSReceptionRoomWeaponPosterCtrl = HL.Class('SSReceptionRoomWeaponPosterCtrl', SSReceptionRoomPosterCtrl.SSReceptionRoomPosterCtrl)
SSReceptionRoomWeaponPosterCtrl.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(SSReceptionRoomWeaponPosterCtrl)