diff options
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 */ |