示例#1
0
 public Achievement(AchievementType type, TextDefinition name, TextDefinition description, int points, int[] unlocks)
     : this(type, name, description, points, 1, AchievementSystem.DefaultImage(type), unlocks)
 {
 }
示例#2
0
 public Achievement(AchievementType type, TextDefinition name, TextDefinition description, int points, int maxProgress, int unlocks)
     : this(type, name, description, points, maxProgress, AchievementSystem.DefaultImage(type), unlocks >= 0 ? new int[] { unlocks } : null)
 {
 }