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

Method imageFileReference

source/utility/tileset_updater.cpp:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144Json Tileset::imageFileReference(String const& fileName) const {
145 String tileImagePath = unixFileJoin(imageDirName(relativePathBase()), fileName);
146 return JsonObject{{"image", tileImagePath}};
147}
148
149Json Tileset::tileImageReference(String const& tileName, String const& database) const {
150 String tileImageName = unixFileJoin(database, tileName + ".png");

Callers

nothing calls this directly

Calls 1

unixFileJoinFunction · 0.85

Tested by

no test coverage detected