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); }
public int GetCabinExntendScoinCost() { return(CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1).scoinNeed); }
public int GetCabinMaxLevelNextExntendGrade() { return(CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1).cabinLevelMax); }
public bool CanExtendCabin() { return((CabinExtendGradeMetaDataReader.TryGetCabinExtendGradeMetaDataByKey(this.cabinType, this.extendGrade + 1) != null) && (this.status != CabinStatus.Locked)); }