| 586 | |
| 587 | |
| 588 | int LuaSpatial::GetPlayersInBox(lua_State* L) { |
| 589 | BoxData box; |
| 590 | ParseBox(L, box); |
| 591 | std::vector<const Player*> hits; |
| 592 | CheckPlayers(PlayerInBox, box, hits); |
| 593 | PushPlayers(L, hits); |
| 594 | return 1; |
| 595 | } |
| 596 | |
| 597 | |
| 598 | int LuaSpatial::GetVisiblePlayers(lua_State* L) { |
nothing calls this directly
no test coverage detected