koishi-plugin-tmp-bot 1.19.3 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/evmOpenApi.js +1 -136
- package/lib/api/truckersMpApi.js +1 -110
- package/lib/api/truckersMpMapApi.js +1 -25
- package/lib/api/truckyAppApi.js +1 -47
- package/lib/command/tmpBind.js +1 -19
- package/lib/command/tmpDlcMap.js +1 -33
- package/lib/command/tmpFootprint.d.ts +1 -1
- package/lib/command/tmpFootprint.js +1 -68
- package/lib/command/tmpMileageRanking.js +1 -55
- package/lib/command/tmpPosition.js +1 -95
- package/lib/command/tmpQuery/tmpQuery.js +1 -12
- package/lib/command/tmpQuery/tmpQueryImg.js +1 -103
- package/lib/command/tmpQuery/tmpQueryText.js +1 -118
- package/lib/command/tmpServer.js +1 -34
- package/lib/command/tmpTraffic/tmpTraffic.js +1 -15
- package/lib/command/tmpTraffic/tmpTrafficMap.js +1 -119
- package/lib/command/tmpTraffic/tmpTrafficText.js +1 -58
- package/lib/command/tmpVersion.js +1 -14
- package/lib/database/guildBind.js +1 -41
- package/lib/database/model.js +1 -65
- package/lib/database/translateCache.js +1 -31
- package/lib/index.js +1 -55
- package/lib/resource/dlc.html +1 -30
- package/lib/resource/footprint.html +1 -125
- package/lib/resource/mileage-leaderboard.html +1 -174
- package/lib/resource/package/ets-map.js +1 -63
- package/lib/resource/package/leaflet/heatmap.min.js +1 -9
- package/lib/resource/package/leaflet/leaflet-heatmap.js +1 -246
- package/lib/resource/package/leaflet/leaflet.min.js +1 -1
- package/lib/resource/position.html +1 -105
- package/lib/resource/query.html +1 -137
- package/lib/resource/traffic.html +1 -121
- package/lib/util/baiduTranslate.js +1 -30
- package/lib/util/common.js +1 -5
- package/lib/util/constant.d.ts +4 -0
- package/lib/util/constant.js +1 -29
- package/package.json +1 -2
package/lib/util/constant.js
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* 路况信息展示方式
|
|
4
|
-
*/
|
|
5
|
-
TmpTrafficType: {
|
|
6
|
-
text: 1, // 文本
|
|
7
|
-
heatMap: 2, // 热力图
|
|
8
|
-
},
|
|
9
|
-
/**
|
|
10
|
-
* 里程排行榜类型
|
|
11
|
-
*/
|
|
12
|
-
MileageRankingType: {
|
|
13
|
-
total: 1,
|
|
14
|
-
today: 2
|
|
15
|
-
},
|
|
16
|
-
/**
|
|
17
|
-
* 服务器别名映射ID
|
|
18
|
-
*/
|
|
19
|
-
ServerAliasToId: {
|
|
20
|
-
's1': 2,
|
|
21
|
-
's2': 41,
|
|
22
|
-
'p': 50,
|
|
23
|
-
'a': 7
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* P服务器ID集合
|
|
27
|
-
*/
|
|
28
|
-
PromodsIds: [50, 51]
|
|
29
|
-
};
|
|
1
|
+
function a27_0x39a0(_0x3f8f82,_0x42ac91){_0x3f8f82=_0x3f8f82-0x1dd;var _0x2480eb=a27_0x2480();var _0x39a0a0=_0x2480eb[_0x3f8f82];return _0x39a0a0;}function a27_0x2480(){var _0x43fbdc=['6fzyxKG','472085vMEtzk','237738nORkIw','268376NpdYIt','11rjZlpI','54UkFoSY','3788UNDlaP','4IjVoKi','14614176uypIfv','5921990RxqVnW','4701543FwmJVr','1281FFJsKx'];a27_0x2480=function(){return _0x43fbdc;};return a27_0x2480();}(function(_0x44e91b,_0x369052){var _0x55d0c6=a27_0x39a0,_0x4ac2bc=_0x44e91b();while(!![]){try{var _0x5e2d1f=-parseInt(_0x55d0c6(0x1e4))/0x1+parseInt(_0x55d0c6(0x1e8))/0x2*(parseInt(_0x55d0c6(0x1e1))/0x3)+parseInt(_0x55d0c6(0x1dd))/0x4*(parseInt(_0x55d0c6(0x1e3))/0x5)+parseInt(_0x55d0c6(0x1e2))/0x6*(-parseInt(_0x55d0c6(0x1e0))/0x7)+-parseInt(_0x55d0c6(0x1e5))/0x8*(parseInt(_0x55d0c6(0x1e7))/0x9)+-parseInt(_0x55d0c6(0x1df))/0xa*(parseInt(_0x55d0c6(0x1e6))/0xb)+parseInt(_0x55d0c6(0x1de))/0xc;if(_0x5e2d1f===_0x369052)break;else _0x4ac2bc['push'](_0x4ac2bc['shift']());}catch(_0x5cade3){_0x4ac2bc['push'](_0x4ac2bc['shift']());}}}(a27_0x2480,0x66157),module['exports']={'TmpTrafficType':{'text':0x1,'heatMap':0x2},'MileageRankingType':{'total':0x1,'today':0x2},'ServerAliasToId':{'s1':0x2,'s2':0x29,'p':0x32,'a':0x7},'PromodsIds':[0x32,0x33],'ServerType':{'ets':0x1,'promods':0x2}});
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-tmp-bot",
|
|
3
3
|
"description": "欧洲卡车模拟2 TMP查询插件,不会部署的可以直接使用此机器人->QQ:3523283907",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.20.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
|
-
"homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",
|
|
8
7
|
"files": [
|
|
9
8
|
"lib",
|
|
10
9
|
"dist"
|