From ce7ee6c0f89a855aa5d951c5cae7089b043fd6c7 Mon Sep 17 00:00:00 2001 From: mostlynick3 Date: Wed, 20 Aug 2025 00:04:08 +0200 Subject: [PATCH] fix: Correctly describe possible sizes of packed GUIDs (#294) --- src/LuaEngine/methods/WorldPacketMethods.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LuaEngine/methods/WorldPacketMethods.h b/src/LuaEngine/methods/WorldPacketMethods.h index aa84cae..6414fdf 100644 --- a/src/LuaEngine/methods/WorldPacketMethods.h +++ b/src/LuaEngine/methods/WorldPacketMethods.h @@ -174,7 +174,8 @@ namespace LuaPacket } /** - * Reads and returns an unsigned 64-bit integer value from the [WorldPacket]. + * Reads a packed GUID from the [WorldPacket] and returns it as a full 64-bit integer. + * The packed data size varies (2-9 bytes), but always unpacks to a complete 64-bit GUID. * * @return uint64 value : value returned as string */