summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-30 14:09:30 +0200
committermadmaxoft <github@xoft.cz>2014-07-30 14:09:30 +0200
commit85d64d291a6d11df6689190268c1f4c6b1c02cdd (patch)
treeff57299fbc0dcff1c5a69ee22510ed90b3f72320 /src/Protocol/MojangAPI.h
parentManualBindings: Fixed alignment. (diff)
downloadcuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.tar
cuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.tar.gz
cuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.tar.bz2
cuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.tar.lz
cuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.tar.xz
cuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.tar.zst
cuberite-85d64d291a6d11df6689190268c1f4c6b1c02cdd.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/MojangAPI.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Protocol/MojangAPI.h b/src/Protocol/MojangAPI.h
index cc2902a19..c99f940ad 100644
--- a/src/Protocol/MojangAPI.h
+++ b/src/Protocol/MojangAPI.h
@@ -36,11 +36,13 @@ public:
// tolua_begin
/** Converts the given UUID to its short form (32 bytes, no dashes).
- Logs a warning and returns empty string if not a UUID. */
+ Logs a warning and returns empty string if not a UUID.
+ Note: only checks the string's length, not the actual content. */
static AString MakeUUIDShort(const AString & a_UUID);
/** Converts the given UUID to its dashed form (36 bytes, 4 dashes).
- Logs a warning and returns empty string if not a UUID. */
+ Logs a warning and returns empty string if not a UUID.
+ Note: only checks the string's length, not the actual content. */
static AString MakeUUIDDashed(const AString & a_UUID);
// tolua_end