Beispiel #1
0
 public Trophy(string name, string description, TrophyFlags flags = TrophyFlags.None) :
     base(name, description, flags)
 {
 }
 protected RoleMatchTrophyBase(string name, string description, TrophyFlags flags, IEnumerable <string> patterns) :
     base(name, description, flags)
 {
     this.patterns = patterns;
 }
        // Public members

        protected RoleMatchTrophyBase(string name, string description, TrophyFlags flags, string pattern) :
            this(name, description, flags, new string[] { pattern })
        {
        }
Beispiel #4
0
        // Protected members

        protected TrophyBase(string name, string description, TrophyFlags flags = TrophyFlags.None)
        {
            this.Name        = name.ToTitle();
            this.Description = StringUtilities.ToSentenceCase(description);
            this.Flags       = flags;
        }
Beispiel #5
0
        // Public members

        protected DescriptionMatchTrophyBase(string name, string description, TrophyFlags flags, string pattern) :
            base(name, description, flags)
        {
            this.pattern = pattern;
        }
 public Trophy(string name, string description, TrophyFlags flags, Func <TrophyScanner.ScannerQueueItem, Task <bool> > checkUnlocked) :
     this(name, description, checkUnlocked)
 {
     Flags = flags;
 }