public FactionSubscription(LogFile logFile, FactionChanges factionChanges) : base(logFile)
 {
     FactionCheck = factionChanges;
     Subscriber   = new Subscriber <Faction>(logFile,
                                             new RegexStrategy <Faction>(CompiledRegex.FactionRegex, HandleMatches));
     Subscriber.Matched += Subscriber_Matched;
 }
Exemple #2
0
 public Faction(LogEntry entry, FactionChanges change, string group, int amount) : base(entry)
 {
     Change = change;
     Group  = group;
     Amount = amount;
 }