//생성할 element 생성및 정보설정 void CreateEleInfo(Infos_Shop shopinfo, STOREMODE_TYPE _storemode) { UIItem_StoreElement storeEle = ui_Mgr.CreatUI(UIITEM.ITEM_STOREELEMENT, Tr_Content) as UIItem_StoreElement; BonusInfo bouns = new BonusInfo(0, 0, (int)shopinfo.BnsItNum, (ITEMTYPE)shopinfo.BnsItTp, (int)shopinfo.BnsIdx); storeEle.Set_info(shopinfo, bouns, _storemode); Lst_storeElement.Add(storeEle); }
//생성할 element 생성및 정보설정 void CreateEleInfo(Infos_Shop shopinfo, STOREMODE_TYPE _storemode) { UIItem_StoreElement storeEle = null; //패키지 ,스폐셜 상품 예외처리 if (_storemode == STOREMODE_TYPE.Package || _storemode == STOREMODE_TYPE.Special) { storeEle = UI_Manager.Getsingleton.CreatUI(UIITEM.ITEM_STOREPACKAGEELEMENT, Tr_Content) as UIItem_StoreElement; BonusInfo bouns = new BonusInfo(0, 0, (int)shopinfo.BnsItNum, (ITEMTYPE)shopinfo.BnsItTp, (int)shopinfo.BnsIdx); storeEle.Set_info(shopinfo, bouns, _storemode); Lst_storePackageElemnet.Add(storeEle); } else { storeEle = UI_Manager.Getsingleton.CreatUI(UIITEM.ITEM_STOREELEMENT, Tr_Content) as UIItem_StoreElement; BonusInfo bouns = new BonusInfo(0, 0, (int)shopinfo.BnsItNum, (ITEMTYPE)shopinfo.BnsItTp, (int)shopinfo.BnsIdx); storeEle.Set_info(shopinfo, bouns, _storemode); Lst_storeElement.Add(storeEle); } }