summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-04 12:11:38 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-04 12:11:38 +0200
commit7bd414e9edf432641c30448c3fc0ff04d91ad3ab (patch)
tree93cb320e9911343f052b722278231c8b9dd79a1a /src/Protocol/MojangAPI.h
parentChanged /** to /* (diff)
parentMerge pull request #1285 from mc-server/StrCaseRefactor (diff)
downloadcuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.gz
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.bz2
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.lz
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.xz
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.tar.zst
cuberite-7bd414e9edf432641c30448c3fc0ff04d91ad3ab.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);