aboutsummaryrefslogtreecommitdiff
path: root/client/applets/applet.h
blob: a17be52eecb855c69687117a4300cfbe4d9428c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 */