Files
JJBB/Assets/Project/Script/LuaScripts/NetWork/Lua/Handle/LuaHandleValGEqpRet.txt

21 lines
538 B
Plaintext
Raw Normal View History

2024-08-23 15:49:34 +08:00
LuaHandleValGEqpRet = {}
function LuaHandleValGEqpRet.HandlePacket(mem)
require "LuaDistributesValGEqpRet"
local packet = LuaDistributesValGEqpRet.ExtraPacket(mem)
print(packet)
Util.PrintTable(packet)
-- 神将装备穿戴
ValhallaGeneralMgr.GetInstance():OnEquipPut(packet)
-- 回调界面显示
local uiObj = CS.LuaUIManager.Instance:GetUIInstance(ValhallaMainDataMgr.GeneralPrefab)
if uiObj ~= nil then
uiObj:GetComponent("LuaUIBehaviour"):CallScriptFuncAtPath("ValhallaGeneralPanel.OnEquipPut", packet)
end
end