public List <StorageDataItemBase> GetLevelUpItemNeed() { CabinLevelMetaData data = CabinLevelMetaDataReader.TryGetCabinLevelMetaDataByKey(this.cabinType, this.level + 1); List <StorageDataItemBase> list = new List <StorageDataItemBase>(); foreach (CabinLevelMetaData.CabinUpLevelNeedItem item in data.itemListNeed) { StorageDataItemBase dummyStorageDataItem = Singleton <StorageModule> .Instance.GetDummyStorageDataItem(item.itemMetaID, 1); if (dummyStorageDataItem != null) { dummyStorageDataItem.number = item.itemNum; list.Add(dummyStorageDataItem); } } return(list); }
public int GetPlayerLevelNeedToUpLevel() { return(CabinLevelMetaDataReader.TryGetCabinLevelMetaDataByKey(this.cabinType, this.level + 1).playerLevelNeed); }
public string GetCabinName() { return(LocalizationGeneralLogic.GetText(CabinLevelMetaDataReader.TryGetCabinLevelMetaDataByKey(this.cabinType, 1).cabinName, new object[0])); }
public int GetCabinLevelUpTimeCost() { return(CabinLevelMetaDataReader.TryGetCabinLevelMetaDataByKey(this.cabinType, this.level + 1).upLevelTimeNeed); }
public int GetCabinLevelUpScoinCost() { return(CabinLevelMetaDataReader.TryGetCabinLevelMetaDataByKey(this.cabinType, this.level + 1).scoinNeed); }
public int GetUnlockPlayerLevel() { return(CabinLevelMetaDataReader.TryGetCabinLevelMetaDataByKey(this.cabinType, 1).playerLevelNeed); }