summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-04 11:16:19 +0200
committermadmaxoft <github@xoft.cz>2014-08-04 11:30:20 +0200
commit1fa210c7f91030ac18fd880fcf131e8104c0b889 (patch)
tree6d63d6572c053b9474d7c2d6c412d9bb0a516ac5 /src/Protocol/MojangAPI.h
parentAnvil: Wolf owner not saved if not present. (diff)
downloadcuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.gz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.bz2
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.lz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.xz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.zst
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.zip
Diffstat (limited to 'src/Protocol/MojangAPI.h')
-rw-r--r--src/Protocol/MojangAPI.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/MojangAPI.h b/src/Protocol/MojangAPI.h
index 08e799c73..6ed37625e 100644
--- a/src/Protocol/MojangAPI.h
+++ b/src/Protocol/MojangAPI.h
@@ -40,12 +40,12 @@ public:
// tolua_begin
- /** Converts the given UUID to its short form (32 bytes, no dashes).
+ /** Normalizes the given UUID to its short form (32 bytes, no dashes, lowercase).
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).
+ /** Normalizes the given UUID to its dashed form (36 bytes, 4 dashes, lowercase).
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);