summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-04 12:02:57 +0200
committerMattes D <github@xoft.cz>2014-08-04 12:02:57 +0200
commit7b986e65d2b7d7cad6768599ba4298b62b16c35f (patch)
treedd627e5e467d4bf0f3ed47aa1201b6ab94e9c35a /src/Protocol/MojangAPI.h
parentMerge pull request #1283 from Howaner/GlobalFixes (diff)
parentRefactored case-conversion functions. (diff)
downloadcuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.gz
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.bz2
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.lz
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.xz
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.zst
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.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);