From 145d5776527c7632a1b02a43a0da5ffe1eb01c4a Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Tue, 9 May 2023 15:59:33 +0200 Subject: [PATCH] docs: add missing callback argument to async query methods --- src/LuaEngine/GlobalMethods.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/LuaEngine/GlobalMethods.h b/src/LuaEngine/GlobalMethods.h index 00158e8..0bd2735 100644 --- a/src/LuaEngine/GlobalMethods.h +++ b/src/LuaEngine/GlobalMethods.h @@ -1361,6 +1361,7 @@ namespace LuaGlobalFunctions * end) * * @param string sql : query to execute + * @param function callback : function that will be called when the results are available */ int WorldDBQueryAsync(lua_State* L) { @@ -1429,6 +1430,7 @@ namespace LuaGlobalFunctions * For an example see [Global:WorldDBQueryAsync]. * * @param string sql : query to execute + * @param function callback : function that will be called when the results are available */ int CharDBQueryAsync(lua_State* L) { @@ -1497,6 +1499,7 @@ namespace LuaGlobalFunctions * For an example see [Global:WorldDBQueryAsync]. * * @param string sql : query to execute + * @param function callback : function that will be called when the results are available */ int AuthDBQueryAsync(lua_State* L) {