示例#1
0
 public static void AddWatcher(RuleComponent del)
 {
     foreach (RuleComponent rule in WatcherList)
     {
         if (rule.Entity.Name == del.Entity.Name)
         {
             return;
         }
     }
     WatcherList.Add(del);
 }
示例#2
0
 public static void RemoveEngineWatcher(RuleComponent del, EngineMessage msg)
 {
     RemoveEngineList.Add(del, msg);
 }
示例#3
0
 public static void RemoveWatcher(RuleComponent del, RuleComponent.ActionFunction action)
 {
     RemoveList.Add(del, action);
 }