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

Method GetGfxBlock

src/lua/LuaCallOuts.cpp:2015–2021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2013
2014
2015int LuaCallOuts::GetGfxBlock(lua_State* L) {
2016 const GfxBlock* gfxBlock = ParseGfxBlock(L, 1);
2017 if (gfxBlock == NULL) {
2018 return luaL_pushnil(L);
2019 }
2020 return Get_GfxBlock(L, *gfxBlock);
2021}
2022
2023
2024int LuaCallOuts::SetPlayerGfxBlock(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ParseGfxBlockFunction · 0.85
luaL_pushnilFunction · 0.85
Get_GfxBlockFunction · 0.85

Tested by

no test coverage detected