using System; using System.Collections.Generic; using System.Linq; using ET; using FairyGUI; using UI.EnduringGiftBox; using UnityEngine; namespace GFGGame { //圆形样式的限时礼包 // 4类型-圆形样式:等级条件的数据 // 5类型-圆形样式:时间条件的数据 public class RushSaleGiftBoxView : BaseWindow { private UI_RushSaleGiftBoxUI _ui; private int _type; //决定数据的类型 --等级条件的数据,时间条件的数据 protected override void OnInit() { base.OnInit(); } public override void Dispose() { if (_ui != null) { _ui.Dispose(); _ui = null; } base.Dispose(); } protected override void OnShown() { base.OnShown(); AddEffect(); UpdateView(); } protected override void AddEventListener() { base.AddEventListener(); } protected override void RemoveEventListener() { base.RemoveEventListener(); } private void AddEffect() { } private void UpdateView() { } private void ListItemRender(int index, GObject obj) { } private void ChildListItemRender(int index, GObject obj) { } protected override void OnHide() { this.RemoveEventListener(); Dispose(); base.Hide(); } private void OnClickBtnCancel() { this.Hide(); } } }