Files
Endfield-Data/LuaScripts/UI/Widgets/ActivityCharSignCommon.lua
2026-01-31 21:42:01 +07:00

33 lines
772 B
Lua

local ActivityCheckInBase = require_ex('UI/Widgets/ActivityCheckInBase')
ActivityCharSignCommon = HL.Class('ActivityCharSignCommon', ActivityCheckInBase)
ActivityCharSignCommon.Init = HL.Method(HL.Table) << function(self, args)
self:_InitAnim({
startAnimTime = 0.3,
})
self:_InitScrollList({
scrollList = self.view.signScrollList,
rewardCell = self.view.cell,
})
self:_InitActivityInfo({
activityId = args.activityId,
isPopup = args.isPopup,
})
self:_InitReceiveAll({
receiveAllBtn = self.view.allReceiveBtn,
receiveRedDot = self.view.receiveRedDot,
})
self:_InitPosition()
self:_InitController({})
end
HL.Commit(ActivityCharSignCommon)
return ActivityCharSignCommon