shawenguan 1 年之前
父節點
當前提交
a9a5a6c503
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      Scripts/hbcpre/hbcpreExchange.js

+ 9 - 0
Scripts/hbcpre/hbcpreExchange.js

@@ -354,6 +354,15 @@ async function getActivityIdsByEntryTile(){
     return idsList;
 }
 
+function checkKeysInText(keyList, text){
+    for(let key of keyList){
+        if(text.indexOf(key) > -1){
+            return true;
+        }
+    }
+    return false;
+}
+
 function readMySeriesOwnCntFakeData() {
     gItemCntRwDict = {};
     let text = magicJS.data.read(HbcpreConstKey.myOwnSeriesCntFakeData, null);