feat(ui): implement Script_GetNumPartyMembers

This commit is contained in:
fallenoak 2026-02-09 05:13:02 -06:00
parent 4d003129be
commit 8da307593d
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -1,12 +1,15 @@
#include "ui/game/PartyInfoScript.hpp"
#include "ui/FrameScript.hpp"
#include "ui/game/CGPartyInfo.hpp"
#include "util/Lua.hpp"
#include "util/Unimplemented.hpp"
namespace {
int32_t Script_GetNumPartyMembers(lua_State* L) {
WHOA_UNIMPLEMENTED(0);
lua_pushnumber(L, CGPartyInfo::NumMembers());
return 1;
}
int32_t Script_GetRealNumPartyMembers(lua_State* L) {