2026-01-09 00:40:51 +09:00
|
|
|
#include <GearBox/Client.h>
|
|
|
|
|
|
|
|
|
|
#include <GearBox/Log.h>
|
|
|
|
|
|
|
|
|
|
GBClient GBClientCreate(GBEngine engine) {
|
2026-01-09 03:38:29 +09:00
|
|
|
GBClient client = malloc(sizeof(*client));
|
|
|
|
|
|
|
|
|
|
memset(client, 0, sizeof(*client));
|
|
|
|
|
|
2026-01-09 06:12:57 +09:00
|
|
|
client->engine = engine;
|
|
|
|
|
|
2026-01-09 00:40:51 +09:00
|
|
|
GBLog(GBLogInfo, "Creating client");
|
|
|
|
|
|
2026-01-09 03:38:29 +09:00
|
|
|
return client;
|
2026-01-09 00:40:51 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void GBClientDestroy(GBClient client) {
|
|
|
|
|
free(client);
|
|
|
|
|
}
|
2026-01-09 03:38:29 +09:00
|
|
|
|
|
|
|
|
void GBClientStep(GBClient client) {
|
|
|
|
|
}
|