@bettergi/types 0.0.10 → 0.0.12

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.
Files changed (73) hide show
  1. package/csharp/BetterGenshinImpact/Core/Recognition/OcrEngineTypes.d.ts +13 -7
  2. package/csharp/BetterGenshinImpact/Core/Recognition/RecognitionObject.d.ts +151 -142
  3. package/csharp/BetterGenshinImpact/Core/Recognition/RecognitionTypes.d.ts +20 -14
  4. package/csharp/BetterGenshinImpact/Core/Script/Dependence/Model/RealtimeTimer.d.ts +20 -14
  5. package/csharp/BetterGenshinImpact/Core/Script/Dependence/Model/SoloTask.d.ts +12 -7
  6. package/csharp/BetterGenshinImpact/GameTask/AutoDomain/AutoDomainParam.d.ts +72 -0
  7. package/csharp/BetterGenshinImpact/GameTask/AutoDomain/AutoDomainTask.d.ts +40 -0
  8. package/csharp/BetterGenshinImpact/GameTask/AutoFight/AutoFightParam.d.ts +113 -0
  9. package/csharp/BetterGenshinImpact/GameTask/AutoFight/AutoFightTask.d.ts +40 -0
  10. package/csharp/BetterGenshinImpact/GameTask/ISoloTask.d.ts +13 -0
  11. package/csharp/BetterGenshinImpact/GameTask/Model/Area/Converter/INodeConverter.d.ts +8 -2
  12. package/csharp/BetterGenshinImpact/GameTask/Model/Area/ImageRegion.d.ts +65 -52
  13. package/csharp/BetterGenshinImpact/GameTask/Model/Area/Region.d.ts +190 -136
  14. package/csharp/BetterGenshinImpact/GameTask/Model/BaseTaskParam.d.ts +13 -0
  15. package/csharp/BetterGenshinImpact/View/Drawable/DrawContent.d.ts +45 -0
  16. package/csharp/BetterGenshinImpact/View/Drawable/LineDrawable.d.ts +17 -9
  17. package/csharp/BetterGenshinImpact/View/Drawable/RectDrawable.d.ts +20 -10
  18. package/csharp/Microsoft/Extensions/Localization/IStringLocalizer.d.ts +16 -0
  19. package/csharp/Microsoft/Extensions/Localization/LocalizedString.d.ts +26 -0
  20. package/csharp/SixLabors/ImageSharp/Image.d.ts +9 -0
  21. package/csharp/System/Collections/DictionaryEntry.d.ts +14 -0
  22. package/csharp/System/Collections/Generic/Dictionary.d.ts +193 -34
  23. package/csharp/System/Collections/Generic/ICollection.d.ts +15 -9
  24. package/csharp/System/Collections/Generic/IDictionary.d.ts +11 -22
  25. package/csharp/System/Collections/Generic/IEnumerable.d.ts +10 -3
  26. package/csharp/System/Collections/Generic/IEnumerator.d.ts +10 -5
  27. package/csharp/System/Collections/Generic/IEqualityComparer.d.ts +9 -3
  28. package/csharp/System/Collections/Generic/IList.d.ts +16 -7
  29. package/csharp/System/Collections/Generic/IReadOnlyCollection.d.ts +9 -3
  30. package/csharp/System/Collections/Generic/IReadOnlyDictionary.d.ts +15 -10
  31. package/csharp/System/Collections/Generic/IReadOnlyList.d.ts +9 -3
  32. package/csharp/System/Collections/Generic/KeyValuePair.d.ts +15 -8
  33. package/csharp/System/Collections/Generic/List.d.ts +149 -77
  34. package/csharp/System/Collections/ICollection.d.ts +17 -0
  35. package/csharp/System/Collections/IDictionary.d.ts +29 -0
  36. package/csharp/System/Collections/IDictionaryEnumerator.d.ts +14 -0
  37. package/csharp/System/Collections/IEnumerable.d.ts +9 -0
  38. package/csharp/System/Collections/IEnumerator.d.ts +13 -0
  39. package/csharp/System/Collections/IList.d.ts +30 -0
  40. package/csharp/System/DateTimeOffset.d.ts +8 -0
  41. package/csharp/System/Drawing/Bitmap.d.ts +8 -2
  42. package/csharp/System/Drawing/Color.d.ts +341 -2
  43. package/csharp/System/Drawing/Image.d.ts +8 -2
  44. package/csharp/System/Drawing/KnownColor.d.ts +357 -0
  45. package/csharp/System/Drawing/Pen.d.ts +8 -2
  46. package/csharp/System/Globalization/CultureInfo.d.ts +9 -0
  47. package/csharp/System/IAsyncDisposable.d.ts +10 -0
  48. package/csharp/System/IDisposable.d.ts +9 -0
  49. package/csharp/System/IEquatable.d.ts +8 -0
  50. package/csharp/System/Runtime/Serialization/IDeserializationCallback.d.ts +9 -0
  51. package/csharp/System/Runtime/Serialization/ISerializable.d.ts +9 -0
  52. package/csharp/System/Threading/CancellationToken.d.ts +58 -0
  53. package/csharp/System/Threading/CancellationTokenRegistration.d.ts +27 -0
  54. package/csharp/System/Threading/CancellationTokenSource.d.ts +51 -0
  55. package/csharp/System/Threading/ITimer.d.ts +12 -0
  56. package/csharp/System/Threading/Tasks/ValueTask.d.ts +12 -0
  57. package/csharp/System/Threading/WaitHandle.d.ts +8 -0
  58. package/csharp/System/TimeProvider.d.ts +31 -0
  59. package/csharp/System/TimeSpan.d.ts +8 -0
  60. package/csharp/System/Windows/Media/Matrix.d.ts +80 -0
  61. package/csharp/System/Windows/Point.d.ts +39 -5
  62. package/csharp/System/Windows/Vector.d.ts +51 -0
  63. package/index.d.ts +3 -0
  64. package/modules/dispatcher.d.ts +54 -3
  65. package/modules/file.d.ts +3 -3
  66. package/modules/genshin.d.ts +18 -1
  67. package/modules/globalMethod.d.ts +9 -5
  68. package/modules/http.d.ts +43 -0
  69. package/package.json +1 -1
  70. package/csharp/Vanara/PInvoke/POINT.d.ts +0 -23
  71. package/csharp/Vanara/PInvoke/RECT.d.ts +0 -37
  72. package/csharp/Vanara/PInvoke/SIZE.d.ts +0 -19
  73. package/enums/wood.d.ts +0 -27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bettergi/types",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "TypeScript Definitions for BetterGI JavaScript",
