File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -746,6 +746,9 @@ Local<Value> DataClass::getAllPlayerInfo(const Arguments& args) {
746746 try {
747747 auto arr = Array::newArray ();
748748 auto level = ll::service::getLevel ();
749+ ll::service::PlayerInfo::getInstance ().forEach ([](ll::service::PlayerInfo::PlayerInfoEntry& info) {
750+ return true ;
751+ });
749752 if (level.has_value ()) {
750753 level->forEachPlayer ([&arr](Player& player) {
751754 auto obj = Object::newObject ();
Original file line number Diff line number Diff line change @@ -13,12 +13,11 @@ add_requires(
1313 " lightwebsocketclient" ,
1414 " magic_enum" ,
1515 " nlohmann_json" ,
16- " openssl 1.1.1-w" ,
1716 " simpleini" ,
1817 " sqlite3 3.43.0+200" ,
19- " toml++"
18+ " toml++" ,
19+ " cpp-httplib v0.14.0" , {configs = {ssl = true , zlib = true }}
2020)
21- add_requires (" cpp-httplib v0.14.0" , {configs = {ssl = true , zlib = true }})
2221
2322if is_config (" backend" , " lua" ) then
2423 add_requires (" scriptx main" , {configs = {backend = " Lua" }})
@@ -50,7 +49,6 @@ target("legacy-script-engine")
5049 )
5150 add_defines (
5251 " _HAS_CXX23=1" ,
53- " CPPHTTPLIB_OPENSSL_SUPPORT" ,
5452 " NOMINMAX" ,
5553 " UNICODE" ,
5654 " _AMD64_"
You can’t perform that action at this time.
0 commit comments