예제 #1
0
        public List <StorageDataItemBase> GetExtendItemNeed()
        {
            CabinExtendGradeMetaData   data = CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1);
            List <StorageDataItemBase> list = new List <StorageDataItemBase>();

            foreach (CabinExtendGradeMetaData.CabinExtendNeedItem item in data.itemListNeed)
            {
                StorageDataItemBase dummyStorageDataItem = Singleton <StorageModule> .Instance.GetDummyStorageDataItem(item.itemMetaID, 1);

                dummyStorageDataItem.number = item.itemNum;
                list.Add(dummyStorageDataItem);
            }
            return(list);
        }
예제 #2
0
 public int GetCabinExntendScoinCost()
 {
     return(CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1).scoinNeed);
 }
예제 #3
0
 public int GetCabinMaxLevelNextExntendGrade()
 {
     return(CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1).cabinLevelMax);
 }
예제 #4
0
 public bool CanExtendCabin()
 {
     return((CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1) != null) && (this.status != CabinStatus.Locked));
 }