36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
LuaHandleReqInvestAwardInfo = {}
|
|
|
|
function LuaHandleReqInvestAwardInfo.HandlePacket(mem)
|
|
require "LuaDistributesReqInvestAwardInfo"
|
|
local packet = LuaDistributesReqInvestAwardInfo.ExtraPacket(mem)
|
|
--print(packet)
|
|
|
|
-- local manager = CS.MarketingActsRoot:Instance()
|
|
-- if manager ~= nil then
|
|
-- print("Receive Award "..tostring(packet.actID))
|
|
|
|
-- require 'WeddingRankUi'
|
|
-- if packet.actID == WeddingRankUi.awardId then
|
|
-- packet.actID = WeddingRankUi.actId
|
|
-- end
|
|
-- -- Hack End
|
|
-- if manager._ShowingWin:ContainsKey(packet.actID) then
|
|
-- local marketDel = manager._ShowingWin[packet.actID]:GetComponent("MarketingUIBaseLua")
|
|
-- if marketDel ~= nil then
|
|
-- marketDel:MarketingActPageAwardRetDel(packet)
|
|
-- end
|
|
-- end
|
|
|
|
|
|
|
|
|
|
local _AWeekInvestmentNew = CS.LuaUIManager.Instance:GetUIInstance("AWeekInvestmentNew")
|
|
if _AWeekInvestmentNew ~= nil then
|
|
_AWeekInvestmentNew:GetComponent("MarketingUIBaseLua"):CallScriptFuncAtPath("AWeekInvestmentNew.New_OnPacketCopyInfo", packet)
|
|
end
|
|
|
|
|
|
--end
|
|
|
|
end
|