local UIWjBattleBuffViewCtr = class("UIWjBattleBuffViewCtr", require("UICtrBase")) function UIWjBattleBuffViewCtr:Init(view) self.view = view end function UIWjBattleBuffViewCtr:SetData(data) self.asyncIdx = 0 if data == nil then return end self.data = data end function UIWjBattleBuffViewCtr:GetAsyncIdx() self.asyncIdx = self.asyncIdx + 1 return self.asyncIdx end function UIWjBattleBuffViewCtr:GetData() return self.data end function UIWjBattleBuffViewCtr:OnDispose() self.data = nil self.view = nil end return UIWjBattleBuffViewCtr