mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 21:51:06 +03:00
feat(ui): implement Script_GetNumPartyMembers
This commit is contained in:
parent
4d003129be
commit
8da307593d
@ -1,12 +1,15 @@
|
|||||||
#include "ui/game/PartyInfoScript.hpp"
|
#include "ui/game/PartyInfoScript.hpp"
|
||||||
#include "ui/FrameScript.hpp"
|
#include "ui/FrameScript.hpp"
|
||||||
|
#include "ui/game/CGPartyInfo.hpp"
|
||||||
#include "util/Lua.hpp"
|
#include "util/Lua.hpp"
|
||||||
#include "util/Unimplemented.hpp"
|
#include "util/Unimplemented.hpp"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
int32_t Script_GetNumPartyMembers(lua_State* L) {
|
int32_t Script_GetNumPartyMembers(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
lua_pushnumber(L, CGPartyInfo::NumMembers());
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_GetRealNumPartyMembers(lua_State* L) {
|
int32_t Script_GetRealNumPartyMembers(lua_State* L) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user