예제 #1
0
        public override LevelFilterResult FromChatString(string chatString, string option)
        {
            UIntComparison comparison = UIntComparison.ParseString(chatString, TryParseDateToUnixTimestamp);

            if (comparison != null)
            {
                return(new LevelFilterResult(new LevelFilterCreated(comparison)));
            }
            return(new LevelFilterResult("Invalid comparison/number for -created"));
        }
예제 #2
0
 public LevelFilterCreated(UIntComparison comparison)
 {
     this.comparison = comparison;
 }
예제 #3
0
 public LevelFilterCreated()
 {
     comparison = new UIntComparison(0);
 }