Files
StellaSora_DataLua/lua/game/ui/equipment/equipmentrollpanel.lua
T
SL1900 952e8cb875 Hotfix - 1.6.0.85
EN: 1.6.0.85
CN: 1.6.0.88
JP: 1.6.0.89
KR: 1.6.0.92
2026-02-09 18:00:00 +09:00

29 lines
802 B
Lua

local EquipmentRollPanel = class("EquipmentRollPanel", BasePanel)
EquipmentRollPanel._tbDefine = {
{
sPrefabPath = "Equipment/EquipmentRollPanel.prefab",
sCtrlName = "Game.UI.Equipment.EquipmentRollCtrl"
}
}
function EquipmentRollPanel:Awake()
local tbParam = self:GetPanelParam()
if type(tbParam) == "table" then
self.nCharId = tbParam[1]
self.nSlotId = tbParam[2]
self.nSelectGemIndex = tbParam[3]
self.nEquipedGemIndex = tbParam[4]
PlayerData.Equipment:CacheEquipmentSelect(self.nSlotId, self.nSelectGemIndex, self.nCharId)
end
end
function EquipmentRollPanel:OnEnable()
end
function EquipmentRollPanel:OnAfterEnter()
end
function EquipmentRollPanel:OnDisable()
end
function EquipmentRollPanel:OnDestroy()
end
function EquipmentRollPanel:OnRelease()
end
return EquipmentRollPanel