5
5
  "type": "module",
6
6
  "author": "Bread Grocery<https://github.com/breadgrocery>",
@@ -1,23 +0,0 @@
1
- export interface POINT {
2
- /** 目标水平位置(像素) */
3
- x: number;
4
-
5
- /** 目标垂直位置(像素) */
6
- y: number;
7
-
8
- /** 判断该点是否为空 */
9
- isEmpty: boolean;
10
-
11
- /**
12
- * 通过给定的偏移量移动当前点
13
- * @param dx - x 轴方向的偏移量(正数向右,负数向左)。
14
- * @param dy - y 轴方向的偏移量(正数向下,负数向上)。
15
- */
16
- offset(dx: number, dy: number): void;
17
-
18
- /**
19
- * 通过另一个点对象偏移当前点
20
- * @param p - 包含偏移量的 `POINT` 对象,其 `x` 和 `y` 值会被加到当前点。
21
- */
22
- offset(p: POINT): void;
23
- }
@@ -1,37 +0,0 @@
1
- import { POINT } from "./POINT";
2
- import { SIZE } from "./SIZE";
3
-
4
- export interface RECT {
5
- /** 矩形左侧的 x 坐标 */
6
- left: number;
7
-
8
- /** 矩形顶部的 y 坐标 */
9
- top: number;
10
-
11
- /** 矩形右侧的 x 坐标 */
12
- right: number;
13
-
14
- /** 矩形底部的 y 坐标 */
15
- bottom: number;
16
-
17
- /** 目标水平位置(像素) */
18
- x: number;
19
-
20
- /** 目标垂直位置(像素) */
21
- y: number;
22
-
23
- /** 矩形的宽度 */
24
- width: number;
25
-
26
- /** 矩形的高度 */
27
- height: number;
28
-
29
- /** 判断矩形是否为空 */
30
- isEmpty: boolean;
31
-
32
- /** 获取矩形的位置 */
33
- location(): POINT;
34
-
35
- /** 获取矩形的尺寸 */
36
- size(): SIZE;
37
- }
@@ -1,19 +0,0 @@
1
- export interface SIZE {
2
- /** 尺寸的宽度 */
3
- cx: number;
4
-
5
- /** 尺寸的高度 */
6
- cy: number;
7
-
8
- /** 尺寸的宽度 */
9
- width: number;
10
-
11
- /** 尺寸的高度 */
12
- height: number;
13
-
14
- /** 判断尺寸是否为空 */
15
- isEmpty: boolean;
16
-
17
- /** 返回当前尺寸的副本 */
18
- toSize(): SIZE;
19
- }
package/enums/wood.d.ts DELETED
@@ -1,27 +0,0 @@
1
- export type Wood =
2
- | "桦木"
3
- | "萃华木"
4
- | "松木"
5
- | "却砂木"
6
- | "竹节"
7
- | "垂香木"
8
- | "杉木"
9
- | "梦见木"
10
- | "枫木"
11
- | "孔雀木"
12
- | "御伽木"
13
- | "辉木"
14
- | "业果木"
15
- | "证悟木"
16
- | "刺葵木"
17
- | "柽木"
18
- | "悬铃木"
19
- | "椴木"
20
- | "白梣木"
21
- | "香柏木"
22
- | "炬木"
23
- | "白栗栎木"
24
- | "灰灰楼林木"
25
- | "燃爆木"
26
- | "桃椰子木"
27
- | (string & {});