@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.
- package/csharp/BetterGenshinImpact/Core/Recognition/OcrEngineTypes.d.ts +13 -7
- package/csharp/BetterGenshinImpact/Core/Recognition/RecognitionObject.d.ts +151 -142
- package/csharp/BetterGenshinImpact/Core/Recognition/RecognitionTypes.d.ts +20 -14
- package/csharp/BetterGenshinImpact/Core/Script/Dependence/Model/RealtimeTimer.d.ts +20 -14
- package/csharp/BetterGenshinImpact/Core/Script/Dependence/Model/SoloTask.d.ts +12 -7
- package/csharp/BetterGenshinImpact/GameTask/AutoDomain/AutoDomainParam.d.ts +72 -0
- package/csharp/BetterGenshinImpact/GameTask/AutoDomain/AutoDomainTask.d.ts +40 -0
- package/csharp/BetterGenshinImpact/GameTask/AutoFight/AutoFightParam.d.ts +113 -0
- package/csharp/BetterGenshinImpact/GameTask/AutoFight/AutoFightTask.d.ts +40 -0
- package/csharp/BetterGenshinImpact/GameTask/ISoloTask.d.ts +13 -0
- package/csharp/BetterGenshinImpact/GameTask/Model/Area/Converter/INodeConverter.d.ts +8 -2
- package/csharp/BetterGenshinImpact/GameTask/Model/Area/ImageRegion.d.ts +65 -52
- package/csharp/BetterGenshinImpact/GameTask/Model/Area/Region.d.ts +190 -136
- package/csharp/BetterGenshinImpact/GameTask/Model/BaseTaskParam.d.ts +13 -0
- package/csharp/BetterGenshinImpact/View/Drawable/DrawContent.d.ts +45 -0
- package/csharp/BetterGenshinImpact/View/Drawable/LineDrawable.d.ts +17 -9
- package/csharp/BetterGenshinImpact/View/Drawable/RectDrawable.d.ts +20 -10
- package/csharp/Microsoft/Extensions/Localization/IStringLocalizer.d.ts +16 -0
- package/csharp/Microsoft/Extensions/Localization/LocalizedString.d.ts +26 -0
- package/csharp/SixLabors/ImageSharp/Image.d.ts +9 -0
- package/csharp/System/Collections/DictionaryEntry.d.ts +14 -0
- package/csharp/System/Collections/Generic/Dictionary.d.ts +193 -34
- package/csharp/System/Collections/Generic/ICollection.d.ts +15 -9
- package/csharp/System/Collections/Generic/IDictionary.d.ts +11 -22
- package/csharp/System/Collections/Generic/IEnumerable.d.ts +10 -3
- package/csharp/System/Collections/Generic/IEnumerator.d.ts +10 -5
- package/csharp/System/Collections/Generic/IEqualityComparer.d.ts +9 -3
- package/csharp/System/Collections/Generic/IList.d.ts +16 -7
- package/csharp/System/Collections/Generic/IReadOnlyCollection.d.ts +9 -3
- package/csharp/System/Collections/Generic/IReadOnlyDictionary.d.ts +15 -10
- package/csharp/System/Collections/Generic/IReadOnlyList.d.ts +9 -3
- package/csharp/System/Collections/Generic/KeyValuePair.d.ts +15 -8
- package/csharp/System/Collections/Generic/List.d.ts +149 -77
- package/csharp/System/Collections/ICollection.d.ts +17 -0
- package/csharp/System/Collections/IDictionary.d.ts +29 -0
- package/csharp/System/Collections/IDictionaryEnumerator.d.ts +14 -0
- package/csharp/System/Collections/IEnumerable.d.ts +9 -0
- package/csharp/System/Collections/IEnumerator.d.ts +13 -0
- package/csharp/System/Collections/IList.d.ts +30 -0
- package/csharp/System/DateTimeOffset.d.ts +8 -0
- package/csharp/System/Drawing/Bitmap.d.ts +8 -2
- package/csharp/System/Drawing/Color.d.ts +341 -2
- package/csharp/System/Drawing/Image.d.ts +8 -2
- package/csharp/System/Drawing/KnownColor.d.ts +357 -0
- package/csharp/System/Drawing/Pen.d.ts +8 -2
- package/csharp/System/Globalization/CultureInfo.d.ts +9 -0
- package/csharp/System/IAsyncDisposable.d.ts +10 -0
- package/csharp/System/IDisposable.d.ts +9 -0
- package/csharp/System/IEquatable.d.ts +8 -0
- package/csharp/System/Runtime/Serialization/IDeserializationCallback.d.ts +9 -0
- package/csharp/System/Runtime/Serialization/ISerializable.d.ts +9 -0
- package/csharp/System/Threading/CancellationToken.d.ts +58 -0
- package/csharp/System/Threading/CancellationTokenRegistration.d.ts +27 -0
- package/csharp/System/Threading/CancellationTokenSource.d.ts +51 -0
- package/csharp/System/Threading/ITimer.d.ts +12 -0
- package/csharp/System/Threading/Tasks/ValueTask.d.ts +12 -0
- package/csharp/System/Threading/WaitHandle.d.ts +8 -0
- package/csharp/System/TimeProvider.d.ts +31 -0
- package/csharp/System/TimeSpan.d.ts +8 -0
- package/csharp/System/Windows/Media/Matrix.d.ts +80 -0
- package/csharp/System/Windows/Point.d.ts +39 -5
- package/csharp/System/Windows/Vector.d.ts +51 -0
- package/index.d.ts +3 -0
- package/modules/dispatcher.d.ts +54 -3
- package/modules/file.d.ts +3 -3
- package/modules/genshin.d.ts +18 -1
- package/modules/globalMethod.d.ts +9 -5
- package/modules/http.d.ts +43 -0
- package/package.json +1 -1
- package/csharp/Vanara/PInvoke/POINT.d.ts +0 -23
- package/csharp/Vanara/PInvoke/RECT.d.ts +0 -37
- package/csharp/Vanara/PInvoke/SIZE.d.ts +0 -19
- package/enums/wood.d.ts +0 -27
|
@@ -1,78 +1,150 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
import "./IEnumerable";
|
|
2
|
+
import "./IEnumerator";
|
|
3
|
+
import "./IList";
|
|
4
|
+
import "./IReadOnlyList";
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
namespace System.Collections.Generic {
|
|
8
|
+
class List<T>
|
|
9
|
+
implements System.Collections.Generic.IList<T>, System.Collections.Generic.IReadOnlyList<T>
|
|
10
|
+
{
|
|
11
|
+
capacity: number;
|
|
12
|
+
|
|
13
|
+
count: number;
|
|
14
|
+
|
|
15
|
+
isReadOnly: boolean;
|
|
16
|
+
|
|
17
|
+
isFixedSize: boolean;
|
|
18
|
+
|
|
19
|
+
[index: number]: T;
|
|
20
|
+
|
|
21
|
+
add(item: T): void;
|
|
22
|
+
|
|
23
|
+
addRange(collection: System.Collections.Generic.IEnumerable<T>): void;
|
|
24
|
+
|
|
25
|
+
asReadOnly(): System.Collections.Generic.IReadOnlyList<T>;
|
|
26
|
+
|
|
27
|
+
/** @deprecated Not yet supported */
|
|
28
|
+
binarySearch(item: T, comparer?: (a: T, b: T) => number): number;
|
|
29
|
+
|
|
30
|
+
/** @deprecated Not yet supported */
|
|
31
|
+
binarySearch(
|
|
32
|
+
index: number,
|
|
33
|
+
count: number,
|
|
34
|
+
item: T,
|
|
35
|
+
comparer?: (a: T, b: T) => number
|
|
36
|
+
): number;
|
|
37
|
+
|
|
38
|
+
clear(): void;
|
|
39
|
+
|
|
40
|
+
contains(item: T): boolean;
|
|
41
|
+
|
|
42
|
+
/** @deprecated Not yet supported */
|
|
43
|
+
convertAll<TOutput>(
|
|
44
|
+
converter: (item: T) => TOutput
|
|
45
|
+
): System.Collections.Generic.List<TOutput>;
|
|
46
|
+
|
|
47
|
+
copyTo(array: T[]): void;
|
|
48
|
+
|
|
49
|
+
copyTo(array: T[], arrayIndex: number): void;
|
|
50
|
+
|
|
51
|
+
copyTo(index: number, array: T[], arrayIndex: number, count: number): void;
|
|
52
|
+
|
|
53
|
+
ensureCapacity(capacity: number): number;
|
|
54
|
+
|
|
55
|
+
/** @deprecated Not yet supported */
|
|
56
|
+
exists(match: (item: T) => boolean): boolean;
|
|
57
|
+
|
|
58
|
+
/** @deprecated Not yet supported */
|
|
59
|
+
find(match: (item: T) => boolean): T | null;
|
|
60
|
+
|
|
61
|
+
/** @deprecated Not yet supported */
|
|
62
|
+
findAll(match: (item: T) => boolean): System.Collections.Generic.List<T>;
|
|
63
|
+
|
|
64
|
+
/** @deprecated Not yet supported */
|
|
65
|
+
findIndex(match: (item: T) => boolean): number;
|
|
66
|
+
|
|
67
|
+
/** @deprecated Not yet supported */
|
|
68
|
+
findIndex(startIndex: number, match: (item: T) => boolean): number;
|
|
69
|
+
|
|
70
|
+
/** @deprecated Not yet supported */
|
|
71
|
+
findIndex(startIndex: number, count: number, match: (item: T) => boolean): number;
|
|
72
|
+
|
|
73
|
+
/** @deprecated Not yet supported */
|
|
74
|
+
findLast(match: (item: T) => boolean): T | null;
|
|
75
|
+
|
|
76
|
+
/** @deprecated Not yet supported */
|
|
77
|
+
findLastIndex(match: (item: T) => boolean): number;
|
|
78
|
+
|
|
79
|
+
/** @deprecated Not yet supported */
|
|
80
|
+
findLastIndex(startIndex: number, match: (item: T) => boolean): number;
|
|
81
|
+
|
|
82
|
+
/** @deprecated Not yet supported */
|
|
83
|
+
findLastIndex(startIndex: number, count: number, match: (item: T) => boolean): number;
|
|
84
|
+
|
|
85
|
+
/** @deprecated Not yet supported */
|
|
86
|
+
forEach(action: (item: T) => void): void;
|
|
87
|
+
|
|
88
|
+
getEnumerator(): System.Collections.Generic.IEnumerator<T>;
|
|
89
|
+
|
|
90
|
+
getRange(index: number, count: number): System.Collections.Generic.List<T>;
|
|
91
|
+
|
|
92
|
+
indexOf(item: T): number;
|
|
93
|
+
|
|
94
|
+
indexOf(item: T, index: number): number;
|
|
95
|
+
|
|
96
|
+
indexOf(item: T, index: number, count: number): number;
|
|
97
|
+
|
|
98
|
+
insert(index: number, item: T): void;
|
|
99
|
+
|
|
100
|
+
insertRange(index: number, collection: System.Collections.Generic.IEnumerable<T>): void;
|
|
101
|
+
|
|
102
|
+
lastIndexOf(item: T): number;
|
|
103
|
+
|
|
104
|
+
lastIndexOf(item: T, index: number): number;
|
|
105
|
+
|
|
106
|
+
lastIndexOf(item: T, index: number, count: number): number;
|
|
107
|
+
|
|
108
|
+
remove(item: T): boolean;
|
|
109
|
+
|
|
110
|
+
/** @deprecated Not yet supported */
|
|
111
|
+
removeAll(match: (item: T) => boolean): number;
|
|
112
|
+
|
|
113
|
+
removeAt(index: number): void;
|
|
114
|
+
|
|
115
|
+
removeRange(index: number, count: number): void;
|
|
116
|
+
|
|
117
|
+
reverse(): void;
|
|
118
|
+
|
|
119
|
+
reverse(index: number, count: number): void;
|
|
120
|
+
|
|
121
|
+
slice(start: number, length: number): System.Collections.Generic.List<T>;
|
|
122
|
+
|
|
123
|
+
sort(): void;
|
|
124
|
+
|
|
125
|
+
/** @deprecated Not yet supported */
|
|
126
|
+
sort(comparer: (a: T, b: T) => number): void;
|
|
127
|
+
|
|
128
|
+
/** @deprecated Not yet supported */
|
|
129
|
+
sort(index: number, count: number, comparer: (a: T, b: T) => number): void;
|
|
130
|
+
|
|
131
|
+
/** @deprecated Not yet supported */
|
|
132
|
+
sort(comparison: (a: T, b: T) => number): void;
|
|
133
|
+
|
|
134
|
+
toArray(): T[];
|
|
135
|
+
|
|
136
|
+
trimExcess(): void;
|
|
137
|
+
|
|
138
|
+
/** @deprecated Not yet supported */
|
|
139
|
+
trueForAll(match: (item: T) => boolean): boolean;
|
|
140
|
+
|
|
141
|
+
constructor();
|
|
142
|
+
|
|
143
|
+
constructor(capacity: number);
|
|
144
|
+
|
|
145
|
+
constructor(collection: System.Collections.Generic.IEnumerable<T>);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
78
148
|
}
|
|
149
|
+
|
|
150
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./IEnumerable";
|
|
2
|
+
|
|
3
|
+
declare global {
|
|
4
|
+
namespace System.Collections {
|
|
5
|
+
interface ICollection extends System.Collections.IEnumerable {
|
|
6
|
+
copyTo(array: Array<any>, index: number): void;
|
|
7
|
+
|
|
8
|
+
count: number;
|
|
9
|
+
|
|
10
|
+
syncRoot: any;
|
|
11
|
+
|
|
12
|
+
isSynchronized: boolean;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./ICollection";
|
|
2
|
+
import "./IDictionaryEnumerator";
|
|
3
|
+
import "./IEnumerable";
|
|
4
|
+
|
|
5
|
+
declare global {
|
|
6
|
+
namespace System.Collections {
|
|
7
|
+
interface IDictionary extends System.Collections.ICollection, System.Collections.IEnumerable {
|
|
8
|
+
keys: System.Collections.ICollection;
|
|
9
|
+
|
|
10
|
+
values: System.Collections.ICollection;
|
|
11
|
+
|
|
12
|
+
contains(key: any): boolean;
|
|
13
|
+
|
|
14
|
+
add(key: any, value: any): void;
|
|
15
|
+
|
|
16
|
+
clear(): void;
|
|
17
|
+
|
|
18
|
+
isReadOnly: boolean;
|
|
19
|
+
|
|
20
|
+
isFixedSize: boolean;
|
|
21
|
+
|
|
22
|
+
getEnumerator(): System.Collections.IDictionaryEnumerator;
|
|
23
|
+
|
|
24
|
+
remove(key: any): void;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "../Collections/DictionaryEntry";
|
|
2
|
+
import "./IEnumerator";
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
namespace System.Collections {
|
|
6
|
+
interface IDictionaryEnumerator extends System.Collections.IEnumerator {
|
|
7
|
+
key: any;
|
|
8
|
+
value: any;
|
|
9
|
+
entry: System.Collections.DictionaryEntry;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "../Collections/IEnumerable";
|
|
2
|
+
import "./ICollection";
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
namespace System.Collections {
|
|
6
|
+
interface IList extends System.Collections.ICollection, System.Collections.IEnumerable {
|
|
7
|
+
[index: number]: any;
|
|
8
|
+
|
|
9
|
+
add(item: any): number;
|
|
10
|
+
|
|
11
|
+
contains(item: any): boolean;
|
|
12
|
+
|
|
13
|
+
clear(): void;
|
|
14
|
+
|
|
15
|
+
isReadOnly: boolean;
|
|
16
|
+
|
|
17
|
+
isFixedSize: boolean;
|
|
18
|
+
|
|
19
|
+
indexOf(item: any): number;
|
|
20
|
+
|
|
21
|
+
insert(index: number, item: any): void;
|
|
22
|
+
|
|
23
|
+
remove(item: any): void;
|
|
24
|
+
|
|
25
|
+
removeAt(index: number): void;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export {};
|