21 lines
542 B
Plaintext
21 lines
542 B
Plaintext
LuaHandleRetDailyCopyInfo = {}
|
|
|
|
function LuaHandleRetDailyCopyInfo.HandlePacket(mem)
|
|
require "LuaDistributesRetDailyCopyInfo"
|
|
packet = LuaDistributesRetDailyCopyInfo.ExtraPacket(mem)
|
|
--print(packet)
|
|
|
|
if CS.DailyCopySceneRootCtr.Instance ~= nil then
|
|
local _Script = CS.DailyCopySceneRootCtr.Instance.gameObject:GetComponentInChildren(typeof(CS.LuaUIBehaviour), true)
|
|
|
|
if _Script == nil then
|
|
print("_Script is nil")
|
|
return
|
|
end
|
|
print("OnPacket")
|
|
_Script:CallScriptFuncAtPath("DailyCopySweepBtn.OnPacket", packet)
|
|
end
|
|
end
|
|
|
|
|