From b28c6db1731b62e0d2e798306363985df9c70662 Mon Sep 17 00:00:00 2001 From: AllesUgo Date: Sat, 17 Aug 2024 22:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95=E6=97=B6?= =?UTF-8?q?=E6=9C=AA=E6=8F=90=E4=BE=9BUUID=E7=9A=84=E7=94=A8=E6=88=B7list?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E4=B8=AD=E5=B1=95=E7=A4=BA=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?UUID=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- datapackage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/datapackage.cpp b/datapackage.cpp index 25ff6f5..524e71c 100644 --- a/datapackage.cpp +++ b/datapackage.cpp @@ -155,6 +155,7 @@ auto PingDataPack::ToBuffer() const -> RbsLib::Buffer auto StartLoginDataPack::GetUUID() const -> std::string { + if (!this->have_uuid) return std::string(); char buffer[64]; sprintf(buffer, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", this->uuid[0], this->uuid[1], this->uuid[2], this->uuid[3],