Libraryless. Click here for Pure Java version (3478L/22K).
1 | abstract sclass GazelleAutoBot {
|
2 | // return string (text) or createPost |
3 | abstract O calc(); |
4 | |
5 | long postID; |
6 | S post; // text of post we are replying to |
7 | S postType; // type of post we are replying to |
8 | |
9 | O createPost(O... _) {
|
10 | ret dm_call(dm_current_generic(), "createPost", _); |
11 | } |
12 | |
13 | GazellePost getPost(long postID) {
|
14 | ret (GazellePost) quickImport(dm_call(dm_current_generic(), "getPost", postID)); |
15 | } |
16 | |
17 | L<GazellePost> repliesTo(GazellePost post) {
|
18 | ret (L) dm_callWithImportExport(dm_current_generic(), "repliesTo", post); |
19 | } |
20 | |
21 | bool runOnAutoBotPost() { false; }
|
22 | } |
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030206 |
| Snippet name: | GazelleAutoBot |
| Eternal ID of this version: | #1030206/7 |
| Text MD5: | e50683fda545d9170ca47c4f062d5fe8 |
| Transpilation MD5: | 31088970b2a6171ca6ee81b5c063408e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-12-05 17:17:17 |
| Source code size: | 617 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 469 / 768 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |