public void CreateBonusList() { if (this.saleAsset.ExistSaleAsset()) { SaleBonus salesBonus = this.saleAsset.GetSalesBonus(); this.bonusList.Initialize(salesBonus); } }
public void Initialize(SaleBonus bonus) { this.saleBonus = bonus; UI_SaleBonusCheckListItem ui_SaleBonusCheckListItem = this.listParts as UI_SaleBonusCheckListItem; if (null != ui_SaleBonusCheckListItem) { ui_SaleBonusCheckListItem.SetFuncSaleBonusAsset(new Func <int, GameWebAPI.ResponseAssetSalesBonusMaster.SalesBonus>(this.GetSalesBonus)); ui_SaleBonusCheckListItem.SetFuncBonusAssetNum(new Func <int, int>(this.GetBonusAssetNum)); } base.InitializeView(2); if (this.saleBonus != null) { base.CreateList(this.saleBonus.Count()); } }
public SaleBonus GetSalesBonus() { SaleAsset.< GetSalesBonus > c__AnonStorey0 <GetSalesBonus> c__AnonStorey = new SaleAsset.< GetSalesBonus > c__AnonStorey0(); SaleBonus saleBonus = new SaleBonus();