mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna fix some methods
This commit is contained in:
@@ -140,6 +140,14 @@ namespace LuaQuery
|
||||
return 1;
|
||||
}
|
||||
|
||||
int GetCString(lua_State* L, QueryResult* result)
|
||||
{
|
||||
uint32 col = Eluna::CHECKVAL<uint32>(L, 2);
|
||||
if (col < RESULT->GetFieldCount())
|
||||
Eluna::Push(L, RESULT->Fetch()[col].GetCString());
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* OTHER */
|
||||
int NextRow(lua_State* L, QueryResult* result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user