MCPcopy Create free account
hub / github.com/DFHack/dfhack / CheckDFAssign

Function CheckDFAssign

library/include/LuaTools.h:196–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 */
195 template<df_object T>
196 void CheckDFAssign(lua_State *state, T *target, int val_index, bool exact_type = false) {
197 CheckDFAssign(state, df::identity_traits<T>::get(), target, val_index, exact_type);
198 }
199
200 /**
201 * Check if the status is a success, i.e. LUA_OK or LUA_YIELD.

Callers 15

CheckCoordXYFunction · 0.85
CheckCoordXYZFunction · 0.85
dfhack_matinfo_matchesFunction · 0.85
gui_makeAnnouncementFunction · 0.85
gui_showZoomAnnouncementFunction · 0.85
gui_showAutoAnnouncementFunction · 0.85
gui_autoDFAnnouncementFunction · 0.85
gui_pauseRecenterFunction · 0.85
gui_revealInDwarfmodeMapFunction · 0.85
units_isUnitInBoxFunction · 0.85
units_getUnitsInBoxFunction · 0.85
maps_setTileAquiferFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected