koishi-plugin-dew-bot 1.0.188 → 1.0.190

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.
@@ -9,12 +9,7 @@ class handelr_text extends handel_base_1.default {
9
9
  super(data);
10
10
  }
11
11
  async start(data) {
12
- if (data.info.type == 'text') {
13
- await this.send(data, data.data);
14
- }
15
- else {
16
- console.log('未知类型的文本消息');
17
- }
12
+ await this.send(data, data.data);
18
13
  }
19
14
  }
20
15
  exports.default = handelr_text;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.conf = void 0;
4
+ exports.conf = {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.quality = exports.EquipAttType = exports.UserLevel = exports.ItemType = void 0;
3
+ exports.qualityColor = exports.quality = exports.EquipAttType = exports.UserLevel = exports.ItemType = void 0;
4
4
  var ItemType;
5
5
  (function (ItemType) {
6
6
  ItemType["\u8D44\u6E90"] = "prop_\u8D44\u6E90";
@@ -28,7 +28,10 @@ var UserLevel;
28
28
  })(UserLevel || (exports.UserLevel = UserLevel = {}));
29
29
  var EquipAttType;
30
30
  (function (EquipAttType) {
31
- EquipAttType["\u9B54\u6CD5\u6B66\u5668"] = "\u9B54\u6CD5\u6B66\u5668";
31
+ EquipAttType["\u9B54\u6CD5\u4F20\u8BF4"] = "\u9B54\u6CD5\u4F20\u8BF4\u7C7B";
32
+ EquipAttType["\u79D1\u6280\u7C7B"] = "\u79D1\u6280\u7C7B";
33
+ EquipAttType["\u8F85\u52A9\u7C7B"] = "\u8F85\u52A9\u7C7B";
34
+ EquipAttType["\u5A31\u4E50\u7C7B"] = "\u5A31\u4E50\u7C7B";
32
35
  })(EquipAttType || (exports.EquipAttType = EquipAttType = {}));
33
36
  //品质
34
37
  var quality;
@@ -45,3 +48,16 @@ var quality;
45
48
  quality[quality["SR"] = 8] = "SR";
46
49
  quality[quality["SSR"] = 9] = "SSR";
47
50
  })(quality || (exports.quality = quality = {}));
51
+ var qualityColor;
52
+ (function (qualityColor) {
53
+ qualityColor["F"] = "#8B8B8B";
54
+ qualityColor["D"] = "#A0522D";
55
+ qualityColor["C"] = "#32CD32";
56
+ qualityColor["B"] = "#4169E1";
57
+ qualityColor["A"] = "#9370DB";
58
+ qualityColor["S"] = "#FFD700";
59
+ qualityColor["SS"] = "#FF4500";
60
+ qualityColor["SSS"] = "#FF1493";
61
+ qualityColor["SR"] = "#00CED1";
62
+ qualityColor["SSR"] = "#FF69B4";
63
+ })(qualityColor || (exports.qualityColor = qualityColor = {}));
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serviceProto = void 0;
4
4
  exports.serviceProto = {
5
- "version": 4,
5
+ "version": 5,
6
6
  "services": [
7
7
  {
8
8
  "id": 2,
@@ -16,6 +16,12 @@ exports.serviceProto = {
16
16
  "type": "api",
17
17
  "conf": {}
18
18
  },
19
+ {
20
+ "id": 3,
21
+ "name": "Sys",
22
+ "type": "api",
23
+ "conf": {}
24
+ },
19
25
  {
20
26
  "id": 1,
21
27
  "name": "Test",
@@ -300,6 +306,39 @@ exports.serviceProto = {
300
306
  }
301
307
  ]
302
308
  },
309
+ "PtlSys/ReqSys": {
310
+ "type": "Interface",
311
+ "extends": [
312
+ {
313
+ "id": 0,
314
+ "type": {
315
+ "type": "Reference",
316
+ "target": "base/BaseRequest"
317
+ }
318
+ }
319
+ ]
320
+ },
321
+ "PtlSys/ResSys": {
322
+ "type": "Interface",
323
+ "extends": [
324
+ {
325
+ "id": 0,
326
+ "type": {
327
+ "type": "Reference",
328
+ "target": "base/BaseResponse"
329
+ }
330
+ }
331
+ ],
332
+ "properties": [
333
+ {
334
+ "id": 0,
335
+ "name": "version",
336
+ "type": {
337
+ "type": "Number"
338
+ }
339
+ }
340
+ ]
341
+ },
303
342
  "PtlTest/ReqTest": {
304
343
  "type": "Interface",
305
344
  "extends": [
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "koishi-plugin-dew-bot",
3
3
  "description": "达尔文进化岛",
4
4
  "preview": true,
5
- "version": "1.0.188",
5
+ "version": "1.0.190",
6
6
  "main": "lib/index.js",
7
7
  "typings": "lib/index.d.ts",
8
8
  "contributors": [