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