GameItem BuildGameItem(GameItemRecord record) { return(new GameItem { Id = record.Id, Name = record.Name, PluralizedName = record.PluralizedName, Description = record.Description }); }
ChipsHopperUpgradeItem BuildChipsHopperUpgradeItem(GameItemRecord record) { return(new ChipsHopperUpgradeItem() { Id = record.Id, Name = record.Name, PluralizedName = record.PluralizedName, Description = record.Description, RequiredSlotLevel = record.RequiredSlotLevel.Value, Level = record.Level.Value, Size = record.Size.Value }); }
BitUpgradeItem BuildBitUpgradeItem(GameItemRecord record) { return(new BitUpgradeItem { Id = record.Id, Name = record.Name, PluralizedName = record.PluralizedName, Description = record.Description, RequiredSlotLevel = record.RequiredSlotLevel.Value, Level = record.Level.Value, Min = record.Min.Value, Max = record.Max.Value }); }