MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / GetFlagsInBox

Method GetFlagsInBox

src/lua/LuaSpatial.cpp:728–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

726
727
728int LuaSpatial::GetFlagsInBox(lua_State* L) {
729 BoxData box;
730 ParseBox(L, box);
731 std::vector<const Flag*> hits;
732 CheckFlags(FlagInBox, box, hits);
733 PushFlags(L, hits);
734 return 1;
735}
736
737
738int LuaSpatial::GetVisibleFlags(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ParseBoxFunction · 0.85
CheckFlagsFunction · 0.85
PushFlagsFunction · 0.85

Tested by

no test coverage detected