diff options
author | Mattes D <github@xoft.cz> | 2014-08-04 12:02:57 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-04 12:02:57 +0200 |
commit | 7b986e65d2b7d7cad6768599ba4298b62b16c35f (patch) | |
tree | dd627e5e467d4bf0f3ed47aa1201b6ab94e9c35a /src/Protocol/MojangAPI.h | |
parent | Merge pull request #1283 from Howaner/GlobalFixes (diff) | |
parent | Refactored case-conversion functions. (diff) | |
download | cuberite-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.h | 4 |
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); |