public ModifierDefinition(
     string id, ModDomain domain, ModGenerationType generationType,
     IReadOnlyList <ModifierSpawnWeight> spawnWeights, IReadOnlyList <CraftableStat> stats)
 {
     Id             = id;
     Domain         = domain;
     GenerationType = generationType;
     SpawnWeights   = spawnWeights;
     Stats          = stats;
 }
Esempio n. 2
0
 /// <returns>the mod groups in this database with the given generation type</returns>
 public IReadOnlyList <ModGroup> this[ModGenerationType modtype] => _groupsByType[modtype];