21 lines
525 B
Plaintext
21 lines
525 B
Plaintext
|
LuaHandleRetOpenTreasureBox = {}
|
||
|
|
||
|
function LuaHandleRetOpenTreasureBox.HandlePacket(mem)
|
||
|
require "LuaDistributesRetOpenTreasureBox"
|
||
|
local packet = LuaDistributesRetOpenTreasureBox.ExtraPacket(mem)
|
||
|
--print(packet)
|
||
|
|
||
|
print("LuaHandleRetOpenTreasureBox.HandlePacket")
|
||
|
Util.Print(ret)
|
||
|
|
||
|
local uiObj = CS.LuaUIManager.Instance:GetUIInstance("MysticalBoxRoot")
|
||
|
if uiObj == nil then
|
||
|
print("uiObj is nil")
|
||
|
end
|
||
|
|
||
|
uiObj:GetComponent("LuaUIBehaviour"):CallScriptFuncAtPath("MysticalBoxUI.OnRetOpenTreasureBox", packet)
|
||
|
|
||
|
end
|
||
|
|
||
|
|