952e8cb875
EN: 1.6.0.85 CN: 1.6.0.88 JP: 1.6.0.89 KR: 1.6.0.92
29 lines
802 B
Lua
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
|