@deafwave/osrs-botmaker-types 0.4.1 → 0.4.3
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/README.md
CHANGED
|
@@ -4,9 +4,5 @@ Created by [Chandler 'Deafwave' Ferry](https://github.com/ChandlerFerry) to ease
|
|
|
4
4
|
|
|
5
5
|
## Donate
|
|
6
6
|
- https://ko-fi.com/deafwave
|
|
7
|
-
- ETH/ERC-20: `0x6dEb51c4f253781d9354af86C3c0205eFf75Bf52`
|
|
8
|
-
- BNB/BEP-20: `0x40D84bA476FDEc7485F33eB3b82286366d0022aa`
|
|
9
|
-
- TRX/TRC-20: `TN6t6ZZSz1JQwXtFoo7sbmQAYXiw8JNeCt`
|
|
10
|
-
- BTC: `bc1qetcfw0pj4t3harm8glx8p0jkyeayhcu60emzzc`
|
|
11
7
|
|
|
12
8
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a supplier of boolean-valued results.
|
|
3
|
+
* This is a functional interface whose functional method is getAsBoolean().
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
declare namespace java.util.func_tion {
|
|
7
|
+
export interface BooleanSupplier {
|
|
8
|
+
/**
|
|
9
|
+
* Gets a result.
|
|
10
|
+
* @returns a boolean result
|
|
11
|
+
*/
|
|
12
|
+
getAsBoolean(): boolean;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
* Provides methods to schedule and invoke functions on the client thread.
|
|
5
5
|
*/
|
|
6
6
|
declare const clientThread: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Schedules the given BooleanSupplier to be invoked on the client thread.
|
|
9
|
+
* @param r - A Java BooleanSupplier to be executed.
|
|
10
|
+
*/
|
|
11
|
+
invoke: (r: java.util.func_tion.BooleanSupplier) => void;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Schedules the given Runnable to be invoked at the end of the current tick on the client thread.
|
|
15
|
+
* @param r - A Java Runnable to be executed.
|
|
16
|
+
*/
|
|
17
|
+
invokeAtTickEnd: (r: java.lang.Runnable) => void;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Schedules the given BooleanSupplier to be invoked later on the client thread.
|
|
21
|
+
* @param r - A Java BooleanSupplier to be executed.
|
|
22
|
+
*/
|
|
23
|
+
invokeLater: (r: java.util.func_tion.BooleanSupplier) => void;
|
|
24
24
|
};
|