Przeglądaj źródła

feat(ga): 增加 API ga.AllDone

dzp 1 rok temu
rodzic
commit
987a08bb37
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      plugins/lib/ga.tin

+ 9 - 0
plugins/lib/ga.tin

@@ -100,3 +100,12 @@ event.Define {GA} {有参} {$MODULE} {接收到 IAC GA 时发射本事件,参
         #return 0;
     };
 };
+
+#func {ga.AllDone} {
+    #if { &gXttPipeLine[] == 0 } {
+        #return 1;
+    };
+    #else {
+        #return 0;
+    };
+};