diff options
author | Trumeet <yuuta@yuuta.moe> | 2023-01-05 22:48:31 -0800 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2023-01-05 22:48:31 -0800 |
commit | 46cb0b529a16a7eae90bc332b7b42eb9c48a5cdd (patch) | |
tree | db7639a9563e57f6d51a277e0767bb177e8f9393 /client/applets/applet.h | |
parent | 4323ca7eed2883021306361eab99419639557169 (diff) | |
download | acron-46cb0b529a16a7eae90bc332b7b42eb9c48a5cdd.tar acron-46cb0b529a16a7eae90bc332b7b42eb9c48a5cdd.tar.gz acron-46cb0b529a16a7eae90bc332b7b42eb9c48a5cdd.tar.bz2 acron-46cb0b529a16a7eae90bc332b7b42eb9c48a5cdd.zip |
Diffstat (limited to 'client/applets/applet.h')
-rw-r--r-- | client/applets/applet.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/client/applets/applet.h b/client/applets/applet.h new file mode 100644 index 0000000..a17be52 --- /dev/null +++ b/client/applets/applet.h @@ -0,0 +1,20 @@ +/** + * Usage: + * ID=<ID> TOKEN=<TOKEN> ./here # Will connect to 127.0.0.1:PORT + * + * In Minecraft, say `.h'. + */ + +#ifndef APPLET_H +#define APPLET_H + +#include <libac.h> + +#define PORT 25575 + +extern void *connection; + +const char *get_world(enum ac_world world); +void handle(ac_obj_t *obj); + +#endif /* APPLET_H */ |