Files
JJBB/Assets/Project/Script/LuaScripts/NetWork/Lua/Handle/LuaHandleRetGetTopTenWeddingData.txt
2024-08-23 15:49:34 +08:00

24 lines
826 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LuaHandleRetGetTopTenWeddingData = {}
function LuaHandleRetGetTopTenWeddingData.HandlePacket(mem)
require "LuaDistributesRetGetTopTenWeddingData"
packet = LuaDistributesRetGetTopTenWeddingData.ExtraPacket(mem)
local manager = CS.MarketingActsRoot:Instance()
if manager ~= nil then
require "WeddingRankUi"
print("Receive RetGetTopTenWeddingData")
local actId = WeddingRankUi.actId
if manager._ShowingWin:ContainsKey(actId) then
local marketDel = manager._ShowingWin[actId]:GetComponent("MarketingUIBaseLua")
if marketDel ~= nil then
-- 注没有其他干净的接口传递自定义数据直接用MarketingActRetDel接口莽了
-- 使用pakName参数来区分协议
packet.pakName = WeddingRankUi.RetGetTopTenWeddingData
marketDel:MarketingActRetDel_temp(packet)
end
end
end
end