Beispiel #1
0
 public void KillFlow(string flow)
 {
     flow = flow.ToUpper();
     if (!qstr.Prefixed(flow, "FLOW_"))
     {
         flow = $"FLOW_{flow}";
     }
     if (SBubble.HaveState(flow))
     {
         SBubble.MyError("Flow Management Error", $"KillFlow: Flow {flow} doesn't exist!", SBubble.TraceLua(State));
     }
     SBubble.KillState(flow);
 }
Beispiel #2
0
 static public void KillSoftFlow(string tag)
 {
     tag = tag.ToUpper();
     if (!qstr.Prefixed(tag, "FLOW_"))
     {
         tag = $"FLOW_{tag}";
     }
     if (SBubble.HaveState(tag))
     {
         SBubble.MyError($"KillFlow(\"{tag}\"):", "Tag non-existent", "");
     }
     else
     {
         SBubble.KillState(tag);
     }
 }
Beispiel #3
0
 public void KillState(string s)
 {
     s = s.ToUpper();
     //if (qstr.Prefixed(s, "FLOW_")) SBubble.MyError("KILL Error","Non-Flow states may NOT be prefixed with FLOW_","");
     SBubble.KillState(s);
 }