mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-11 08:54:05 +03:00
feat(ui): implement Script_GetNumRaidMembers
This commit is contained in:
1 file changed
+4
-1
@@ -1,12 +1,15 @@
|
||||
#include "ui/game/RaidInfoScript.hpp"
|
||||
#include "ui/FrameScript.hpp"
|
||||
#include "ui/game/CGRaidInfo.hpp"
|
||||
#include "util/Lua.hpp"
|
||||
#include "util/Unimplemented.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
int32_t Script_GetNumRaidMembers(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
lua_pushnumber(L, CGRaidInfo::NumMembers());
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_GetRealNumRaidMembers(lua_State* L) {
|
||||
|
||||
Reference in new issue
Block a user