aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-12-30 01:26:54 -0600
committerLibravatar bigfoot547 <[email protected]>2023-12-30 01:26:54 -0600
commite2f504523c0afa3db05e7e739f55e89266b1624c (patch)
tree39c0f42aa0b59ed9c76643766775f1ddd69a23e2 /src/macros.h
parentdownload (but not parse) version manifest (diff)
add a little version stuff
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 5487b12..8be48dd 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -17,6 +17,8 @@
(_var)[((_len1) + (_len2))] = '\0'; \
} while (0)
+#define L2_USER_AGENT PROJECT_NAME "/0.1.0 <[email protected]>"
+
#define L2_URL_META_BASE "https://piston-meta.mojang.com"
#define L2_URL_META_VERSION_MANIFEST L2_URL_META_BASE "/mc/game/version_manifest_v2.json"