Example #1
0
 GameItem BuildGameItem(GameItemRecord record)
 {
     return(new GameItem
     {
         Id = record.Id,
         Name = record.Name,
         PluralizedName = record.PluralizedName,
         Description = record.Description
     });
 }
Example #2
0
 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
     });
 }
Example #3
0
 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
     });
 }