MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / underground

Method underground

source/game/scripting/StarWorldLuaBindings.cpp:1882–1884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1880 }
1881
1882 bool WorldEnvironmentCallbacks::underground(World* world, Vec2F const& position) {
1883 return world->isUnderground(position);
1884 }
1885
1886 LuaValue WorldEnvironmentCallbacks::material(World* world, LuaEngine& engine, Vec2F const& position, String const& layerName) {
1887 TileLayer layer;

Callers

nothing calls this directly

Calls 1

isUndergroundMethod · 0.45

Tested by

no test coverage detected